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:
Marien Fressinaud committed 2014-10-05 15:55:20 +02:00
1 parent 5a9b08e084
commit 6c8b36f04e
27 files changed
+256 -258

No files matched your search

+1 -1
View File
@@ -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);