diff options
author | Mario <mario@mariovavti.com> | 2018-10-15 09:59:17 +0200 |
---|---|---|
committer | Mario <mario@mariovavti.com> | 2018-10-15 09:59:17 +0200 |
commit | 721461dd3e8cb6990ace54688ace953374506daf (patch) | |
tree | 96364d30b1ea12b1b68851b978fa8fc8327326c8 /util/po2php.php | |
parent | 7042528d267627c7156b8e0cd3b825d2c88c2350 (diff) | |
parent | ce52c27a8a4f0837b06a761c20cd097966cd47e8 (diff) | |
download | volse-hubzilla-721461dd3e8cb6990ace54688ace953374506daf.tar.gz volse-hubzilla-721461dd3e8cb6990ace54688ace953374506daf.tar.bz2 volse-hubzilla-721461dd3e8cb6990ace54688ace953374506daf.zip |
Merge branch 'patch-16' into 'dev'
JS plurals displaying code cleanup
See merge request hubzilla/core!1338
Diffstat (limited to 'util/po2php.php')
-rw-r--r-- | util/po2php.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/util/po2php.php b/util/po2php.php index 4aea1c943..9ffcb64c4 100644 --- a/util/po2php.php +++ b/util/po2php.php @@ -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 "){ |