From c97690bc1230926f9ada4f9744e3055ed9c424ed Mon Sep 17 00:00:00 2001 From: Tobias Diekershoff Date: Mon, 20 Aug 2018 13:06:55 +0200 Subject: [PATCH] CS, DE translation blockem and superblock addon (#713) * CS translation blockem and superblock addon THX Aditoo * DE translation blockem and superblock addon THX Abrax --- blockem/lang/cs/messages.po | 26 +++++++++++++------------- blockem/lang/cs/strings.php | 2 +- blockem/lang/de/messages.po | 29 +++++++++++++++-------------- blockem/lang/de/strings.php | 3 ++- superblock/lang/cs/messages.po | 22 +++++++++++----------- superblock/lang/cs/strings.php | 4 ++-- superblock/lang/de/messages.po | 30 ++++++++++++++++-------------- superblock/lang/de/strings.php | 11 ++++++----- 8 files changed, 66 insertions(+), 61 deletions(-) diff --git a/blockem/lang/cs/messages.po b/blockem/lang/cs/messages.po index 0ddd645e9..fb90a2ca6 100644 --- a/blockem/lang/cs/messages.po +++ b/blockem/lang/cs/messages.po @@ -10,8 +10,8 @@ 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-06-13 18:06+0000\n" +"POT-Creation-Date: 2018-08-17 10:23+0200\n" +"PO-Revision-Date: 2018-08-18 12:25+0000\n" "Last-Translator: Aditoo\n" "Language-Team: Czech (http://www.transifex.com/Friendica/friendica/language/cs/)\n" "MIME-Version: 1.0\n" @@ -20,41 +20,41 @@ msgstr "" "Language: cs\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:52 blockem.php:56 -msgid "\"Blockem\"" -msgstr "\"Blockem\"" +#: blockem.php:54 blockem.php:58 +msgid "Blockem" +msgstr "Blockem" -#: blockem.php:60 +#: blockem.php:62 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 +#: blockem.php:63 msgid "Comma separated profile URLS:" msgstr "URL adresy profilů, oddělené čárkami:" -#: blockem.php:65 +#: blockem.php:67 msgid "Save Settings" msgstr "Uložit nastavení" -#: blockem.php:78 +#: blockem.php:81 msgid "BLOCKEM Settings saved." msgstr "Nastavení BLOCKEM uložena." -#: blockem.php:136 +#: blockem.php:143 #, php-format msgid "Filtered user: %s" msgstr "Filtrovaný uživatel: %s" -#: blockem.php:189 +#: blockem.php:202 msgid "Unblock Author" msgstr "Odblokovat autora" -#: blockem.php:191 +#: blockem.php:204 msgid "Block Author" msgstr "Zablokovat autora" -#: blockem.php:223 +#: blockem.php:244 msgid "blockem settings updated" msgstr "nastavení blockem aktualizována" diff --git a/blockem/lang/cs/strings.php b/blockem/lang/cs/strings.php index eb1dd7ecd..495b9610a 100644 --- a/blockem/lang/cs/strings.php +++ b/blockem/lang/cs/strings.php @@ -6,7 +6,7 @@ function string_plural_select_cs($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["Blockem"] = "Blockem"; $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í"; diff --git a/blockem/lang/de/messages.po b/blockem/lang/de/messages.po index 387ef7676..287b24c5f 100644 --- a/blockem/lang/de/messages.po +++ b/blockem/lang/de/messages.po @@ -4,15 +4,16 @@ # # # Translators: +# Andreas H., 2018 # Tobias Diekershoff , 2014 # Tobias Diekershoff , 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-07 05:27+0000\n" -"Last-Translator: Tobias Diekershoff \n" +"POT-Creation-Date: 2018-08-17 10:23+0200\n" +"PO-Revision-Date: 2018-08-18 10:59+0000\n" +"Last-Translator: Andreas H.\n" "Language-Team: German (http://www.transifex.com/Friendica/friendica/language/de/)\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" @@ -20,41 +21,41 @@ msgstr "" "Language: de\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n" -#: blockem.php:52 blockem.php:56 -msgid "\"Blockem\"" -msgstr "\"Blockem\"" +#: blockem.php:54 blockem.php:58 +msgid "Blockem" +msgstr "Blockem" -#: blockem.php:60 +#: blockem.php:62 msgid "" "Hides user's content by collapsing posts. Also replaces their avatar with " "generic image." msgstr "Verbirgt Inhalte von Kontakten durch kollabieren der Beiträge. Des weiteren wird das Profilbild durch einen generischen Avatar ersetzt." -#: blockem.php:61 +#: blockem.php:63 msgid "Comma separated profile URLS:" msgstr "Komma separierte Liste von Profil URLs" -#: blockem.php:65 +#: blockem.php:67 msgid "Save Settings" msgstr "Einstellungen speichern" -#: blockem.php:78 +#: blockem.php:81 msgid "BLOCKEM Settings saved." msgstr "BLOCKEM-Einstellungen gesichert." -#: blockem.php:136 +#: blockem.php:143 #, php-format msgid "Filtered user: %s" msgstr "Gefilterte Person: %s" -#: blockem.php:189 +#: blockem.php:202 msgid "Unblock Author" msgstr "Autor freischalten" -#: blockem.php:191 +#: blockem.php:204 msgid "Block Author" msgstr "Autor blockieren" -#: blockem.php:223 +#: blockem.php:244 msgid "blockem settings updated" msgstr "blockem Einstellungen aktualisiert" diff --git a/blockem/lang/de/strings.php b/blockem/lang/de/strings.php index c4bbb9cb9..60c038589 100644 --- a/blockem/lang/de/strings.php +++ b/blockem/lang/de/strings.php @@ -2,10 +2,11 @@ if(! function_exists("string_plural_select_de")) { function string_plural_select_de($n){ + $n = intval($n); return ($n != 1);; }} ; -$a->strings["\"Blockem\""] = "\"Blockem\""; +$a->strings["Blockem"] = "Blockem"; $a->strings["Hides user's content by collapsing posts. Also replaces their avatar with generic image."] = "Verbirgt Inhalte von Kontakten durch kollabieren der Beiträge. Des weiteren wird das Profilbild durch einen generischen Avatar ersetzt."; $a->strings["Comma separated profile URLS:"] = "Komma separierte Liste von Profil URLs"; $a->strings["Save Settings"] = "Einstellungen speichern"; diff --git a/superblock/lang/cs/messages.po b/superblock/lang/cs/messages.po index 865de2f11..da74f3895 100644 --- a/superblock/lang/cs/messages.po +++ b/superblock/lang/cs/messages.po @@ -11,8 +11,8 @@ msgid "" msgstr "" "Project-Id-Version: friendica\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2017-04-21 08:45+0200\n" -"PO-Revision-Date: 2018-06-13 17:58+0000\n" +"POT-Creation-Date: 2018-08-17 10:25+0200\n" +"PO-Revision-Date: 2018-08-18 12:27+0000\n" "Last-Translator: Aditoo\n" "Language-Team: Czech (http://www.transifex.com/Friendica/friendica/language/cs/)\n" "MIME-Version: 1.0\n" @@ -21,26 +21,26 @@ msgstr "" "Language: cs\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" -#: superblock.php:53 superblock.php:57 -msgid "\"Superblock\"" -msgstr "\"Superblock\"" +#: superblock.php:47 superblock.php:51 +msgid "Superblock" +msgstr "Superblock" -#: superblock.php:60 +#: superblock.php:54 msgid "Comma separated profile URLS to block" msgstr "Čárkou oddělené URL adresy profilů určených k ignorování" -#: superblock.php:64 +#: superblock.php:58 msgid "Save Settings" msgstr "Uložit nastavení" -#: superblock.php:76 +#: superblock.php:71 msgid "SUPERBLOCK Settings saved." msgstr "Nastavení SUPERBLOCK uložena" -#: superblock.php:148 +#: superblock.php:144 msgid "Block Completely" msgstr "Zablokovat úplně" -#: superblock.php:168 +#: superblock.php:165 msgid "superblock settings updated" -msgstr "nastavvení superblock aktualizována" +msgstr "nastavení superblock aktualizována" diff --git a/superblock/lang/cs/strings.php b/superblock/lang/cs/strings.php index c2bcfcdf9..32acaf8bb 100644 --- a/superblock/lang/cs/strings.php +++ b/superblock/lang/cs/strings.php @@ -6,9 +6,9 @@ function string_plural_select_cs($n){ return ($n == 1 && $n % 1 == 0) ? 0 : ($n >= 2 && $n <= 4 && $n % 1 == 0) ? 1: ($n % 1 != 0 ) ? 2 : 3;; }} ; -$a->strings["\"Superblock\""] = "\"Superblock\""; +$a->strings["Superblock"] = "Superblock"; $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["SUPERBLOCK Settings saved."] = "Nastavení SUPERBLOCK uložena"; $a->strings["Block Completely"] = "Zablokovat úplně"; -$a->strings["superblock settings updated"] = "nastavvení superblock aktualizována"; +$a->strings["superblock settings updated"] = "nastavení superblock aktualizována"; diff --git a/superblock/lang/de/messages.po b/superblock/lang/de/messages.po index 209db3f1d..3a8aa4fea 100644 --- a/superblock/lang/de/messages.po +++ b/superblock/lang/de/messages.po @@ -4,24 +4,26 @@ # # # Translators: -# bavatar , 2014 +# Andreas H., 2018 +# Tobias Diekershoff , 2014-2015 +# Tobias Diekershoff , 2017 msgid "" msgstr "" "Project-Id-Version: friendica\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2014-06-23 14:45+0200\n" -"PO-Revision-Date: 2014-10-02 14:37+0000\n" -"Last-Translator: bavatar \n" -"Language-Team: German (http://www.transifex.com/projects/p/friendica/language/de/)\n" +"POT-Creation-Date: 2018-08-17 10:25+0200\n" +"PO-Revision-Date: 2018-08-18 10:57+0000\n" +"Last-Translator: Andreas H.\n" +"Language-Team: German (http://www.transifex.com/Friendica/friendica/language/de/)\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Language: de\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n" -#: superblock.php:52 -msgid "\"Superblock\" Settings" -msgstr "\"Superblock\" Einstellungen" +#: superblock.php:47 superblock.php:51 +msgid "Superblock" +msgstr "Superblock" #: superblock.php:54 msgid "Comma separated profile URLS to block" @@ -29,16 +31,16 @@ msgstr "Profil-URLs, die geblockt werden sollen (durch Kommas getrennt)" #: superblock.php:58 msgid "Save Settings" -msgstr "Einstellungen speichern" +msgstr "Einstellungen Speichern" #: superblock.php:71 msgid "SUPERBLOCK Settings saved." -msgstr "SUPERBLOCK Einstellungen gespeichert" +msgstr "Superblock Einstellungen gespeichert" -#: superblock.php:143 +#: superblock.php:144 msgid "Block Completely" -msgstr "Komplett blockieren" +msgstr "Vollständig blockieren" -#: superblock.php:163 +#: superblock.php:165 msgid "superblock settings updated" -msgstr "Superblock Einstellungen wurden aktualisiert" +msgstr "Superblock Einstellungen aktualisiert" diff --git a/superblock/lang/de/strings.php b/superblock/lang/de/strings.php index 20c1a6bef..0d2a563b4 100644 --- a/superblock/lang/de/strings.php +++ b/superblock/lang/de/strings.php @@ -2,12 +2,13 @@ if(! function_exists("string_plural_select_de")) { function string_plural_select_de($n){ + $n = intval($n); return ($n != 1);; }} ; -$a->strings["\"Superblock\" Settings"] = "\"Superblock\" Einstellungen"; +$a->strings["Superblock"] = "Superblock"; $a->strings["Comma separated profile URLS to block"] = "Profil-URLs, die geblockt werden sollen (durch Kommas getrennt)"; -$a->strings["Save Settings"] = "Einstellungen speichern"; -$a->strings["SUPERBLOCK Settings saved."] = "SUPERBLOCK Einstellungen gespeichert"; -$a->strings["Block Completely"] = "Komplett blockieren"; -$a->strings["superblock settings updated"] = "Superblock Einstellungen wurden aktualisiert"; +$a->strings["Save Settings"] = "Einstellungen Speichern"; +$a->strings["SUPERBLOCK Settings saved."] = "Superblock Einstellungen gespeichert"; +$a->strings["Block Completely"] = "Vollständig blockieren"; +$a->strings["superblock settings updated"] = "Superblock Einstellungen aktualisiert";