]> git.mxchange.org Git - friendica-addons.git/blobdiff - buffer/lang/cs/strings.php
Merge pull request #1082 from annando/no-item
[friendica-addons.git] / buffer / lang / cs / strings.php
index 971dbe9b24a6761b424105304c5492bd0b309405..b8c9cd538ae6a75230c73e5ae75eef8579d4b62e 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.";