aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--util/po2php.php2
-rw-r--r--view/ca/strings.php2
-rw-r--r--view/cs/strings.php2
-rw-r--r--view/de/strings.php2
-rw-r--r--view/eo/strings.php2
-rw-r--r--view/es/strings.php2
-rw-r--r--view/fr/strings.php2
-rw-r--r--view/it/strings.php2
-rw-r--r--view/nb-no/strings.php2
-rw-r--r--view/pt-br/strings.php2
-rw-r--r--view/ru/strings.php2
-rw-r--r--view/sv/strings.php2
12 files changed, 12 insertions, 12 deletions
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 @@
<?php
-if(! function_exists("string_plural_select_ca") {
+if(! function_exists("string_plural_select_ca")) {
function string_plural_select_ca($n){
return ($n != 1);
}}
diff --git a/view/cs/strings.php b/view/cs/strings.php
index c7c7c32f0..b0c778a6b 100644
--- a/view/cs/strings.php
+++ b/view/cs/strings.php
@@ -1,6 +1,6 @@
<?php
-if(! function_exists("string_plural_select_cs") {
+if(! function_exists("string_plural_select_cs")) {
function string_plural_select_cs($n){
return ($n==1) ? 0 : ($n>=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 @@
<?php
-if(! function_exists("string_plural_select_de") {
+if(! function_exists("string_plural_select_de")) {
function string_plural_select_de($n){
return ($n != 1);;
}}
diff --git a/view/eo/strings.php b/view/eo/strings.php
index 4d76c357f..46649fcd3 100644
--- a/view/eo/strings.php
+++ b/view/eo/strings.php
@@ -1,6 +1,6 @@
<?php
-if(! function_exists("string_plural_select_eo") {
+if(! function_exists("string_plural_select_eo")) {
function string_plural_select_eo($n){
return ($n != 1);
}}
diff --git a/view/es/strings.php b/view/es/strings.php
index 8e4d01794..bd3e6997f 100644
--- a/view/es/strings.php
+++ b/view/es/strings.php
@@ -1,6 +1,6 @@
<?php
-if(! function_exists("string_plural_select_es") {
+if(! function_exists("string_plural_select_es")) {
function string_plural_select_es($n){
return ($n != 1);
}}
diff --git a/view/fr/strings.php b/view/fr/strings.php
index 5b398425f..2de927cf7 100644
--- a/view/fr/strings.php
+++ b/view/fr/strings.php
@@ -1,6 +1,6 @@
<?php
-if(! function_exists("string_plural_select_fr") {
+if(! function_exists("string_plural_select_fr")) {
function string_plural_select_fr($n){
return ($n > 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 @@
<?php
-if(! function_exists("string_plural_select_it") {
+if(! function_exists("string_plural_select_it")) {
function string_plural_select_it($n){
return ($n != 1);;
}}
diff --git a/view/nb-no/strings.php b/view/nb-no/strings.php
index eda4ccea0..a6e5cbcc5 100644
--- a/view/nb-no/strings.php
+++ b/view/nb-no/strings.php
@@ -1,6 +1,6 @@
<?php
-if(! function_exists("string_plural_select_nb_no") {
+if(! function_exists("string_plural_select_nb_no")) {
function string_plural_select_nb_no($n){
return ($n != 1);;
}}
diff --git a/view/pt-br/strings.php b/view/pt-br/strings.php
index 073f2e2a2..053059a66 100644
--- a/view/pt-br/strings.php
+++ b/view/pt-br/strings.php
@@ -1,6 +1,6 @@
<?php
-if(! function_exists("string_plural_select_pt_br") {
+if(! function_exists("string_plural_select_pt_br")) {
function string_plural_select_pt_br($n){
return ($n > 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 @@
<?php
-if(! function_exists("string_plural_select_ru") {
+if(! function_exists("string_plural_select_ru")) {
function string_plural_select_ru($n){
return ($n%10==1 && $n%100!=11 ? 0 : $n%10>=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 @@
<?php
-if(! function_exists("string_plural_select_sv") {
+if(! function_exists("string_plural_select_sv")) {
function string_plural_select_sv($n){
return ($n != 1);;
}}