diff --git a/circle_text/group_text.php b/circle_text/group_text.php new file mode 100644 index 00000000..b52cbc19 --- /dev/null +++ b/circle_text/group_text.php @@ -0,0 +1,64 @@ + + */ + +use Friendica\Core\Hook; +use Friendica\Core\Renderer; +use Friendica\DI; + +function circle_text_install() +{ + Hook::register('addon_settings', __FILE__, 'circle_text_settings'); + Hook::register('addon_settings_post', __FILE__, 'circle_text_settings_post'); +} + +/** + * + * Callback from the settings post function. + * $post contains the $_POST array. + * We will make sure we've got a valid user account + * and if so set our configuration setting for this person. + * + */ + +function circle_text_settings_post(array $post) +{ + if (!DI::userSession()->getLocalUserId() || empty($post['circle_text-submit'])) { + return; + } + + DI::pConfig()->set(DI::userSession()->getLocalUserId(), 'system', 'circle_edit_image_limit', intval($post['circle_text'])); +} + + +/** + * + * Called from the Addon Setting form. + * Add our own settings info to the page. + * + */ + +function circle_text_settings(array &$data) +{ + if (!DI::userSession()->getLocalUserId()) { + return; + } + + $enabled = DI::pConfig()->get(DI::userSession()->getLocalUserId(), 'system', 'circle_edit_image_limit') ?? + DI::pConfig()->get(DI::userSession()->getLocalUserId(), 'system', 'groupedit_image_limit'); + + $t = Renderer::getMarkupTemplate('settings.tpl', 'addon/circle_text/'); + $html = Renderer::replaceMacros($t, [ + '$enabled' => ['circle_text', DI::l10n()->t('Use a text only (non-image) circle selector in the "circle edit" menu'), $enabled], + ]); + + $data = [ + 'addon' => 'circle_text', + 'title' => DI::l10n()->t('Circle Text'), + 'html' => $html, + ]; +} diff --git a/circle_text/lang/C/messages.po b/circle_text/lang/C/messages.po new file mode 100644 index 00000000..27c0e60e --- /dev/null +++ b/circle_text/lang/C/messages.po @@ -0,0 +1,26 @@ +# ADDON circle_text +# Copyright (C) +# This file is distributed under the same license as the Friendica circle_text addon package. +# +# +#, fuzzy +msgid "" +msgstr "" +"Project-Id-Version: \n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2023-06-03 15:48-0400\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" + +#: group_text.php:56 +msgid "Use a text only (non-image) circle selector in the \"circle edit\" menu" +msgstr "" + +#: group_text.php:61 +msgid "Circle Text" +msgstr "" diff --git a/circle_text/lang/ar/messages.po b/circle_text/lang/ar/messages.po new file mode 100644 index 00000000..cfe9bb63 --- /dev/null +++ b/circle_text/lang/ar/messages.po @@ -0,0 +1,32 @@ +# ADDON group_text +# Copyright (C) +# This file is distributed under the same license as the Friendica group_text 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-21 02:59+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" + +#: group_text.php:62 +msgid "Group Text" +msgstr "نص المجموعة:" + +#: group_text.php:64 +msgid "Use a text only (non-image) group selector in the \"group edit\" menu" +msgstr "استخدم محدد نصي للمجموعة فقط (غير مصور) في قائمة \"تعديل المجموعة\"" + +#: group_text.php:70 +msgid "Save Settings" +msgstr "حفظ الإعدادات" diff --git a/circle_text/lang/ar/strings.php b/circle_text/lang/ar/strings.php new file mode 100644 index 00000000..20e8496a --- /dev/null +++ b/circle_text/lang/ar/strings.php @@ -0,0 +1,10 @@ +=3 && $n%100<=10) { return 3; } else if ($n%100>=11 && $n%100<=99) { return 4; } else { return 5; } +}} +$a->strings['Group Text'] = 'نص المجموعة:'; +$a->strings['Use a text only (non-image) group selector in the "group edit" menu'] = 'استخدم محدد نصي للمجموعة فقط (غير مصور) في قائمة "تعديل المجموعة"'; +$a->strings['Save Settings'] = 'حفظ الإعدادات'; diff --git a/circle_text/lang/ca/messages.po b/circle_text/lang/ca/messages.po new file mode 100644 index 00000000..7081c0d7 --- /dev/null +++ b/circle_text/lang/ca/messages.po @@ -0,0 +1,36 @@ +# ADDON group_text +# Copyright (C) +# This file is distributed under the same license as the Friendica group_text addon package. +# +# +# Translators: +# Joan Bar , 2019 +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: 2019-10-14 00:45+0000\n" +"Last-Translator: Joan Bar \n" +"Language-Team: Catalan (http://www.transifex.com/Friendica/friendica/language/ca/)\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Language: ca\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" + +#: group_text.php:46 +msgid "Group Text settings updated." +msgstr "La configuració del text del grup s'ha actualitzat." + +#: group_text.php:76 +msgid "Group Text" +msgstr "Missatge del grup" + +#: group_text.php:78 +msgid "Use a text only (non-image) group selector in the \"group edit\" menu" +msgstr "Utilitzeu un selector de grup de només text (que no sigui una imatge) al menú 'Edita grup'" + +#: group_text.php:84 +msgid "Submit" +msgstr "sotmetre's" diff --git a/circle_text/lang/ca/strings.php b/circle_text/lang/ca/strings.php new file mode 100644 index 00000000..b28db322 --- /dev/null +++ b/circle_text/lang/ca/strings.php @@ -0,0 +1,11 @@ +strings['Group Text settings updated.'] = 'La configuració del text del grup s\'ha actualitzat.'; +$a->strings['Group Text'] = 'Missatge del grup'; +$a->strings['Use a text only (non-image) group selector in the "group edit" menu'] = 'Utilitzeu un selector de grup de només text (que no sigui una imatge) al menú \'Edita grup\''; +$a->strings['Submit'] = 'sotmetre\'s'; diff --git a/circle_text/lang/cs/messages.po b/circle_text/lang/cs/messages.po new file mode 100644 index 00000000..8b56b630 --- /dev/null +++ b/circle_text/lang/cs/messages.po @@ -0,0 +1,37 @@ +# ADDON group_text +# Copyright (C) +# This file is distributed under the same license as the Friendica group_text addon package. +# +# +# Translators: +# Aditoo, 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: 2018-09-12 09:47+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" + +#: group_text.php:46 +msgid "Group Text settings updated." +msgstr "Nastavení Group Text aktualizována." + +#: group_text.php:76 +msgid "Group Text" +msgstr "Skupinový text" + +#: group_text.php:78 +msgid "Use a text only (non-image) group selector in the \"group edit\" menu" +msgstr "Použijte pouze textový (bezobrázkový) výběr skupiny v menu úpravy skupin." + +#: group_text.php:84 +msgid "Submit" +msgstr "Odeslat" diff --git a/circle_text/lang/cs/strings.php b/circle_text/lang/cs/strings.php new file mode 100644 index 00000000..510453af --- /dev/null +++ b/circle_text/lang/cs/strings.php @@ -0,0 +1,11 @@ += 2 && $n <= 4 && $n % 1 == 0)) { return 1; } else if (($n % 1 != 0 )) { return 2; } else { return 3; } +}} +$a->strings['Group Text settings updated.'] = 'Nastavení Group Text aktualizována.'; +$a->strings['Group Text'] = 'Skupinový text'; +$a->strings['Use a text only (non-image) group selector in the "group edit" menu'] = 'Použijte pouze textový (bezobrázkový) výběr skupiny v menu úpravy skupin.'; +$a->strings['Submit'] = 'Odeslat'; diff --git a/circle_text/lang/da-dk/messages.po b/circle_text/lang/da-dk/messages.po new file mode 100644 index 00000000..9f1fbefa --- /dev/null +++ b/circle_text/lang/da-dk/messages.po @@ -0,0 +1,28 @@ +# ADDON group_text +# Copyright (C) +# This file is distributed under the same license as the Friendica group_text addon package. +# +# +# Translators: +# Anton , 2022 +msgid "" +msgstr "" +"Project-Id-Version: friendica\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2021-11-21 19:14-0500\n" +"PO-Revision-Date: 2014-06-23 08:35+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" + +#: group_text.php:58 +msgid "Use a text only (non-image) group selector in the \"group edit\" menu" +msgstr "Brug en kun-tekst (intet billede) gruppevælger i grupperedigeringsmenuen" + +#: group_text.php:63 +msgid "Group Text" +msgstr "Gruppebesked" diff --git a/circle_text/lang/da-dk/strings.php b/circle_text/lang/da-dk/strings.php new file mode 100644 index 00000000..4306b769 --- /dev/null +++ b/circle_text/lang/da-dk/strings.php @@ -0,0 +1,9 @@ +strings['Use a text only (non-image) group selector in the "group edit" menu'] = 'Brug en kun-tekst (intet billede) gruppevælger i grupperedigeringsmenuen'; +$a->strings['Group Text'] = 'Gruppebesked'; diff --git a/circle_text/lang/de/messages.po b/circle_text/lang/de/messages.po new file mode 100644 index 00000000..e4e5d782 --- /dev/null +++ b/circle_text/lang/de/messages.po @@ -0,0 +1,31 @@ +# ADDON group_text +# Copyright (C) +# This file is distributed under the same license as the Friendica group_text addon package. +# +# +# Translators: +# Andreas H., 2014 +# Tobias Diekershoff , 2014 +# Tobias Diekershoff , 2021 +# Ulf Rompe , 2019 +msgid "" +msgstr "" +"Project-Id-Version: friendica\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2021-11-21 19:14-0500\n" +"PO-Revision-Date: 2014-06-23 08:35+0000\n" +"Last-Translator: Tobias Diekershoff , 2021\n" +"Language-Team: German (http://app.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" + +#: group_text.php:58 +msgid "Use a text only (non-image) group selector in the \"group edit\" menu" +msgstr "Beim Bearbeiten von Gruppen Text statt Bilder anzeigen" + +#: group_text.php:63 +msgid "Group Text" +msgstr "Gruppen als Text" diff --git a/circle_text/lang/de/strings.php b/circle_text/lang/de/strings.php new file mode 100644 index 00000000..7a75b54d --- /dev/null +++ b/circle_text/lang/de/strings.php @@ -0,0 +1,9 @@ +strings['Use a text only (non-image) group selector in the "group edit" menu'] = 'Beim Bearbeiten von Gruppen Text statt Bilder anzeigen'; +$a->strings['Group Text'] = 'Gruppen als Text'; diff --git a/circle_text/lang/eo/strings.php b/circle_text/lang/eo/strings.php new file mode 100644 index 00000000..4e220fb0 --- /dev/null +++ b/circle_text/lang/eo/strings.php @@ -0,0 +1,5 @@ +strings["Group Text"] = ""; +$a->strings["Use a text only (non-image) group selector in the \"group edit\" menu"] = ""; +$a->strings["Submit"] = "Sendi"; diff --git a/circle_text/lang/es/messages.po b/circle_text/lang/es/messages.po new file mode 100644 index 00000000..5d6d4107 --- /dev/null +++ b/circle_text/lang/es/messages.po @@ -0,0 +1,33 @@ +# ADDON group_text +# Copyright (C) +# This file is distributed under the same license as the Friendica group_text addon package. +# +# +# Translators: +# Albert, 2016 +# 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-01 09:56+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" + +#: group_text.php:62 +msgid "Group Text" +msgstr "Grupo de Texto" + +#: group_text.php:64 +msgid "Use a text only (non-image) group selector in the \"group edit\" menu" +msgstr "Utilice sólo el selector de grupo de texto (no imagen) en el menú \"edición de grupo\"" + +#: group_text.php:70 +msgid "Save Settings" +msgstr "Guardar Ajustes" diff --git a/circle_text/lang/es/strings.php b/circle_text/lang/es/strings.php new file mode 100644 index 00000000..632130fd --- /dev/null +++ b/circle_text/lang/es/strings.php @@ -0,0 +1,10 @@ +strings['Group Text'] = 'Grupo de Texto'; +$a->strings['Use a text only (non-image) group selector in the "group edit" menu'] = 'Utilice sólo el selector de grupo de texto (no imagen) en el menú "edición de grupo"'; +$a->strings['Save Settings'] = 'Guardar Ajustes'; diff --git a/circle_text/lang/fi-fi/messages.po b/circle_text/lang/fi-fi/messages.po new file mode 100644 index 00000000..2e3782fd --- /dev/null +++ b/circle_text/lang/fi-fi/messages.po @@ -0,0 +1,37 @@ +# ADDON group_text +# Copyright (C) +# This file is distributed under the same license as the Friendica group_text addon package. +# +# +# Translators: +# Kris, 2018 +# Kris, 2018 +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: 2018-04-08 15:51+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" + +#: group_text.php:46 +msgid "Group Text settings updated." +msgstr "Group Text -asetukset päivitetty." + +#: group_text.php:76 +msgid "Group Text" +msgstr "Group Text" + +#: group_text.php:78 +msgid "Use a text only (non-image) group selector in the \"group edit\" menu" +msgstr "" + +#: group_text.php:84 +msgid "Submit" +msgstr "Lähetä" diff --git a/circle_text/lang/fi-fi/strings.php b/circle_text/lang/fi-fi/strings.php new file mode 100644 index 00000000..5bcd0ddc --- /dev/null +++ b/circle_text/lang/fi-fi/strings.php @@ -0,0 +1,10 @@ +strings['Group Text settings updated.'] = 'Group Text -asetukset päivitetty.'; +$a->strings['Group Text'] = 'Group Text'; +$a->strings['Submit'] = 'Lähetä'; diff --git a/circle_text/lang/fr/messages.po b/circle_text/lang/fr/messages.po new file mode 100644 index 00000000..c076d697 --- /dev/null +++ b/circle_text/lang/fr/messages.po @@ -0,0 +1,29 @@ +# ADDON group_text +# Copyright (C) +# This file is distributed under the same license as the Friendica group_text addon package. +# +# +# Translators: +# bob lebonche , 2021 +# Hypolite Petovan , 2016 +msgid "" +msgstr "" +"Project-Id-Version: friendica\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2021-11-21 19:14-0500\n" +"PO-Revision-Date: 2014-06-23 08:35+0000\n" +"Last-Translator: bob lebonche , 2021\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" + +#: group_text.php:58 +msgid "Use a text only (non-image) group selector in the \"group edit\" menu" +msgstr "Utiliser uniquement un groupe de texte (pas d'image) dans le menu \"groupedit\"" + +#: group_text.php:63 +msgid "Group Text" +msgstr "Groupe de texte" diff --git a/circle_text/lang/fr/strings.php b/circle_text/lang/fr/strings.php new file mode 100644 index 00000000..657d7657 --- /dev/null +++ b/circle_text/lang/fr/strings.php @@ -0,0 +1,9 @@ +strings['Use a text only (non-image) group selector in the "group edit" menu'] = 'Utiliser uniquement un groupe de texte (pas d\'image) dans le menu "groupedit"'; +$a->strings['Group Text'] = 'Groupe de texte'; diff --git a/circle_text/lang/hu/messages.po b/circle_text/lang/hu/messages.po new file mode 100644 index 00000000..2c4f19c9 --- /dev/null +++ b/circle_text/lang/hu/messages.po @@ -0,0 +1,28 @@ +# ADDON group_text +# Copyright (C) +# This file is distributed under the same license as the Friendica group_text 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:14-0500\n" +"PO-Revision-Date: 2014-06-23 08:35+0000\n" +"Last-Translator: Balázs Úr, 2020-2021\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" + +#: group_text.php:58 +msgid "Use a text only (non-image) group selector in the \"group edit\" menu" +msgstr "Csak szöveges (kép nélküli) csoportválasztó használata a „csoportszerkesztés” menüben" + +#: group_text.php:63 +msgid "Group Text" +msgstr "Csoportszöveg" diff --git a/circle_text/lang/hu/strings.php b/circle_text/lang/hu/strings.php new file mode 100644 index 00000000..ac72f9e0 --- /dev/null +++ b/circle_text/lang/hu/strings.php @@ -0,0 +1,9 @@ +strings['Use a text only (non-image) group selector in the "group edit" menu'] = 'Csak szöveges (kép nélküli) csoportválasztó használata a „csoportszerkesztés” menüben'; +$a->strings['Group Text'] = 'Csoportszöveg'; diff --git a/circle_text/lang/is/strings.php b/circle_text/lang/is/strings.php new file mode 100644 index 00000000..d331b2f9 --- /dev/null +++ b/circle_text/lang/is/strings.php @@ -0,0 +1,5 @@ +strings["Group Text"] = ""; +$a->strings["Use a text only (non-image) group selector in the \"group edit\" menu"] = ""; +$a->strings["Submit"] = "Senda inn"; diff --git a/circle_text/lang/it/messages.po b/circle_text/lang/it/messages.po new file mode 100644 index 00000000..daab3fb6 --- /dev/null +++ b/circle_text/lang/it/messages.po @@ -0,0 +1,33 @@ +# ADDON group_text +# Copyright (C) +# This file is distributed under the same license as the Friendica group_text addon package. +# +# +# Translators: +# fabrixxm , 2014-2015 +# Sylke Vicious , 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-16 12:48+0000\n" +"Last-Translator: Sylke Vicious \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" + +#: group_text.php:62 +msgid "Group Text" +msgstr "Editor Gruppi Testuale" + +#: group_text.php:64 +msgid "Use a text only (non-image) group selector in the \"group edit\" menu" +msgstr "Usa un selettore testuale (senza immagini) nella pagina \"modifica gruppo\"" + +#: group_text.php:70 +msgid "Save Settings" +msgstr "Salva Impostazioni" diff --git a/circle_text/lang/it/strings.php b/circle_text/lang/it/strings.php new file mode 100644 index 00000000..e52683e9 --- /dev/null +++ b/circle_text/lang/it/strings.php @@ -0,0 +1,10 @@ +strings['Group Text'] = 'Editor Gruppi Testuale'; +$a->strings['Use a text only (non-image) group selector in the "group edit" menu'] = 'Usa un selettore testuale (senza immagini) nella pagina "modifica gruppo"'; +$a->strings['Save Settings'] = 'Salva Impostazioni'; diff --git a/circle_text/lang/nb-no/strings.php b/circle_text/lang/nb-no/strings.php new file mode 100644 index 00000000..cd9bebd4 --- /dev/null +++ b/circle_text/lang/nb-no/strings.php @@ -0,0 +1,5 @@ +strings["Group Text"] = ""; +$a->strings["Use a text only (non-image) group selector in the \"group edit\" menu"] = ""; +$a->strings["Submit"] = "Lagre"; diff --git a/circle_text/lang/nl/messages.po b/circle_text/lang/nl/messages.po new file mode 100644 index 00000000..56b5aae0 --- /dev/null +++ b/circle_text/lang/nl/messages.po @@ -0,0 +1,36 @@ +# ADDON group_text +# Copyright (C) +# This file is distributed under the same license as the Friendica group_text addon package. +# +# +# Translators: +# Jeroen De Meerleer , 2018 +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: 2018-08-24 13:48+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" + +#: group_text.php:46 +msgid "Group Text settings updated." +msgstr "Groupsberichten instellingen opgeslagen" + +#: group_text.php:76 +msgid "Group Text" +msgstr "Groepsbericht" + +#: group_text.php:78 +msgid "Use a text only (non-image) group selector in the \"group edit\" menu" +msgstr "" + +#: group_text.php:84 +msgid "Submit" +msgstr "" diff --git a/circle_text/lang/nl/strings.php b/circle_text/lang/nl/strings.php new file mode 100644 index 00000000..ba3cb3ec --- /dev/null +++ b/circle_text/lang/nl/strings.php @@ -0,0 +1,9 @@ +strings['Group Text settings updated.'] = 'Groupsberichten instellingen opgeslagen'; +$a->strings['Group Text'] = 'Groepsbericht'; diff --git a/circle_text/lang/pl/messages.po b/circle_text/lang/pl/messages.po new file mode 100644 index 00000000..a1d6a3c8 --- /dev/null +++ b/circle_text/lang/pl/messages.po @@ -0,0 +1,28 @@ +# ADDON group_text +# Copyright (C) +# This file is distributed under the same license as the Friendica group_text addon package. +# +# +# Translators: +# Waldemar Stoczkowski, 2018 +msgid "" +msgstr "" +"Project-Id-Version: friendica\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2021-11-21 19:14-0500\n" +"PO-Revision-Date: 2014-06-23 08:35+0000\n" +"Last-Translator: Waldemar Stoczkowski, 2018\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" + +#: group_text.php:58 +msgid "Use a text only (non-image) group selector in the \"group edit\" menu" +msgstr "Użyj tylko tekst (bez obrazu) selektor grupy w menu \"Edycja grupy\"" + +#: group_text.php:63 +msgid "Group Text" +msgstr "Grupuj tekst" diff --git a/circle_text/lang/pl/strings.php b/circle_text/lang/pl/strings.php new file mode 100644 index 00000000..96157c99 --- /dev/null +++ b/circle_text/lang/pl/strings.php @@ -0,0 +1,9 @@ +=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['Use a text only (non-image) group selector in the "group edit" menu'] = 'Użyj tylko tekst (bez obrazu) selektor grupy w menu "Edycja grupy"'; +$a->strings['Group Text'] = 'Grupuj tekst'; diff --git a/circle_text/lang/pt-br/strings.php b/circle_text/lang/pt-br/strings.php new file mode 100644 index 00000000..4579a5b1 --- /dev/null +++ b/circle_text/lang/pt-br/strings.php @@ -0,0 +1,5 @@ +strings["Group Text"] = ""; +$a->strings["Use a text only (non-image) group selector in the \"group edit\" menu"] = ""; +$a->strings["Submit"] = "Enviar"; diff --git a/circle_text/lang/ro/messages.po b/circle_text/lang/ro/messages.po new file mode 100644 index 00000000..c912f113 --- /dev/null +++ b/circle_text/lang/ro/messages.po @@ -0,0 +1,36 @@ +# ADDON group_text +# Copyright (C) +# This file is distributed under the same license as the Friendica group_text addon package. +# +# +# Translators: +# Doru DEACONU , 2014 +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: 2014-11-27 14:15+0000\n" +"Last-Translator: Doru DEACONU \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" + +#: group_text.php:46 +msgid "Group Text settings updated." +msgstr "Configurările Text Grup, au fost actualizate." + +#: group_text.php:76 +msgid "Group Text" +msgstr "Text Grup" + +#: group_text.php:78 +msgid "Use a text only (non-image) group selector in the \"group edit\" menu" +msgstr "Folosiți în meniul \"editare grup\" un selector de grup strict textual (fără-imagine)" + +#: group_text.php:84 +msgid "Submit" +msgstr "Trimite" diff --git a/circle_text/lang/ro/strings.php b/circle_text/lang/ro/strings.php new file mode 100644 index 00000000..892ffc68 --- /dev/null +++ b/circle_text/lang/ro/strings.php @@ -0,0 +1,11 @@ +19)||(($n%100==0)&&($n!=0)))) { return 2; } else { return 1; } +}} +$a->strings['Group Text settings updated.'] = 'Configurările Text Grup, au fost actualizate.'; +$a->strings['Group Text'] = 'Text Grup'; +$a->strings['Use a text only (non-image) group selector in the "group edit" menu'] = 'Folosiți în meniul "editare grup" un selector de grup strict textual (fără-imagine)'; +$a->strings['Submit'] = 'Trimite'; diff --git a/circle_text/lang/ru/messages.po b/circle_text/lang/ru/messages.po new file mode 100644 index 00000000..05a25367 --- /dev/null +++ b/circle_text/lang/ru/messages.po @@ -0,0 +1,36 @@ +# ADDON group_text +# Copyright (C) +# This file is distributed under the same license as the Friendica group_text addon package. +# +# +# Translators: +# Stanislav N. , 2017 +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: 2017-04-08 17:26+0000\n" +"Last-Translator: Stanislav N. \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" + +#: group_text.php:46 +msgid "Group Text settings updated." +msgstr "Настройки Group Text обновлены." + +#: group_text.php:76 +msgid "Group Text" +msgstr "Group Text" + +#: group_text.php:78 +msgid "Use a text only (non-image) group selector in the \"group edit\" menu" +msgstr "Используйте текстовый (не изображение) селектор группы в режиме редактирования группы" + +#: group_text.php:84 +msgid "Submit" +msgstr "Добавить" diff --git a/circle_text/lang/ru/strings.php b/circle_text/lang/ru/strings.php new file mode 100644 index 00000000..0f74e7ca --- /dev/null +++ b/circle_text/lang/ru/strings.php @@ -0,0 +1,11 @@ +=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['Group Text settings updated.'] = 'Настройки Group Text обновлены.'; +$a->strings['Group Text'] = 'Group Text'; +$a->strings['Use a text only (non-image) group selector in the "group edit" menu'] = 'Используйте текстовый (не изображение) селектор группы в режиме редактирования группы'; +$a->strings['Submit'] = 'Добавить'; diff --git a/circle_text/lang/sv/messages.po b/circle_text/lang/sv/messages.po new file mode 100644 index 00000000..8ddc1806 --- /dev/null +++ b/circle_text/lang/sv/messages.po @@ -0,0 +1,28 @@ +# ADDON group_text +# Copyright (C) +# This file is distributed under the same license as the Friendica group_text addon package. +# +# +# Translators: +# Kristoffer Grundström , 2022 +msgid "" +msgstr "" +"Project-Id-Version: friendica\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2021-11-21 19:14-0500\n" +"PO-Revision-Date: 2022-01-16 00:35+0000\n" +"Last-Translator: Kristoffer Grundström \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" + +#: group_text.php:58 +msgid "Use a text only (non-image) group selector in the \"group edit\" menu" +msgstr "" + +#: group_text.php:63 +msgid "Group Text" +msgstr "Grupptext" diff --git a/circle_text/lang/sv/strings.php b/circle_text/lang/sv/strings.php new file mode 100644 index 00000000..5d5e98db --- /dev/null +++ b/circle_text/lang/sv/strings.php @@ -0,0 +1,8 @@ +strings['Group Text'] = 'Grupptext'; diff --git a/circle_text/lang/zh-cn/strings.php b/circle_text/lang/zh-cn/strings.php new file mode 100644 index 00000000..a7b37bf2 --- /dev/null +++ b/circle_text/lang/zh-cn/strings.php @@ -0,0 +1,6 @@ +strings["Group Text settings updated."] = "组正文设置更新了。"; +$a->strings["Group Text"] = "组正文"; +$a->strings["Use a text only (non-image) group selector in the \"group edit\" menu"] = "用光正文(无图片)组选择器在「组编辑」单"; +$a->strings["Submit"] = "提交"; diff --git a/circle_text/templates/settings.tpl b/circle_text/templates/settings.tpl new file mode 100644 index 00000000..2f3f4ce7 --- /dev/null +++ b/circle_text/templates/settings.tpl @@ -0,0 +1 @@ +{{include file="field_checkbox.tpl" field=$enabled}} diff --git a/diaspora/diaspora.php b/diaspora/diaspora.php index d48ddac6..cb2eb996 100644 --- a/diaspora/diaspora.php +++ b/diaspora/diaspora.php @@ -205,7 +205,7 @@ function diaspora_send(array &$b) $b['body'] = Post\Media::addAttachmentsToBody($b['uri-id'], DI::contentItem()->addSharedPost($b)); // Dont't post if the post doesn't belong to us. - // This is a check for forum postings + // This is a check for group postings $self = DBA::selectFirst('contact', ['id'], ['uid' => $b['uid'], 'self' => true]); if ($b['contact-id'] != $self['id']) { diff --git a/diaspora/lang/C/messages.po b/diaspora/lang/C/messages.po index 262e4cd8..b9944720 100644 --- a/diaspora/lang/C/messages.po +++ b/diaspora/lang/C/messages.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: \n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2021-11-21 19:17-0500\n" +"POT-Creation-Date: 2023-06-03 15:48-0400\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" @@ -17,84 +17,84 @@ msgstr "" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" -#: diaspora.php:44 +#: diaspora.php:43 msgid "Post to Diaspora" msgstr "" -#: diaspora.php:67 +#: diaspora.php:66 #, php-format msgid "" "Please remember: You can always be reached from Diaspora with your Friendica " "handle %s. " msgstr "" -#: diaspora.php:68 +#: diaspora.php:67 msgid "" "This connector is only meant if you still want to use your old Diaspora " "account for some time. " msgstr "" -#: diaspora.php:69 +#: diaspora.php:68 #, php-format msgid "" "However, it is preferred that you tell your Diaspora contacts the new handle " "%s instead." msgstr "" -#: diaspora.php:79 +#: diaspora.php:78 msgid "All aspects" msgstr "" -#: diaspora.php:80 +#: diaspora.php:79 msgid "Public" msgstr "" -#: diaspora.php:86 +#: diaspora.php:85 msgid "Post to aspect:" msgstr "" -#: diaspora.php:87 +#: diaspora.php:86 #, php-format msgid "Connected with your Diaspora account %s" msgstr "" -#: diaspora.php:90 +#: diaspora.php:89 msgid "" "Can't login to your Diaspora account. Please check handle (in the format " "user@domain.tld) and password." msgstr "" -#: diaspora.php:97 +#: diaspora.php:96 msgid "Information" msgstr "" -#: diaspora.php:98 +#: diaspora.php:97 msgid "Error" msgstr "" -#: diaspora.php:104 +#: diaspora.php:103 msgid "Enable Diaspora Post Addon" msgstr "" -#: diaspora.php:105 +#: diaspora.php:104 msgid "Diaspora handle" msgstr "" -#: diaspora.php:106 +#: diaspora.php:105 msgid "Diaspora password" msgstr "" -#: diaspora.php:106 +#: diaspora.php:105 msgid "" "Privacy notice: Your Diaspora password will be stored unencrypted to " "authenticate you with your Diaspora pod. This means your Friendica node " "administrator can have access to it." msgstr "" -#: diaspora.php:108 +#: diaspora.php:107 msgid "Post to Diaspora by default" msgstr "" -#: diaspora.php:113 +#: diaspora.php:112 msgid "Diaspora Export" msgstr "" diff --git a/forumdirectory/forumdirectory.php b/forumdirectory/forumdirectory.php index 61d3efd4..79267c4e 100644 --- a/forumdirectory/forumdirectory.php +++ b/forumdirectory/forumdirectory.php @@ -4,6 +4,8 @@ * Description: Add a directory of forums hosted on your server, with verbose descriptions. * Version: 1.1 * Author: Thomas Willingham + * Status: Unsupported + * Note: Please use Group Directory instead */ use Friendica\App; diff --git a/group_text/group_text.php b/group_text/group_text.php index 8520f696..02e9fd0a 100644 --- a/group_text/group_text.php +++ b/group_text/group_text.php @@ -4,6 +4,8 @@ * Description: Disable images in group edit menu * Version: 1.0 * Author: Thomas Willingham + * Status: Unsupported + * Note: Please use Circle Text instead */ use Friendica\App; diff --git a/groupdirectory/groupdirectory.php b/groupdirectory/groupdirectory.php new file mode 100644 index 00000000..7bad1ef9 --- /dev/null +++ b/groupdirectory/groupdirectory.php @@ -0,0 +1,155 @@ + + */ + +use Friendica\Content\Nav; +use Friendica\Content\Pager; +use Friendica\Content\Widget; +use Friendica\Core\Hook; +use Friendica\Core\Renderer; +use Friendica\Database\DBA; +use Friendica\DI; +use Friendica\Model\Profile; +use Friendica\Model\User; + +global $groupdirectory_search; + +function groupdirectory_install() +{ + Hook::register('app_menu', __FILE__, 'groupdirectory_app_menu'); +} + +/** + * 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. + */ +/** + * 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 groupdirectory_module() {} + +function groupdirectory_app_menu(array &$b) +{ + $b['app_menu'][] = ''; +} + +function groupdirectory_init() +{ + if (DI::userSession()->getLocalUserId()) { + DI::page()['aside'] .= Widget::findPeople(); + } +} + +function groupdirectory_post() +{ + global $groupdirectory_search; + + if (!empty($_POST['search'])) { + $groupdirectory_search = $_POST['search']; + } +} + +function groupdirectory_content() +{ + global $groupdirectory_search; + + if (DI::config()->get('system', 'block_public') && !DI::userSession()->getLocalUserId() && !DI::userSession()->getRemoteUserId()) { + DI::sysmsg()->addNotice(DI::l10n()->t('Public access denied.')); + return ''; + } + + $o = ''; + $entries = []; + + Nav::setSelected('directory'); + + if (!empty($groupdirectory_search)) { + $search = trim($groupdirectory_search); + } else { + $search = (!empty($_GET['search']) ? trim(rawurldecode($_GET['search'])) : ''); + } + + $gdirpath = ''; + $dirurl = DI::config()->get('system', 'directory'); + if (strlen($dirurl)) { + $gdirpath = Profile::zrl($dirurl, true); + } + + $sql_extra = ''; + if (strlen($search)) { + $search = DBA::escape($search); + + $sql_extra = " AND ((`profile`.`name` LIKE '%$search%') OR + (`user`.`nickname` LIKE '%$search%') OR + (`profile`.`about` LIKE '%$search%') OR + (`profile`.`locality` LIKE '%$search%') OR + (`profile`.`region` LIKE '%$search%') OR + (`profile`.`country-name` LIKE '%$search%') OR + (`profile`.`pub_keywords` LIKE '%$search%') OR + (`profile`.`prv_keywords` LIKE '%$search%'))"; + } + + $publish = DI::config()->get('system', 'publish_all') ? '' : "`publish` = 1"; + + $total = 0; + $cnt = DBA::fetchFirst("SELECT COUNT(*) AS `total` FROM `profile` + INNER JOIN `user` ON `user`.`uid` = `profile`.`uid` + WHERE $publish AND NOT `user`.`blocked` AND NOT `user`.`account_removed` AND `user`.`page-flags` = ? $sql_extra", + User::PAGE_FLAGS_COMMUNITY); + if (DBA::isResult($cnt)) { + $total = $cnt['total']; + } + + $pager = new Pager(DI::l10n(), DI::args()->getQueryString(), 60); + + $order = " ORDER BY `name` ASC "; + + $limit = $pager->getStart() . "," . $pager->getItemsPerPage(); + + $r = DBA::p("SELECT `profile`.*, `user`.`nickname`, `user`.`timezone` , `user`.`page-flags`, + `contact`.`addr`, `contact`.`url` FROM `profile` + INNER JOIN `user` ON `user`.`uid` = `profile`.`uid` + INNER JOIN `contact` ON `contact`.`uid` = `user`.`uid` + WHERE $publish AND NOT `user`.`blocked` AND NOT `user`.`account_removed` AND `user`.`page-flags` = ? AND `contact`.`self` + $sql_extra $order LIMIT $limit", User::PAGE_FLAGS_COMMUNITY + ); + + if (DBA::isResult($r)) { + if (in_array('small', DI::args()->getArgv())) { + $photo = 'thumb'; + } else { + $photo = 'photo'; + } + + while ($rr = DBA::fetch($r)) { + $entries[] = Friendica\Module\Directory::formatEntry($rr, $photo); + } + DBA::close($r); + } else { + DI::sysmsg()->addNotice(DI::l10n()->t('No entries (some entries may be hidden).')); + } + + $tpl = Renderer::getMarkupTemplate('directory_header.tpl'); + $o .= Renderer::replaceMacros($tpl, [ + '$search' => $search, + '$globaldir' => DI::l10n()->t('Global Directory'), + '$gdirpath' => $gdirpath, + '$desc' => DI::l10n()->t('Find on this site'), + '$contacts' => $entries, + '$finding' => DI::l10n()->t('Results for:'), + '$findterm' => (strlen($search) ? $search : ""), + '$title' => DI::l10n()->t('Group Directory'), + '$search_mod' => 'groupdirectory', + '$submit' => DI::l10n()->t('Find'), + '$paginate' => $pager->renderFull($total), + ]); + + return $o; +} diff --git a/groupdirectory/lang/C/messages.po b/groupdirectory/lang/C/messages.po new file mode 100644 index 00000000..f83171f4 --- /dev/null +++ b/groupdirectory/lang/C/messages.po @@ -0,0 +1,46 @@ +# ADDON groupdirectory +# Copyright (C) +# This file is distributed under the same license as the Friendica groupdirectory addon package. +# +# +#, fuzzy +msgid "" +msgstr "" +"Project-Id-Version: \n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2023-06-03 15:49-0400\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" + +#: groupdirectory.php:40 groupdirectory.php:148 +msgid "Group Directory" +msgstr "" + +#: groupdirectory.php:64 +msgid "Public access denied." +msgstr "" + +#: groupdirectory.php:136 +msgid "No entries (some entries may be hidden)." +msgstr "" + +#: groupdirectory.php:142 +msgid "Global Directory" +msgstr "" + +#: groupdirectory.php:144 +msgid "Find on this site" +msgstr "" + +#: groupdirectory.php:146 +msgid "Results for:" +msgstr "" + +#: groupdirectory.php:150 +msgid "Find" +msgstr "" diff --git a/groupdirectory/lang/ar/messages.po b/groupdirectory/lang/ar/messages.po new file mode 100644 index 00000000..24380f0f --- /dev/null +++ b/groupdirectory/lang/ar/messages.po @@ -0,0 +1,50 @@ +# ADDON forumdirectory +# Copyright (C) +# This file is distributed under the same license as the Friendica forumdirectory addon package. +# +# +# Translators: +# abidin toumi , 2021 +# ButterflyOfFire, 2019 +# 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-10-29 10:27+0000\n" +"Last-Translator: abidin toumi \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" + +#: forumdirectory.php:33 forumdirectory.php:137 +msgid "Forum Directory" +msgstr "دليل المنتدى" + +#: forumdirectory.php:53 +msgid "Public access denied." +msgstr "رُفض الوصول العمومي." + +#: forumdirectory.php:125 +msgid "No entries (some entries may be hidden)." +msgstr "لا توجد مدخلات (قد تكون بعض المدخلات مخفية)." + +#: forumdirectory.php:131 +msgid "Global Directory" +msgstr "الدليل العالمي" + +#: forumdirectory.php:133 +msgid "Find on this site" +msgstr "ابحث في هذا الموقع" + +#: forumdirectory.php:135 +msgid "Results for:" +msgstr "النتائج:" + +#: forumdirectory.php:139 +msgid "Find" +msgstr "ابحث" diff --git a/groupdirectory/lang/ar/strings.php b/groupdirectory/lang/ar/strings.php new file mode 100644 index 00000000..eb6f3077 --- /dev/null +++ b/groupdirectory/lang/ar/strings.php @@ -0,0 +1,14 @@ +=3 && $n%100<=10) { return 3; } else if ($n%100>=11 && $n%100<=99) { return 4; } else { return 5; } +}} +$a->strings['Forum Directory'] = 'دليل المنتدى'; +$a->strings['Public access denied.'] = 'رُفض الوصول العمومي.'; +$a->strings['No entries (some entries may be hidden).'] = 'لا توجد مدخلات (قد تكون بعض المدخلات مخفية).'; +$a->strings['Global Directory'] = 'الدليل العالمي'; +$a->strings['Find on this site'] = 'ابحث في هذا الموقع'; +$a->strings['Results for:'] = 'النتائج:'; +$a->strings['Find'] = 'ابحث'; diff --git a/groupdirectory/lang/ca/messages.po b/groupdirectory/lang/ca/messages.po new file mode 100644 index 00000000..0aa19b1c --- /dev/null +++ b/groupdirectory/lang/ca/messages.po @@ -0,0 +1,80 @@ +# ADDON forumdirectory +# Copyright (C) +# This file is distributed under the same license as the Friendica forumdirectory addon package. +# +# +# Translators: +# Joan Bar , 2019 +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: 2019-10-18 18:57+0000\n" +"Last-Translator: Joan Bar \n" +"Language-Team: Catalan (http://www.transifex.com/Friendica/friendica/language/ca/)\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Language: ca\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" + +#: forumdirectory.php:22 +msgid "Forum Directory" +msgstr "Directori de fòrums" + +#: forumdirectory.php:53 +msgid "Public access denied." +msgstr "L'accés al públic s'ha denegat." + +#: forumdirectory.php:71 +msgid "Global Directory" +msgstr "Directori global" + +#: forumdirectory.php:79 +msgid "Find on this site" +msgstr "Cerqueu en aquest lloc" + +#: forumdirectory.php:81 +msgid "Finding: " +msgstr "Trobament:" + +#: forumdirectory.php:82 +msgid "Site Directory" +msgstr "Directori de llocs" + +#: forumdirectory.php:83 +msgid "Find" +msgstr "trobar" + +#: forumdirectory.php:133 +msgid "Age: " +msgstr "Edat:" + +#: forumdirectory.php:136 +msgid "Gender: " +msgstr "Gènere:" + +#: forumdirectory.php:156 +msgid "Location:" +msgstr "Ubicació:" + +#: forumdirectory.php:158 +msgid "Gender:" +msgstr "Gènere:" + +#: forumdirectory.php:160 +msgid "Status:" +msgstr "Estat:" + +#: forumdirectory.php:162 +msgid "Homepage:" +msgstr "Pàgina inicial:" + +#: forumdirectory.php:164 +msgid "About:" +msgstr "Sobre:" + +#: forumdirectory.php:201 +msgid "No entries (some entries may be hidden)." +msgstr "No hi ha entrades (algunes entrades poden estar ocultes)." diff --git a/groupdirectory/lang/ca/strings.php b/groupdirectory/lang/ca/strings.php new file mode 100644 index 00000000..07a39488 --- /dev/null +++ b/groupdirectory/lang/ca/strings.php @@ -0,0 +1,22 @@ +strings['Forum Directory'] = 'Directori de fòrums'; +$a->strings['Public access denied.'] = 'L\'accés al públic s\'ha denegat.'; +$a->strings['Global Directory'] = 'Directori global'; +$a->strings['Find on this site'] = 'Cerqueu en aquest lloc'; +$a->strings['Finding: '] = 'Trobament:'; +$a->strings['Site Directory'] = 'Directori de llocs'; +$a->strings['Find'] = 'trobar'; +$a->strings['Age: '] = 'Edat:'; +$a->strings['Gender: '] = 'Gènere:'; +$a->strings['Location:'] = 'Ubicació:'; +$a->strings['Gender:'] = 'Gènere:'; +$a->strings['Status:'] = 'Estat:'; +$a->strings['Homepage:'] = 'Pàgina inicial:'; +$a->strings['About:'] = 'Sobre:'; +$a->strings['No entries (some entries may be hidden).'] = 'No hi ha entrades (algunes entrades poden estar ocultes).'; diff --git a/groupdirectory/lang/cs/messages.po b/groupdirectory/lang/cs/messages.po new file mode 100644 index 00000000..138c26f3 --- /dev/null +++ b/groupdirectory/lang/cs/messages.po @@ -0,0 +1,81 @@ +# ADDON forumdirectory +# Copyright (C) +# This file is distributed under the same license as the Friendica forumdirectory addon package. +# +# +# Translators: +# Aditoo, 2018 +# michal_s , 2014 +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: 2018-09-11 19:04+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" + +#: forumdirectory.php:22 +msgid "Forum Directory" +msgstr "Adresář fór" + +#: forumdirectory.php:53 +msgid "Public access denied." +msgstr "Veřejný přístup odepřen." + +#: forumdirectory.php:71 +msgid "Global Directory" +msgstr "Globální adresář" + +#: forumdirectory.php:79 +msgid "Find on this site" +msgstr "Najít na tomto webu" + +#: forumdirectory.php:81 +msgid "Finding: " +msgstr "Hledání: " + +#: forumdirectory.php:82 +msgid "Site Directory" +msgstr "Adresář serveru" + +#: forumdirectory.php:83 +msgid "Find" +msgstr "Najít" + +#: forumdirectory.php:133 +msgid "Age: " +msgstr "Věk: " + +#: forumdirectory.php:136 +msgid "Gender: " +msgstr "Pohlaví: " + +#: forumdirectory.php:156 +msgid "Location:" +msgstr "Poloha:" + +#: forumdirectory.php:158 +msgid "Gender:" +msgstr "Pohlaví:" + +#: forumdirectory.php:160 +msgid "Status:" +msgstr "Stav:" + +#: forumdirectory.php:162 +msgid "Homepage:" +msgstr "Domovská stránka:" + +#: forumdirectory.php:164 +msgid "About:" +msgstr "O mě:" + +#: forumdirectory.php:201 +msgid "No entries (some entries may be hidden)." +msgstr "Žádné záznamy (některé položky mohou být skryty)." diff --git a/groupdirectory/lang/cs/strings.php b/groupdirectory/lang/cs/strings.php new file mode 100644 index 00000000..2e7d6378 --- /dev/null +++ b/groupdirectory/lang/cs/strings.php @@ -0,0 +1,22 @@ += 2 && $n <= 4 && $n % 1 == 0)) { return 1; } else if (($n % 1 != 0 )) { return 2; } else { return 3; } +}} +$a->strings['Forum Directory'] = 'Adresář fór'; +$a->strings['Public access denied.'] = 'Veřejný přístup odepřen.'; +$a->strings['Global Directory'] = 'Globální adresář'; +$a->strings['Find on this site'] = 'Najít na tomto webu'; +$a->strings['Finding: '] = 'Hledání: '; +$a->strings['Site Directory'] = 'Adresář serveru'; +$a->strings['Find'] = 'Najít'; +$a->strings['Age: '] = 'Věk: '; +$a->strings['Gender: '] = 'Pohlaví: '; +$a->strings['Location:'] = 'Poloha:'; +$a->strings['Gender:'] = 'Pohlaví:'; +$a->strings['Status:'] = 'Stav:'; +$a->strings['Homepage:'] = 'Domovská stránka:'; +$a->strings['About:'] = 'O mě:'; +$a->strings['No entries (some entries may be hidden).'] = 'Žádné záznamy (některé položky mohou být skryty).'; diff --git a/groupdirectory/lang/da-dk/messages.po b/groupdirectory/lang/da-dk/messages.po new file mode 100644 index 00000000..882c896e --- /dev/null +++ b/groupdirectory/lang/da-dk/messages.po @@ -0,0 +1,48 @@ +# ADDON forumdirectory +# Copyright (C) +# This file is distributed under the same license as the Friendica forumdirectory addon package. +# +# +# Translators: +# Anton , 2022 +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: 2014-06-22 12:31+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" + +#: forumdirectory.php:33 forumdirectory.php:137 +msgid "Forum Directory" +msgstr "Forum adressebog" + +#: forumdirectory.php:53 +msgid "Public access denied." +msgstr "Offentlig adgang nægtet." + +#: forumdirectory.php:125 +msgid "No entries (some entries may be hidden)." +msgstr "Ingen poster (nogle poster er måske skjulte)." + +#: forumdirectory.php:131 +msgid "Global Directory" +msgstr "Global adressebog" + +#: forumdirectory.php:133 +msgid "Find on this site" +msgstr "Find på denne side" + +#: forumdirectory.php:135 +msgid "Results for:" +msgstr "Resultater for:" + +#: forumdirectory.php:139 +msgid "Find" +msgstr "Find" diff --git a/groupdirectory/lang/da-dk/strings.php b/groupdirectory/lang/da-dk/strings.php new file mode 100644 index 00000000..fecaed71 --- /dev/null +++ b/groupdirectory/lang/da-dk/strings.php @@ -0,0 +1,14 @@ +strings['Forum Directory'] = 'Forum adressebog'; +$a->strings['Public access denied.'] = 'Offentlig adgang nægtet.'; +$a->strings['No entries (some entries may be hidden).'] = 'Ingen poster (nogle poster er måske skjulte).'; +$a->strings['Global Directory'] = 'Global adressebog'; +$a->strings['Find on this site'] = 'Find på denne side'; +$a->strings['Results for:'] = 'Resultater for:'; +$a->strings['Find'] = 'Find'; diff --git a/groupdirectory/lang/de/messages.po b/groupdirectory/lang/de/messages.po new file mode 100644 index 00000000..35ee4a55 --- /dev/null +++ b/groupdirectory/lang/de/messages.po @@ -0,0 +1,49 @@ +# ADDON forumdirectory +# Copyright (C) +# This file is distributed under the same license as the Friendica forumdirectory addon package. +# +# +# Translators: +# Tobias Diekershoff , 2014 +# Tobias Diekershoff , 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: 2014-06-22 12:31+0000\n" +"Last-Translator: Tobias Diekershoff , 2021\n" +"Language-Team: German (http://app.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" + +#: forumdirectory.php:33 forumdirectory.php:137 +msgid "Forum Directory" +msgstr "Foren Verzeichnis" + +#: forumdirectory.php:53 +msgid "Public access denied." +msgstr "Öffentlicher Zugriff verweigert." + +#: forumdirectory.php:125 +msgid "No entries (some entries may be hidden)." +msgstr "Keine Einträge (einige Einträge könnten versteckt sein)." + +#: forumdirectory.php:131 +msgid "Global Directory" +msgstr "Weltweites Verzeichnis" + +#: forumdirectory.php:133 +msgid "Find on this site" +msgstr "Auf diesem Server suchen" + +#: forumdirectory.php:135 +msgid "Results for:" +msgstr "Ergebnis für:" + +#: forumdirectory.php:139 +msgid "Find" +msgstr "Finde" diff --git a/groupdirectory/lang/de/strings.php b/groupdirectory/lang/de/strings.php new file mode 100644 index 00000000..081f3152 --- /dev/null +++ b/groupdirectory/lang/de/strings.php @@ -0,0 +1,14 @@ +strings['Forum Directory'] = 'Foren Verzeichnis'; +$a->strings['Public access denied.'] = 'Öffentlicher Zugriff verweigert.'; +$a->strings['No entries (some entries may be hidden).'] = 'Keine Einträge (einige Einträge könnten versteckt sein).'; +$a->strings['Global Directory'] = 'Weltweites Verzeichnis'; +$a->strings['Find on this site'] = 'Auf diesem Server suchen'; +$a->strings['Results for:'] = 'Ergebnis für:'; +$a->strings['Find'] = 'Finde'; diff --git a/groupdirectory/lang/eo/strings.php b/groupdirectory/lang/eo/strings.php new file mode 100644 index 00000000..4ec15e76 --- /dev/null +++ b/groupdirectory/lang/eo/strings.php @@ -0,0 +1,16 @@ +strings["Public access denied."] = "Publika atingo ne permesita."; +$a->strings["Global Directory"] = "Tutmonda Katalogo"; +$a->strings["Find on this site"] = "Trovi en ĉi retejo"; +$a->strings["Finding: "] = "Trovata:"; +$a->strings["Site Directory"] = "Reteja Katalogo"; +$a->strings["Find"] = "Trovi"; +$a->strings["Age: "] = "Aĝo:"; +$a->strings["Gender: "] = "Sekso:"; +$a->strings["Location:"] = "Loko:"; +$a->strings["Gender:"] = "Sekso:"; +$a->strings["Status:"] = "Stato:"; +$a->strings["Homepage:"] = "Hejmpaĝo:"; +$a->strings["About:"] = "Pri:"; +$a->strings["No entries (some entries may be hidden)."] = "Neniom da afiŝoj (kelkaj afiŝoj eble ne estas videbla)."; diff --git a/groupdirectory/lang/es/messages.po b/groupdirectory/lang/es/messages.po new file mode 100644 index 00000000..74948223 --- /dev/null +++ b/groupdirectory/lang/es/messages.po @@ -0,0 +1,49 @@ +# ADDON forumdirectory +# Copyright (C) +# This file is distributed under the same license as the Friendica forumdirectory addon package. +# +# +# Translators: +# Albert, 2016 +# 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-01 09:54+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" + +#: forumdirectory.php:33 forumdirectory.php:137 +msgid "Forum Directory" +msgstr "Directorio de foro" + +#: forumdirectory.php:53 +msgid "Public access denied." +msgstr "Acceso público denegado." + +#: forumdirectory.php:125 +msgid "No entries (some entries may be hidden)." +msgstr "Sin entradas (algunas entradas pueden estar ocultas)." + +#: forumdirectory.php:131 +msgid "Global Directory" +msgstr "Directorio global" + +#: forumdirectory.php:133 +msgid "Find on this site" +msgstr "Encontrar en esta página" + +#: forumdirectory.php:135 +msgid "Results for:" +msgstr "Resultados para:" + +#: forumdirectory.php:139 +msgid "Find" +msgstr "Encontrar" diff --git a/groupdirectory/lang/es/strings.php b/groupdirectory/lang/es/strings.php new file mode 100644 index 00000000..4f1a59f1 --- /dev/null +++ b/groupdirectory/lang/es/strings.php @@ -0,0 +1,14 @@ +strings['Forum Directory'] = 'Directorio de foro'; +$a->strings['Public access denied.'] = 'Acceso público denegado.'; +$a->strings['No entries (some entries may be hidden).'] = 'Sin entradas (algunas entradas pueden estar ocultas).'; +$a->strings['Global Directory'] = 'Directorio global'; +$a->strings['Find on this site'] = 'Encontrar en esta página'; +$a->strings['Results for:'] = 'Resultados para:'; +$a->strings['Find'] = 'Encontrar'; diff --git a/groupdirectory/lang/fi-fi/messages.po b/groupdirectory/lang/fi-fi/messages.po new file mode 100644 index 00000000..6c4f08c9 --- /dev/null +++ b/groupdirectory/lang/fi-fi/messages.po @@ -0,0 +1,81 @@ +# ADDON forumdirectory +# Copyright (C) +# This file is distributed under the same license as the Friendica forumdirectory addon package. +# +# +# Translators: +# Kris, 2018 +# Kris, 2018 +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: 2018-05-12 12:50+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" + +#: forumdirectory.php:22 +msgid "Forum Directory" +msgstr "Foorumihakemisto" + +#: forumdirectory.php:53 +msgid "Public access denied." +msgstr "Julkinen käyttö estetty." + +#: forumdirectory.php:71 +msgid "Global Directory" +msgstr "Maailmanlaajuinen hakemisto" + +#: forumdirectory.php:79 +msgid "Find on this site" +msgstr "Sivustohaku" + +#: forumdirectory.php:81 +msgid "Finding: " +msgstr "" + +#: forumdirectory.php:82 +msgid "Site Directory" +msgstr "Sivustoluettelo" + +#: forumdirectory.php:83 +msgid "Find" +msgstr "Etsi" + +#: forumdirectory.php:133 +msgid "Age: " +msgstr "Ikä:" + +#: forumdirectory.php:136 +msgid "Gender: " +msgstr "Sukupuoli:" + +#: forumdirectory.php:156 +msgid "Location:" +msgstr "Sijainti:" + +#: forumdirectory.php:158 +msgid "Gender:" +msgstr "Sukupuoli:" + +#: forumdirectory.php:160 +msgid "Status:" +msgstr "Tila:" + +#: forumdirectory.php:162 +msgid "Homepage:" +msgstr "Kotisivu:" + +#: forumdirectory.php:164 +msgid "About:" +msgstr "Lisätietoja:" + +#: forumdirectory.php:201 +msgid "No entries (some entries may be hidden)." +msgstr "Ei kohteita (jotkut kohteet saattaa olla piilotettuja)." diff --git a/groupdirectory/lang/fi-fi/strings.php b/groupdirectory/lang/fi-fi/strings.php new file mode 100644 index 00000000..70657d3c --- /dev/null +++ b/groupdirectory/lang/fi-fi/strings.php @@ -0,0 +1,21 @@ +strings['Forum Directory'] = 'Foorumihakemisto'; +$a->strings['Public access denied.'] = 'Julkinen käyttö estetty.'; +$a->strings['Global Directory'] = 'Maailmanlaajuinen hakemisto'; +$a->strings['Find on this site'] = 'Sivustohaku'; +$a->strings['Site Directory'] = 'Sivustoluettelo'; +$a->strings['Find'] = 'Etsi'; +$a->strings['Age: '] = 'Ikä:'; +$a->strings['Gender: '] = 'Sukupuoli:'; +$a->strings['Location:'] = 'Sijainti:'; +$a->strings['Gender:'] = 'Sukupuoli:'; +$a->strings['Status:'] = 'Tila:'; +$a->strings['Homepage:'] = 'Kotisivu:'; +$a->strings['About:'] = 'Lisätietoja:'; +$a->strings['No entries (some entries may be hidden).'] = 'Ei kohteita (jotkut kohteet saattaa olla piilotettuja).'; diff --git a/groupdirectory/lang/fr/messages.po b/groupdirectory/lang/fr/messages.po new file mode 100644 index 00000000..7f9e2458 --- /dev/null +++ b/groupdirectory/lang/fr/messages.po @@ -0,0 +1,51 @@ +# ADDON forumdirectory +# Copyright (C) +# This file is distributed under the same license as the Friendica forumdirectory addon package. +# +# +# Translators: +# bob lebonche , 2021 +# Hypolite Petovan , 2016 +# StefOfficiel , 2015 +# Valvin , 2019 +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: 2014-06-22 12:31+0000\n" +"Last-Translator: bob lebonche , 2021\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" + +#: forumdirectory.php:33 forumdirectory.php:137 +msgid "Forum Directory" +msgstr "Annuaire de Forums" + +#: forumdirectory.php:53 +msgid "Public access denied." +msgstr "Accès public refusé." + +#: forumdirectory.php:125 +msgid "No entries (some entries may be hidden)." +msgstr "Pas de résultats (certains résultats peuvent être cachés)." + +#: forumdirectory.php:131 +msgid "Global Directory" +msgstr "Annuaire Global" + +#: forumdirectory.php:133 +msgid "Find on this site" +msgstr "Trouver sur cette instance" + +#: forumdirectory.php:135 +msgid "Results for:" +msgstr "Résultats pour :" + +#: forumdirectory.php:139 +msgid "Find" +msgstr "Chercher" diff --git a/groupdirectory/lang/fr/strings.php b/groupdirectory/lang/fr/strings.php new file mode 100644 index 00000000..ac0e2323 --- /dev/null +++ b/groupdirectory/lang/fr/strings.php @@ -0,0 +1,14 @@ +strings['Forum Directory'] = 'Annuaire de Forums'; +$a->strings['Public access denied.'] = 'Accès public refusé.'; +$a->strings['No entries (some entries may be hidden).'] = 'Pas de résultats (certains résultats peuvent être cachés).'; +$a->strings['Global Directory'] = 'Annuaire Global'; +$a->strings['Find on this site'] = 'Trouver sur cette instance'; +$a->strings['Results for:'] = 'Résultats pour :'; +$a->strings['Find'] = 'Chercher'; diff --git a/groupdirectory/lang/hu/messages.po b/groupdirectory/lang/hu/messages.po new file mode 100644 index 00000000..996d310c --- /dev/null +++ b/groupdirectory/lang/hu/messages.po @@ -0,0 +1,48 @@ +# ADDON forumdirectory +# Copyright (C) +# This file is distributed under the same license as the Friendica forumdirectory addon package. +# +# +# Translators: +# Balázs Úr, 2020-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: 2014-06-22 12:31+0000\n" +"Last-Translator: Balázs Úr, 2020-2021\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" + +#: forumdirectory.php:33 forumdirectory.php:137 +msgid "Forum Directory" +msgstr "Fórumkönyvtár" + +#: forumdirectory.php:53 +msgid "Public access denied." +msgstr "Nyilvános hozzáférés megtagadva." + +#: forumdirectory.php:125 +msgid "No entries (some entries may be hidden)." +msgstr "Nincsenek bejegyzések (néhány bejegyzés rejtve lehet)." + +#: forumdirectory.php:131 +msgid "Global Directory" +msgstr "Globális könyvtár" + +#: forumdirectory.php:133 +msgid "Find on this site" +msgstr "Keresés ezen az oldalon" + +#: forumdirectory.php:135 +msgid "Results for:" +msgstr "Találatok ehhez:" + +#: forumdirectory.php:139 +msgid "Find" +msgstr "Keresés" diff --git a/groupdirectory/lang/hu/strings.php b/groupdirectory/lang/hu/strings.php new file mode 100644 index 00000000..290cf7ed --- /dev/null +++ b/groupdirectory/lang/hu/strings.php @@ -0,0 +1,14 @@ +strings['Forum Directory'] = 'Fórumkönyvtár'; +$a->strings['Public access denied.'] = 'Nyilvános hozzáférés megtagadva.'; +$a->strings['No entries (some entries may be hidden).'] = 'Nincsenek bejegyzések (néhány bejegyzés rejtve lehet).'; +$a->strings['Global Directory'] = 'Globális könyvtár'; +$a->strings['Find on this site'] = 'Keresés ezen az oldalon'; +$a->strings['Results for:'] = 'Találatok ehhez:'; +$a->strings['Find'] = 'Keresés'; diff --git a/groupdirectory/lang/is/strings.php b/groupdirectory/lang/is/strings.php new file mode 100644 index 00000000..da710b73 --- /dev/null +++ b/groupdirectory/lang/is/strings.php @@ -0,0 +1,16 @@ +strings["Public access denied."] = "Alemennings aðgangur ekki veittur."; +$a->strings["Global Directory"] = "Heims tengiliða skrá"; +$a->strings["Find on this site"] = "Leita á þessum vef"; +$a->strings["Finding: "] = "Niðurstöður:"; +$a->strings["Site Directory"] = "Vef tengiliða skrá"; +$a->strings["Find"] = "Finna"; +$a->strings["Age: "] = "Aldur:"; +$a->strings["Gender: "] = "Kyn:"; +$a->strings["Location:"] = "Staðsetning:"; +$a->strings["Gender:"] = "Kyn:"; +$a->strings["Status:"] = "Staða:"; +$a->strings["Homepage:"] = "Heimasíða:"; +$a->strings["About:"] = "Um:"; +$a->strings["No entries (some entries may be hidden)."] = "Engar færslur (sumar geta verið faldar)."; diff --git a/groupdirectory/lang/it/messages.po b/groupdirectory/lang/it/messages.po new file mode 100644 index 00000000..8e3e5fa3 --- /dev/null +++ b/groupdirectory/lang/it/messages.po @@ -0,0 +1,49 @@ +# ADDON forumdirectory +# Copyright (C) +# This file is distributed under the same license as the Friendica forumdirectory addon package. +# +# +# Translators: +# fabrixxm , 2014 +# Sylke Vicious , 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-16 12:56+0000\n" +"Last-Translator: Sylke Vicious \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" + +#: forumdirectory.php:33 forumdirectory.php:137 +msgid "Forum Directory" +msgstr "Elenco Forum" + +#: forumdirectory.php:53 +msgid "Public access denied." +msgstr "Accesso negato." + +#: forumdirectory.php:125 +msgid "No entries (some entries may be hidden)." +msgstr "Nessuna voce (qualche voce potrebbe essere nascosta)." + +#: forumdirectory.php:131 +msgid "Global Directory" +msgstr "Elenco globale" + +#: forumdirectory.php:133 +msgid "Find on this site" +msgstr "Cerca nel sito" + +#: forumdirectory.php:135 +msgid "Results for:" +msgstr "Risultati per:" + +#: forumdirectory.php:139 +msgid "Find" +msgstr "Trova" diff --git a/groupdirectory/lang/it/strings.php b/groupdirectory/lang/it/strings.php new file mode 100644 index 00000000..4378cec3 --- /dev/null +++ b/groupdirectory/lang/it/strings.php @@ -0,0 +1,14 @@ +strings['Forum Directory'] = 'Elenco Forum'; +$a->strings['Public access denied.'] = 'Accesso negato.'; +$a->strings['No entries (some entries may be hidden).'] = 'Nessuna voce (qualche voce potrebbe essere nascosta).'; +$a->strings['Global Directory'] = 'Elenco globale'; +$a->strings['Find on this site'] = 'Cerca nel sito'; +$a->strings['Results for:'] = 'Risultati per:'; +$a->strings['Find'] = 'Trova'; diff --git a/groupdirectory/lang/nb-no/strings.php b/groupdirectory/lang/nb-no/strings.php new file mode 100644 index 00000000..bcc94233 --- /dev/null +++ b/groupdirectory/lang/nb-no/strings.php @@ -0,0 +1,17 @@ +strings["Forum Directory"] = ""; +$a->strings["Public access denied."] = "Offentlig tilgang ikke tillatt."; +$a->strings["Global Directory"] = "Global katalog"; +$a->strings["Find on this site"] = ""; +$a->strings["Finding: "] = "Fant:"; +$a->strings["Site Directory"] = "Stedets katalog"; +$a->strings["Find"] = "Finn"; +$a->strings["Age: "] = "Alder:"; +$a->strings["Gender: "] = "Kjønn:"; +$a->strings["Location:"] = "Plassering:"; +$a->strings["Gender:"] = "Kjønn:"; +$a->strings["Status:"] = "Status:"; +$a->strings["Homepage:"] = "Hjemmeside:"; +$a->strings["About:"] = "Om:"; +$a->strings["No entries (some entries may be hidden)."] = "Ingen oppføringer (noen oppføringer kan være skjulte)."; diff --git a/groupdirectory/lang/nl/messages.po b/groupdirectory/lang/nl/messages.po new file mode 100644 index 00000000..746e1bff --- /dev/null +++ b/groupdirectory/lang/nl/messages.po @@ -0,0 +1,80 @@ +# ADDON forumdirectory +# Copyright (C) +# This file is distributed under the same license as the Friendica forumdirectory addon package. +# +# +# Translators: +# Jeroen De Meerleer , 2018 +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: 2018-08-24 13:21+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" + +#: forumdirectory.php:22 +msgid "Forum Directory" +msgstr "Forum index" + +#: forumdirectory.php:53 +msgid "Public access denied." +msgstr "Publieke toegang geweigerd" + +#: forumdirectory.php:71 +msgid "Global Directory" +msgstr "Globaal overzicht" + +#: forumdirectory.php:79 +msgid "Find on this site" +msgstr "Zoeken" + +#: forumdirectory.php:81 +msgid "Finding: " +msgstr "Zoeken..." + +#: forumdirectory.php:82 +msgid "Site Directory" +msgstr "Site overzicht" + +#: forumdirectory.php:83 +msgid "Find" +msgstr "Zoek" + +#: forumdirectory.php:133 +msgid "Age: " +msgstr "Leeftijd:" + +#: forumdirectory.php:136 +msgid "Gender: " +msgstr "Geslacht:" + +#: forumdirectory.php:156 +msgid "Location:" +msgstr "Woonplaats:" + +#: forumdirectory.php:158 +msgid "Gender:" +msgstr "Geslacht:" + +#: forumdirectory.php:160 +msgid "Status:" +msgstr "Status:" + +#: forumdirectory.php:162 +msgid "Homepage:" +msgstr "Website:" + +#: forumdirectory.php:164 +msgid "About:" +msgstr "Over:" + +#: forumdirectory.php:201 +msgid "No entries (some entries may be hidden)." +msgstr "Geen berichten (sommige berichten kunnen verborgen zijn)." diff --git a/groupdirectory/lang/nl/strings.php b/groupdirectory/lang/nl/strings.php new file mode 100644 index 00000000..ae764ed7 --- /dev/null +++ b/groupdirectory/lang/nl/strings.php @@ -0,0 +1,22 @@ +strings['Forum Directory'] = 'Forum index'; +$a->strings['Public access denied.'] = 'Publieke toegang geweigerd'; +$a->strings['Global Directory'] = 'Globaal overzicht'; +$a->strings['Find on this site'] = 'Zoeken'; +$a->strings['Finding: '] = 'Zoeken...'; +$a->strings['Site Directory'] = 'Site overzicht'; +$a->strings['Find'] = 'Zoek'; +$a->strings['Age: '] = 'Leeftijd:'; +$a->strings['Gender: '] = 'Geslacht:'; +$a->strings['Location:'] = 'Woonplaats:'; +$a->strings['Gender:'] = 'Geslacht:'; +$a->strings['Status:'] = 'Status:'; +$a->strings['Homepage:'] = 'Website:'; +$a->strings['About:'] = 'Over:'; +$a->strings['No entries (some entries may be hidden).'] = 'Geen berichten (sommige berichten kunnen verborgen zijn).'; diff --git a/groupdirectory/lang/pl/messages.po b/groupdirectory/lang/pl/messages.po new file mode 100644 index 00000000..49226ac0 --- /dev/null +++ b/groupdirectory/lang/pl/messages.po @@ -0,0 +1,50 @@ +# ADDON forumdirectory +# Copyright (C) +# This file is distributed under the same license as the Friendica forumdirectory addon package. +# +# +# Translators: +# TORminator , 2015 +# Piotr Strębski , 2022 +# Waldemar Stoczkowski, 2018 +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: 2014-06-22 12:31+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" + +#: forumdirectory.php:33 forumdirectory.php:137 +msgid "Forum Directory" +msgstr "Katalog forum" + +#: forumdirectory.php:53 +msgid "Public access denied." +msgstr "Odmowa dostępu publicznego." + +#: forumdirectory.php:125 +msgid "No entries (some entries may be hidden)." +msgstr "Brak wpisów (niektóre wpisy mogą być ukryte)." + +#: forumdirectory.php:131 +msgid "Global Directory" +msgstr "Globalny katalog" + +#: forumdirectory.php:133 +msgid "Find on this site" +msgstr "Znajdź na tej stronie" + +#: forumdirectory.php:135 +msgid "Results for:" +msgstr "Wyniki dla:" + +#: forumdirectory.php:139 +msgid "Find" +msgstr "Szukaj" diff --git a/groupdirectory/lang/pl/strings.php b/groupdirectory/lang/pl/strings.php new file mode 100644 index 00000000..9bf60bd7 --- /dev/null +++ b/groupdirectory/lang/pl/strings.php @@ -0,0 +1,14 @@ +=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['Forum Directory'] = 'Katalog forum'; +$a->strings['Public access denied.'] = 'Odmowa dostępu publicznego.'; +$a->strings['No entries (some entries may be hidden).'] = 'Brak wpisów (niektóre wpisy mogą być ukryte).'; +$a->strings['Global Directory'] = 'Globalny katalog'; +$a->strings['Find on this site'] = 'Znajdź na tej stronie'; +$a->strings['Results for:'] = 'Wyniki dla:'; +$a->strings['Find'] = 'Szukaj'; diff --git a/groupdirectory/lang/pt-br/messages.po b/groupdirectory/lang/pt-br/messages.po new file mode 100644 index 00000000..c8d528ed --- /dev/null +++ b/groupdirectory/lang/pt-br/messages.po @@ -0,0 +1,80 @@ +# ADDON forumdirectory +# Copyright (C) +# This file is distributed under the same license as the Friendica forumdirectory 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-19 17:03+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" + +#: forumdirectory.php:22 +msgid "Forum Directory" +msgstr "Diretório de Fóruns" + +#: forumdirectory.php:53 +msgid "Public access denied." +msgstr "Acesso do público negado." + +#: forumdirectory.php:71 +msgid "Global Directory" +msgstr "Diretório Global" + +#: forumdirectory.php:79 +msgid "Find on this site" +msgstr "Procurar neste site" + +#: forumdirectory.php:81 +msgid "Finding: " +msgstr "Procurando:" + +#: forumdirectory.php:82 +msgid "Site Directory" +msgstr "Diretório do Site" + +#: forumdirectory.php:83 +msgid "Find" +msgstr "Procurar" + +#: forumdirectory.php:133 +msgid "Age: " +msgstr "Idade:" + +#: forumdirectory.php:136 +msgid "Gender: " +msgstr "Sexo:" + +#: forumdirectory.php:156 +msgid "Location:" +msgstr "Local:" + +#: forumdirectory.php:158 +msgid "Gender:" +msgstr "Sexo:" + +#: forumdirectory.php:160 +msgid "Status:" +msgstr "Estado:" + +#: forumdirectory.php:162 +msgid "Homepage:" +msgstr "Página principal:" + +#: forumdirectory.php:164 +msgid "About:" +msgstr "Sobre:" + +#: forumdirectory.php:201 +msgid "No entries (some entries may be hidden)." +msgstr "Sem resultados (alguns resultados podem estar ocultos)." diff --git a/groupdirectory/lang/pt-br/strings.php b/groupdirectory/lang/pt-br/strings.php new file mode 100644 index 00000000..8c6d216e --- /dev/null +++ b/groupdirectory/lang/pt-br/strings.php @@ -0,0 +1,22 @@ + 1); +}} +$a->strings['Forum Directory'] = 'Diretório de Fóruns'; +$a->strings['Public access denied.'] = 'Acesso do público negado.'; +$a->strings['Global Directory'] = 'Diretório Global'; +$a->strings['Find on this site'] = 'Procurar neste site'; +$a->strings['Finding: '] = 'Procurando:'; +$a->strings['Site Directory'] = 'Diretório do Site'; +$a->strings['Find'] = 'Procurar'; +$a->strings['Age: '] = 'Idade:'; +$a->strings['Gender: '] = 'Sexo:'; +$a->strings['Location:'] = 'Local:'; +$a->strings['Gender:'] = 'Sexo:'; +$a->strings['Status:'] = 'Estado:'; +$a->strings['Homepage:'] = 'Página principal:'; +$a->strings['About:'] = 'Sobre:'; +$a->strings['No entries (some entries may be hidden).'] = 'Sem resultados (alguns resultados podem estar ocultos).'; diff --git a/groupdirectory/lang/ro/messages.po b/groupdirectory/lang/ro/messages.po new file mode 100644 index 00000000..84de16f3 --- /dev/null +++ b/groupdirectory/lang/ro/messages.po @@ -0,0 +1,79 @@ +# ADDON forumdirectory +# Copyright (C) +# This file is distributed under the same license as the Friendica forumdirectory addon package. +# +# +# Translators: +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: 2014-07-08 11:49+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" + +#: forumdirectory.php:22 +msgid "Forum Directory" +msgstr "Director Forum" + +#: forumdirectory.php:53 +msgid "Public access denied." +msgstr "Acces public refuzat." + +#: forumdirectory.php:71 +msgid "Global Directory" +msgstr "Director Global" + +#: forumdirectory.php:79 +msgid "Find on this site" +msgstr "Căutați pe acest site" + +#: forumdirectory.php:81 +msgid "Finding: " +msgstr "Căutare:" + +#: forumdirectory.php:82 +msgid "Site Directory" +msgstr "Director Site" + +#: forumdirectory.php:83 +msgid "Find" +msgstr "Căutați" + +#: forumdirectory.php:133 +msgid "Age: " +msgstr "Vârsta:" + +#: forumdirectory.php:136 +msgid "Gender: " +msgstr "Sex:" + +#: forumdirectory.php:156 +msgid "Location:" +msgstr "Locație:" + +#: forumdirectory.php:158 +msgid "Gender:" +msgstr "Sex:" + +#: forumdirectory.php:160 +msgid "Status:" +msgstr "Status:" + +#: forumdirectory.php:162 +msgid "Homepage:" +msgstr "Pagină web:" + +#: forumdirectory.php:164 +msgid "About:" +msgstr "Despre:" + +#: forumdirectory.php:201 +msgid "No entries (some entries may be hidden)." +msgstr "Fără înregistrări (unele înregistrări pot fi ascunse)." diff --git a/groupdirectory/lang/ro/strings.php b/groupdirectory/lang/ro/strings.php new file mode 100644 index 00000000..750fe1e1 --- /dev/null +++ b/groupdirectory/lang/ro/strings.php @@ -0,0 +1,22 @@ +19)||(($n%100==0)&&($n!=0)))) { return 2; } else { return 1; } +}} +$a->strings['Forum Directory'] = 'Director Forum'; +$a->strings['Public access denied.'] = 'Acces public refuzat.'; +$a->strings['Global Directory'] = 'Director Global'; +$a->strings['Find on this site'] = 'Căutați pe acest site'; +$a->strings['Finding: '] = 'Căutare:'; +$a->strings['Site Directory'] = 'Director Site'; +$a->strings['Find'] = 'Căutați'; +$a->strings['Age: '] = 'Vârsta:'; +$a->strings['Gender: '] = 'Sex:'; +$a->strings['Location:'] = 'Locație:'; +$a->strings['Gender:'] = 'Sex:'; +$a->strings['Status:'] = 'Status:'; +$a->strings['Homepage:'] = 'Pagină web:'; +$a->strings['About:'] = 'Despre:'; +$a->strings['No entries (some entries may be hidden).'] = 'Fără înregistrări (unele înregistrări pot fi ascunse).'; diff --git a/groupdirectory/lang/ru/messages.po b/groupdirectory/lang/ru/messages.po new file mode 100644 index 00000000..48250ba6 --- /dev/null +++ b/groupdirectory/lang/ru/messages.po @@ -0,0 +1,80 @@ +# ADDON forumdirectory +# Copyright (C) +# This file is distributed under the same license as the Friendica forumdirectory addon package. +# +# +# Translators: +# Stanislav N. , 2017 +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: 2017-04-08 17:12+0000\n" +"Last-Translator: Stanislav N. \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" + +#: forumdirectory.php:22 +msgid "Forum Directory" +msgstr "Каталог форумов" + +#: forumdirectory.php:53 +msgid "Public access denied." +msgstr "Свободный доступ закрыт." + +#: forumdirectory.php:71 +msgid "Global Directory" +msgstr "Глобальный каталог" + +#: forumdirectory.php:79 +msgid "Find on this site" +msgstr "Найти на этом сайте" + +#: forumdirectory.php:81 +msgid "Finding: " +msgstr "Результат поиска: " + +#: forumdirectory.php:82 +msgid "Site Directory" +msgstr "Каталог сайта" + +#: forumdirectory.php:83 +msgid "Find" +msgstr "Найти" + +#: forumdirectory.php:133 +msgid "Age: " +msgstr "Возраст: " + +#: forumdirectory.php:136 +msgid "Gender: " +msgstr "Пол: " + +#: forumdirectory.php:156 +msgid "Location:" +msgstr "Откуда:" + +#: forumdirectory.php:158 +msgid "Gender:" +msgstr "Пол:" + +#: forumdirectory.php:160 +msgid "Status:" +msgstr "Статус:" + +#: forumdirectory.php:162 +msgid "Homepage:" +msgstr "Домашняя страничка:" + +#: forumdirectory.php:164 +msgid "About:" +msgstr "О себе:" + +#: forumdirectory.php:201 +msgid "No entries (some entries may be hidden)." +msgstr "Нет записей (некоторые записи могут быть скрыты)." diff --git a/groupdirectory/lang/ru/strings.php b/groupdirectory/lang/ru/strings.php new file mode 100644 index 00000000..54954d72 --- /dev/null +++ b/groupdirectory/lang/ru/strings.php @@ -0,0 +1,22 @@ +=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['Forum Directory'] = 'Каталог форумов'; +$a->strings['Public access denied.'] = 'Свободный доступ закрыт.'; +$a->strings['Global Directory'] = 'Глобальный каталог'; +$a->strings['Find on this site'] = 'Найти на этом сайте'; +$a->strings['Finding: '] = 'Результат поиска: '; +$a->strings['Site Directory'] = 'Каталог сайта'; +$a->strings['Find'] = 'Найти'; +$a->strings['Age: '] = 'Возраст: '; +$a->strings['Gender: '] = 'Пол: '; +$a->strings['Location:'] = 'Откуда:'; +$a->strings['Gender:'] = 'Пол:'; +$a->strings['Status:'] = 'Статус:'; +$a->strings['Homepage:'] = 'Домашняя страничка:'; +$a->strings['About:'] = 'О себе:'; +$a->strings['No entries (some entries may be hidden).'] = 'Нет записей (некоторые записи могут быть скрыты).'; diff --git a/groupdirectory/lang/sv/messages.po b/groupdirectory/lang/sv/messages.po new file mode 100644 index 00000000..cf3ebfde --- /dev/null +++ b/groupdirectory/lang/sv/messages.po @@ -0,0 +1,49 @@ +# ADDON forumdirectory +# Copyright (C) +# This file is distributed under the same license as the Friendica forumdirectory addon package. +# +# +# Translators: +# Hypolite Petovan , 2019 +# Kristoffer Grundström , 2022 +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: 2022-01-15 23:39+0000\n" +"Last-Translator: Kristoffer Grundström \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" + +#: forumdirectory.php:33 forumdirectory.php:137 +msgid "Forum Directory" +msgstr "Forum-mapp" + +#: forumdirectory.php:53 +msgid "Public access denied." +msgstr "Publik åtkomst nekades." + +#: forumdirectory.php:125 +msgid "No entries (some entries may be hidden)." +msgstr "Inget att visa. (Man kan välja att inte synas här)" + +#: forumdirectory.php:131 +msgid "Global Directory" +msgstr "Medlemskatalog för flera sajter (global)" + +#: forumdirectory.php:133 +msgid "Find on this site" +msgstr "Hitta på den här sidan" + +#: forumdirectory.php:135 +msgid "Results for:" +msgstr "" + +#: forumdirectory.php:139 +msgid "Find" +msgstr "Sök" diff --git a/groupdirectory/lang/sv/strings.php b/groupdirectory/lang/sv/strings.php new file mode 100644 index 00000000..0f06eaa3 --- /dev/null +++ b/groupdirectory/lang/sv/strings.php @@ -0,0 +1,13 @@ +strings['Forum Directory'] = 'Forum-mapp'; +$a->strings['Public access denied.'] = 'Publik åtkomst nekades.'; +$a->strings['No entries (some entries may be hidden).'] = 'Inget att visa. (Man kan välja att inte synas här)'; +$a->strings['Global Directory'] = 'Medlemskatalog för flera sajter (global)'; +$a->strings['Find on this site'] = 'Hitta på den här sidan'; +$a->strings['Find'] = 'Sök'; diff --git a/groupdirectory/lang/zh-cn/strings.php b/groupdirectory/lang/zh-cn/strings.php new file mode 100644 index 00000000..4b5c78ba --- /dev/null +++ b/groupdirectory/lang/zh-cn/strings.php @@ -0,0 +1,17 @@ +strings["Forum Directory"] = "评坛目录"; +$a->strings["Public access denied."] = "公众看拒绝"; +$a->strings["Global Directory"] = "综合目录"; +$a->strings["Find on this site"] = "找在这网站"; +$a->strings["Finding: "] = "找着:"; +$a->strings["Site Directory"] = "网站目录"; +$a->strings["Find"] = "搜索"; +$a->strings["Age: "] = "年纪:"; +$a->strings["Gender: "] = "性别:"; +$a->strings["Location:"] = "位置:"; +$a->strings["Gender:"] = "性别:"; +$a->strings["Status:"] = "现状:"; +$a->strings["Homepage:"] = "主页:"; +$a->strings["About:"] = "关于:"; +$a->strings["No entries (some entries may be hidden)."] = "没有文章(有的文章会被隐藏)。"; diff --git a/js_upload/lang/C/messages.po b/js_upload/lang/C/messages.po index 4d16fe17..0d607bd5 100644 --- a/js_upload/lang/C/messages.po +++ b/js_upload/lang/C/messages.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: \n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2021-03-23 23:53-0400\n" +"POT-Creation-Date: 2023-06-03 15:49-0400\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" @@ -17,40 +17,40 @@ msgstr "" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" -#: js_upload.php:34 +#: js_upload.php:37 msgid "Select files for upload" msgstr "" -#: js_upload.php:35 +#: js_upload.php:38 msgid "Drop files here to upload" msgstr "" -#: js_upload.php:36 +#: js_upload.php:39 msgid "Cancel" msgstr "" -#: js_upload.php:37 +#: js_upload.php:40 msgid "Failed" msgstr "" -#: js_upload.php:215 +#: js_upload.php:209 msgid "No files were uploaded." msgstr "" -#: js_upload.php:221 +#: js_upload.php:215 msgid "Uploaded file is empty" msgstr "" -#: js_upload.php:233 +#: js_upload.php:227 #, php-format msgid "Image exceeds size limit of %s" msgstr "" -#: js_upload.php:245 +#: js_upload.php:239 #, php-format msgid "File has an invalid extension, it should be one of %s." msgstr "" -#: js_upload.php:256 +#: js_upload.php:250 msgid "Upload was cancelled, or server error encountered" msgstr "" diff --git a/js_upload/templates/js_upload.tpl b/js_upload/templates/js_upload.tpl index f45b495c..b482cd2b 100644 --- a/js_upload/templates/js_upload.tpl +++ b/js_upload/templates/js_upload.tpl @@ -35,18 +35,18 @@ let albumElm = document.getElementById('photos-upload-album-select'); let contact_allow = document.querySelector('[name="contact_allow"]:not(:disabled)'); - let group_allow = document.querySelector('[name="group_allow"]:not(:disabled)'); - let contact_deny = document.querySelector('[name="contact_deny"]:not(:disabled)'); - let group_deny = document.querySelector('[name="group_deny"]:not(:disabled)'); + let circle_allow = document.querySelector('[name="circle_allow"]:not(:disabled)'); + let contact_deny = document.querySelector('[name="contact_deny"]:not(:disabled)'); + let circle_deny = document.querySelector('[name="circle_deny"]:not(:disabled)'); uploader.setParams({ newalbum : newalbumElm ? newalbumElm.value : '', album : albumElm ? albumElm.value : '', not_visible : document.getElementById('photos-upload-noshare').checked, contact_allow : contact_allow ? contact_allow.value : '', - group_allow : group_allow ? group_allow.value : '', + circle_allow : circle_allow ? circle_allow.value : '', contact_deny : contact_deny ? contact_deny.value : '', - group_deny : group_deny ? group_deny.value : '', + circle_deny : circle_deny ? circle_deny.value : '', }); } }); diff --git a/libertree/lang/C/messages.po b/libertree/lang/C/messages.po index 6feeef8d..3162b6a7 100644 --- a/libertree/lang/C/messages.po +++ b/libertree/lang/C/messages.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: \n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2021-11-21 19:17-0500\n" +"POT-Creation-Date: 2023-06-03 15:49-0400\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" @@ -21,22 +21,22 @@ msgstr "" msgid "Post to libertree" msgstr "" -#: libertree.php:60 +#: libertree.php:59 msgid "Enable Libertree Post Addon" msgstr "" -#: libertree.php:61 +#: libertree.php:60 msgid "Libertree site URL" msgstr "" -#: libertree.php:62 +#: libertree.php:61 msgid "Libertree API token" msgstr "" -#: libertree.php:63 +#: libertree.php:62 msgid "Post to Libertree by default" msgstr "" -#: libertree.php:68 +#: libertree.php:67 msgid "Libertree Export" msgstr "" diff --git a/libertree/libertree.php b/libertree/libertree.php index 8e8c9ba9..c0f896c0 100644 --- a/libertree/libertree.php +++ b/libertree/libertree.php @@ -151,7 +151,7 @@ function libertree_send(array &$b) } // Dont't post if the post doesn't belong to us. - // This is a check for forum postings + // This is a check for group postings $self = DBA::selectFirst('contact', ['id'], ['uid' => $b['uid'], 'self' => true]); if ($b['contact-id'] != $self['id']) { return; diff --git a/newmemberwidget/README.md b/newmemberwidget/README.md index 39522238..e467708e 100644 --- a/newmemberwidget/README.md +++ b/newmemberwidget/README.md @@ -5,8 +5,8 @@ With this addon you can enable a widget for the sidebar of the network tab, which will be displayed for new members. It contains a linkt to friendicas introduction pages at /newmember and optionally - * a link to the global support forum - * a link to an eventually existing local support forum + * a link to the global support group + * a link to an eventually existing local support group * a welcome message you might want to send to your new members. There is no extra styling added for this added, so it should work with any diff --git a/newmemberwidget/lang/C/messages.po b/newmemberwidget/lang/C/messages.po index 1e7d608a..0dc91e13 100644 --- a/newmemberwidget/lang/C/messages.po +++ b/newmemberwidget/lang/C/messages.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: \n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2021-02-01 18:15+0100\n" +"POT-Creation-Date: 2023-06-03 15:50-0400\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" @@ -26,48 +26,48 @@ msgid "Tips for New Members" msgstr "" #: newmemberwidget.php:33 -msgid "Global Support Forum" +msgid "Global Support Group" msgstr "" #: newmemberwidget.php:37 -msgid "Local Support Forum" +msgid "Local Support Group" msgstr "" -#: newmemberwidget.php:65 +#: newmemberwidget.php:62 msgid "Save Settings" msgstr "" -#: newmemberwidget.php:66 +#: newmemberwidget.php:63 msgid "Message" msgstr "" -#: newmemberwidget.php:66 +#: newmemberwidget.php:63 msgid "Your message for new members. You can use bbcode here." msgstr "" -#: newmemberwidget.php:67 -msgid "Add a link to global support forum" +#: newmemberwidget.php:64 +msgid "Add a link to global support group" msgstr "" -#: newmemberwidget.php:67 -msgid "Should a link to the global support forum be displayed?" +#: newmemberwidget.php:64 +msgid "Should a link to the global support group be displayed?" msgstr "" -#: newmemberwidget.php:68 -msgid "Add a link to the local support forum" +#: newmemberwidget.php:65 +msgid "Add a link to the local support group" msgstr "" -#: newmemberwidget.php:68 +#: newmemberwidget.php:65 msgid "" -"If you have a local support forum and want to have a link displayed in the " +"If you have a local support group and want to have a link displayed in the " "widget, check this box." msgstr "" -#: newmemberwidget.php:69 +#: newmemberwidget.php:66 msgid "Name of the local support group" msgstr "" -#: newmemberwidget.php:69 +#: newmemberwidget.php:66 msgid "" "If you checked the above, specify the nickname of the local support " "group here (i.e. helpers)" diff --git a/newmemberwidget/newmemberwidget.php b/newmemberwidget/newmemberwidget.php index 356597b7..6cd79c37 100644 --- a/newmemberwidget/newmemberwidget.php +++ b/newmemberwidget/newmemberwidget.php @@ -30,11 +30,11 @@ function newmemberwidget_network_mod_init ($b) $t .= '' . DI::l10n()->t('Tips for New Members') . '
'; if (DI::config()->get('newmemberwidget','linkglobalsupport', false)) { - $t .= ''.DI::l10n()->t('Global Support Forum').'
'; + $t .= '' . DI::l10n()->t('Global Support Group') . '
'; } if (DI::config()->get('newmemberwidget','linklocalsupport', false)) { - $t .= ''.DI::l10n()->t('Local Support Forum').'
'; + $t .= '' . DI::l10n()->t('Local Support Group') . '
'; } $ft = DI::config()->get('newmemberwidget','freetext', ''); @@ -61,8 +61,8 @@ function newmemberwidget_addon_admin(string &$o) $o = Renderer::replaceMacros($t, [ '$submit' => DI::l10n()->t('Save Settings'), '$freetext' => ["freetext", DI::l10n()->t("Message"), DI::config()->get("newmemberwidget", "freetext"), DI::l10n()->t("Your message for new members. You can use bbcode here.")], - '$linkglobalsupport' => ["linkglobalsupport", DI::l10n()->t('Add a link to global support forum'), DI::config()->get('newmemberwidget', 'linkglobalsupport'), DI::l10n()->t('Should a link to the global support forum be displayed?')." (@helpers)"], - '$linklocalsupport' => ["linklocalsupport", DI::l10n()->t('Add a link to the local support forum'), DI::config()->get('newmemberwidget', 'linklocalsupport'), DI::l10n()->t('If you have a local support forum and want to have a link displayed in the widget, check this box.')], + '$linkglobalsupport' => ["linkglobalsupport", DI::l10n()->t('Add a link to global support group'), DI::config()->get('newmemberwidget', 'linkglobalsupport'), DI::l10n()->t('Should a link to the global support group be displayed?')." (@helpers)"], + '$linklocalsupport' => ["linklocalsupport", DI::l10n()->t('Add a link to the local support group'), DI::config()->get('newmemberwidget', 'linklocalsupport'), DI::l10n()->t('If you have a local support group and want to have a link displayed in the widget, check this box.')], '$localsupportname' => ["localsupportname", DI::l10n()->t('Name of the local support group'), DI::config()->get('newmemberwidget', 'localsupport'), DI::l10n()->t('If you checked the above, specify the nickname of the local support group here (i.e. helpers)')], ]); } diff --git a/pumpio/lang/C/messages.po b/pumpio/lang/C/messages.po index baac56e6..7e14cd79 100644 --- a/pumpio/lang/C/messages.po +++ b/pumpio/lang/C/messages.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: \n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2021-11-21 19:17-0500\n" +"POT-Creation-Date: 2023-06-03 15:50-0400\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" @@ -17,76 +17,76 @@ msgstr "" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" -#: pumpio.php:57 +#: pumpio.php:62 msgid "Permission denied." msgstr "" -#: pumpio.php:152 +#: pumpio.php:156 #, php-format msgid "Unable to register the client at the pump.io server '%s'." msgstr "" -#: pumpio.php:192 +#: pumpio.php:196 msgid "You are now authenticated to pumpio." msgstr "" -#: pumpio.php:193 +#: pumpio.php:197 msgid "return to the connector page" msgstr "" -#: pumpio.php:213 +#: pumpio.php:217 msgid "Post to pumpio" msgstr "" -#: pumpio.php:237 +#: pumpio.php:241 msgid "Save Settings" msgstr "" -#: pumpio.php:239 +#: pumpio.php:243 msgid "Delete this preset" msgstr "" -#: pumpio.php:245 +#: pumpio.php:249 msgid "Authenticate your pump.io connection" msgstr "" -#: pumpio.php:252 +#: pumpio.php:256 msgid "Pump.io servername (without \"http://\" or \"https://\" )" msgstr "" -#: pumpio.php:253 +#: pumpio.php:257 msgid "Pump.io username (without the servername)" msgstr "" -#: pumpio.php:254 +#: pumpio.php:258 msgid "Import the remote timeline" msgstr "" -#: pumpio.php:255 +#: pumpio.php:259 msgid "Enable Pump.io Post Addon" msgstr "" -#: pumpio.php:256 +#: pumpio.php:260 msgid "Post to Pump.io by default" msgstr "" -#: pumpio.php:257 +#: pumpio.php:261 msgid "Should posts be public?" msgstr "" -#: pumpio.php:258 +#: pumpio.php:262 msgid "Mirror all public posts" msgstr "" -#: pumpio.php:263 +#: pumpio.php:267 msgid "Pump.io Import/Export/Mirror" msgstr "" -#: pumpio.php:920 +#: pumpio.php:924 msgid "status" msgstr "" -#: pumpio.php:924 +#: pumpio.php:928 #, php-format msgid "%1$s likes %2$s's %3$s" msgstr "" diff --git a/pumpio/pumpio.php b/pumpio/pumpio.php index 026bd089..6600696e 100644 --- a/pumpio/pumpio.php +++ b/pumpio/pumpio.php @@ -18,7 +18,7 @@ use Friendica\Core\Worker; use Friendica\Database\DBA; use Friendica\DI; use Friendica\Model\Contact; -use Friendica\Model\Group; +use Friendica\Model\Circle; use Friendica\Model\Item; use Friendica\Model\Post; use Friendica\Model\User; @@ -417,7 +417,7 @@ function pumpio_send(array &$b) } // Dont't post if the post doesn't belong to us. - // This is a check for forum postings + // This is a check for group postings $self = User::getOwnerDataById($b['uid']); if ($b['contact-id'] != $self['id']) { return; @@ -976,7 +976,7 @@ function pumpio_get_contact($uid, $contact, $no_insert = false) $contact_id = $r['id']; - Group::addMember(User::getDefaultGroup($uid), $contact_id); + Circle::addMember(User::getDefaultCircle($uid), $contact_id); } else { $contact_id = $r['id']; } @@ -1353,8 +1353,8 @@ function pumpio_getreceiver(array $b) $gid = trim($gid, ' <>'); $contacts = DBA::p("SELECT `contact`.`name`, `contact`.`nick`, `contact`.`url`, `contact`.`network` - FROM `group_member`, `contact` WHERE `group_member`.`gid` = ? - AND `contact`.`id` = `group_member`.`contact-id` AND `contact`.`network` = ?", + FROM `group_member` AS `circle_member`, `contact` WHERE `circle_member`.`gid` = ? + AND `contact`.`id` = `circle_member`.`contact-id` AND `contact`.`network` = ?", $gid, Protocol::PUMPIO); while ($row = DBA::fetch($contacts)) { diff --git a/statusnet/statusnet.php b/statusnet/statusnet.php index 8fe64f34..f0372852 100644 --- a/statusnet/statusnet.php +++ b/statusnet/statusnet.php @@ -350,7 +350,7 @@ function statusnet_post_hook(array &$b) } // Dont't post if the post doesn't belong to us. - // This is a check for forum postings + // This is a check for group postings $self = DBA::selectFirst('contact', ['id'], ['uid' => $b['uid'], 'self' => true]); if ($b['contact-id'] != $self['id']) { return; diff --git a/twitter/lang/C/messages.po b/twitter/lang/C/messages.po index 43d00fc1..bbab254d 100644 --- a/twitter/lang/C/messages.po +++ b/twitter/lang/C/messages.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: \n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2022-11-13 10:15+0000\n" +"POT-Creation-Date: 2023-06-03 15:50-0400\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" @@ -17,23 +17,23 @@ msgstr "" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" -#: twitter.php:216 +#: twitter.php:220 msgid "Post to Twitter" msgstr "" -#: twitter.php:263 +#: twitter.php:267 msgid "" "You submitted an empty PIN, please Sign In with Twitter again to get a new " "one." msgstr "" -#: twitter.php:330 +#: twitter.php:334 msgid "" "No consumer key pair for Twitter found. Please contact your site " "administrator." msgstr "" -#: twitter.php:343 +#: twitter.php:347 msgid "" "At this Friendica instance the Twitter addon was enabled but you have not " "yet connected your account to your Twitter account. To do so click the " @@ -42,26 +42,26 @@ msgid "" "be posted to Twitter." msgstr "" -#: twitter.php:344 +#: twitter.php:348 msgid "Log in with Twitter" msgstr "" -#: twitter.php:346 +#: twitter.php:350 msgid "Copy the PIN from Twitter here" msgstr "" -#: twitter.php:354 twitter.php:399 +#: twitter.php:358 twitter.php:403 msgid "An error occured: " msgstr "" -#: twitter.php:368 +#: twitter.php:372 #, php-format msgid "" "Currently connected to: %1$s" msgstr "" -#: twitter.php:374 +#: twitter.php:378 msgid "" "Note: Due to your privacy settings (Hide your profile " "details from unknown viewers?) the link potentially included in public " @@ -69,46 +69,46 @@ msgid "" "the visitor that the access to your profile has been restricted." msgstr "" -#: twitter.php:381 +#: twitter.php:385 msgid "Invalid Twitter info" msgstr "" -#: twitter.php:382 +#: twitter.php:386 msgid "Disconnect" msgstr "" -#: twitter.php:387 +#: twitter.php:391 msgid "Allow posting to Twitter" msgstr "" -#: twitter.php:387 +#: twitter.php:391 msgid "" "If enabled all your public postings can be posted to the " "associated Twitter account. You can choose to do so by default (here) or for " "every posting separately in the posting options when writing the entry." msgstr "" -#: twitter.php:388 +#: twitter.php:392 msgid "Send public postings to Twitter by default" msgstr "" -#: twitter.php:389 +#: twitter.php:393 msgid "Use threads instead of truncating the content" msgstr "" -#: twitter.php:390 +#: twitter.php:394 msgid "Mirror all posts from twitter that are no replies" msgstr "" -#: twitter.php:391 +#: twitter.php:395 msgid "Import the remote timeline" msgstr "" -#: twitter.php:392 +#: twitter.php:396 msgid "Automatically create contacts" msgstr "" -#: twitter.php:392 +#: twitter.php:396 msgid "" "This will automatically create a contact in Friendica as soon as you receive " "a message from an existing contact via the Twitter network. If you do not " @@ -116,44 +116,44 @@ msgid "" "from whom you would like to see posts here." msgstr "" -#: twitter.php:393 +#: twitter.php:397 msgid "Follow in fediverse" msgstr "" -#: twitter.php:393 +#: twitter.php:397 msgid "" "Automatically subscribe to the contact in the fediverse, when a fediverse " "account is mentioned in name or description and we are following the Twitter " "contact." msgstr "" -#: twitter.php:406 +#: twitter.php:410 msgid "Twitter Import/Export/Mirror" msgstr "" -#: twitter.php:558 +#: twitter.php:567 msgid "" "Please connect a Twitter account in your Social Network settings to import " "Twitter posts." msgstr "" -#: twitter.php:565 +#: twitter.php:574 msgid "Twitter post not found." msgstr "" -#: twitter.php:965 +#: twitter.php:999 msgid "Save Settings" msgstr "" -#: twitter.php:967 +#: twitter.php:1001 msgid "Consumer key" msgstr "" -#: twitter.php:968 +#: twitter.php:1002 msgid "Consumer secret" msgstr "" -#: twitter.php:1167 +#: twitter.php:1200 #, php-format msgid "%s on Twitter" msgstr "" diff --git a/twitter/twitter.php b/twitter/twitter.php index aaa378d1..c6475aba 100644 --- a/twitter/twitter.php +++ b/twitter/twitter.php @@ -80,7 +80,7 @@ use Friendica\Database\DBA; use Friendica\DI; use Friendica\Model\Contact; use Friendica\Model\Conversation; -use Friendica\Model\Group; +use Friendica\Model\Circle; use Friendica\Model\Item; use Friendica\Model\ItemURI; use Friendica\Model\Post; @@ -695,7 +695,7 @@ function twitter_post_hook(array &$b) } // Dont't post if the post doesn't belong to us. - // This is a check for forum postings + // This is a check for group postings $self = DBA::selectFirst('contact', ['id'], ['uid' => $b['uid'], 'self' => true]); if ($b['contact-id'] != $self['id']) { return; @@ -952,7 +952,7 @@ function twitter_delete_item(array $item) } // Don't delete if the post doesn't belong to us. - // This is a check for forum postings + // This is a check for group postings $self = DBA::selectFirst('contact', ['id'], ['uid' => $item['uid'], 'self' => true]); if ($item['contact-id'] != $self['id']) { DI::logger()->info('Don\'t delete if the post doesn\'t belong to the user', ['contact-id' => $item['contact-id'], 'self' => $self['id']]); @@ -1529,7 +1529,7 @@ function twitter_fetch_contact($uid, $data, $create_user) $contact_id = DBA::lastInsertId(); - Group::addMember(User::getDefaultGroup($uid), $contact_id); + Circle::addMember(User::getDefaultCircle($uid), $contact_id); } else { if ($contact['readonly'] || $contact['blocked']) { Logger::notice('Contact is blocked or readonly.', ['nickname' => $contact['nick']]); diff --git a/wppost/lang/C/messages.po b/wppost/lang/C/messages.po index fea16eee..187b0316 100644 --- a/wppost/lang/C/messages.po +++ b/wppost/lang/C/messages.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: \n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2021-11-21 19:18-0500\n" +"POT-Creation-Date: 2023-06-03 15:51-0400\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" @@ -59,10 +59,10 @@ msgstr "" msgid "Wordpress Export" msgstr "" -#: wppost.php:182 +#: wppost.php:185 msgid "Read the orig­i­nal post and com­ment stream on Friendica" msgstr "" -#: wppost.php:240 +#: wppost.php:235 msgid "Post from Friendica" msgstr "" diff --git a/wppost/wppost.php b/wppost/wppost.php index 1d609bac..51ee7247 100644 --- a/wppost/wppost.php +++ b/wppost/wppost.php @@ -169,7 +169,7 @@ function wppost_send(array &$b) } // Dont't post if the post doesn't belong to us. - // This is a check for forum postings + // This is a check for group postings $self = DBA::selectFirst('contact', ['id'], ['uid' => $b['uid'], 'self' => true]); if ($b['contact-id'] != $self['id']) { return;