From 8b34f6d4267e0a8e577c0e10b2993a763674aa42 Mon Sep 17 00:00:00 2001 From: Tobias Diekershoff Date: Mon, 20 Aug 2018 16:31:06 +0200 Subject: [PATCH 1/2] DE translation superblock addon --- superblock/lang/de/messages.po | 8 ++++---- superblock/lang/de/strings.php | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/superblock/lang/de/messages.po b/superblock/lang/de/messages.po index 3a8aa4fe..3cb6ff2c 100644 --- a/superblock/lang/de/messages.po +++ b/superblock/lang/de/messages.po @@ -6,14 +6,14 @@ # Translators: # Andreas H., 2018 # Tobias Diekershoff , 2014-2015 -# Tobias Diekershoff , 2017 +# Tobias Diekershoff , 2017-2018 msgid "" msgstr "" "Project-Id-Version: friendica\n" "Report-Msgid-Bugs-To: \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" +"PO-Revision-Date: 2018-08-20 14:24+0000\n" +"Last-Translator: Tobias Diekershoff \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" @@ -31,7 +31,7 @@ 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." diff --git a/superblock/lang/de/strings.php b/superblock/lang/de/strings.php index 0d2a563b..5fb3cb2c 100644 --- a/superblock/lang/de/strings.php +++ b/superblock/lang/de/strings.php @@ -8,7 +8,7 @@ function string_plural_select_de($n){ ; $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["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"; From 9414fb4f4dc00163973c4b80271d735b92c9dfa5 Mon Sep 17 00:00:00 2001 From: Tobias Diekershoff Date: Mon, 20 Aug 2018 16:31:57 +0200 Subject: [PATCH 2/2] PL translation blockem and superblock addon THX waldis --- blockem/lang/pl/messages.po | 26 +++++++++++++------------- blockem/lang/pl/strings.php | 3 ++- superblock/lang/pl/messages.po | 20 ++++++++++---------- superblock/lang/pl/strings.php | 2 +- 4 files changed, 26 insertions(+), 25 deletions(-) diff --git a/blockem/lang/pl/messages.po b/blockem/lang/pl/messages.po index 24270354..0df09273 100644 --- a/blockem/lang/pl/messages.po +++ b/blockem/lang/pl/messages.po @@ -9,8 +9,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-04-07 16:45+0000\n" +"POT-Creation-Date: 2018-08-17 10:23+0200\n" +"PO-Revision-Date: 2018-08-20 13:44+0000\n" "Last-Translator: Waldemar Stoczkowski \n" "Language-Team: Polish (http://www.transifex.com/Friendica/friendica/language/pl/)\n" "MIME-Version: 1.0\n" @@ -19,41 +19,41 @@ msgstr "" "Language: pl\n" "Plural-Forms: nplurals=4; plural=(n==1 ? 0 : (n%10>=2 && n%10<=4) && (n%100<12 || n%100>14) ? 1 : n!=1 && (n%10>=0 && n%10<=1) || (n%10>=5 && n%10<=9) || (n%100>=12 && n%100<=14) ? 2 : 3);\n" -#: blockem.php:52 blockem.php:56 -msgid "\"Blockem\"" -msgstr "\"Blockem\"" +#: blockem.php:54 blockem.php:58 +msgid "Blockem" +msgstr "Zablokowanie" -#: blockem.php:60 +#: blockem.php:62 msgid "" "Hides user's content by collapsing posts. Also replaces their avatar with " "generic image." msgstr "Ukrywa zawartość użytkownika, zwijając posty. Zastępuje również awatar wygenerowanym obrazem." -#: blockem.php:61 +#: blockem.php:63 msgid "Comma separated profile URLS:" msgstr "Rozdzielone przecinkami adresy URL profilu:" -#: blockem.php:65 +#: blockem.php:67 msgid "Save Settings" msgstr "Zapisz ustawienia" -#: blockem.php:78 +#: blockem.php:81 msgid "BLOCKEM Settings saved." msgstr "BLOCKEM Ustawienia zapisane." -#: blockem.php:136 +#: blockem.php:143 #, php-format msgid "Filtered user: %s" msgstr "Użytkownik filtrowany: %s" -#: blockem.php:189 +#: blockem.php:202 msgid "Unblock Author" msgstr "Odblokuj autora" -#: blockem.php:191 +#: blockem.php:204 msgid "Block Author" msgstr "Zablokuj autora" -#: blockem.php:223 +#: blockem.php:244 msgid "blockem settings updated" msgstr "ustawienia blockem zostały zaktualizowane" diff --git a/blockem/lang/pl/strings.php b/blockem/lang/pl/strings.php index dbcbabb3..08e1cf4d 100644 --- a/blockem/lang/pl/strings.php +++ b/blockem/lang/pl/strings.php @@ -2,10 +2,11 @@ if(! function_exists("string_plural_select_pl")) { function string_plural_select_pl($n){ + $n = intval($n); return ($n==1 ? 0 : ($n%10>=2 && $n%10<=4) && ($n%100<12 || $n%100>14) ? 1 : $n!=1 && ($n%10>=0 && $n%10<=1) || ($n%10>=5 && $n%10<=9) || ($n%100>=12 && $n%100<=14) ? 2 : 3);; }} ; -$a->strings["\"Blockem\""] = "\"Blockem\""; +$a->strings["Blockem"] = "Zablokowanie"; $a->strings["Hides user's content by collapsing posts. Also replaces their avatar with generic image."] = "Ukrywa zawartość użytkownika, zwijając posty. Zastępuje również awatar wygenerowanym obrazem."; $a->strings["Comma separated profile URLS:"] = "Rozdzielone przecinkami adresy URL profilu:"; $a->strings["Save Settings"] = "Zapisz ustawienia"; diff --git a/superblock/lang/pl/messages.po b/superblock/lang/pl/messages.po index 87365405..b6a9e17e 100644 --- a/superblock/lang/pl/messages.po +++ b/superblock/lang/pl/messages.po @@ -9,8 +9,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-08-05 15:51+0000\n" +"POT-Creation-Date: 2018-08-17 10:25+0200\n" +"PO-Revision-Date: 2018-08-20 13:45+0000\n" "Last-Translator: Waldemar Stoczkowski \n" "Language-Team: Polish (http://www.transifex.com/Friendica/friendica/language/pl/)\n" "MIME-Version: 1.0\n" @@ -19,26 +19,26 @@ msgstr "" "Language: pl\n" "Plural-Forms: nplurals=4; plural=(n==1 ? 0 : (n%10>=2 && n%10<=4) && (n%100<12 || n%100>14) ? 1 : n!=1 && (n%10>=0 && n%10<=1) || (n%10>=5 && n%10<=9) || (n%100>=12 && n%100<=14) ? 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 "Oddzielone przecinkami adresy URL profilu do zablokowania" -#: superblock.php:64 +#: superblock.php:58 msgid "Save Settings" msgstr "Zapisz ustawienia" -#: superblock.php:76 +#: superblock.php:71 msgid "SUPERBLOCK Settings saved." msgstr "SUPERBLOCK Zapisano ustawienia." -#: superblock.php:148 +#: superblock.php:144 msgid "Block Completely" msgstr "Całkowicie zablokuj" -#: superblock.php:168 +#: superblock.php:165 msgid "superblock settings updated" msgstr "zaktualizowano ustawienia superblock" diff --git a/superblock/lang/pl/strings.php b/superblock/lang/pl/strings.php index 2b3b4cb8..e06891e0 100644 --- a/superblock/lang/pl/strings.php +++ b/superblock/lang/pl/strings.php @@ -6,7 +6,7 @@ function string_plural_select_pl($n){ return ($n==1 ? 0 : ($n%10>=2 && $n%10<=4) && ($n%100<12 || $n%100>14) ? 1 : $n!=1 && ($n%10>=0 && $n%10<=1) || ($n%10>=5 && $n%10<=9) || ($n%100>=12 && $n%100<=14) ? 2 : 3);; }} ; -$a->strings["\"Superblock\""] = "\"Superblock\""; +$a->strings["Superblock"] = "Superblock"; $a->strings["Comma separated profile URLS to block"] = "Oddzielone przecinkami adresy URL profilu do zablokowania"; $a->strings["Save Settings"] = "Zapisz ustawienia"; $a->strings["SUPERBLOCK Settings saved."] = "SUPERBLOCK Zapisano ustawienia.";