]> git.mxchange.org Git - friendica-addons.git/blobdiff - geonames/lang/ru/strings.php
RU translation of geonames addon THX pztrn
[friendica-addons.git] / geonames / lang / ru / strings.php
index 7c1c6833bfbf7f906616e485599110ad6cd9a3cb..2af0233ca63e5b28a2fd3bd3868c8f032db36a49 100644 (file)
@@ -1,6 +1,11 @@
-<?php\r
-\r
-$a->strings["Geonames settings updated."] = "";\r
-$a->strings["Geonames Settings"] = "";\r
-$a->strings["Enable Geonames Plugin"] = "Включить Geonames  плагин";\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["Geonames settings updated."] = "Настройки Geonames обновлены.";
+$a->strings["Geonames Settings"] = "Настройки Geonames";
+$a->strings["Enable Geonames Plugin"] = "Включить плагин Geonames";
+$a->strings["Submit"] = "Добавить";