X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=blockbot%2Flang%2Fru%2Fstrings.php;h=418498f9468c5bb2379803f013b431d4e22e8c4e;hb=bdbfd9e9194a054e3b3380bd17f241d76a347af7;hp=5467b0dd4bf13cd1a38a7544555e37df93e2ac30;hpb=96925a3a75e8ba0614bcf97262688c0c35a43e48;p=friendica-addons.git diff --git a/blockbot/lang/ru/strings.php b/blockbot/lang/ru/strings.php index 5467b0dd..418498f9 100644 --- a/blockbot/lang/ru/strings.php +++ b/blockbot/lang/ru/strings.php @@ -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["Save Settings"] = "Сохранить настройки";