From 802c5ca87f5d851a9be776bfc6245c1606ff6c6e Mon Sep 17 00:00:00 2001 From: Gitea Date: Wed, 14 Dec 2022 07:28:16 +0000 Subject: [PATCH] deleted: superblock/lang/C/messages.po deleted: superblock/lang/ar/messages.po deleted: superblock/lang/ar/strings.php deleted: superblock/lang/ca/strings.php deleted: superblock/lang/cs/messages.po deleted: superblock/lang/cs/strings.php deleted: superblock/lang/da-dk/messages.po deleted: superblock/lang/da-dk/strings.php deleted: superblock/lang/de/messages.po deleted: superblock/lang/de/strings.php deleted: superblock/lang/en-gb/messages.po deleted: superblock/lang/en-gb/strings.php deleted: superblock/lang/en-us/messages.po deleted: superblock/lang/en-us/strings.php deleted: superblock/lang/eo/strings.php deleted: superblock/lang/es/messages.po deleted: superblock/lang/es/strings.php deleted: superblock/lang/fi-fi/messages.po deleted: superblock/lang/fi-fi/strings.php deleted: superblock/lang/fr/messages.po deleted: superblock/lang/fr/strings.php deleted: superblock/lang/hu/messages.po deleted: superblock/lang/hu/strings.php deleted: superblock/lang/is/strings.php deleted: superblock/lang/it/messages.po deleted: superblock/lang/it/strings.php deleted: superblock/lang/nb-no/strings.php deleted: superblock/lang/nl/messages.po deleted: superblock/lang/nl/strings.php deleted: superblock/lang/pl/messages.po deleted: superblock/lang/pl/strings.php deleted: superblock/lang/pt-br/messages.po deleted: superblock/lang/pt-br/strings.php deleted: superblock/lang/ro/messages.po deleted: superblock/lang/ro/strings.php deleted: superblock/lang/ru/messages.po deleted: superblock/lang/ru/strings.php deleted: superblock/lang/sv/messages.po deleted: superblock/lang/sv/strings.php deleted: superblock/lang/zh-cn/strings.php deleted: superblock/superblock.php deleted: superblock/templates/settings.tpl --- superblock/lang/C/messages.po | 30 ------ superblock/lang/ar/messages.po | 36 ------- superblock/lang/ar/strings.php | 11 --- superblock/lang/ca/strings.php | 10 -- superblock/lang/cs/messages.po | 46 --------- superblock/lang/cs/strings.php | 13 --- superblock/lang/da-dk/messages.po | 32 ------ superblock/lang/da-dk/strings.php | 10 -- superblock/lang/de/messages.po | 35 ------- superblock/lang/de/strings.php | 10 -- superblock/lang/en-gb/messages.po | 45 --------- superblock/lang/en-gb/strings.php | 13 --- superblock/lang/en-us/messages.po | 44 --------- superblock/lang/en-us/strings.php | 8 -- superblock/lang/eo/strings.php | 10 -- superblock/lang/es/messages.po | 38 -------- superblock/lang/es/strings.php | 11 --- superblock/lang/fi-fi/messages.po | 45 --------- superblock/lang/fi-fi/strings.php | 13 --- superblock/lang/fr/messages.po | 33 ------- superblock/lang/fr/strings.php | 9 -- superblock/lang/hu/messages.po | 32 ------ superblock/lang/hu/strings.php | 10 -- superblock/lang/is/strings.php | 10 -- superblock/lang/it/messages.po | 44 --------- superblock/lang/it/strings.php | 13 --- superblock/lang/nb-no/strings.php | 10 -- superblock/lang/nl/messages.po | 44 --------- superblock/lang/nl/strings.php | 11 --- superblock/lang/pl/messages.po | 33 ------- superblock/lang/pl/strings.php | 10 -- superblock/lang/pt-br/messages.po | 53 ---------- superblock/lang/pt-br/strings.php | 15 --- superblock/lang/ro/messages.po | 43 -------- superblock/lang/ro/strings.php | 13 --- superblock/lang/ru/messages.po | 44 --------- superblock/lang/ru/strings.php | 13 --- superblock/lang/sv/messages.po | 31 ------ superblock/lang/sv/strings.php | 7 -- superblock/lang/zh-cn/strings.php | 10 -- superblock/superblock.php | 156 ------------------------------ superblock/templates/settings.tpl | 1 - 42 files changed, 1105 deletions(-) delete mode 100644 superblock/lang/C/messages.po delete mode 100644 superblock/lang/ar/messages.po delete mode 100644 superblock/lang/ar/strings.php delete mode 100644 superblock/lang/ca/strings.php delete mode 100644 superblock/lang/cs/messages.po delete mode 100644 superblock/lang/cs/strings.php delete mode 100644 superblock/lang/da-dk/messages.po delete mode 100644 superblock/lang/da-dk/strings.php delete mode 100644 superblock/lang/de/messages.po delete mode 100644 superblock/lang/de/strings.php delete mode 100644 superblock/lang/en-gb/messages.po delete mode 100644 superblock/lang/en-gb/strings.php delete mode 100644 superblock/lang/en-us/messages.po delete mode 100644 superblock/lang/en-us/strings.php delete mode 100644 superblock/lang/eo/strings.php delete mode 100644 superblock/lang/es/messages.po delete mode 100644 superblock/lang/es/strings.php delete mode 100644 superblock/lang/fi-fi/messages.po delete mode 100644 superblock/lang/fi-fi/strings.php delete mode 100644 superblock/lang/fr/messages.po delete mode 100644 superblock/lang/fr/strings.php delete mode 100644 superblock/lang/hu/messages.po delete mode 100644 superblock/lang/hu/strings.php delete mode 100644 superblock/lang/is/strings.php delete mode 100644 superblock/lang/it/messages.po delete mode 100644 superblock/lang/it/strings.php delete mode 100644 superblock/lang/nb-no/strings.php delete mode 100644 superblock/lang/nl/messages.po delete mode 100644 superblock/lang/nl/strings.php delete mode 100644 superblock/lang/pl/messages.po delete mode 100644 superblock/lang/pl/strings.php delete mode 100644 superblock/lang/pt-br/messages.po delete mode 100644 superblock/lang/pt-br/strings.php delete mode 100644 superblock/lang/ro/messages.po delete mode 100644 superblock/lang/ro/strings.php delete mode 100644 superblock/lang/ru/messages.po delete mode 100644 superblock/lang/ru/strings.php delete mode 100644 superblock/lang/sv/messages.po delete mode 100644 superblock/lang/sv/strings.php delete mode 100644 superblock/lang/zh-cn/strings.php delete mode 100644 superblock/superblock.php delete mode 100644 superblock/templates/settings.tpl diff --git a/superblock/lang/C/messages.po b/superblock/lang/C/messages.po deleted file mode 100644 index 6c09db62e..000000000 --- a/superblock/lang/C/messages.po +++ /dev/null @@ -1,30 +0,0 @@ -# ADDON superblock -# Copyright (C) -# This file is distributed under the same license as the Friendica superblock addon package. -# -# -#, fuzzy -msgid "" -msgstr "" -"Project-Id-Version: \n" -"Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2021-11-21 19:16-0500\n" -"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" -"Last-Translator: FULL NAME \n" -"Language-Team: LANGUAGE \n" -"Language: \n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: 8bit\n" - -#: superblock.php:35 -msgid "Comma separated profile URLs to block" -msgstr "" - -#: superblock.php:40 -msgid "Superblock" -msgstr "" - -#: superblock.php:129 -msgid "Block Completely" -msgstr "" diff --git a/superblock/lang/ar/messages.po b/superblock/lang/ar/messages.po deleted file mode 100644 index cdc8dccd8..000000000 --- a/superblock/lang/ar/messages.po +++ /dev/null @@ -1,36 +0,0 @@ -# ADDON superblock -# Copyright (C) -# This file is distributed under the same license as the Friendica superblock addon package. -# -# -# Translators: -# Farida Khalaf , 2021 -msgid "" -msgstr "" -"Project-Id-Version: friendica\n" -"Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2021-02-01 18:15+0100\n" -"PO-Revision-Date: 2021-02-20 05:33+0000\n" -"Last-Translator: Farida Khalaf \n" -"Language-Team: Arabic (http://www.transifex.com/Friendica/friendica/language/ar/)\n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: 8bit\n" -"Language: ar\n" -"Plural-Forms: nplurals=6; plural=n==0 ? 0 : n==1 ? 1 : n==2 ? 2 : n%100>=3 && n%100<=10 ? 3 : n%100>=11 && n%100<=99 ? 4 : 5;\n" - -#: superblock.php:38 superblock.php:42 -msgid "Superblock" -msgstr "حظر تام" - -#: superblock.php:45 -msgid "Comma separated profile URLS to block" -msgstr "عناوين URL للملف الشخصي مفصولة بفاصلة للحظر" - -#: superblock.php:49 -msgid "Save Settings" -msgstr "حفظ الإعدادات" - -#: superblock.php:138 -msgid "Block Completely" -msgstr "حظر كامل" diff --git a/superblock/lang/ar/strings.php b/superblock/lang/ar/strings.php deleted file mode 100644 index e960610d9..000000000 --- a/superblock/lang/ar/strings.php +++ /dev/null @@ -1,11 +0,0 @@ -=3 && $n%100<=10) { return 3; } else if ($n%100>=11 && $n%100<=99) { return 4; } else { return 5; } -}} -$a->strings['Superblock'] = 'حظر تام'; -$a->strings['Comma separated profile URLS to block'] = 'عناوين URL للملف الشخصي مفصولة بفاصلة للحظر'; -$a->strings['Save Settings'] = 'حفظ الإعدادات'; -$a->strings['Block Completely'] = 'حظر كامل'; diff --git a/superblock/lang/ca/strings.php b/superblock/lang/ca/strings.php deleted file mode 100644 index 5587acd2c..000000000 --- a/superblock/lang/ca/strings.php +++ /dev/null @@ -1,10 +0,0 @@ -strings["\"Blockem\" Settings"] = "Configuració de \"Bloqueig\""; -$a->strings["Comma separated profile URLS to block"] = "URLS dels perfils a bloquejar, separats per comes"; -$a->strings["Submit"] = "Enviar"; -$a->strings["BLOCKEM Settings saved."] = "Guardada la configuració de BLOQUEIG."; -$a->strings["Blocked %s - Click to open/close"] = "Bloquejar %s - Clica per obrir/tancar"; -$a->strings["Unblock Author"] = "Desbloquejar Autor"; -$a->strings["Block Author"] = "Bloquejar Autor"; -$a->strings["blockem settings updated"] = "Actualitzar la Configuració de bloqueig"; diff --git a/superblock/lang/cs/messages.po b/superblock/lang/cs/messages.po deleted file mode 100644 index da74f3895..000000000 --- a/superblock/lang/cs/messages.po +++ /dev/null @@ -1,46 +0,0 @@ -# ADDON superblock -# Copyright (C) -# This file is distributed under the same license as the Friendica superblock addon package. -# -# -# Translators: -# Aditoo, 2018 -# Aditoo, 2018 -# michal_s , 2014 -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 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" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: 8bit\n" -"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:47 superblock.php:51 -msgid "Superblock" -msgstr "Superblock" - -#: 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:58 -msgid "Save Settings" -msgstr "Uložit nastavení" - -#: superblock.php:71 -msgid "SUPERBLOCK Settings saved." -msgstr "Nastavení SUPERBLOCK uložena" - -#: superblock.php:144 -msgid "Block Completely" -msgstr "Zablokovat úplně" - -#: superblock.php:165 -msgid "superblock settings updated" -msgstr "nastavení superblock aktualizována" diff --git a/superblock/lang/cs/strings.php b/superblock/lang/cs/strings.php deleted file mode 100644 index 2d19a3c15..000000000 --- a/superblock/lang/cs/strings.php +++ /dev/null @@ -1,13 +0,0 @@ -= 2 && $n <= 4 && $n % 1 == 0)) { return 1; } else if (($n % 1 != 0 )) { return 2; } else { return 3; } -}} -$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'] = 'nastavení superblock aktualizována'; diff --git a/superblock/lang/da-dk/messages.po b/superblock/lang/da-dk/messages.po deleted file mode 100644 index ecfa5b6c0..000000000 --- a/superblock/lang/da-dk/messages.po +++ /dev/null @@ -1,32 +0,0 @@ -# ADDON superblock -# Copyright (C) -# This file is distributed under the same license as the Friendica superblock addon package. -# -# -# Translators: -# Anton , 2022 -msgid "" -msgstr "" -"Project-Id-Version: friendica\n" -"Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2021-11-21 19:16-0500\n" -"PO-Revision-Date: 2014-06-23 12:55+0000\n" -"Last-Translator: Anton , 2022\n" -"Language-Team: Danish (Denmark) (http://www.transifex.com/Friendica/friendica/language/da_DK/)\n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: 8bit\n" -"Language: da_DK\n" -"Plural-Forms: nplurals=2; plural=(n != 1);\n" - -#: superblock.php:35 -msgid "Comma separated profile URLs to block" -msgstr "Kommasepareret liste over profil-URL'er som skal blokeres" - -#: superblock.php:40 -msgid "Superblock" -msgstr "Superblokér" - -#: superblock.php:129 -msgid "Block Completely" -msgstr "Blokér fuldstændigt" diff --git a/superblock/lang/da-dk/strings.php b/superblock/lang/da-dk/strings.php deleted file mode 100644 index 6db2e7c40..000000000 --- a/superblock/lang/da-dk/strings.php +++ /dev/null @@ -1,10 +0,0 @@ -strings['Comma separated profile URLs to block'] = 'Kommasepareret liste over profil-URL\'er som skal blokeres'; -$a->strings['Superblock'] = 'Superblokér'; -$a->strings['Block Completely'] = 'Blokér fuldstændigt'; diff --git a/superblock/lang/de/messages.po b/superblock/lang/de/messages.po deleted file mode 100644 index 66c250568..000000000 --- a/superblock/lang/de/messages.po +++ /dev/null @@ -1,35 +0,0 @@ -# ADDON superblock -# Copyright (C) -# This file is distributed under the same license as the Friendica superblock addon package. -# -# -# Translators: -# Andreas H., 2018 -# Tobias Diekershoff , 2014-2015 -# Tobias Diekershoff , 2017-2018,2022 -# Ulf Rompe , 2019 -msgid "" -msgstr "" -"Project-Id-Version: friendica\n" -"Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2021-11-21 19:16-0500\n" -"PO-Revision-Date: 2022-01-22 17:42+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" -"Content-Transfer-Encoding: 8bit\n" -"Language: de\n" -"Plural-Forms: nplurals=2; plural=(n != 1);\n" - -#: superblock.php:35 -msgid "Comma separated profile URLs to block" -msgstr "Profil-URLs, die geblockt werden sollen (durch Kommas getrennt)" - -#: superblock.php:40 -msgid "Superblock" -msgstr "Superblock" - -#: superblock.php:129 -msgid "Block Completely" -msgstr "Vollständig blockieren" diff --git a/superblock/lang/de/strings.php b/superblock/lang/de/strings.php deleted file mode 100644 index 13e7b9c0d..000000000 --- a/superblock/lang/de/strings.php +++ /dev/null @@ -1,10 +0,0 @@ -strings['Comma separated profile URLs to block'] = 'Profil-URLs, die geblockt werden sollen (durch Kommas getrennt)'; -$a->strings['Superblock'] = 'Superblock'; -$a->strings['Block Completely'] = 'Vollständig blockieren'; diff --git a/superblock/lang/en-gb/messages.po b/superblock/lang/en-gb/messages.po deleted file mode 100644 index 473eea863..000000000 --- a/superblock/lang/en-gb/messages.po +++ /dev/null @@ -1,45 +0,0 @@ -# ADDON superblock -# Copyright (C) -# This file is distributed under the same license as the Friendica superblock addon package. -# -# -# Translators: -# Andy H3 , 2019 -# Kris, 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: 2019-06-05 14:43+0000\n" -"Last-Translator: Andy H3 \n" -"Language-Team: English (United Kingdom) (http://www.transifex.com/Friendica/friendica/language/en_GB/)\n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: 8bit\n" -"Language: en_GB\n" -"Plural-Forms: nplurals=2; plural=(n != 1);\n" - -#: superblock.php:47 superblock.php:51 -msgid "Superblock" -msgstr "Superblock" - -#: superblock.php:54 -msgid "Comma separated profile URLS to block" -msgstr "Profile URLs to block (separated by commas)" - -#: superblock.php:58 -msgid "Save Settings" -msgstr "Save settings" - -#: superblock.php:71 -msgid "SUPERBLOCK Settings saved." -msgstr "Superblock settings saved." - -#: superblock.php:144 -msgid "Block Completely" -msgstr "Block completely" - -#: superblock.php:165 -msgid "superblock settings updated" -msgstr "Superblock settings updated" diff --git a/superblock/lang/en-gb/strings.php b/superblock/lang/en-gb/strings.php deleted file mode 100644 index 2d8d25dec..000000000 --- a/superblock/lang/en-gb/strings.php +++ /dev/null @@ -1,13 +0,0 @@ -strings['Superblock'] = 'Superblock'; -$a->strings['Comma separated profile URLS to block'] = 'Profile URLs to block (separated by commas)'; -$a->strings['Save Settings'] = 'Save settings'; -$a->strings['SUPERBLOCK Settings saved.'] = 'Superblock settings saved.'; -$a->strings['Block Completely'] = 'Block completely'; -$a->strings['superblock settings updated'] = 'Superblock settings updated'; diff --git a/superblock/lang/en-us/messages.po b/superblock/lang/en-us/messages.po deleted file mode 100644 index c184cba81..000000000 --- a/superblock/lang/en-us/messages.po +++ /dev/null @@ -1,44 +0,0 @@ -# ADDON superblock -# Copyright (C) -# This file is distributed under the same license as the Friendica superblock addon package. -# -# -# Translators: -# R C , 2018 -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 02:39+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" -"Content-Transfer-Encoding: 8bit\n" -"Language: en_US\n" -"Plural-Forms: nplurals=2; plural=(n != 1);\n" - -#: superblock.php:53 superblock.php:57 -msgid "\"Superblock\"" -msgstr "" - -#: superblock.php:60 -msgid "Comma separated profile URLS to block" -msgstr "Comma-separated profile URLs to block" - -#: superblock.php:64 -msgid "Save Settings" -msgstr "" - -#: superblock.php:76 -msgid "SUPERBLOCK Settings saved." -msgstr "" - -#: superblock.php:148 -msgid "Block Completely" -msgstr "" - -#: superblock.php:168 -msgid "superblock settings updated" -msgstr "" diff --git a/superblock/lang/en-us/strings.php b/superblock/lang/en-us/strings.php deleted file mode 100644 index a4d22d858..000000000 --- a/superblock/lang/en-us/strings.php +++ /dev/null @@ -1,8 +0,0 @@ -strings['Comma separated profile URLS to block'] = 'Comma-separated profile URLs to block'; diff --git a/superblock/lang/eo/strings.php b/superblock/lang/eo/strings.php deleted file mode 100644 index b6116507a..000000000 --- a/superblock/lang/eo/strings.php +++ /dev/null @@ -1,10 +0,0 @@ -strings["\"Blockem\" Settings"] = "\"Blockem\" Agordoj"; -$a->strings["Comma separated profile URLS to block"] = "Blokotaj URL adresoj, disigita per komo"; -$a->strings["Submit"] = "Sendi"; -$a->strings["BLOCKEM Settings saved."] = "Konservis Agordojn de BLOCKEM."; -$a->strings["Blocked %s - Click to open/close"] = "%s blokita - Klaku por malfermi/fermi"; -$a->strings["Unblock Author"] = "Malbloki Aŭtoron"; -$a->strings["Block Author"] = "Bloki Aŭtoron"; -$a->strings["blockem settings updated"] = "Ĝisdatigis la blockem agordojn"; diff --git a/superblock/lang/es/messages.po b/superblock/lang/es/messages.po deleted file mode 100644 index 555a945f7..000000000 --- a/superblock/lang/es/messages.po +++ /dev/null @@ -1,38 +0,0 @@ -# ADDON superblock -# Copyright (C) -# This file is distributed under the same license as the Friendica superblock addon package. -# -# -# Translators: -# Albert, 2016-2017 -# juanman , 2017 -# Senex Petrovic , 2021 -msgid "" -msgstr "" -"Project-Id-Version: friendica\n" -"Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2021-02-01 18:15+0100\n" -"PO-Revision-Date: 2021-04-06 02:09+0000\n" -"Last-Translator: Senex Petrovic \n" -"Language-Team: Spanish (http://www.transifex.com/Friendica/friendica/language/es/)\n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: 8bit\n" -"Language: es\n" -"Plural-Forms: nplurals=2; plural=(n != 1);\n" - -#: superblock.php:38 superblock.php:42 -msgid "Superblock" -msgstr "Soperbloquéo" - -#: superblock.php:45 -msgid "Comma separated profile URLS to block" -msgstr "Perfil de URLS a bloque separado por comas" - -#: superblock.php:49 -msgid "Save Settings" -msgstr "Guardar configuración" - -#: superblock.php:138 -msgid "Block Completely" -msgstr "Bloquear completamente" diff --git a/superblock/lang/es/strings.php b/superblock/lang/es/strings.php deleted file mode 100644 index 63c63e33a..000000000 --- a/superblock/lang/es/strings.php +++ /dev/null @@ -1,11 +0,0 @@ -strings['Superblock'] = 'Soperbloquéo'; -$a->strings['Comma separated profile URLS to block'] = 'Perfil de URLS a bloque separado por comas'; -$a->strings['Save Settings'] = 'Guardar configuración'; -$a->strings['Block Completely'] = 'Bloquear completamente'; diff --git a/superblock/lang/fi-fi/messages.po b/superblock/lang/fi-fi/messages.po deleted file mode 100644 index 6b673e09a..000000000 --- a/superblock/lang/fi-fi/messages.po +++ /dev/null @@ -1,45 +0,0 @@ -# ADDON superblock -# Copyright (C) -# This file is distributed under the same license as the Friendica superblock addon package. -# -# -# Translators: -# Kris, 2018 -# Kris, 2018 -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-04-16 16:00+0000\n" -"Last-Translator: Kris\n" -"Language-Team: Finnish (Finland) (http://www.transifex.com/Friendica/friendica/language/fi_FI/)\n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: 8bit\n" -"Language: fi_FI\n" -"Plural-Forms: nplurals=2; plural=(n != 1);\n" - -#: superblock.php:53 superblock.php:57 -msgid "\"Superblock\"" -msgstr "\"Superblock\"" - -#: superblock.php:60 -msgid "Comma separated profile URLS to block" -msgstr "Estettävien profiilien URL-osoitteet pilkulla erotettuina" - -#: superblock.php:64 -msgid "Save Settings" -msgstr "Tallenna asetukset" - -#: superblock.php:76 -msgid "SUPERBLOCK Settings saved." -msgstr "Superblock -asetukset tallennettu." - -#: superblock.php:148 -msgid "Block Completely" -msgstr "Estä kokonaan" - -#: superblock.php:168 -msgid "superblock settings updated" -msgstr "superblock -asetukset päivitetty" diff --git a/superblock/lang/fi-fi/strings.php b/superblock/lang/fi-fi/strings.php deleted file mode 100644 index 289f33b0b..000000000 --- a/superblock/lang/fi-fi/strings.php +++ /dev/null @@ -1,13 +0,0 @@ -strings['"Superblock"'] = '"Superblock"'; -$a->strings['Comma separated profile URLS to block'] = 'Estettävien profiilien URL-osoitteet pilkulla erotettuina'; -$a->strings['Save Settings'] = 'Tallenna asetukset'; -$a->strings['SUPERBLOCK Settings saved.'] = 'Superblock -asetukset tallennettu.'; -$a->strings['Block Completely'] = 'Estä kokonaan'; -$a->strings['superblock settings updated'] = 'superblock -asetukset päivitetty'; diff --git a/superblock/lang/fr/messages.po b/superblock/lang/fr/messages.po deleted file mode 100644 index 0c15b5875..000000000 --- a/superblock/lang/fr/messages.po +++ /dev/null @@ -1,33 +0,0 @@ -# ADDON superblock -# Copyright (C) -# This file is distributed under the same license as the Friendica superblock addon package. -# -# -# Translators: -# ButterflyOfFire, 2020 -# Hypolite Petovan , 2022 -msgid "" -msgstr "" -"Project-Id-Version: friendica\n" -"Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2021-11-21 19:16-0500\n" -"PO-Revision-Date: 2014-06-23 12:55+0000\n" -"Last-Translator: Hypolite Petovan , 2022\n" -"Language-Team: French (http://www.transifex.com/Friendica/friendica/language/fr/)\n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: 8bit\n" -"Language: fr\n" -"Plural-Forms: nplurals=3; plural=(n == 0 || n == 1) ? 0 : n != 0 && n % 1000000 == 0 ? 1 : 2;\n" - -#: superblock.php:35 -msgid "Comma separated profile URLs to block" -msgstr "Liste d'URLs de profils à bloquer séparées par des virgules" - -#: superblock.php:40 -msgid "Superblock" -msgstr "" - -#: superblock.php:129 -msgid "Block Completely" -msgstr "Bloquer complètement" diff --git a/superblock/lang/fr/strings.php b/superblock/lang/fr/strings.php deleted file mode 100644 index 8360d3ab1..000000000 --- a/superblock/lang/fr/strings.php +++ /dev/null @@ -1,9 +0,0 @@ -strings['Comma separated profile URLs to block'] = 'Liste d\'URLs de profils à bloquer séparées par des virgules'; -$a->strings['Block Completely'] = 'Bloquer complètement'; diff --git a/superblock/lang/hu/messages.po b/superblock/lang/hu/messages.po deleted file mode 100644 index 239bb76ed..000000000 --- a/superblock/lang/hu/messages.po +++ /dev/null @@ -1,32 +0,0 @@ -# ADDON superblock -# Copyright (C) -# This file is distributed under the same license as the Friendica superblock addon package. -# -# -# Translators: -# Balázs Úr, 2020-2021 -msgid "" -msgstr "" -"Project-Id-Version: friendica\n" -"Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2021-11-21 19:16-0500\n" -"PO-Revision-Date: 2021-12-23 19:29+0000\n" -"Last-Translator: Balázs Úr\n" -"Language-Team: Hungarian (http://www.transifex.com/Friendica/friendica/language/hu/)\n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: 8bit\n" -"Language: hu\n" -"Plural-Forms: nplurals=2; plural=(n != 1);\n" - -#: superblock.php:35 -msgid "Comma separated profile URLs to block" -msgstr "Tiltandó profil URL-ek vesszővel elválasztott listája" - -#: superblock.php:40 -msgid "Superblock" -msgstr "Szuper tiltás" - -#: superblock.php:129 -msgid "Block Completely" -msgstr "Tiltás teljesen" diff --git a/superblock/lang/hu/strings.php b/superblock/lang/hu/strings.php deleted file mode 100644 index 19e364f46..000000000 --- a/superblock/lang/hu/strings.php +++ /dev/null @@ -1,10 +0,0 @@ -strings['Comma separated profile URLs to block'] = 'Tiltandó profil URL-ek vesszővel elválasztott listája'; -$a->strings['Superblock'] = 'Szuper tiltás'; -$a->strings['Block Completely'] = 'Tiltás teljesen'; diff --git a/superblock/lang/is/strings.php b/superblock/lang/is/strings.php deleted file mode 100644 index 3075c457f..000000000 --- a/superblock/lang/is/strings.php +++ /dev/null @@ -1,10 +0,0 @@ -strings["\"Blockem\" Settings"] = "\"Blockem\" stillingar"; -$a->strings["Comma separated profile URLS to block"] = "Banna lista af forsíðum (komma á milli)"; -$a->strings["Submit"] = "Senda inn"; -$a->strings["BLOCKEM Settings saved."] = "BLOCKEM stillingar vistaðar."; -$a->strings["Blocked %s - Click to open/close"] = "%s sett í straff - Smella til að taka úr/setja á"; -$a->strings["Unblock Author"] = "Leyfa notanda"; -$a->strings["Block Author"] = "Banna notanda"; -$a->strings["blockem settings updated"] = ""; diff --git a/superblock/lang/it/messages.po b/superblock/lang/it/messages.po deleted file mode 100644 index 7ae6de276..000000000 --- a/superblock/lang/it/messages.po +++ /dev/null @@ -1,44 +0,0 @@ -# ADDON superblock -# Copyright (C) -# This file is distributed under the same license as the Friendica superblock addon package. -# -# -# Translators: -# fabrixxm , 2014-2015,2017,2019 -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: 2019-03-11 14:21+0000\n" -"Last-Translator: fabrixxm \n" -"Language-Team: Italian (http://www.transifex.com/Friendica/friendica/language/it/)\n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: 8bit\n" -"Language: it\n" -"Plural-Forms: nplurals=2; plural=(n != 1);\n" - -#: superblock.php:47 superblock.php:51 -msgid "Superblock" -msgstr "Superblock" - -#: superblock.php:54 -msgid "Comma separated profile URLS to block" -msgstr "Lista, separata da virgola, di indirizzi di profili da bloccare" - -#: superblock.php:58 -msgid "Save Settings" -msgstr "Salva Impostazioni" - -#: superblock.php:71 -msgid "SUPERBLOCK Settings saved." -msgstr "Impostazioni \"Superblocco\" salvate." - -#: superblock.php:144 -msgid "Block Completely" -msgstr "Blocca Completamente" - -#: superblock.php:165 -msgid "superblock settings updated" -msgstr "impostazioni \"superblocco\" aggiornate." diff --git a/superblock/lang/it/strings.php b/superblock/lang/it/strings.php deleted file mode 100644 index bd886d747..000000000 --- a/superblock/lang/it/strings.php +++ /dev/null @@ -1,13 +0,0 @@ -strings['Superblock'] = 'Superblock'; -$a->strings['Comma separated profile URLS to block'] = 'Lista, separata da virgola, di indirizzi di profili da bloccare'; -$a->strings['Save Settings'] = 'Salva Impostazioni'; -$a->strings['SUPERBLOCK Settings saved.'] = 'Impostazioni "Superblocco" salvate.'; -$a->strings['Block Completely'] = 'Blocca Completamente'; -$a->strings['superblock settings updated'] = 'impostazioni "superblocco" aggiornate.'; diff --git a/superblock/lang/nb-no/strings.php b/superblock/lang/nb-no/strings.php deleted file mode 100644 index 0dd6660d9..000000000 --- a/superblock/lang/nb-no/strings.php +++ /dev/null @@ -1,10 +0,0 @@ -strings["\"Blockem\" Settings"] = ""; -$a->strings["Comma separated profile URLS to block"] = ""; -$a->strings["Submit"] = "Lagre"; -$a->strings["BLOCKEM Settings saved."] = ""; -$a->strings["Blocked %s - Click to open/close"] = ""; -$a->strings["Unblock Author"] = ""; -$a->strings["Block Author"] = ""; -$a->strings["blockem settings updated"] = ""; diff --git a/superblock/lang/nl/messages.po b/superblock/lang/nl/messages.po deleted file mode 100644 index 4f19d88d9..000000000 --- a/superblock/lang/nl/messages.po +++ /dev/null @@ -1,44 +0,0 @@ -# ADDON superblock -# Copyright (C) -# This file is distributed under the same license as the Friendica superblock addon package. -# -# -# Translators: -# Jeroen De Meerleer , 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-24 13:51+0000\n" -"Last-Translator: Jeroen De Meerleer \n" -"Language-Team: Dutch (http://www.transifex.com/Friendica/friendica/language/nl/)\n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: 8bit\n" -"Language: nl\n" -"Plural-Forms: nplurals=2; plural=(n != 1);\n" - -#: superblock.php:47 superblock.php:51 -msgid "Superblock" -msgstr "Superblock" - -#: superblock.php:54 -msgid "Comma separated profile URLS to block" -msgstr "" - -#: superblock.php:58 -msgid "Save Settings" -msgstr "Instellingen opslaan" - -#: superblock.php:71 -msgid "SUPERBLOCK Settings saved." -msgstr "SUPERBLOCK instellingen opgeslagen" - -#: superblock.php:144 -msgid "Block Completely" -msgstr "" - -#: superblock.php:165 -msgid "superblock settings updated" -msgstr "Superblock instellingen opgeslagen" diff --git a/superblock/lang/nl/strings.php b/superblock/lang/nl/strings.php deleted file mode 100644 index fa857a92b..000000000 --- a/superblock/lang/nl/strings.php +++ /dev/null @@ -1,11 +0,0 @@ -strings['Superblock'] = 'Superblock'; -$a->strings['Save Settings'] = 'Instellingen opslaan'; -$a->strings['SUPERBLOCK Settings saved.'] = 'SUPERBLOCK instellingen opgeslagen'; -$a->strings['superblock settings updated'] = 'Superblock instellingen opgeslagen'; diff --git a/superblock/lang/pl/messages.po b/superblock/lang/pl/messages.po deleted file mode 100644 index 5c85c9866..000000000 --- a/superblock/lang/pl/messages.po +++ /dev/null @@ -1,33 +0,0 @@ -# ADDON superblock -# Copyright (C) -# This file is distributed under the same license as the Friendica superblock addon package. -# -# -# Translators: -# Piotr Strębski , 2022 -# Waldemar Stoczkowski, 2018 -msgid "" -msgstr "" -"Project-Id-Version: friendica\n" -"Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2021-11-21 19:16-0500\n" -"PO-Revision-Date: 2014-06-23 12:55+0000\n" -"Last-Translator: Piotr Strębski , 2022\n" -"Language-Team: Polish (http://www.transifex.com/Friendica/friendica/language/pl/)\n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: 8bit\n" -"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:35 -msgid "Comma separated profile URLs to block" -msgstr "Oddzielone przecinkami adresy URL profilów do zablokowania" - -#: superblock.php:40 -msgid "Superblock" -msgstr "Superblock" - -#: superblock.php:129 -msgid "Block Completely" -msgstr "Całkowicie zablokuj" diff --git a/superblock/lang/pl/strings.php b/superblock/lang/pl/strings.php deleted file mode 100644 index 2a463bd84..000000000 --- a/superblock/lang/pl/strings.php +++ /dev/null @@ -1,10 +0,0 @@ -=2 && $n%10<=4) && ($n%100<12 || $n%100>14)) { return 1; } else if ($n!=1 && ($n%10>=0 && $n%10<=1) || ($n%10>=5 && $n%10<=9) || ($n%100>=12 && $n%100<=14)) { return 2; } else { return 3; } -}} -$a->strings['Comma separated profile URLs to block'] = 'Oddzielone przecinkami adresy URL profilów do zablokowania'; -$a->strings['Superblock'] = 'Superblock'; -$a->strings['Block Completely'] = 'Całkowicie zablokuj'; diff --git a/superblock/lang/pt-br/messages.po b/superblock/lang/pt-br/messages.po deleted file mode 100644 index 578f62b3b..000000000 --- a/superblock/lang/pt-br/messages.po +++ /dev/null @@ -1,53 +0,0 @@ -# ADDON blockem -# Copyright (C) -# This file is distributed under the same license as the Friendica blockem addon package. -# -# -# Translators: -# Beatriz Vital , 2016 -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: 2016-08-16 12:51+0000\n" -"Last-Translator: Beatriz Vital \n" -"Language-Team: Portuguese (Brazil) (http://www.transifex.com/Friendica/friendica/language/pt_BR/)\n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: 8bit\n" -"Language: pt_BR\n" -"Plural-Forms: nplurals=2; plural=(n > 1);\n" - -#: blockem.php:51 -msgid "\"Blockem\" Settings" -msgstr "Configurações do \"Blockem\"" - -#: blockem.php:53 -msgid "Comma separated profile URLS to block" -msgstr "URLs de perfis a serem bloqueados, separados por vírgulas" - -#: blockem.php:57 -msgid "Submit" -msgstr "Enviar" - -#: blockem.php:70 -msgid "BLOCKEM Settings saved." -msgstr "As configurações do Blockem foram salvas." - -#: blockem.php:105 -#, php-format -msgid "Blocked %s - Click to open/close" -msgstr "Bloqueou %s - Clique para abrir/fechar" - -#: blockem.php:160 -msgid "Unblock Author" -msgstr "Desbloquear autor" - -#: blockem.php:162 -msgid "Block Author" -msgstr "Bloquear autor" - -#: blockem.php:194 -msgid "blockem settings updated" -msgstr "As configurações do Blockem foram atualizadas." diff --git a/superblock/lang/pt-br/strings.php b/superblock/lang/pt-br/strings.php deleted file mode 100644 index 71cfc7629..000000000 --- a/superblock/lang/pt-br/strings.php +++ /dev/null @@ -1,15 +0,0 @@ - 1); -}} -$a->strings['"Blockem" Settings'] = 'Configurações do "Blockem"'; -$a->strings['Comma separated profile URLS to block'] = 'URLs de perfis a serem bloqueados, separados por vírgulas'; -$a->strings['Submit'] = 'Enviar'; -$a->strings['BLOCKEM Settings saved.'] = 'As configurações do Blockem foram salvas.'; -$a->strings['Blocked %s - Click to open/close'] = 'Bloqueou %s - Clique para abrir/fechar'; -$a->strings['Unblock Author'] = 'Desbloquear autor'; -$a->strings['Block Author'] = 'Bloquear autor'; -$a->strings['blockem settings updated'] = 'As configurações do Blockem foram atualizadas.'; diff --git a/superblock/lang/ro/messages.po b/superblock/lang/ro/messages.po deleted file mode 100644 index 1959c7d0a..000000000 --- a/superblock/lang/ro/messages.po +++ /dev/null @@ -1,43 +0,0 @@ -# ADDON superblock -# Copyright (C) -# This file is distributed under the same license as the Friendica superblock addon package. -# -# -# Translators: -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-07-08 12:08+0000\n" -"Last-Translator: Arian - Cazare Muncitori \n" -"Language-Team: Romanian (Romania) (http://www.transifex.com/projects/p/friendica/language/ro_RO/)\n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: 8bit\n" -"Language: ro_RO\n" -"Plural-Forms: nplurals=3; plural=(n==1?0:(((n%100>19)||((n%100==0)&&(n!=0)))?2:1));\n" - -#: superblock.php:52 -msgid "\"Superblock\" Settings" -msgstr "Configurări \"Superblock\"" - -#: superblock.php:54 -msgid "Comma separated profile URLS to block" -msgstr "Adresele URL de profil, de blocat, separate prin virgulă" - -#: superblock.php:58 -msgid "Save Settings" -msgstr "Salvare Configurări" - -#: superblock.php:71 -msgid "SUPERBLOCK Settings saved." -msgstr "Configurările SUPERBLOCK au fost salvate." - -#: superblock.php:143 -msgid "Block Completely" -msgstr "Blocare Completă" - -#: superblock.php:163 -msgid "superblock settings updated" -msgstr "Configurările superblock au fost actualizate" diff --git a/superblock/lang/ro/strings.php b/superblock/lang/ro/strings.php deleted file mode 100644 index d6c222346..000000000 --- a/superblock/lang/ro/strings.php +++ /dev/null @@ -1,13 +0,0 @@ -19)||(($n%100==0)&&($n!=0)))) { return 2; } else { return 1; } -}} -$a->strings['"Superblock" Settings'] = 'Configurări "Superblock"'; -$a->strings['Comma separated profile URLS to block'] = 'Adresele URL de profil, de blocat, separate prin virgulă'; -$a->strings['Save Settings'] = 'Salvare Configurări'; -$a->strings['SUPERBLOCK Settings saved.'] = 'Configurările SUPERBLOCK au fost salvate.'; -$a->strings['Block Completely'] = 'Blocare Completă'; -$a->strings['superblock settings updated'] = 'Configurările superblock au fost actualizate'; diff --git a/superblock/lang/ru/messages.po b/superblock/lang/ru/messages.po deleted file mode 100644 index c57686bca..000000000 --- a/superblock/lang/ru/messages.po +++ /dev/null @@ -1,44 +0,0 @@ -# ADDON superblock -# Copyright (C) -# This file is distributed under the same license as the Friendica superblock addon package. -# -# -# Translators: -# Alexander An , 2020 -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: 2020-04-23 14:10+0000\n" -"Last-Translator: Alexander An \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" - -#: superblock.php:47 superblock.php:51 -msgid "Superblock" -msgstr "Superblock" - -#: superblock.php:54 -msgid "Comma separated profile URLS to block" -msgstr "Ссылки на блокируемые профили через запятую" - -#: superblock.php:58 -msgid "Save Settings" -msgstr "Сохранить настройки" - -#: superblock.php:71 -msgid "SUPERBLOCK Settings saved." -msgstr "Настройки Superblock сохранены" - -#: superblock.php:144 -msgid "Block Completely" -msgstr "Заблокировать совсем" - -#: superblock.php:165 -msgid "superblock settings updated" -msgstr "настройки superblock обновлены" diff --git a/superblock/lang/ru/strings.php b/superblock/lang/ru/strings.php deleted file mode 100644 index 03b9a651c..000000000 --- a/superblock/lang/ru/strings.php +++ /dev/null @@ -1,13 +0,0 @@ -=2 && $n%10<=4 && ($n%100<12 || $n%100>14)) { return 1; } else if ($n%10==0 || ($n%10>=5 && $n%10<=9) || ($n%100>=11 && $n%100<=14)) { return 2; } else { return 3; } -}} -$a->strings['Superblock'] = 'Superblock'; -$a->strings['Comma separated profile URLS to block'] = 'Ссылки на блокируемые профили через запятую'; -$a->strings['Save Settings'] = 'Сохранить настройки'; -$a->strings['SUPERBLOCK Settings saved.'] = 'Настройки Superblock сохранены'; -$a->strings['Block Completely'] = 'Заблокировать совсем'; -$a->strings['superblock settings updated'] = 'настройки superblock обновлены'; diff --git a/superblock/lang/sv/messages.po b/superblock/lang/sv/messages.po deleted file mode 100644 index 68e818420..000000000 --- a/superblock/lang/sv/messages.po +++ /dev/null @@ -1,31 +0,0 @@ -# ADDON superblock -# Copyright (C) -# This file is distributed under the same license as the Friendica superblock addon package. -# -# -# Translators: -msgid "" -msgstr "" -"Project-Id-Version: friendica\n" -"Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2021-11-21 19:16-0500\n" -"PO-Revision-Date: 2021-12-22 16:24+0000\n" -"Last-Translator: Transifex Bot <>\n" -"Language-Team: Swedish (http://www.transifex.com/Friendica/friendica/language/sv/)\n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: 8bit\n" -"Language: sv\n" -"Plural-Forms: nplurals=2; plural=(n != 1);\n" - -#: superblock.php:35 -msgid "Comma separated profile URLs to block" -msgstr "" - -#: superblock.php:40 -msgid "Superblock" -msgstr "" - -#: superblock.php:129 -msgid "Block Completely" -msgstr "" diff --git a/superblock/lang/sv/strings.php b/superblock/lang/sv/strings.php deleted file mode 100644 index 72e9772ff..000000000 --- a/superblock/lang/sv/strings.php +++ /dev/null @@ -1,7 +0,0 @@ -strings["\"Blockem\" Settings"] = "「Blockem」配置"; -$a->strings["Comma separated profile URLS to block"] = "逗号分简介URL为栏"; -$a->strings["Submit"] = "提交"; -$a->strings["BLOCKEM Settings saved."] = "「Blockem」配置保存了。"; -$a->strings["Blocked %s - Click to open/close"] = "%s拦了-点击为开关"; -$a->strings["Unblock Author"] = "不拦作家"; -$a->strings["Block Author"] = "拦作家"; -$a->strings["blockem settings updated"] = "blockem设置更新了"; diff --git a/superblock/superblock.php b/superblock/superblock.php deleted file mode 100644 index c1a141115..000000000 --- a/superblock/superblock.php +++ /dev/null @@ -1,156 +0,0 @@ - - * - */ - -use Friendica\App; -use Friendica\Core\Hook; -use Friendica\Core\Renderer; -use Friendica\DI; -use Friendica\Util\Strings; - -function superblock_install() -{ - Hook::register('addon_settings', 'addon/superblock/superblock.php', 'superblock_addon_settings'); - Hook::register('addon_settings_post', 'addon/superblock/superblock.php', 'superblock_addon_settings_post'); - Hook::register('conversation_start', 'addon/superblock/superblock.php', 'superblock_conversation_start'); - Hook::register('item_photo_menu', 'addon/superblock/superblock.php', 'superblock_item_photo_menu'); - Hook::register('enotify_store', 'addon/superblock/superblock.php', 'superblock_enotify_store'); -} - -function superblock_addon_settings(App &$a, array &$data) -{ - if (!DI::userSession()->getLocalUserId()) { - return; - } - - $blocked = DI::pConfig()->get(DI::userSession()->getLocalUserId(), 'system', 'blocked', ''); - - $t = Renderer::getMarkupTemplate('settings.tpl', 'addon/superblock/'); - $html = Renderer::replaceMacros($t, [ - '$urls' => ['superblock-words', DI::l10n()->t('Comma separated profile URLs to block'), $blocked], - ]); - - $data = [ - 'addon' => 'superblock', - 'title' => DI::l10n()->t('Superblock'), - 'html' => $html, - ]; -} - -function superblock_addon_settings_post(App $a, array &$b) -{ - if (!DI::userSession()->getLocalUserId()) { - return; - } - - if (!empty($_POST['superblock-submit'])) { - DI::pConfig()->set(DI::userSession()->getLocalUserId(), 'system', 'blocked',trim($_POST['superblock-words'])); - } -} - -function superblock_enotify_store(App $a, array &$b) -{ - if (empty($b['uid'])) { - return; - } - - $words = DI::pConfig()->get($b['uid'], 'system', 'blocked'); - if ($words) { - $arr = explode(',', $words); - } else { - return; - } - - $found = false; - if (count($arr)) { - foreach ($arr as $word) { - if (!strlen(trim($word))) { - continue; - } - - if (Strings::compareLink($b['url'], $word)) { - $found = true; - break; - } - } - } - - if ($found) { - // Empty out the fields - $b = []; - } -} - - -function superblock_conversation_start(App $a, array &$b) -{ - if (!DI::userSession()->getLocalUserId()) { - return; - } - - $words = DI::pConfig()->get(DI::userSession()->getLocalUserId(), 'system', 'blocked'); - if ($words) { - $a->data['superblock'] = explode(',', $words); - } - - DI::page()['htmlhead'] .= <<< EOT - -EOT; - -} - -function superblock_item_photo_menu(App $a, array &$b) -{ - if (!DI::userSession()->getLocalUserId() || $b['item']['self']) { - return; - } - - $blocked = false; - $author = $b['item']['author-link']; - if (!empty($a->data['superblock'])) { - foreach ($a->data['superblock'] as $bloke) { - if (Strings::compareLink($bloke, $author)) { - $blocked = true; - break; - } - } - } - - $b['menu'][DI::l10n()->t('Block Completely')] = 'javascript:superblockBlock(\'' . $author . '\'); return false;'; -} - -/** - * This is a statement rather than an actual function definition. The simple - * existence of this method is checked to figure out if the addon offers a - * module. - */ -function superblock_module() {} - -function superblock_init(App $a) -{ - if (!DI::userSession()->getLocalUserId()) { - return; - } - - $words = DI::pConfig()->get(DI::userSession()->getLocalUserId(), 'system', 'blocked'); - - if (array_key_exists('block', $_GET) && $_GET['block']) { - if (strlen($words)) - $words .= ','; - $words .= trim($_GET['block']); - } - - DI::pConfig()->set(DI::userSession()->getLocalUserId(), 'system', 'blocked', $words); - exit(); -} diff --git a/superblock/templates/settings.tpl b/superblock/templates/settings.tpl deleted file mode 100644 index 113588e35..000000000 --- a/superblock/templates/settings.tpl +++ /dev/null @@ -1 +0,0 @@ -{{include file="field_textarea.tpl" field=$urls}}