Merge branch 'patch-14' into 'dev'
Add date/time plurals translation in JavaScript See merge request hubzilla/core!1336 (cherry picked from commita2575059e2)5c0d3187Add date/time plurals translation in JavaScript729d0d53Update language.phpf68674b3Update js_strings.tpl3ac4337aUpdate main.jse96e3dc6Update po2php.php54bdf59dUpdate js_strings.php
This commit is contained in:
@@ -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 "){
|
||||
|
||||
Reference in New Issue
Block a user