]> git.mxchange.org Git - friendica-addons.git/blobdiff - editplain/lang/ru/strings.php
RU translation of editplain addon THX pztrn
[friendica-addons.git] / editplain / lang / ru / strings.php
index 0cf4ed559ab2e6710a8ed870b25fe276c5a975fd..0b397d8984e0e83c32b11114fbb05de14870416e 100644 (file)
@@ -1,6 +1,11 @@
-<?php\r
-\r
-$a->strings["Editplain settings updated."] = "Editplain настройки обновлены.";\r
-$a->strings["Editplain Settings"] = "Editplain настройки";\r
-$a->strings["Disable richtext status editor"] = "Отключить richtext status editor";\r
-$a->strings["Submit"] = "Подтвердить";\r
+<?php
+
+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);;
+}}
+;
+$a->strings["Editplain settings updated."] = "Настройки Editplain обновлены";
+$a->strings["Editplain Settings"] = "Настройки Editplain";
+$a->strings["Disable richtext status editor"] = "Отключить richtext status editor";
+$a->strings["Submit"] = "Добавить";