From e4b84f3063a50073efeb4f2ff018aa34fd74efc4 Mon Sep 17 00:00:00 2001 From: Tobias Diekershoff Date: Mon, 18 Jun 2018 08:40:51 +0200 Subject: [PATCH] CS and EN-US localization update of the blockem addon --- blockem/lang/cs/messages.po | 43 ++++++++++++++++++++-------------- blockem/lang/cs/strings.php | 14 ++++++----- blockem/lang/en-us/messages.po | 7 +++--- blockem/lang/en-us/strings.php | 3 ++- 4 files changed, 39 insertions(+), 28 deletions(-) diff --git a/blockem/lang/cs/messages.po b/blockem/lang/cs/messages.po index 249f57eb..0ddd645e 100644 --- a/blockem/lang/cs/messages.po +++ b/blockem/lang/cs/messages.po @@ -4,50 +4,57 @@ # # # Translators: -# Michal Šupler , 2014 +# Aditoo, 2018 +# michal_s , 2014 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: 2014-07-02 15:28+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-13 18:06+0000\n" +"Last-Translator: Aditoo\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" -#: blockem.php:53 blockem.php:57 +#: blockem.php:52 blockem.php:56 msgid "\"Blockem\"" msgstr "\"Blockem\"" +#: blockem.php:60 +msgid "" +"Hides user's content by collapsing posts. Also replaces their avatar with " +"generic image." +msgstr "Skrývá uživatelský obsah zabalením příspěvků. Navíc nahrazuje avatar generickým obrázkem." + #: blockem.php:61 -msgid "Comma separated profile URLS to block" -msgstr "Čárkou oddělené URL adresy profilů určených k ignorování" +msgid "Comma separated profile URLS:" +msgstr "URL adresy profilů, oddělené čárkami:" #: blockem.php:65 msgid "Save Settings" -msgstr "Uložit Nastavení" +msgstr "Uložit nastavení" #: blockem.php:78 msgid "BLOCKEM Settings saved." -msgstr "BLOCKEM nastavení uloženo." +msgstr "Nastavení BLOCKEM uložena." -#: blockem.php:142 +#: blockem.php:136 #, php-format -msgid "Blocked %s - Click to open/close" -msgstr "Blokován %s - Klikněte pro otevření/zavření" +msgid "Filtered user: %s" +msgstr "Filtrovaný uživatel: %s" -#: blockem.php:197 +#: blockem.php:189 msgid "Unblock Author" msgstr "Odblokovat autora" -#: blockem.php:199 +#: blockem.php:191 msgid "Block Author" msgstr "Zablokovat autora" -#: blockem.php:231 +#: blockem.php:223 msgid "blockem settings updated" -msgstr "blockem nastavení aktualizováno" +msgstr "nastavení blockem aktualizována" diff --git a/blockem/lang/cs/strings.php b/blockem/lang/cs/strings.php index fad08059..eb1dd7ec 100644 --- a/blockem/lang/cs/strings.php +++ b/blockem/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["\"Blockem\""] = "\"Blockem\""; -$a->strings["Comma separated profile URLS to block"] = "Čárkou oddělené URL adresy profilů určených k ignorování"; -$a->strings["Save Settings"] = "Uložit Nastavení"; -$a->strings["BLOCKEM Settings saved."] = "BLOCKEM nastavení uloženo."; -$a->strings["Blocked %s - Click to open/close"] = "Blokován %s - Klikněte pro otevření/zavření"; +$a->strings["Hides user's content by collapsing posts. Also replaces their avatar with generic image."] = "Skrývá uživatelský obsah zabalením příspěvků. Navíc nahrazuje avatar generickým obrázkem."; +$a->strings["Comma separated profile URLS:"] = "URL adresy profilů, oddělené čárkami:"; +$a->strings["Save Settings"] = "Uložit nastavení"; +$a->strings["BLOCKEM Settings saved."] = "Nastavení BLOCKEM uložena."; +$a->strings["Filtered user: %s"] = "Filtrovaný uživatel: %s"; $a->strings["Unblock Author"] = "Odblokovat autora"; $a->strings["Block Author"] = "Zablokovat autora"; -$a->strings["blockem settings updated"] = "blockem nastavení aktualizováno"; +$a->strings["blockem settings updated"] = "nastavení blockem aktualizována"; diff --git a/blockem/lang/en-us/messages.po b/blockem/lang/en-us/messages.po index ccaa21b0..1d64620b 100644 --- a/blockem/lang/en-us/messages.po +++ b/blockem/lang/en-us/messages.po @@ -6,13 +6,14 @@ # Translators: # Adam Clark , 2018 # Andy H3 , 2018 +# R C , 2018 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: 2018-04-10 02:54+0000\n" -"Last-Translator: Adam Clark \n" +"PO-Revision-Date: 2018-06-13 02:40+0000\n" +"Last-Translator: R C \n" "Language-Team: English (United States) (http://www.transifex.com/Friendica/friendica/language/en_US/)\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" @@ -32,7 +33,7 @@ msgstr "Hides user's content by collapsing posts. Also replaces their avatar wit #: blockem.php:61 msgid "Comma separated profile URLS:" -msgstr "Comma separated profile URLs:" +msgstr "Comma-separated profile URLs:" #: blockem.php:65 msgid "Save Settings" diff --git a/blockem/lang/en-us/strings.php b/blockem/lang/en-us/strings.php index 56f23cad..ed20379a 100644 --- a/blockem/lang/en-us/strings.php +++ b/blockem/lang/en-us/strings.php @@ -2,12 +2,13 @@ if(! function_exists("string_plural_select_en_us")) { function string_plural_select_en_us($n){ + $n = intval($n); return ($n != 1);; }} ; $a->strings["\"Blockem\""] = "Blockem"; $a->strings["Hides user's content by collapsing posts. Also replaces their avatar with generic image."] = "Hides user's content by collapsing posts. Also replaces their avatar with generic image."; -$a->strings["Comma separated profile URLS:"] = "Comma separated profile URLs:"; +$a->strings["Comma separated profile URLS:"] = "Comma-separated profile URLs:"; $a->strings["Save Settings"] = "Save settings"; $a->strings["BLOCKEM Settings saved."] = "Blockem settings saved."; $a->strings["Filtered user: %s"] = "Filtered user: %s";