nsqf addon RU translation update THX Alexander An
authorTobias Diekershoff <tobias.diekershoff@gmx.net>
Tue, 1 Sep 2020 12:52:30 +0000 (14:52 +0200)
committerTobias Diekershoff <tobias.diekershoff@gmx.net>
Tue, 1 Sep 2020 12:52:30 +0000 (14:52 +0200)
nsfw/lang/ru/messages.po [new file with mode: 0644]
nsfw/lang/ru/strings.php

diff --git a/nsfw/lang/ru/messages.po b/nsfw/lang/ru/messages.po
new file mode 100644 (file)
index 0000000..caa7ef3
--- /dev/null
@@ -0,0 +1,62 @@
+# ADDON nsfw
+# Copyright (C)
+# This file is distributed under the same license as the Friendica nsfw addon package.
+# 
+# 
+# Translators:
+# Alexander An <ravnina@gmail.com>, 2020
+msgid ""
+msgstr ""
+"Project-Id-Version: friendica\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2018-04-01 11:11-0400\n"
+"PO-Revision-Date: 2020-09-01 05:38+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"
+"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"
+
+#: nsfw.php:77 nsfw.php:81
+msgid "Content Filter (NSFW and more)"
+msgstr "Фильтр контента (NSFW и прочее)"
+
+#: nsfw.php:85
+msgid ""
+"This addon searches for specified words/text in posts and collapses them. It"
+" can be used to filter content tagged with for instance #NSFW that may be "
+"deemed inappropriate at certain times or places, such as being at work. It "
+"is also useful for hiding irrelevant or annoying content from direct view."
+msgstr "Это дополнение ищет указанные слова и выражения в записях и сворачивает запись, если найдёт. Это можно использовать для скрытия записей с тэгом #NSFW, просмотр которых может быть нежелателен в определённое время, например, на работе. Так же можно использовать для скрытия иного контента."
+
+#: nsfw.php:86
+msgid "Enable Content filter"
+msgstr "Включить фильтр контента"
+
+#: nsfw.php:89
+msgid "Comma separated list of keywords to hide"
+msgstr "Ключевые слова для скрытия, через запятую"
+
+#: nsfw.php:93
+msgid "Save Settings"
+msgstr "Сохранить настройки"
+
+#: nsfw.php:94
+msgid "Use /expression/ to provide regular expressions"
+msgstr "Используйте формат /expression/ для регулярных выражений"
+
+#: nsfw.php:109
+msgid "NSFW Settings saved."
+msgstr "Настройки NSFW сохранены"
+
+#: nsfw.php:162
+#, php-format
+msgid "Filtered tag: %s"
+msgstr "Скрыт тэг: %s"
+
+#: nsfw.php:164
+#, php-format
+msgid "Filtered word: %s"
+msgstr "Скрыто слово: %s"
index 7e821ed..d16d119 100644 (file)
@@ -1,10 +1,17 @@
-<?php\r
-\r
-$a->strings["Not Safe For Work (General Purpose Content Filter) settings"] = "";\r
-$a->strings["This addon looks in posts for the words/text you specify below, and collapses any content containing those keywords so it is not displayed at inappropriate times, such as sexual innuendo that may be improper in a work setting. It is polite and recommended to tag any content containing nudity with #NSFW.  This filter can also match any other word/text you specify, and can thereby be used as a general purpose content filter."] = "";\r
-$a->strings["Enable Content filter"] = "Включить фильтр содержимого";\r
-$a->strings["Comma separated list of keywords to hide"] = "ключевые слова, которые скрыть (список через запятую)";\r
-$a->strings["Submit"] = "Подтвердить";\r
-$a->strings["Use /expression/ to provide regular expressions"] = "";\r
-$a->strings["NSFW Settings saved."] = "NSFW Настройки сохранены.";\r
-$a->strings["%s - Click to open/close"] = "%s - Нажмите для открытия / закрытия";\r
+<?php
+
+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);;
+}}
+;
+$a->strings["Content Filter (NSFW and more)"] = "Фильтр контента (NSFW и прочее)";
+$a->strings["This addon searches for specified words/text in posts and collapses them. It can be used to filter content tagged with for instance #NSFW that may be deemed inappropriate at certain times or places, such as being at work. It is also useful for hiding irrelevant or annoying content from direct view."] = "Это дополнение ищет указанные слова и выражения в записях и сворачивает запись, если найдёт. Это можно использовать для скрытия записей с тэгом #NSFW, просмотр которых может быть нежелателен в определённое время, например, на работе. Так же можно использовать для скрытия иного контента.";
+$a->strings["Enable Content filter"] = "Включить фильтр контента";
+$a->strings["Comma separated list of keywords to hide"] = "Ключевые слова для скрытия, через запятую";
+$a->strings["Save Settings"] = "Сохранить настройки";
+$a->strings["Use /expression/ to provide regular expressions"] = "Используйте формат /expression/ для регулярных выражений";
+$a->strings["NSFW Settings saved."] = "Настройки NSFW сохранены";
+$a->strings["Filtered tag: %s"] = "Скрыт тэг: %s";
+$a->strings["Filtered word: %s"] = "Скрыто слово: %s";