mirror of
https://git.friendi.ca/friendica/friendica-addons.git
synced 2024-11-22 00:03:39 +00:00
RU translation geonames addon THX Stanislav N
This commit is contained in:
parent
565887fb91
commit
fe4787b35d
2 changed files with 5 additions and 4 deletions
|
@ -4,13 +4,13 @@
|
||||||
#
|
#
|
||||||
#
|
#
|
||||||
# Translators:
|
# Translators:
|
||||||
# Stanislav N. <pztrn@pztrn.name>, 2017
|
# Stanislav N. <pztrn@pztrn.name>, 2017-2018
|
||||||
msgid ""
|
msgid ""
|
||||||
msgstr ""
|
msgstr ""
|
||||||
"Project-Id-Version: friendica\n"
|
"Project-Id-Version: friendica\n"
|
||||||
"Report-Msgid-Bugs-To: \n"
|
"Report-Msgid-Bugs-To: \n"
|
||||||
"POT-Creation-Date: 2013-02-27 05:01-0500\n"
|
"POT-Creation-Date: 2013-02-27 05:01-0500\n"
|
||||||
"PO-Revision-Date: 2017-04-08 17:16+0000\n"
|
"PO-Revision-Date: 2018-05-25 00:02+0000\n"
|
||||||
"Last-Translator: Stanislav N. <pztrn@pztrn.name>\n"
|
"Last-Translator: Stanislav N. <pztrn@pztrn.name>\n"
|
||||||
"Language-Team: Russian (http://www.transifex.com/Friendica/friendica/language/ru/)\n"
|
"Language-Team: Russian (http://www.transifex.com/Friendica/friendica/language/ru/)\n"
|
||||||
"MIME-Version: 1.0\n"
|
"MIME-Version: 1.0\n"
|
||||||
|
@ -29,7 +29,7 @@ msgstr "Настройки Geonames"
|
||||||
|
|
||||||
#: geonames.php:181
|
#: geonames.php:181
|
||||||
msgid "Enable Geonames Addon"
|
msgid "Enable Geonames Addon"
|
||||||
msgstr "Включить плагин Geonames"
|
msgstr "Включить аддон Geonames"
|
||||||
|
|
||||||
#: geonames.php:187
|
#: geonames.php:187
|
||||||
msgid "Submit"
|
msgid "Submit"
|
||||||
|
|
|
@ -2,10 +2,11 @@
|
||||||
|
|
||||||
if(! function_exists("string_plural_select_ru")) {
|
if(! function_exists("string_plural_select_ru")) {
|
||||||
function string_plural_select_ru($n){
|
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);;
|
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 updated."] = "Настройки Geonames обновлены.";
|
||||||
$a->strings["Geonames Settings"] = "Настройки Geonames";
|
$a->strings["Geonames Settings"] = "Настройки Geonames";
|
||||||
$a->strings["Enable Geonames Addon"] = "Включить плагин Geonames";
|
$a->strings["Enable Geonames Addon"] = "Включить аддон Geonames";
|
||||||
$a->strings["Submit"] = "Добавить";
|
$a->strings["Submit"] = "Добавить";
|
||||||
|
|
Loading…
Reference in a new issue