aboutsummaryrefslogtreecommitdiffstats
path: root/util/po2php.php
diff options
context:
space:
mode:
authorMax Kostikov <max@kostikov.co>2018-10-14 22:26:56 +0200
committerMax Kostikov <max@kostikov.co>2018-10-14 22:26:56 +0200
commitb7280a442e0c36826bcab31ee359d0e987d84dab (patch)
tree91dcc3052a70ba3a94237ea54c62266a7c1f40d5 /util/po2php.php
parentd584293cde18e4d846e0b7a1a065acb8a79109b3 (diff)
downloadvolse-hubzilla-b7280a442e0c36826bcab31ee359d0e987d84dab.tar.gz
volse-hubzilla-b7280a442e0c36826bcab31ee359d0e987d84dab.tar.bz2
volse-hubzilla-b7280a442e0c36826bcab31ee359d0e987d84dab.zip
JS plurals displaying code cleanup
Diffstat (limited to 'util/po2php.php')
-rw-r--r--util/po2php.php2
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 "){