RU translation of yourls addon THX pztrn
authorTobias Diekershoff <tobias.diekershoff@gmx.net>
Sun, 9 Apr 2017 06:24:00 +0000 (08:24 +0200)
committerTobias Diekershoff <tobias.diekershoff@gmx.net>
Sun, 9 Apr 2017 06:24:00 +0000 (08:24 +0200)
yourls/lang/ru/messages.po [new file with mode: 0644]
yourls/lang/ru/strings.php

diff --git a/yourls/lang/ru/messages.po b/yourls/lang/ru/messages.po
new file mode 100644 (file)
index 0000000..836ccc8
--- /dev/null
@@ -0,0 +1,48 @@
+# ADDON yourls
+# Copyright (C)
+# This file is distributed under the same license as the Friendica yourls addon package.
+# 
+# 
+# Translators:
+# Stanislav N. <pztrn@pztrn.name>, 2017
+msgid ""
+msgstr ""
+"Project-Id-Version: friendica\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2013-02-27 05:01-0500\n"
+"PO-Revision-Date: 2017-04-08 17:20+0000\n"
+"Last-Translator: Stanislav N. <pztrn@pztrn.name>\n"
+"Language-Team: Russian (http://www.transifex.com/Friendica/friendica/language/ru/)\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"Language: ru\n"
+"Plural-Forms: nplurals=4; plural=(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"
+
+#: yourls.php:55
+msgid "YourLS Settings"
+msgstr "Настройки YourLS"
+
+#: yourls.php:57
+msgid "URL: http://"
+msgstr "URL: http://"
+
+#: yourls.php:62
+msgid "Username:"
+msgstr "Имя пользователя:"
+
+#: yourls.php:67
+msgid "Password:"
+msgstr "Пароль:"
+
+#: yourls.php:72
+msgid "Use SSL "
+msgstr "Использовать SSL"
+
+#: yourls.php:76
+msgid "Submit"
+msgstr "Добавить"
+
+#: yourls.php:92
+msgid "yourls Settings saved."
+msgstr "Настройки YourLS сохранены."
index 2e3f9ee911131499e19f9df9f0e170e129e17d05..326e6d3927e98a525bc5c29e04e2a889832d72e6 100644 (file)
@@ -1,9 +1,14 @@
-<?php\r
-\r
-$a->strings["YourLS Settings"] = "";\r
-$a->strings["URL: http://"] = "URL: http://";\r
-$a->strings["Username:"] = "Имя:";\r
-$a->strings["Password:"] = "Пароль:";\r
-$a->strings["Use SSL "] = "Использовать SSL";\r
-$a->strings["Submit"] = "Подтвердить";\r
-$a->strings["yourls Settings saved."] = "Настройки сохранены.";\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["YourLS Settings"] = "Настройки YourLS";
+$a->strings["URL: http://"] = "URL: http://";
+$a->strings["Username:"] = "Имя пользователя:";
+$a->strings["Password:"] = "Пароль:";
+$a->strings["Use SSL "] = "Использовать SSL";
+$a->strings["Submit"] = "Добавить";
+$a->strings["yourls Settings saved."] = "Настройки YourLS сохранены.";