JS plurals displaying code cleanup

This commit is contained in:
Max Kostikov 2018-10-14 22:26:56 +02:00
parent d584293cde
commit b7280a442e

View File

@ -60,7 +60,7 @@ function po2php_run($argc,$argv) {
$out .= '}}'."\n"; $out .= '}}'."\n";
$out .= 'App::$rtl = ' . intval($rtl) . ";\n" ; $out .= 'App::$rtl = ' . intval($rtl) . ";\n" ;
$out .= 'App::$strings["plural_function_code"] = "return ' . str_replace("$", "", $cond) . ';"'; $out .= 'App::$strings["plural_function_code"] = "' . str_replace("$", "", $cond) . '"';
} }
if ($k!="" && substr($l,0,7)=="msgstr "){ if ($k!="" && substr($l,0,7)=="msgstr "){