diff options
author | Max Kostikov <max@kostikov.co> | 2018-10-14 22:26:56 +0200 |
---|---|---|
committer | Max Kostikov <max@kostikov.co> | 2018-10-14 22:26:56 +0200 |
commit | b7280a442e0c36826bcab31ee359d0e987d84dab (patch) | |
tree | 91dcc3052a70ba3a94237ea54c62266a7c1f40d5 /util | |
parent | d584293cde18e4d846e0b7a1a065acb8a79109b3 (diff) | |
download | volse-hubzilla-b7280a442e0c36826bcab31ee359d0e987d84dab.tar.gz volse-hubzilla-b7280a442e0c36826bcab31ee359d0e987d84dab.tar.bz2 volse-hubzilla-b7280a442e0c36826bcab31ee359d0e987d84dab.zip |
JS plurals displaying code cleanup
Diffstat (limited to 'util')
-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 "){ |