]> git.mxchange.org Git - friendica-addons.git/blobdiff - geonames/lang/cs/strings.php
Merge pull request #1076 from tobiasd/20210201-lngCmessages
[friendica-addons.git] / geonames / lang / cs / strings.php
index f8f41c1b913fdf808917baf7a9356999cc9cefdc..78a3221ec44f15c5ef5f5c08b5d02a801841d1f9 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["Geonames settings updated."] = "Nastavení Geonames aktualizována.";