]> git.mxchange.org Git - friendica-addons.git/blobdiff - pumpio/lang/cs/strings.php
Merge pull request #1082 from annando/no-item
[friendica-addons.git] / pumpio / lang / cs / strings.php
index 1462bf5fb7cbd3b5b56b195ebb2a51f3eecd76a3..ee143241146f526d55ed3747f7e6e05c1cb8c94d 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["Permission denied."] = "Přístup odmítnut.";