diff --git a/util/po2php.php b/util/po2php.php index 3ac8b89dd..edb1a35a8 100644 --- a/util/po2php.php +++ b/util/po2php.php @@ -44,7 +44,7 @@ function po2php_run($argv, $argc) { $match=Array(); preg_match("|nplurals=([0-9]*); *plural=(.*)[;\\\\]|", $l, $match); $cond = str_replace('n','$n',$match[2]); - $out .= 'if(! function_exists("' . 'string_plural_select_' . $lang .'") {' . "\n"; + $out .= 'if(! function_exists("' . 'string_plural_select_' . $lang .'")) {' . "\n"; $out .= 'function string_plural_select_' . $lang . '($n){'."\n"; $out .= ' return '.$cond.';'."\n"; $out .= '}}'."\n"; diff --git a/view/ca/strings.php b/view/ca/strings.php index 2311c9ccc..cebd2a9c1 100644 --- a/view/ca/strings.php +++ b/view/ca/strings.php @@ -1,6 +1,6 @@ =2 && $n<=4) ? 1 : 2; }} diff --git a/view/de/strings.php b/view/de/strings.php index 67ba771e5..443b2ec0c 100644 --- a/view/de/strings.php +++ b/view/de/strings.php @@ -1,6 +1,6 @@ 1);; }} diff --git a/view/it/strings.php b/view/it/strings.php index 32d08fa52..6ce6464c1 100644 --- a/view/it/strings.php +++ b/view/it/strings.php @@ -1,6 +1,6 @@ 1);; }} diff --git a/view/ru/strings.php b/view/ru/strings.php index 4c6ca1d3d..e022237e8 100644 --- a/view/ru/strings.php +++ b/view/ru/strings.php @@ -1,6 +1,6 @@ =2 && $n%10<=4 && ($n%100<10 || $n%100>=20) ? 1 : 2);; }} diff --git a/view/sv/strings.php b/view/sv/strings.php index ecb2c2658..99dde6bed 100644 --- a/view/sv/strings.php +++ b/view/sv/strings.php @@ -1,6 +1,6 @@