mirror of
https://github.com/FreshRSS/FreshRSS.git
synced 2026-10-25 12:38:37 -04:00
Let's begin the big refactoring!
Minz_Translate::t\s? replaces by _t See https://github.com/marienfressinaud/FreshRSS/issues/655
This commit is contained in:
1 parent
5a9b08e084
commit
6c8b36f04e
27 files changed
+256
-258
No files matched your search
@@ -416,7 +416,7 @@ SQL;
|
||||
*/
|
||||
private function convertToTranslatedJson($data = array()) {
|
||||
$translated = array_map(function ($a) {
|
||||
return Minz_Translate::t($a);
|
||||
return _t($a);
|
||||
}, $data);
|
||||
|
||||
return json_encode($translated);
|
||||
|
||||
Reference in new issue
Block a user