Merge branch 'patch-16' into 'dev'
JS plurals displaying code cleanup See merge request hubzilla/core!1338 (cherry picked from commit721461dd3e)b7280a44JS plurals displaying code cleanupab0e2f52Update language.phpf9c3b807Update main.jsce52c27aUpdate main.js
This commit is contained in:
@@ -60,7 +60,7 @@ function po2php_run($argc,$argv) {
|
||||
$out .= '}}'."\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 "){
|
||||
|
||||
Reference in New Issue
Block a user