[various] Rename forum to group

- Drop support for forumdirectory
- Add support for groupdirectory
This commit is contained in:
Hypolite Petovan 2023-06-03 15:57:29 -04:00 committed by heluecht
parent aa0f74832a
commit 49d308c44b
51 changed files with 1636 additions and 85 deletions

View file

@ -4,6 +4,8 @@
* Description: Add a directory of forums hosted on your server, with verbose descriptions. * Description: Add a directory of forums hosted on your server, with verbose descriptions.
* Version: 1.1 * Version: 1.1
* Author: Thomas Willingham <https://beardyunixer.com/profile/beardyunixer> * Author: Thomas Willingham <https://beardyunixer.com/profile/beardyunixer>
* Status: Unsupported
* Note: Please use Group Directory instead
*/ */
use Friendica\App; use Friendica\App;

View file

@ -0,0 +1,155 @@
<?php
/**
* Name: Group Directory
* Description: Add a directory of groups hosted on your server, with verbose descriptions.
* Version: 1.1
* Author: Thomas Willingham <https://beardyunixer.com/profile/beardyunixer>
*/
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'][] = '<div class="app-title"><a href="groupdirectory">' . DI::l10n()->t('Group Directory') . '</a></div>';
}
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;
}

View file

@ -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 <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\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 ""

View file

@ -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 <abidin24@tutanota.com>, 2021
# ButterflyOfFire, 2019
# Farida Khalaf <faridakhalaf@hotmail.com>, 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 <abidin24@tutanota.com>\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 "ابحث"

View file

@ -0,0 +1,14 @@
<?php
if(! function_exists("string_plural_select_ar")) {
function string_plural_select_ar($n){
$n = intval($n);
if ($n==0) { return 0; } else if ($n==1) { return 1; } else if ($n==2) { return 2; } else if ($n%100>=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'] = 'ابحث';

View file

@ -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 <friendica@tutanota.com>, 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 <friendica@tutanota.com>\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)."

View file

@ -0,0 +1,22 @@
<?php
if(! function_exists("string_plural_select_ca")) {
function string_plural_select_ca($n){
$n = intval($n);
return intval($n != 1);
}}
$a->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).';

View file

@ -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 <msupler@gmail.com>, 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)."

View file

@ -0,0 +1,22 @@
<?php
if(! function_exists("string_plural_select_cs")) {
function string_plural_select_cs($n){
$n = intval($n);
if (($n == 1 && $n % 1 == 0)) { return 0; } else if (($n >= 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).';

View file

@ -0,0 +1,48 @@
# ADDON forumdirectory
# Copyright (C)
# This file is distributed under the same license as the Friendica forumdirectory addon package.
#
#
# Translators:
# Anton <dev@atjn.dk>, 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 <dev@atjn.dk>, 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"

View file

@ -0,0 +1,14 @@
<?php
if(! function_exists("string_plural_select_da_dk")) {
function string_plural_select_da_dk($n){
$n = intval($n);
return intval($n != 1);
}}
$a->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';

View file

@ -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 <tobias.diekershoff@gmx.net>, 2014
# Tobias Diekershoff <tobias.diekershoff@gmx.net>, 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 <tobias.diekershoff@gmx.net>, 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"

View file

@ -0,0 +1,14 @@
<?php
if(! function_exists("string_plural_select_de")) {
function string_plural_select_de($n){
$n = intval($n);
return intval($n != 1);
}}
$a->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';

View file

@ -0,0 +1,16 @@
<?php
$a->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).";

View file

@ -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 <javierruizo@hotmail.com>, 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 <javierruizo@hotmail.com>\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"

View file

@ -0,0 +1,14 @@
<?php
if(! function_exists("string_plural_select_es")) {
function string_plural_select_es($n){
$n = intval($n);
return intval($n != 1);
}}
$a->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';

View file

@ -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)."

View file

@ -0,0 +1,21 @@
<?php
if(! function_exists("string_plural_select_fi_fi")) {
function string_plural_select_fi_fi($n){
$n = intval($n);
return intval($n != 1);
}}
$a->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).';

