From b7280a442e0c36826bcab31ee359d0e987d84dab Mon Sep 17 00:00:00 2001 From: Max Kostikov Date: Sun, 14 Oct 2018 22:26:56 +0200 Subject: JS plurals displaying code cleanup --- util/po2php.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'util') 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 "){ -- cgit v1.2.3