X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=dwpost%2Flang%2Fru%2Fstrings.php;h=c44d13f423e5abb004adad016d72b0da19be558b;hb=25ba6023d0ac5d3fed79edeb207f00c0faa132e5;hp=7b6e5f47187d92949569ad2db5a83f7731c50400;hpb=39dd3dffe07efd69fa1ac6d0bd243c7fc0e3a66f;p=friendica-addons.git diff --git a/dwpost/lang/ru/strings.php b/dwpost/lang/ru/strings.php index 7b6e5f47..c44d13f4 100644 --- a/dwpost/lang/ru/strings.php +++ b/dwpost/lang/ru/strings.php @@ -2,13 +2,13 @@ if(! function_exists("string_plural_select_ru")) { function string_plural_select_ru($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);; + $n = intval($n); + 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["Post to Dreamwidth"] = "Отправить в Dreamwidth"; -$a->strings["Dreamwidth Post Settings"] = "Настройки сообщений Dreamwidth"; -$a->strings["Enable dreamwidth Post Addon"] = "Включить плагин отправки сообщений в Dreamwidth"; -$a->strings["dreamwidth username"] = "Имя пользователя Dreamwidth"; -$a->strings["dreamwidth password"] = "Пароль Dreamwidth"; -$a->strings["Post to dreamwidth by default"] = "Отправлять сообщения в Dreamwidth по умолчанию"; -$a->strings["Submit"] = "Добавить"; +$a->strings['Post to Dreamwidth'] = 'Отправить в Dreamwidth'; +$a->strings['Dreamwidth Post Settings'] = 'Настройки сообщений Dreamwidth'; +$a->strings['Enable dreamwidth Post Addon'] = 'Включить аддон dreamwidth Post'; +$a->strings['dreamwidth username'] = 'Имя пользователя Dreamwidth'; +$a->strings['dreamwidth password'] = 'Пароль Dreamwidth'; +$a->strings['Post to dreamwidth by default'] = 'Отправлять сообщения в Dreamwidth по умолчанию'; +$a->strings['Submit'] = 'Добавить';