From 0102b0026f7fa9acae0aa9912bbd510c376dc75e Mon Sep 17 00:00:00 2001 From: Tobias Diekershoff Date: Sun, 10 Jun 2018 08:27:16 +0200 Subject: [PATCH] updated CS translation of the nsfw addon THX Aditoo --- nsfw/lang/cs/messages.po | 58 +++++++++++++++++++++------------------- nsfw/lang/cs/strings.php | 12 +++++---- 2 files changed, 38 insertions(+), 32 deletions(-) diff --git a/nsfw/lang/cs/messages.po b/nsfw/lang/cs/messages.po index 61d367c4..83438fc4 100644 --- a/nsfw/lang/cs/messages.po +++ b/nsfw/lang/cs/messages.po @@ -4,56 +4,60 @@ # # # Translators: -# Michal Šupler , 2014-2015 +# Lorem Ipsum , 2018 +# michal_s , 2014-2015 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: 2015-02-11 19:39+0000\n" -"Last-Translator: Michal Šupler \n" -"Language-Team: Czech (http://www.transifex.com/projects/p/friendica/language/cs/)\n" +"POT-Creation-Date: 2018-04-01 11:11-0400\n" +"PO-Revision-Date: 2018-06-09 10:08+0000\n" +"Last-Translator: Lorem Ipsum \n" +"Language-Team: Czech (http://www.transifex.com/Friendica/friendica/language/cs/)\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Language: cs\n" -"Plural-Forms: nplurals=3; plural=(n==1) ? 0 : (n>=2 && n<=4) ? 1 : 2;\n" +"Plural-Forms: nplurals=4; plural=(n == 1 && n % 1 == 0) ? 0 : (n >= 2 && n <= 4 && n % 1 == 0) ? 1: (n % 1 != 0 ) ? 2 : 3;\n" -#: nsfw.php:78 -msgid "Not Safe For Work (General Purpose Content Filter) settings" -msgstr "Not Safe For Work (General Purpose Content Filter) nastavení" +#: nsfw.php:77 nsfw.php:81 +msgid "Content Filter (NSFW and more)" +msgstr "" -#: nsfw.php:80 +#: nsfw.php:85 msgid "" -"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." -msgstr "Tento addon hledá v příspěvcích slova zadáná níže a skryje jakýkoliv obsah, který tyto slova obsahuje v prostředích, kde to není vhodné. Je slušné a doporučené jakékoliv příspěvky s mahotou označit s #NSFW. Tento filtr může také vyhledávat jakékoliv Vámi specifikované slovní spojení, takže může být využit jako obecný kontextový filtr." +"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.php:81 +#: nsfw.php:86 msgid "Enable Content filter" msgstr "Povolit Kontextový filtr" -#: nsfw.php:84 +#: nsfw.php:89 msgid "Comma separated list of keywords to hide" msgstr "Čárkou oddělený seznam klíčových slov ke skrytí" -#: nsfw.php:88 -msgid "Submit" -msgstr "Odeslat" +#: nsfw.php:93 +msgid "Save Settings" +msgstr "Uložit nastavení" -#: nsfw.php:89 +#: nsfw.php:94 msgid "Use /expression/ to provide regular expressions" msgstr "Použít /výraz/ pro použití regulárních výrazů" -#: nsfw.php:105 +#: nsfw.php:109 msgid "NSFW Settings saved." msgstr "NSFW nastavení uloženo" -#: nsfw.php:157 +#: nsfw.php:162 #, php-format -msgid "%s - Click to open/close" -msgstr "%s - Klikněte pro otevření/zavření" +msgid "Filtered tag: %s" +msgstr "Filtrovaná značka: %s" + +#: nsfw.php:164 +#, php-format +msgid "Filtered word: %s" +msgstr "Filtrované slovo: %s" diff --git a/nsfw/lang/cs/strings.php b/nsfw/lang/cs/strings.php index fd07368b..cbdefa1f 100644 --- a/nsfw/lang/cs/strings.php +++ b/nsfw/lang/cs/strings.php @@ -2,14 +2,16 @@ if(! function_exists("string_plural_select_cs")) { function string_plural_select_cs($n){ - return ($n==1) ? 0 : ($n>=2 && $n<=4) ? 1 : 2;; + $n = intval($n); + return ($n == 1 && $n % 1 == 0) ? 0 : ($n >= 2 && $n <= 4 && $n % 1 == 0) ? 1: ($n % 1 != 0 ) ? 2 : 3;; }} ; -$a->strings["Not Safe For Work (General Purpose Content Filter) settings"] = "Not Safe For Work (General Purpose Content Filter) nastavení"; -$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."] = "Tento addon hledá v příspěvcích slova zadáná níže a skryje jakýkoliv obsah, který tyto slova obsahuje v prostředích, kde to není vhodné. Je slušné a doporučené jakékoliv příspěvky s mahotou označit s #NSFW. Tento filtr může také vyhledávat jakékoliv Vámi specifikované slovní spojení, takže může být využit jako obecný kontextový filtr."; +$a->strings["Content Filter (NSFW and more)"] = ""; +$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."] = ""; $a->strings["Enable Content filter"] = "Povolit Kontextový filtr"; $a->strings["Comma separated list of keywords to hide"] = "Čárkou oddělený seznam klíčových slov ke skrytí"; -$a->strings["Submit"] = "Odeslat"; +$a->strings["Save Settings"] = "Uložit nastavení"; $a->strings["Use /expression/ to provide regular expressions"] = "Použít /výraz/ pro použití regulárních výrazů"; $a->strings["NSFW Settings saved."] = "NSFW nastavení uloženo"; -$a->strings["%s - Click to open/close"] = "%s - Klikněte pro otevření/zavření"; +$a->strings["Filtered tag: %s"] = "Filtrovaná značka: %s"; +$a->strings["Filtered word: %s"] = "Filtrované slovo: %s";