]> git.mxchange.org Git - friendica.git/commitdiff
Update plural condition in strings.php after converter update
authorHypolite Petovan <hypolite@mrpetovan.com>
Sat, 30 Jan 2021 01:02:54 +0000 (20:02 -0500)
committerHypolite Petovan <hypolite@mrpetovan.com>
Sat, 30 Jan 2021 01:02:54 +0000 (20:02 -0500)
23 files changed:
view/lang/bg/strings.php
view/lang/ca/strings.php
view/lang/cs/strings.php
view/lang/de/strings.php
view/lang/en-gb/strings.php
view/lang/en-us/strings.php
view/lang/eo/strings.php
view/lang/es/strings.php
view/lang/et/strings.php
view/lang/fi-fi/strings.php
view/lang/fr/strings.php
view/lang/hu/strings.php
view/lang/is/strings.php
view/lang/it/strings.php
view/lang/ja/strings.php
view/lang/nb-no/strings.php
view/lang/nl/strings.php
view/lang/pl/strings.php
view/lang/pt-br/strings.php
view/lang/ro/strings.php
view/lang/ru/strings.php
view/lang/sv/strings.php
view/lang/zh-cn/strings.php

index b70ac3b1aba306dfe94932c46958269ec764e093..9335b0677131907f760c6d3ff66917d49fa6332e 100644 (file)
@@ -3,7 +3,7 @@
 if(! function_exists("string_plural_select_bg")) {
 function string_plural_select_bg($n){
        $n = intval($n);
-       return ($n != 1);;
+       return intval($n != 1);
 }}
 ;
 $a->strings["Add New Contact"] = "Добавяне на нов контакт";
index dbf3919c6306b11b6908276dff620509fe72fb6e..b174972108e6850495101fc6daf78feed5dbc7cf 100644 (file)
@@ -3,7 +3,7 @@
 if(! function_exists("string_plural_select_ca")) {
 function string_plural_select_ca($n){
        $n = intval($n);
-       return ($n != 1);;
+       return intval($n != 1);
 }}
 ;
 $a->strings["Add New Contact"] = "Afegir Nou Contacte";
index add1b30166bacf37aeb41b46d97dfc73c7e28d54..ba0ac4de3beb83015fc39eb7524edccc08ed0f15 100644 (file)
@@ -3,7 +3,7 @@
 if(! function_exists("string_plural_select_cs")) {
 function string_plural_select_cs($n){
        $n = intval($n);
-       return ($n == 1 && $n % 1 == 0) ? 0 : ($n >= 2 && $n <= 4 && $n % 1 == 0) ? 1: ($n % 1 != 0 ) ? 2 : 3;;
+       if (($n == 1 && $n % 1 == 0)) { return 0; } else if (($n >= 2 && $n <= 4 && $n % 1 == 0)) { return 1; } else if (($n % 1 != 0 )) { return 2; } else  { return 3; }
 }}
 ;
 $a->strings["Item not found."] = "Položka nenalezena.";
index a0e0cc345d54e7a13de45d78fe751b3a496f4c54..46ab91e4d7fbf45c5ace32b3e8b7b357dc0058c6 100644 (file)
@@ -3,7 +3,7 @@
 if(! function_exists("string_plural_select_de")) {
 function string_plural_select_de($n){
        $n = intval($n);
-       return ($n != 1);;
+       return intval($n != 1);
 }}
 ;
 $a->strings["default"] = "Standard";
index 9e27e4f1d6646111fe7deead7441aedbb69553d5..1c85e5e8412bf73ad443e83fe2b02105d33249ba 100644 (file)
@@ -3,7 +3,7 @@
 if(! function_exists("string_plural_select_en_gb")) {
 function string_plural_select_en_gb($n){
        $n = intval($n);
-       return ($n != 1);;
+       return intval($n != 1);
 }}
 ;
 $a->strings["default"] = "default";
index 3bca900e262fb1bc7efec00ac2bf9f83bbd205dc..fab25f75ea93129cdce276b6e39ac220ebe54da7 100644 (file)
@@ -3,7 +3,7 @@
 if(! function_exists("string_plural_select_en_us")) {
 function string_plural_select_en_us($n){
        $n = intval($n);
-       return ($n != 1);;
+       return intval($n != 1);
 }}
 ;
 $a->strings["default"] = "default";
index 3704fd32fc6a518610a06fbd09ccc8ee8d4ab329..a81b4428e30631af7623d7ce6a61b059328c46cd 100644 (file)
@@ -3,7 +3,7 @@
 if(! function_exists("string_plural_select_eo")) {
 function string_plural_select_eo($n){
        $n = intval($n);
-       return ($n != 1);;
+       return intval($n != 1);
 }}
 ;
 $a->strings["Add New Contact"] = "Aldonu Novan Kontakton";
