From: Tobias Diekershoff Date: Fri, 25 May 2018 08:53:37 +0000 (+0200) Subject: RU translation diaspora addon THX Stanislav N X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=d111e17f84f2fc48cc10f8ce50493b451a35c898;p=friendica-addons.git RU translation diaspora addon THX Stanislav N --- diff --git a/diaspora/lang/ru/strings.php b/diaspora/lang/ru/strings.php index 0d46c78d..71c8ff1f 100644 --- a/diaspora/lang/ru/strings.php +++ b/diaspora/lang/ru/strings.php @@ -2,6 +2,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);; }} ;