View file

@ -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 <lebonche@tutanota.com>, 2021
# Hypolite Petovan <hypolite@mrpetovan.com>, 2016
# StefOfficiel <pichard.stephane@free.fr>, 2015
# Valvin <vincent-forum@valvin.fr>, 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 <lebonche@tutanota.com>, 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"

View file

@ -0,0 +1,14 @@
<?php
if(! function_exists("string_plural_select_fr")) {
function string_plural_select_fr($n){
$n = intval($n);
if (($n == 0 || $n == 1)) { return 0; } else if ($n != 0 && $n % 1000000 == 0) { return 1; } else { return 2; }
}}
$a->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';

View file

@ -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"

View file

@ -0,0 +1,14 @@
<?php
if(! function_exists("string_plural_select_hu")) {
function string_plural_select_hu($n){
$n = intval($n);
return intval($n != 1);
}}
$a->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';

View file

@ -0,0 +1,16 @@
<?php
$a->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).";

View file

@ -0,0 +1,49 @@
# ADDON forumdirectory
# Copyright (C)
# This file is distributed under the same license as the Friendica forumdirectory addon package.
#
#
# Translators:
# fabrixxm <fabrix.xm@gmail.com>, 2014
# Sylke Vicious <silkevicious@gmail.com>, 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 <silkevicious@gmail.com>\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"

View file

@ -0,0 +1,14 @@
<?php
if(! function_exists("string_plural_select_it")) {
function string_plural_select_it($n){
$n = intval($n);
return intval($n != 1);
}}
$a->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';

View file

@ -0,0 +1,17 @@
<?php
$a->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).";

View file

@ -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 <me@jeroened.be>, 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 <me@jeroened.be>\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)."

View file

@ -0,0 +1,22 @@
<?php
if(! function_exists("string_plural_select_nl")) {
function string_plural_select_nl($n){
$n = intval($n);
return intval($n != 1);
}}
$a->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).';

View file

@ -0,0 +1,50 @@
# ADDON forumdirectory
# Copyright (C)
# This file is distributed under the same license as the Friendica forumdirectory addon package.
#
#
# Translators:
# TORminator <dominik+foss@danelski.pl>, 2015
# Piotr Strębski <strebski@gmail.com>, 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 <strebski@gmail.com>, 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"

View file

