Update po2php.php

This commit is contained in:
Max Kostikov 2018-10-13 19:54:13 +02:00
parent 3ac4337aec
commit e96e3dc6e6

View File

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