index 6cb991e9973800ff6451e23c6874eea50e96fd14..abb9993d161526947b135d7c52b92f78ccb078ca 100644 (file)
@@ -3,7 +3,7 @@
 if(! function_exists("string_plural_select_es")) {
 function string_plural_select_es($n){
        $n = intval($n);
-       return ($n != 1);;
+       return intval($n != 1);
 }}
 ;
 $a->strings["default"] = "predeterminado";
index 927528fe254357051a0157562cb118b40b12bd8b..94cac7876c5c388b66de77c99ee8f4ae7cf2edc2 100644 (file)
@@ -3,7 +3,7 @@
 if(! function_exists("string_plural_select_et")) {
 function string_plural_select_et($n){
        $n = intval($n);
-       return ($n != 1);;
+       return intval($n != 1);
 }}
 ;
 $a->strings["Daily posting limit of %d post reached. The post was rejected."] = [
index a530cd8cf5d2ab3eb5877cef0fd1ea3d357f2f22..40e1d39f426c26526ff98cb68b534fe1dd3d2044 100644 (file)
@@ -3,7 +3,7 @@
 if(! function_exists("string_plural_select_fi_fi")) {
 function string_plural_select_fi_fi($n){
        $n = intval($n);
-       return ($n != 1);;
+       return intval($n != 1);
 }}
 ;
 $a->strings["Friendica Notification"] = "Friendica-huomautus";
index 70c6542bd0d9ca26241e15602d83240eb7a94cf6..517cd8b2131d08cf508655b847dcbe285eb95171 100644 (file)
@@ -3,7 +3,7 @@
 if(! function_exists("string_plural_select_fr")) {
 function string_plural_select_fr($n){
        $n = intval($n);
-       return ($n > 1);;
+       return intval($n > 1);
 }}
 ;
 $a->strings["Daily posting limit of %d post reached. The post was rejected."] = [
index c7387379d87591ac71e00bd3421765b9c1c969ec..1f7640eba633b50f979f25b73f2b419e54b5be6d 100644 (file)
@@ -3,7 +3,7 @@
 if(! function_exists("string_plural_select_hu")) {
 function string_plural_select_hu($n){
        $n = intval($n);
-       return ($n != 1);;
+       return intval($n != 1);
 }}
 ;
 $a->strings["default"] = "alapértelmezett";
index 44adc7c1f813f8865e29988462872bc4fcbb2a1d..9356efb4dc549e9a55049a2a90633949f1a39874 100644 (file)
@@ -3,7 +3,7 @@
 if(! function_exists("string_plural_select_is")) {
 function string_plural_select_is($n){
        $n = intval($n);
-       return ($n % 10 != 1 || $n % 100 == 11);;
+       return intval($n % 10 != 1 || $n % 100 == 11);
 }}
 ;
 $a->strings["Friendica Notification"] = "Friendica tilkynning";
index ad472eaa8b172262da2f46ded9580647642b3fd1..2b54469e9f904f8bfe1f7c9a05be194546ea0f55 100644 (file)
@@ -3,7 +3,7 @@
 if(! function_exists("string_plural_select_it")) {
 function string_plural_select_it($n){
        $n = intval($n);
-       return ($n != 1);;
+       return intval($n != 1);
 }}
 ;
 $a->strings["Daily posting limit of %d post reached. The post was rejected."] = [
index 89cd27cbbf2228f0492c1ef5d0d63c305a37f19f..9f5c0a844d77517f86580b7b8a5bb2163e5f1e3c 100644 (file)
@@ -3,7 +3,7 @@
 if(! function_exists("string_plural_select_ja")) {
 function string_plural_select_ja($n){
        $n = intval($n);
-       return 0;;
+       return intval(0);
 }}
 ;
 $a->strings["Daily posting limit of %d post reached. The post was rejected."] = [
index 03af58cc22b082ae99bb003edb030dbb281629a2..a014b857c3fcf84d240f0d34e4a3f0eba077f28a 100644 (file)
@@ -3,7 +3,7 @@
 if(! function_exists("string_plural_select_nb_no")) {
 function string_plural_select_nb_no($n){
        $n = intval($n);
-       return ($n != 1);;
+       return intval($n != 1);
 }}
 ;
 $a->strings["Daily posting limit of %d post reached. The post was rejected."] = [
index 2d206ec877d9afa4a51b021452f9f5039a181be6..ee976c30f42a934b6e0e2fb948ea157c7818ffe2 100644 (file)
@@ -3,7 +3,7 @@
 if(! function_exists("string_plural_select_nl")) {
 function string_plural_select_nl($n){
        $n = intval($n);
-       return ($n != 1);;
+       return intval($n != 1);
 }}
 ;
 $a->strings["Daily posting limit of %d post reached. The post was rejected."] = [
index 84aa91b492d49b5daea9505a649472857ec3b25b..db4ca0e80e69b232f467d3e96eff6f8dcd2fd92c 100644 (file)
@@ -3,7 +3,7 @@
 if(! function_exists("string_plural_select_pl")) {
 function string_plural_select_pl($n){
        $n = intval($n);
-       return ($n==1 ? 0 : ($n%10>=2 && $n%10<=4) && ($n%100<12 || $n%100>14) ? 1 : $n!=1 && ($n%10>=0 && $n%10<=1) || ($n%10>=5 && $n%10<=9) || ($n%100>=12 && $n%100<=14) ? 2 : 3);;
+       if ($n==1) { return 0; } else if (($n%10>=2 && $n%10<=4) && ($n%100<12 || $n%100>14)) { return 1; } else if ($n!=1 && ($n%10>=0 && $n%10<=1) || ($n%10>=5 && $n%10<=9) || ($n%100>=12 && $n%100<=14)) { return 2; } else  { return 3; }
 }}
 ;
 $a->strings["default"] = "standardowe";
index b59835339301b9a3c9d7d55cc2c5dc3e1e1d395b..458a14e85183d2f5ed8cbc2e274c5cbf115b928e 100644 (file)
@@ -3,7 +3,7 @@
 if(! function_exists("string_plural_select_pt_br")) {
 function string_plural_select_pt_br($n){
        $n = intval($n);
-       return ($n > 1);;
+       return intval($n > 1);
 }}
 ;
 $a->strings["Daily posting limit of %d post reached. The post was rejected."] = [
index 50e963b08c4f4febdf09f3daa8d7f72ccbdc8232..264c5a2bbd5cd6134243b2137a2350e08a4fb125 100644 (file)
@@ -3,7 +3,7 @@
 if(! function_exists("string_plural_select_ro")) {
 function string_plural_select_ro($n){
        $n = intval($n);
-       return ($n==1?0:((($n%100>19)||(($n%100==0)&&($n!=0)))?2:1));;
+       if ($n==1) { return 0; } else if ((($n%100>19)||(($n%100==0)&&($n!=0)))) { return 2; } else  { return 1; }
 }}
 ;
 $a->strings["%d contact edited."] = [
index f61a2f5ceda1823a1e68f61a73a89acb840effa7..4eea1a9d41e0ecebd818cdd96d460ab6288e343c 100644 (file)
@@ -3,7 +3,7 @@
 if(! function_exists("string_plural_select_ru")) {
 function string_plural_select_ru($n){
        $n = intval($n);
-       return ($n%10==1 && $n%100!=11 ? 0 : $n%10>=2 && $n%10<=4 && ($n%100<12 || $n%100>14) ? 1 : $n%10==0 || ($n%10>=5 && $n%10<=9) || ($n%100>=11 && $n%100<=14)? 2 : 3);;
+       if ($n%10==1 && $n%100!=11) { return 0; } else if ($n%10>=2 && $n%10<=4 && ($n%100<12 || $n%100>14)) { return 1; } else if ($n%10==0 || ($n%10>=5 && $n%10<=9) || ($n%100>=11 && $n%100<=14)) { return 2; } else  { return 3; }
 }}
 ;
 $a->strings["Daily posting limit of %d post reached. The post was rejected."] = [
index 292fc504982630f287a3299931a164d699320753..9d8b8d555207fa505f032a4b0980afaee26cb8cc 100644 (file)
@@ -3,7 +3,7 @@
 if(! function_exists("string_plural_select_sv")) {
 function string_plural_select_sv($n){
        $n = intval($n);
-       return ($n != 1);;
+       return intval($n != 1);
 }}
 ;
 $a->strings["Daily posting limit of %d post reached. The post was rejected."] = [
index d8b2c53e0aa49780bbe8a12c584825acec5aeea0..580cf33d036b490a5521ccc685d9821e0ac8353d 100644 (file)
@@ -3,7 +3,7 @@
 if(! function_exists("string_plural_select_zh_cn")) {
 function string_plural_select_zh_cn($n){
        $n = intval($n);
-       return 0;;
+       return intval(0);
 }}
 ;
 $a->strings["default"] = "默认";