@ -0,0 +1,14 @@
<?php
if(! function_exists("string_plural_select_pl")) {
function string_plural_select_pl($n){
$n = intval($n);
if ($n==1) { return 0; } else if (($n%10>=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';

View file

@ -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 <vitalb@riseup.net>, 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 <vitalb@riseup.net>\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)."

View file

@ -0,0 +1,22 @@
<?php
if(! function_exists("string_plural_select_pt_br")) {
function string_plural_select_pt_br($n){
$n = intval($n);
return intval($n > 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).';

View file

@ -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 <arianserv@gmail.com>\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)."

View file

@ -0,0 +1,22 @@
<?php
if(! function_exists("string_plural_select_ro")) {
function string_plural_select_ro($n){
$n = intval($n);
if ($n==1) { return 0; } else if ((($n%100>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).';

View file

@ -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. <pztrn@pztrn.name>, 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. <pztrn@pztrn.name>\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 "Нет записей (некоторые записи могут быть скрыты)."

View file

@ -0,0 +1,22 @@
<?php
if(! function_exists("string_plural_select_ru")) {
function string_plural_select_ru($n){
$n = intval($n);
if ($n%10==1 && $n%100!=11) { return 0; } else if ($n%10>=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).'] = 'Нет записей (некоторые записи могут быть скрыты).';

View file

@ -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 <hypolite@mrpetovan.com>, 2019
# Kristoffer Grundström <lovaren@gmail.com>, 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 <lovaren@gmail.com>\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"

View file

@ -0,0 +1,13 @@
<?php
if(! function_exists("string_plural_select_sv")) {
function string_plural_select_sv($n){
$n = intval($n);
return intval($n != 1);
}}
$a->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';

View file

@ -0,0 +1,17 @@
<?php
$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)."] = "没有文章(有的文章会被隐藏)。";

View file

@ -8,7 +8,7 @@ msgid ""
msgstr "" msgstr ""
"Project-Id-Version: \n" "Project-Id-Version: \n"
"Report-Msgid-Bugs-To: \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" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n" "Language-Team: LANGUAGE <LL@li.org>\n"
@ -21,22 +21,22 @@ msgstr ""
msgid "Post to libertree" msgid "Post to libertree"
msgstr "" msgstr ""
#: libertree.php:60 #: libertree.php:59
msgid "Enable Libertree Post Addon" msgid "Enable Libertree Post Addon"
msgstr "" msgstr ""
#: libertree.php:61 #: libertree.php:60
msgid "Libertree site URL" msgid "Libertree site URL"
msgstr "" msgstr ""
#: libertree.php:62 #: libertree.php:61
msgid "Libertree API token" msgid "Libertree API token"
msgstr "" msgstr ""
#: libertree.php:63 #: libertree.php:62
msgid "Post to Libertree by default" msgid "Post to Libertree by default"
msgstr "" msgstr ""
#: libertree.php:68 #: libertree.php:67
msgid "Libertree Export" msgid "Libertree Export"
msgstr "" msgstr ""

View file

@ -151,7 +151,7 @@ function libertree_send(array &$b)
} }
// Dont't post if the post doesn't belong to us. // 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]); $self = DBA::selectFirst('contact', ['id'], ['uid' => $b['uid'], 'self' => true]);
if ($b['contact-id'] != $self['id']) { if ($b['contact-id'] != $self['id']) {
return; return;

View file

@ -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 which will be displayed for new members. It contains a linkt to friendicas
introduction pages at /newmember and optionally introduction pages at /newmember and optionally
* a link to the global support forum * a link to the global support group
* a link to an eventually existing local support forum * a link to an eventually existing local support group
* a welcome message you might want to send to your new members. * 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 There is no extra styling added for this added, so it should work with any

View file

@ -8,7 +8,7 @@ msgid ""
msgstr "" msgstr ""
"Project-Id-Version: \n" "Project-Id-Version: \n"
"Report-Msgid-Bugs-To: \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" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n" "Language-Team: LANGUAGE <LL@li.org>\n"
@ -26,48 +26,48 @@ msgid "Tips for New Members"
msgstr "" msgstr ""
#: newmemberwidget.php:33 #: newmemberwidget.php:33
msgid "Global Support Forum" msgid "Global Support Group"
msgstr "" msgstr ""
#: newmemberwidget.php:37 #: newmemberwidget.php:37
msgid "Local Support Forum" msgid "Local Support Group"
msgstr "" msgstr ""
#: newmemberwidget.php:65 #: newmemberwidget.php:62
msgid "Save Settings" msgid "Save Settings"
msgstr "" msgstr ""
#: newmemberwidget.php:66 #: newmemberwidget.php:63
msgid "Message" msgid "Message"
msgstr "" msgstr ""
#: newmemberwidget.php:66 #: newmemberwidget.php:63
msgid "Your message for new members. You can use bbcode here." msgid "Your message for new members. You can use bbcode here."
msgstr "" msgstr ""
#: newmemberwidget.php:67 #: newmemberwidget.php:64
msgid "Add a link to global support forum" msgid "Add a link to global support group"
msgstr "" msgstr ""
#: newmemberwidget.php:67 #: newmemberwidget.php:64
msgid "Should a link to the global support forum be displayed?" msgid "Should a link to the global support group be displayed?"
msgstr "" msgstr ""
#: newmemberwidget.php:68 #: newmemberwidget.php:65
msgid "Add a link to the local support forum" msgid "Add a link to the local support group"
msgstr "" msgstr ""
#: newmemberwidget.php:68 #: newmemberwidget.php:65
msgid "" 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." "widget, check this box."
msgstr "" msgstr ""
#: newmemberwidget.php:69 #: newmemberwidget.php:66
msgid "Name of the local support group" msgid "Name of the local support group"
msgstr "" msgstr ""
#: newmemberwidget.php:69 #: newmemberwidget.php:66
msgid "" msgid ""
"If you checked the above, specify the <em>nickname</em> of the local support " "If you checked the above, specify the <em>nickname</em> of the local support "
"group here (i.e. helpers)" "group here (i.e. helpers)"

View file

@ -30,11 +30,11 @@ function newmemberwidget_network_mod_init ($b)
$t .= '<a href="newmember" id="newmemberwidget-tips">' . DI::l10n()->t('Tips for New Members') . '</a><br />'; $t .= '<a href="newmember" id="newmemberwidget-tips">' . DI::l10n()->t('Tips for New Members') . '</a><br />';
if (DI::config()->get('newmemberwidget','linkglobalsupport', false)) { if (DI::config()->get('newmemberwidget','linkglobalsupport', false)) {
$t .= '<a href="https://forum.friendi.ca/profile/helpers" target="_new">'.DI::l10n()->t('Global Support Forum').'</a><br />'; $t .= '<a href="https://forum.friendi.ca/profile/helpers" target="_new">' . DI::l10n()->t('Global Support Group') . '</a><br />';
} }
if (DI::config()->get('newmemberwidget','linklocalsupport', false)) { if (DI::config()->get('newmemberwidget','linklocalsupport', false)) {
$t .= '<a href="'.DI::baseUrl().'/profile/'.DI::config()->get('newmemberwidget','localsupport').'" target="_new">'.DI::l10n()->t('Local Support Forum').'</a><br />'; $t .= '<a href="' . DI::baseUrl() . '/profile/' . DI::config()->get('newmemberwidget', 'localsupport') . '" target="_new">' . DI::l10n()->t('Local Support Group') . '</a><br />';
} }
$ft = DI::config()->get('newmemberwidget','freetext', ''); $ft = DI::config()->get('newmemberwidget','freetext', '');
@ -61,8 +61,8 @@ function newmemberwidget_addon_admin(string &$o)
$o = Renderer::replaceMacros($t, [ $o = Renderer::replaceMacros($t, [
'$submit' => DI::l10n()->t('Save Settings'), '$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.")], '$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?')." (<a href='https://forum.friendi.ca/profile/helpers'>@helpers</a>)"], '$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?')." (<a href='https://forum.friendi.ca/profile/helpers'>@helpers</a>)"],
'$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.')], '$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 <em>nickname</em> of the local support group here (i.e. helpers)')], '$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 <em>nickname</em> of the local support group here (i.e. helpers)')],
]); ]);
} }

View file

@ -8,7 +8,7 @@ msgid ""
msgstr "" msgstr ""
"Project-Id-Version: \n" "Project-Id-Version: \n"
"Report-Msgid-Bugs-To: \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" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n" "Language-Team: LANGUAGE <LL@li.org>\n"
@ -17,76 +17,76 @@ msgstr ""
"Content-Type: text/plain; charset=UTF-8\n" "Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n" "Content-Transfer-Encoding: 8bit\n"
#: pumpio.php:57 #: pumpio.php:62
msgid "Permission denied." msgid "Permission denied."
msgstr "" msgstr ""
#: pumpio.php:152 #: pumpio.php:156
#, php-format #, php-format
msgid "Unable to register the client at the pump.io server '%s'." msgid "Unable to register the client at the pump.io server '%s'."
msgstr "" msgstr ""
#: pumpio.php:192 #: pumpio.php:196
msgid "You are now authenticated to pumpio." msgid "You are now authenticated to pumpio."
msgstr "" msgstr ""
#: pumpio.php:193 #: pumpio.php:197
msgid "return to the connector page" msgid "return to the connector page"
msgstr "" msgstr ""
#: pumpio.php:213 #: pumpio.php:217
msgid "Post to pumpio" msgid "Post to pumpio"
msgstr "" msgstr ""
#: pumpio.php:237 #: pumpio.php:241
msgid "Save Settings" msgid "Save Settings"
msgstr "" msgstr ""
#: pumpio.php:239 #: pumpio.php:243
msgid "Delete this preset" msgid "Delete this preset"
msgstr "" msgstr ""
#: pumpio.php:245 #: pumpio.php:249
msgid "Authenticate your pump.io connection" msgid "Authenticate your pump.io connection"
msgstr "" msgstr ""
#: pumpio.php:252 #: pumpio.php:256
msgid "Pump.io servername (without \"http://\" or \"https://\" )" msgid "Pump.io servername (without \"http://\" or \"https://\" )"
msgstr "" msgstr ""
#: pumpio.php:253 #: pumpio.php:257
msgid "Pump.io username (without the servername)" msgid "Pump.io username (without the servername)"
msgstr "" msgstr ""
#: pumpio.php:254 #: pumpio.php:258
msgid "Import the remote timeline" msgid "Import the remote timeline"
msgstr "" msgstr ""
#: pumpio.php:255 #: pumpio.php:259
msgid "Enable Pump.io Post Addon" msgid "Enable Pump.io Post Addon"
msgstr "" msgstr ""
#: pumpio.php:256 #: pumpio.php:260
msgid "Post to Pump.io by default" msgid "Post to Pump.io by default"
msgstr "" msgstr ""
#: pumpio.php:257 #: pumpio.php:261
msgid "Should posts be public?" msgid "Should posts be public?"
msgstr "" msgstr ""
#: pumpio.php:258 #: pumpio.php:262
msgid "Mirror all public posts" msgid "Mirror all public posts"
msgstr "" msgstr ""
#: pumpio.php:263 #: pumpio.php:267
msgid "Pump.io Import/Export/Mirror" msgid "Pump.io Import/Export/Mirror"
msgstr "" msgstr ""
#: pumpio.php:920 #: pumpio.php:924
msgid "status" msgid "status"
msgstr "" msgstr ""
#: pumpio.php:924 #: pumpio.php:928
#, php-format #, php-format
msgid "%1$s likes %2$s's %3$s" msgid "%1$s likes %2$s's %3$s"
msgstr "" msgstr ""

View file

@ -417,7 +417,7 @@ function pumpio_send(array &$b)
} }
// Dont't post if the post doesn't belong to us. // 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']); $self = User::getOwnerDataById($b['uid']);
if ($b['contact-id'] != $self['id']) { if ($b['contact-id'] != $self['id']) {
return; return;

View file

@ -350,7 +350,7 @@ function statusnet_post_hook(array &$b)
} }
// Dont't post if the post doesn't belong to us. // 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]); $self = DBA::selectFirst('contact', ['id'], ['uid' => $b['uid'], 'self' => true]);
if ($b['contact-id'] != $self['id']) { if ($b['contact-id'] != $self['id']) {
return; return;

View file

@ -8,7 +8,7 @@ msgid ""
msgstr "" msgstr ""
"Project-Id-Version: \n" "Project-Id-Version: \n"
"Report-Msgid-Bugs-To: \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" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n" "Language-Team: LANGUAGE <LL@li.org>\n"
@ -17,23 +17,23 @@ msgstr ""
"Content-Type: text/plain; charset=UTF-8\n" "Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n" "Content-Transfer-Encoding: 8bit\n"
#: twitter.php:216 #: twitter.php:220
msgid "Post to Twitter" msgid "Post to Twitter"
msgstr "" msgstr ""
#: twitter.php:263 #: twitter.php:267
msgid "" msgid ""
"You submitted an empty PIN, please Sign In with Twitter again to get a new " "You submitted an empty PIN, please Sign In with Twitter again to get a new "
"one." "one."
msgstr "" msgstr ""
#: twitter.php:330 #: twitter.php:334
msgid "" msgid ""
"No consumer key pair for Twitter found. Please contact your site " "No consumer key pair for Twitter found. Please contact your site "
"administrator." "administrator."
msgstr "" msgstr ""
#: twitter.php:343 #: twitter.php:347
msgid "" msgid ""
"At this Friendica instance the Twitter addon was enabled but you have not " "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 " "yet connected your account to your Twitter account. To do so click the "
@ -42,26 +42,26 @@ msgid ""
"be posted to Twitter." "be posted to Twitter."
msgstr "" msgstr ""
#: twitter.php:344 #: twitter.php:348
msgid "Log in with Twitter" msgid "Log in with Twitter"
msgstr "" msgstr ""
#: twitter.php:346 #: twitter.php:350
msgid "Copy the PIN from Twitter here" msgid "Copy the PIN from Twitter here"
msgstr "" msgstr ""
#: twitter.php:354 twitter.php:399 #: twitter.php:358 twitter.php:403
msgid "An error occured: " msgid "An error occured: "
msgstr "" msgstr ""
#: twitter.php:368 #: twitter.php:372
#, php-format #, php-format
msgid "" msgid ""
"Currently connected to: <a href=\"https://twitter.com/%1$s\" target=" "Currently connected to: <a href=\"https://twitter.com/%1$s\" target="
"\"_twitter\">%1$s</a>" "\"_twitter\">%1$s</a>"
msgstr "" msgstr ""
#: twitter.php:374 #: twitter.php:378
msgid "" msgid ""
"<strong>Note</strong>: Due to your privacy settings (<em>Hide your profile " "<strong>Note</strong>: Due to your privacy settings (<em>Hide your profile "
"details from unknown viewers?</em>) the link potentially included in public " "details from unknown viewers?</em>) the link potentially included in public "
@ -69,46 +69,46 @@ msgid ""
"the visitor that the access to your profile has been restricted." "the visitor that the access to your profile has been restricted."
msgstr "" msgstr ""
#: twitter.php:381 #: twitter.php:385
msgid "Invalid Twitter info" msgid "Invalid Twitter info"
msgstr "" msgstr ""
#: twitter.php:382 #: twitter.php:386
msgid "Disconnect" msgid "Disconnect"
msgstr "" msgstr ""
#: twitter.php:387 #: twitter.php:391
msgid "Allow posting to Twitter" msgid "Allow posting to Twitter"
msgstr "" msgstr ""
#: twitter.php:387 #: twitter.php:391
msgid "" msgid ""
"If enabled all your <strong>public</strong> postings can be posted to the " "If enabled all your <strong>public</strong> postings can be posted to the "
"associated Twitter account. You can choose to do so by default (here) or for " "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." "every posting separately in the posting options when writing the entry."
msgstr "" msgstr ""
#: twitter.php:388 #: twitter.php:392
msgid "Send public postings to Twitter by default" msgid "Send public postings to Twitter by default"
msgstr "" msgstr ""
#: twitter.php:389 #: twitter.php:393
msgid "Use threads instead of truncating the content" msgid "Use threads instead of truncating the content"
msgstr "" msgstr ""
#: twitter.php:390 #: twitter.php:394
msgid "Mirror all posts from twitter that are no replies" msgid "Mirror all posts from twitter that are no replies"
msgstr "" msgstr ""
#: twitter.php:391 #: twitter.php:395
msgid "Import the remote timeline" msgid "Import the remote timeline"
msgstr "" msgstr ""
#: twitter.php:392 #: twitter.php:396
msgid "Automatically create contacts" msgid "Automatically create contacts"
msgstr "" msgstr ""
#: twitter.php:392 #: twitter.php:396
msgid "" msgid ""
"This will automatically create a contact in Friendica as soon as you receive " "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 " "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." "from whom you would like to see posts here."
msgstr "" msgstr ""
#: twitter.php:393 #: twitter.php:397
msgid "Follow in fediverse" msgid "Follow in fediverse"
msgstr "" msgstr ""
#: twitter.php:393 #: twitter.php:397
msgid "" msgid ""
"Automatically subscribe to the contact in the fediverse, when a fediverse " "Automatically subscribe to the contact in the fediverse, when a fediverse "
"account is mentioned in name or description and we are following the Twitter " "account is mentioned in name or description and we are following the Twitter "
"contact." "contact."
msgstr "" msgstr ""
#: twitter.php:406 #: twitter.php:410
msgid "Twitter Import/Export/Mirror" msgid "Twitter Import/Export/Mirror"
msgstr "" msgstr ""
#: twitter.php:558 #: twitter.php:567
msgid "" msgid ""
"Please connect a Twitter account in your Social Network settings to import " "Please connect a Twitter account in your Social Network settings to import "
"Twitter posts." "Twitter posts."
msgstr "" msgstr ""
#: twitter.php:565 #: twitter.php:574
msgid "Twitter post not found." msgid "Twitter post not found."
msgstr "" msgstr ""
#: twitter.php:965 #: twitter.php:999
msgid "Save Settings" msgid "Save Settings"
msgstr "" msgstr ""
#: twitter.php:967 #: twitter.php:1001
msgid "Consumer key" msgid "Consumer key"
msgstr "" msgstr ""
#: twitter.php:968 #: twitter.php:1002
msgid "Consumer secret" msgid "Consumer secret"
msgstr "" msgstr ""
#: twitter.php:1167 #: twitter.php:1200
#, php-format #, php-format
msgid "%s on Twitter" msgid "%s on Twitter"
msgstr "" msgstr ""

View file

@ -695,7 +695,7 @@ function twitter_post_hook(array &$b)
} }
// Dont't post if the post doesn't belong to us. // 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]); $self = DBA::selectFirst('contact', ['id'], ['uid' => $b['uid'], 'self' => true]);
if ($b['contact-id'] != $self['id']) { if ($b['contact-id'] != $self['id']) {
return; return;
@ -952,7 +952,7 @@ function twitter_delete_item(array $item)
} }
// Don't delete if the post doesn't belong to us. // 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]); $self = DBA::selectFirst('contact', ['id'], ['uid' => $item['uid'], 'self' => true]);
if ($item['contact-id'] != $self['id']) { 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']]); DI::logger()->info('Don\'t delete if the post doesn\'t belong to the user', ['contact-id' => $item['contact-id'], 'self' => $self['id']]);

View file

@ -8,7 +8,7 @@ msgid ""
msgstr "" msgstr ""
"Project-Id-Version: \n" "Project-Id-Version: \n"
"Report-Msgid-Bugs-To: \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" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n" "Language-Team: LANGUAGE <LL@li.org>\n"
@ -59,10 +59,10 @@ msgstr ""
msgid "Wordpress Export" msgid "Wordpress Export"
msgstr "" msgstr ""
#: wppost.php:182 #: wppost.php:185
msgid "Read the orig­i­nal post and com­ment stream on Friendica" msgid "Read the orig­i­nal post and com­ment stream on Friendica"
msgstr "" msgstr ""
#: wppost.php:240 #: wppost.php:235
msgid "Post from Friendica" msgid "Post from Friendica"
msgstr "" msgstr ""

View file

@ -169,7 +169,7 @@ function wppost_send(array &$b)
} }
// Dont't post if the post doesn't belong to us. // 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]); $self = DBA::selectFirst('contact', ['id'], ['uid' => $b['uid'], 'self' => true]);
if ($b['contact-id'] != $self['id']) { if ($b['contact-id'] != $self['id']) {
return; return;