RU translation of blackout addon THX Alexander An
authorTobias Diekershoff <tobias.diekershoff@gmx.net>
Mon, 15 Jun 2020 05:49:59 +0000 (07:49 +0200)
committerTobias Diekershoff <tobias.diekershoff@gmx.net>
Mon, 15 Jun 2020 05:49:59 +0000 (07:49 +0200)
blackout/lang/ru/messages.po
blackout/lang/ru/strings.php

index 560ed5d..4fa48cc 100644 (file)
@@ -4,14 +4,16 @@
 # 
 # 
 # Translators:
 # 
 # 
 # Translators:
+# Alexander An <ravnina@gmail.com>, 2020
+# Eugene Veresk <eugene.vereshchagin@gmail.com>, 2020
 # Stanislav N. <pztrn@pztrn.name>, 2017
 msgid ""
 msgstr ""
 "Project-Id-Version: friendica\n"
 "Report-Msgid-Bugs-To: \n"
 # Stanislav N. <pztrn@pztrn.name>, 2017
 msgid ""
 msgstr ""
 "Project-Id-Version: friendica\n"
 "Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2014-06-22 13:18+0200\n"
-"PO-Revision-Date: 2017-04-08 05:34+0000\n"
-"Last-Translator: Stanislav N. <pztrn@pztrn.name>\n"
+"POT-Creation-Date: 2019-03-12 09:26+0100\n"
+"PO-Revision-Date: 2020-04-23 14:36+0000\n"
+"Last-Translator: Alexander An <ravnina@gmail.com>\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"
 "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"
@@ -19,34 +21,48 @@ msgstr ""
 "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"
 
 "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"
 
-#: blackout.php:99
+#: blackout.php:101
+msgid ""
+"The end-date is prior to the start-date of the blackout, you should fix this"
+msgstr "Дата начала позже даты окончания, исправьте это"
+
+#: blackout.php:103
+#, php-format
+msgid ""
+"Please double check that the current settings for the blackout. Begin will "
+"be <strong>%s</strong> and it will end <strong>%s</strong>."
+msgstr " Пожалуйста, проверьте настройки блэкаута ещё раз. Он начнётся <strong>%s</strong> и закончится <strong>%s</strong>."
+
+#: blackout.php:106
 msgid "Save Settings"
 msgstr "Сохранить настройки"
 
 msgid "Save Settings"
 msgstr "Сохранить настройки"
 
-#: blackout.php:100
+#: blackout.php:107
 msgid "Redirect URL"
 msgstr "Ссылка для перенаправления"
 
 msgid "Redirect URL"
 msgstr "Ссылка для перенаправления"
 
-#: blackout.php:100
+#: blackout.php:107
 msgid "all your visitors from the web will be redirected to this URL"
 msgstr "все посетители будут перенаправлены на этот URL"
 
 msgid "all your visitors from the web will be redirected to this URL"
 msgstr "все посетители будут перенаправлены на этот URL"
 
-#: blackout.php:101
+#: blackout.php:108
 msgid "Begin of the Blackout"
 msgstr "Начало блэкаута"
 
 msgid "Begin of the Blackout"
 msgstr "Начало блэкаута"
 
-#: blackout.php:101
+#: blackout.php:108
 msgid ""
 msgid ""
-"format is <em>YYYY</em> year, <em>MM</em> month, <em>DD</em> day, "
-"<em>hh</em> hour and <em>mm</em> minute"
-msgstr "формат: <em>YYYY</em> год, <em>MM</em> месяц, <em>DD</em> день, <em>hh</em> час и <em>mm</em> минута"
+"Format is <tt>YYYY-MM-DD hh:mm</tt>; <em>YYYY</em> year, <em>MM</em> month, "
+"<em>DD</em> day, <em>hh</em> hour and <em>mm</em> minute."
+msgstr "Формат: <tt>YYYY-MM-DD hh:mm</tt>; <em>YYYY</em> год, <em>MM</em> месяц, <em>DD</em> день, <em>hh</em> час и <em>mm</em> минуты."
 
 
-#: blackout.php:102
+#: blackout.php:109
 msgid "End of the Blackout"
 msgstr "Конец блэкаута"
 
 msgid "End of the Blackout"
 msgstr "Конец блэкаута"
 
-#: blackout.php:108
+#: blackout.php:111
 msgid ""
 msgid ""
-"The end-date is prior to the start-date of the blackout, you should fix "
-"this."
-msgstr "Указана более ранняя дата окончания, чем дата начала. Это надо исправить."
+"<strong>Note</strong>: The redirect will be active from the moment you press"
+" the submit button. Users currently logged in will <strong>not</strong> be "
+"thrown out but can't login again after logging out should the blackout is "
+"still in place."
+msgstr "<strong>Внимание</strong>: Переадресация будет включена после нажатия вами кнопки. Уже вошедшие пользователи <strong>не</strong> будут выброшены, но не смогут зайти снова, пока блэкаут не закончится."
index aae8b35..9dc1ddf 100644 (file)
@@ -2,13 +2,16 @@
 
 if(! function_exists("string_plural_select_ru")) {
 function string_plural_select_ru($n){
 
 if(! function_exists("string_plural_select_ru")) {
 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["The end-date is prior to the start-date of the blackout, you should fix this"] = "Дата начала позже даты окончания, исправьте это";
+$a->strings["Please double check that the current settings for the blackout. Begin will be <strong>%s</strong> and it will end <strong>%s</strong>."] = " Пожалуйста, проверьте настройки блэкаута ещё раз. Он начнётся <strong>%s</strong> и закончится <strong>%s</strong>.";
 $a->strings["Save Settings"] = "Сохранить настройки";
 $a->strings["Redirect URL"] = "Ссылка для перенаправления";
 $a->strings["all your visitors from the web will be redirected to this URL"] = "все посетители будут перенаправлены на этот URL";
 $a->strings["Begin of the Blackout"] = "Начало блэкаута";
 $a->strings["Save Settings"] = "Сохранить настройки";
 $a->strings["Redirect URL"] = "Ссылка для перенаправления";
 $a->strings["all your visitors from the web will be redirected to this URL"] = "все посетители будут перенаправлены на этот URL";
 $a->strings["Begin of the Blackout"] = "Начало блэкаута";
-$a->strings["format is <em>YYYY</em> year, <em>MM</em> month, <em>DD</em> day, <em>hh</em> hour and <em>mm</em> minute"] = "формат: <em>YYYY</em> год, <em>MM</em> месяц, <em>DD</em> день, <em>hh</em> час и <em>mm</em> минута";
+$a->strings["Format is <tt>YYYY-MM-DD hh:mm</tt>; <em>YYYY</em> year, <em>MM</em> month, <em>DD</em> day, <em>hh</em> hour and <em>mm</em> minute."] = "Формат: <tt>YYYY-MM-DD hh:mm</tt>; <em>YYYY</em> год, <em>MM</em> месяц, <em>DD</em> день, <em>hh</em> час и <em>mm</em> минуты.";
 $a->strings["End of the Blackout"] = "Конец блэкаута";
 $a->strings["End of the Blackout"] = "Конец блэкаута";
-$a->strings["The end-date is prior to the start-date of the blackout, you should fix this."] = "Указана более ранняя дата окончания, чем дата начала. Это надо исправить.";
+$a->strings["<strong>Note</strong>: The redirect will be active from the moment you press the submit button. Users currently logged in will <strong>not</strong> be thrown out but can't login again after logging out should the blackout is still in place."] = "<strong>Внимание</strong>: Переадресация будет включена после нажатия вами кнопки. Уже вошедшие пользователи <strong>не</strong> будут выброшены, но не смогут зайти снова, пока блэкаут не закончится.";