#ignore OSX .DS_Store files\r
.DS_Store\r
\r
-/nbproject/private/\r
+/nbproject/\r
\r
#ignore smarty cache\r
/view/smarty3/compiled/\r
[main]
host = https://www.transifex.com
+[friendica.addon_advancedcontentfilter_messagespo]
+file_filter = advancedcontentfilter/lang/<lang>/messages.po
+source_file = advancedcontentfilter/lang/C/messages.po
+source_lang = en
+type = PO
+
[friendica.addon_blackout_messagespo]
file_filter = blackout/lang/<lang>/messages.po
source_file = blackout/lang/C/messages.po
source_lang = en
type = PO
-[friendica.addon_communityhome_messagespo]
-file_filter = communityhome/lang/<lang>/messages.po
-source_file = communityhome/lang/C/messages.po
+[friendica.addon_catavatar_messagespo]
+file_filter = catavatar/lang/<lang>/messages.po
+source_file = catavatar/lang/C/messages.po
source_lang = en
type = PO
-[friendica.addon_curweather_messagespo]
-file_filter = curweather/lang/<lang>/messages.po
-source_file = curweather/lang/C/messages.po
+[friendica.addon_cookienotice_messagespo]
+file_filter = cookienotice/lang/<lang>/messages.po
+source_file = cookienotice/lang/C/messages.po
source_lang = en
type = PO
-[friendica.addon_dav_messagespo]
-file_filter = dav/lang/<lang>/messages.po
-source_file = dav/lang/C/messages.po
+[friendica.addon_curweather_messagespo]
+file_filter = curweather/lang/<lang>/messages.po
+source_file = curweather/lang/C/messages.po
source_lang = en
type = PO
source_lang = en
type = PO
+[friendica.addon_ifttt_messagespo]
+file_filter = ifttt/lang/<lang>/messages.po
+source_file = ifttt/lang/C/messages.po
+source_lang = en
+type = PO
+
[friendica.addon_ijpost_messagespo]
file_filter = ijpost/lang/<lang>/messages.po
source_file = ijpost/lang/C/messages.po
source_lang = en
type = PO
+[friendica.addon_mathjax_messagespo]
+file_filter = mathjax/lang/<lang>/messages.po
+source_file = mathjax/lang/C/messages.po
+source_lang = en
+type = PO
+
+[friendica.addon_membersince_messagespo]
+file_filter = membersince/lang/<lang>/messages.po
+source_file = membersince/lang/C/messages.po
+source_lang = en
+type = PO
+
+[friendica.addon_morechoice_messagespo]
+file_filter = morechoice/lang/<lang>/messages.po
+source_file = morechoice/lang/C/messages.po
+source_lang = en
+type = PO
+
[friendica.addon_morepokes_messagespo]
file_filter = morepokes/lang/<lang>/messages.po
source_file = morepokes/lang/C/messages.po
source_lang = en
type = PO
+[friendica.addon_widgets_messagespo]
+file_filter = widgets/lang/<lang>/messages.po
+source_file = widgets/lang/C/messages.po
+source_lang = en
+type = PO
+
[friendica.addon_windowsphonepush_messagespo]
file_filter = windowsphonepush/lang/<lang>/messages.po
source_file = windowsphonepush/lang/C/messages.po
source_lang = en
type = PO
-[friendica.addon_yourls_messagespo]
-file_filter = yourls/lang/<lang>/messages.po
-source_file = yourls/lang/C/messages.po
-source_lang = en
-type = PO
use Psr\Http\Message\ServerRequestInterface;
use Symfony\Component\ExpressionLanguage;
-require_once 'boot.php';
-require_once 'include/conversation.php';
-require_once 'include/dba.php';
-
require_once __DIR__ . DIRECTORY_SEPARATOR . 'vendor' . DIRECTORY_SEPARATOR . 'autoload.php';
function advancedcontentfilter_install(App $a)
#
# Translators:
# Marie Olive <lacellule101@gmail.com>, 2018
+# vladimir N <lapoubelle111@gmail.com>, 2018
#
#, fuzzy
msgid ""
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2018-04-17 04:04+0200\n"
"PO-Revision-Date: 2018-05-24 06:41+0000\n"
-"Last-Translator: Marie Olive <lacellule101@gmail.com>, 2018\n"
+"Last-Translator: vladimir N <lapoubelle111@gmail.com>, 2018\n"
"Language-Team: French (https://www.transifex.com/Friendica/teams/12172/fr/)\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
#: advancedcontentfilter.php:134
#, php-format
msgid "Filtered by rule: %s"
-msgstr "Filtrer par règle:%s"
+msgstr "Filtré par règle:%s"
#: advancedcontentfilter.php:147 advancedcontentfilter.php:204
msgid "Advanced Content Filter"
"For a complete reference of the available operations and variables, check "
"the <a href=\"advancedcontentfilter/help\">help page</a>."
msgstr ""
+"Dans cet écran, ajoutez et gérez votre règle personnelle de filtre de "
+"contenu. Les règles portent un nom et contiennent une expression arbitraire "
+"qui sera appliquée aux données du post. Pour une liste complète des "
+"opérations disponibles, voyez la page d'aide"
#: advancedcontentfilter.php:208
msgid "Your rules"
"You have no rules yet! Start adding one by clicking on the button above next"
" to the title."
msgstr ""
+"Vous n'avez encore aucune règle! Ajoutez-en une en cliquant le bouton au-"
+"dessus près du titre"
#: advancedcontentfilter.php:210
msgid "Disabled"
-msgstr ""
+msgstr "Désactivé"
#: advancedcontentfilter.php:211
msgid "Enabled"
-msgstr ""
+msgstr "Activé"
#: advancedcontentfilter.php:212
msgid "Disable this rule"
-msgstr ""
+msgstr "Désactiver cette règle"
#: advancedcontentfilter.php:213
msgid "Enable this rule"
-msgstr ""
+msgstr "Activer cette règle"
#: advancedcontentfilter.php:214
msgid "Edit this rule"
-msgstr ""
+msgstr "Modifier cette règle"
#: advancedcontentfilter.php:215
msgid "Edit the rule"
-msgstr ""
+msgstr "Modifier la règle"
#: advancedcontentfilter.php:216
msgid "Save this rule"
-msgstr ""
+msgstr "Enregistrer cette règle"
#: advancedcontentfilter.php:217
msgid "Delete this rule"
-msgstr ""
+msgstr "Supprimer cette règle"
#: advancedcontentfilter.php:218
msgid "Rule"
-msgstr ""
+msgstr "Règle"
#: advancedcontentfilter.php:219
msgid "Close"
-msgstr ""
+msgstr "Fermer"
#: advancedcontentfilter.php:220
msgid "Add new rule"
-msgstr ""
+msgstr "Ajouter nouvelle règle"
#: advancedcontentfilter.php:221
msgid "Rule Name"
-msgstr ""
+msgstr "Nommer règle"
#: advancedcontentfilter.php:222
msgid "Rule Expression"
-msgstr ""
+msgstr "Expression de règle"
#: advancedcontentfilter.php:223
msgid ""
#: advancedcontentfilter.php:224
msgid "Cancel"
-msgstr ""
+msgstr "Annuler"
#: advancedcontentfilter.php:290 advancedcontentfilter.php:301
#: advancedcontentfilter.php:312 advancedcontentfilter.php:346
#: advancedcontentfilter.php:375 advancedcontentfilter.php:396
msgid "You must be logged in to use this method"
-msgstr ""
+msgstr "Vous devez être connecté pour utiliser cette méthode"
#: advancedcontentfilter.php:316 advancedcontentfilter.php:350
#: advancedcontentfilter.php:379
msgid "Invalid form security token, please refresh the page."
-msgstr ""
+msgstr "Formulaire token de sécurité invalide, rafraîchissez la page"
#: advancedcontentfilter.php:328
msgid "The rule name and expression are required."
-msgstr ""
+msgstr "Le nom et l'expression de cette règle sont requis"
#: advancedcontentfilter.php:340
msgid "Rule successfully added"
-msgstr ""
+msgstr "Règle bien ajoutée"
#: advancedcontentfilter.php:354 advancedcontentfilter.php:383
msgid "Rule doesn't exist or doesn't belong to you."
-msgstr ""
+msgstr "Cette règle n'existe pas ou ne vous appartient pas"
#: advancedcontentfilter.php:369
msgid "Rule successfully updated"
-msgstr ""
+msgstr "Règle bien mise à jour"
#: advancedcontentfilter.php:390
msgid "Rule successfully deleted"
-msgstr ""
+msgstr "Règle bien supprimée"
#: advancedcontentfilter.php:400
msgid "Missing argument: guid."
-msgstr ""
+msgstr "Argument manquant: "
#: advancedcontentfilter.php:406
#, php-format
#: src/middlewares.php:28
msgid "Method not found"
-msgstr ""
+msgstr "Méthode non trouvée"
return ($n > 1);;
}}
;
-$a->strings["Filtered by rule: %s"] = "Filtrer par règle:%s";
+$a->strings["Filtered by rule: %s"] = "Filtré par règle:%s";
$a->strings["Advanced Content Filter"] = "Filtre avancé de contenu";
$a->strings["Back to Addon Settings"] = "Retour aux paramètres de l'extension";
$a->strings["Add a Rule"] = "Ajouter une règle";
$a->strings["Help"] = "Aide";
-$a->strings["Add and manage your personal content filter rules in this screen. Rules have a name and an arbitrary expression that will be matched against post data. For a complete reference of the available operations and variables, check the <a href=\"advancedcontentfilter/help\">help page</a>."] = "";
+$a->strings["Add and manage your personal content filter rules in this screen. Rules have a name and an arbitrary expression that will be matched against post data. For a complete reference of the available operations and variables, check the <a href=\"advancedcontentfilter/help\">help page</a>."] = "Dans cet écran, ajoutez et gérez votre règle personnelle de filtre de contenu. Les règles portent un nom et contiennent une expression arbitraire qui sera appliquée aux données du post. Pour une liste complète des opérations disponibles, voyez la page d'aide";
$a->strings["Your rules"] = "Vos règles";
-$a->strings["You have no rules yet! Start adding one by clicking on the button above next to the title."] = "";
-$a->strings["Disabled"] = "";
-$a->strings["Enabled"] = "";
-$a->strings["Disable this rule"] = "";
-$a->strings["Enable this rule"] = "";
-$a->strings["Edit this rule"] = "";
-$a->strings["Edit the rule"] = "";
-$a->strings["Save this rule"] = "";
-$a->strings["Delete this rule"] = "";
-$a->strings["Rule"] = "";
-$a->strings["Close"] = "";
-$a->strings["Add new rule"] = "";
-$a->strings["Rule Name"] = "";
-$a->strings["Rule Expression"] = "";
+$a->strings["You have no rules yet! Start adding one by clicking on the button above next to the title."] = "Vous n'avez encore aucune règle! Ajoutez-en une en cliquant le bouton au-dessus près du titre";
+$a->strings["Disabled"] = "Désactivé";
+$a->strings["Enabled"] = "Activé";
+$a->strings["Disable this rule"] = "Désactiver cette règle";
+$a->strings["Enable this rule"] = "Activer cette règle";
+$a->strings["Edit this rule"] = "Modifier cette règle";
+$a->strings["Edit the rule"] = "Modifier la règle";
+$a->strings["Save this rule"] = "Enregistrer cette règle";
+$a->strings["Delete this rule"] = "Supprimer cette règle";
+$a->strings["Rule"] = "Règle";
+$a->strings["Close"] = "Fermer";
+$a->strings["Add new rule"] = "Ajouter nouvelle règle";
+$a->strings["Rule Name"] = "Nommer règle";
+$a->strings["Rule Expression"] = "Expression de règle";
$a->strings["<p>Examples:</p><ul><li><pre>author_link == 'https://friendica.mrpetovan.com/profile/hypolite'</pre></li><li>tags</li></ul>"] = "";
-$a->strings["Cancel"] = "";
-$a->strings["You must be logged in to use this method"] = "";
-$a->strings["Invalid form security token, please refresh the page."] = "";
-$a->strings["The rule name and expression are required."] = "";
-$a->strings["Rule successfully added"] = "";
-$a->strings["Rule doesn't exist or doesn't belong to you."] = "";
-$a->strings["Rule successfully updated"] = "";
-$a->strings["Rule successfully deleted"] = "";
-$a->strings["Missing argument: guid."] = "";
+$a->strings["Cancel"] = "Annuler";
+$a->strings["You must be logged in to use this method"] = "Vous devez être connecté pour utiliser cette méthode";
+$a->strings["Invalid form security token, please refresh the page."] = "Formulaire token de sécurité invalide, rafraîchissez la page";
+$a->strings["The rule name and expression are required."] = "Le nom et l'expression de cette règle sont requis";
+$a->strings["Rule successfully added"] = "Règle bien ajoutée";
+$a->strings["Rule doesn't exist or doesn't belong to you."] = "Cette règle n'existe pas ou ne vous appartient pas";
+$a->strings["Rule successfully updated"] = "Règle bien mise à jour";
+$a->strings["Rule successfully deleted"] = "Règle bien supprimée";
+$a->strings["Missing argument: guid."] = "Argument manquant: ";
$a->strings["Unknown post with guid: %s"] = "";
-$a->strings["Method not found"] = "";
+$a->strings["Method not found"] = "Méthode non trouvée";
--- /dev/null
+# ADDON advancedcontentfilter
+# Copyright (C)
+# This file is distributed under the same license as the Friendica advancedcontentfilter addon package.
+#
+#
+# Translators:
+# Rik 4 <rikviergever@hotmail.com>, 2018
+# AgnesElisa <agneselisa@disroot.org>, 2018
+# Jeroen De Meerleer <me@jeroened.be>, 2018
+#
+#, fuzzy
+msgid ""
+msgstr ""
+"Project-Id-Version: \n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2018-04-17 04:04+0200\n"
+"PO-Revision-Date: 2018-05-24 06:41+0000\n"
+"Last-Translator: Jeroen De Meerleer <me@jeroened.be>, 2018\n"
+"Language-Team: Dutch (https://www.transifex.com/Friendica/teams/12172/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"
+
+#: advancedcontentfilter.php:134
+#, php-format
+msgid "Filtered by rule: %s"
+msgstr "Gefilterd volgens regel: %s"
+
+#: advancedcontentfilter.php:147 advancedcontentfilter.php:204
+msgid "Advanced Content Filter"
+msgstr "Geavanceerd filter voor berichtsinhoud"
+
+#: advancedcontentfilter.php:203
+msgid "Back to Addon Settings"
+msgstr "Terug naar Addon instellingen"
+
+#: advancedcontentfilter.php:205
+msgid "Add a Rule"
+msgstr "Filterregel toevoegen"
+
+#: advancedcontentfilter.php:206
+msgid "Help"
+msgstr "Help"
+
+#: advancedcontentfilter.php:207
+msgid ""
+"Add and manage your personal content filter rules in this screen. Rules have"
+" a name and an arbitrary expression that will be matched against post data. "
+"For a complete reference of the available operations and variables, check "
+"the <a href=\"advancedcontentfilter/help\">help page</a>."
+msgstr ""
+"Beheer de filterregels van je persoonlijke filter voor berichtsinhoud in dit"
+" scherm. Regels hebben een naam en bewoording welke we automatisch "
+"controleren door te vergelijken met de inhoud van elk bericht. Voor een "
+"compleet naslagwerk van de beschikbare bewerkingen en variabelen, zie de <a"
+" href=\"advancedcontentfilter/help\">help pagina</a>."
+
+#: advancedcontentfilter.php:208
+msgid "Your rules"
+msgstr "Jouw regels"
+
+#: advancedcontentfilter.php:209
+msgid ""
+"You have no rules yet! Start adding one by clicking on the button above next"
+" to the title."
+msgstr ""
+"Je hebt nog geen regels! Klik op de knop bovenin naast de titel om een regel"
+" toe te voegen."
+
+#: advancedcontentfilter.php:210
+msgid "Disabled"
+msgstr "Uitgeschakeld"
+
+#: advancedcontentfilter.php:211
+msgid "Enabled"
+msgstr "Geactiveerd"
+
+#: advancedcontentfilter.php:212
+msgid "Disable this rule"
+msgstr "Deze regel uitschakelen"
+
+#: advancedcontentfilter.php:213
+msgid "Enable this rule"
+msgstr "Deze regel inschakelen"
+
+#: advancedcontentfilter.php:214
+msgid "Edit this rule"
+msgstr "Regel bewerken"
+
+#: advancedcontentfilter.php:215
+msgid "Edit the rule"
+msgstr "Regel bewerken"
+
+#: advancedcontentfilter.php:216
+msgid "Save this rule"
+msgstr "Deze regel opslaan"
+
+#: advancedcontentfilter.php:217
+msgid "Delete this rule"
+msgstr "Deze regel verwijderen"
+
+#: advancedcontentfilter.php:218
+msgid "Rule"
+msgstr "Regel"
+
+#: advancedcontentfilter.php:219
+msgid "Close"
+msgstr "Sluiten"
+
+#: advancedcontentfilter.php:220
+msgid "Add new rule"
+msgstr "Voeg nieuwe regel toe"
+
+#: advancedcontentfilter.php:221
+msgid "Rule Name"
+msgstr "Regel naam"
+
+#: advancedcontentfilter.php:222
+msgid "Rule Expression"
+msgstr "Regel bewoording"
+
+#: advancedcontentfilter.php:223
+msgid ""
+"<p>Examples:</p><ul><li><pre>author_link == "
+"'https://friendica.mrpetovan.com/profile/hypolite'</pre></li><li>tags</li></ul>"
+msgstr ""
+"<p>Voorbeelden:</p><ul><li><pre>author_link == "
+"'https://friendica.mrpetovan.com/profile/hypolite'</pre></li><li>label</li></ul>"
+
+#: advancedcontentfilter.php:224
+msgid "Cancel"
+msgstr "Annuleren"
+
+#: advancedcontentfilter.php:290 advancedcontentfilter.php:301
+#: advancedcontentfilter.php:312 advancedcontentfilter.php:346
+#: advancedcontentfilter.php:375 advancedcontentfilter.php:396
+msgid "You must be logged in to use this method"
+msgstr "Je moet ingelogd zijn om deze methode te gebruiken"
+
+#: advancedcontentfilter.php:316 advancedcontentfilter.php:350
+#: advancedcontentfilter.php:379
+msgid "Invalid form security token, please refresh the page."
+msgstr "Ongeldige formulier beveiligings token, vernieuw de pagina a.u.b."
+
+#: advancedcontentfilter.php:328
+msgid "The rule name and expression are required."
+msgstr "De regelnaam en bewoording zijn vereist."
+
+#: advancedcontentfilter.php:340
+msgid "Rule successfully added"
+msgstr "Regel succesvol toegevoegd"
+
+#: advancedcontentfilter.php:354 advancedcontentfilter.php:383
+msgid "Rule doesn't exist or doesn't belong to you."
+msgstr "Deze regel bestaat niet, of is niet van jou."
+
+#: advancedcontentfilter.php:369
+msgid "Rule successfully updated"
+msgstr "Regel succesvol opgeslagen"
+
+#: advancedcontentfilter.php:390
+msgid "Rule successfully deleted"
+msgstr "Regel succesvol verwijderd"
+
+#: advancedcontentfilter.php:400
+msgid "Missing argument: guid."
+msgstr "Parameter guid niet aanwezig"
+
+#: advancedcontentfilter.php:406
+#, php-format
+msgid "Unknown post with guid: %s"
+msgstr "Onbekend bericht met guid: %s"
+
+#: src/middlewares.php:28
+msgid "Method not found"
+msgstr "Methode niet gevonden"
--- /dev/null
+<?php
+
+if(! function_exists("string_plural_select_nl")) {
+function string_plural_select_nl($n){
+ $n = intval($n);
+ return ($n != 1);;
+}}
+;
+$a->strings["Filtered by rule: %s"] = "Gefilterd volgens regel: %s";
+$a->strings["Advanced Content Filter"] = "Geavanceerd filter voor berichtsinhoud";
+$a->strings["Back to Addon Settings"] = "Terug naar Addon instellingen";
+$a->strings["Add a Rule"] = "Filterregel toevoegen";
+$a->strings["Help"] = "Help";
+$a->strings["Add and manage your personal content filter rules in this screen. Rules have a name and an arbitrary expression that will be matched against post data. For a complete reference of the available operations and variables, check the <a href=\"advancedcontentfilter/help\">help page</a>."] = "Beheer de filterregels van je persoonlijke filter voor berichtsinhoud in dit scherm. Regels hebben een naam en bewoording welke we automatisch controleren door te vergelijken met de inhoud van elk bericht. Voor een compleet naslagwerk van de beschikbare bewerkingen en variabelen, zie de <a href=\"advancedcontentfilter/help\">help pagina</a>.";
+$a->strings["Your rules"] = "Jouw regels";
+$a->strings["You have no rules yet! Start adding one by clicking on the button above next to the title."] = "Je hebt nog geen regels! Klik op de knop bovenin naast de titel om een regel toe te voegen.";
+$a->strings["Disabled"] = "Uitgeschakeld";
+$a->strings["Enabled"] = "Geactiveerd";
+$a->strings["Disable this rule"] = "Deze regel uitschakelen";
+$a->strings["Enable this rule"] = "Deze regel inschakelen";
+$a->strings["Edit this rule"] = "Regel bewerken";
+$a->strings["Edit the rule"] = "Regel bewerken";
+$a->strings["Save this rule"] = "Deze regel opslaan";
+$a->strings["Delete this rule"] = "Deze regel verwijderen";
+$a->strings["Rule"] = "Regel";
+$a->strings["Close"] = "Sluiten";
+$a->strings["Add new rule"] = "Voeg nieuwe regel toe";
+$a->strings["Rule Name"] = "Regel naam";
+$a->strings["Rule Expression"] = "Regel bewoording";
+$a->strings["<p>Examples:</p><ul><li><pre>author_link == 'https://friendica.mrpetovan.com/profile/hypolite'</pre></li><li>tags</li></ul>"] = "<p>Voorbeelden:</p><ul><li><pre>author_link == 'https://friendica.mrpetovan.com/profile/hypolite'</pre></li><li>label</li></ul>";
+$a->strings["Cancel"] = "Annuleren";
+$a->strings["You must be logged in to use this method"] = "Je moet ingelogd zijn om deze methode te gebruiken";
+$a->strings["Invalid form security token, please refresh the page."] = "Ongeldige formulier beveiligings token, vernieuw de pagina a.u.b.";
+$a->strings["The rule name and expression are required."] = "De regelnaam en bewoording zijn vereist.";
+$a->strings["Rule successfully added"] = "Regel succesvol toegevoegd";
+$a->strings["Rule doesn't exist or doesn't belong to you."] = "Deze regel bestaat niet, of is niet van jou.";
+$a->strings["Rule successfully updated"] = "Regel succesvol opgeslagen";
+$a->strings["Rule successfully deleted"] = "Regel succesvol verwijderd";
+$a->strings["Missing argument: guid."] = "Parameter guid niet aanwezig";
+$a->strings["Unknown post with guid: %s"] = "Onbekend bericht met guid: %s";
+$a->strings["Method not found"] = "Methode niet gevonden";
<div id="rules"></div>
<script>
- var existingRules = {{$rules}};
+ var existingRules = {{$rules nofilter}};
var messages = {
{{foreach $messages as $key => $value}}
use Friendica\Core\L10n;
use Friendica\Core\Logger;
use Friendica\Core\Renderer;
+use Friendica\Core\System;
function blackout_install() {
Hook::register('page_header', 'addon/blackout/blackout.php', 'blackout_redirect');
# Translators:
# Damien Goutte-Gattat <damien+transifex@incenp.org>, 2015
# Hypolite Petovan <hypolite@mrpetovan.com>, 2016
+# vladimir N <lapoubelle111@gmail.com>, 2018
msgid ""
msgstr ""
"Project-Id-Version: friendica\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2014-06-22 13:18+0200\n"
-"PO-Revision-Date: 2016-09-24 02:13+0000\n"
-"Last-Translator: Hypolite Petovan <hypolite@mrpetovan.com>\n"
+"PO-Revision-Date: 2018-12-30 12:31+0000\n"
+"Last-Translator: vladimir N <lapoubelle111@gmail.com>\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"
#: blackout.php:100
msgid "Redirect URL"
-msgstr "Adresse de redirection"
+msgstr "Adresse URL de redirection"
#: blackout.php:100
msgid "all your visitors from the web will be redirected to this URL"
if(! function_exists("string_plural_select_fr")) {
function string_plural_select_fr($n){
+ $n = intval($n);
return ($n > 1);;
}}
;
$a->strings["Save Settings"] = "Sauvegarder les paramètres";
-$a->strings["Redirect URL"] = "Adresse de redirection";
+$a->strings["Redirect URL"] = "Adresse URL de redirection";
$a->strings["all your visitors from the web will be redirected to this URL"] = "Tous vos visiteurs venant du web seront redirigés vers cette URL.";
$a->strings["Begin of the Blackout"] = "Début du blackout";
$a->strings["format is <em>YYYY</em> year, <em>MM</em> month, <em>DD</em> day, <em>hh</em> hour and <em>mm</em> minute"] = "Le format est <em>YYYY</em> année, <em>MM</em> mois, <em>DD</em> jour, <em>hh</em> heure and <em>mm</em> minute";
# Hypolite Petovan <hypolite@mrpetovan.com>, 2016
# Marie Olive <lacellule101@gmail.com>, 2018
# StefOfficiel <pichard.stephane@free.fr>, 2015
+# vladimir N <lapoubelle111@gmail.com>, 2018
msgid ""
msgstr ""
"Project-Id-Version: friendica\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2018-08-17 10:23+0200\n"
-"PO-Revision-Date: 2018-11-13 12:55+0000\n"
-"Last-Translator: Marie Olive <lacellule101@gmail.com>\n"
+"PO-Revision-Date: 2018-12-30 12:33+0000\n"
+"Last-Translator: vladimir N <lapoubelle111@gmail.com>\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"
#: blockem.php:54 blockem.php:58
msgid "Blockem"
-msgstr "Blockem"
+msgstr "Bloquez-les"
#: blockem.php:62
msgid ""
#: blockem.php:81
msgid "BLOCKEM Settings saved."
-msgstr "Paramètres Blockem sauvegardés."
+msgstr "Paramètres Bloquez-les sauvegardés."
#: blockem.php:143
#, php-format
<?php
+if(! function_exists("string_plural_select_fr")) {
+function string_plural_select_fr($n){
+ $n = intval($n);
+ return ($n > 1);;
+}}
+;
+$a->strings["Blockem"] = "Bloquez-les";
+$a->strings["Hides user's content by collapsing posts. Also replaces their avatar with generic image."] = "Cache le contenu de l'utilisateur en contractant les publications. Remplace aussi leur avatar par une image générique.";
+$a->strings["Comma separated profile URLS:"] = "URLs de profil séparées par des virgules:";
+$a->strings["Save Settings"] = "Sauvegarder les paramètres";
+$a->strings["BLOCKEM Settings saved."] = "Paramètres Bloquez-les sauvegardés.";
+$a->strings["Filtered user: %s"] = "Utilisateur filtré:%s";
+$a->strings["Unblock Author"] = "Débloquer l'Auteur";
+$a->strings["Block Author"] = "Bloquer l'Auteur";
+$a->strings["blockem settings updated"] = "Réglages Blockem mis à jour.";
<?php
/**
* Name: Buffer Post Connector
- * Description: Post to Buffer (Facebook, Google+, LinkedIn, Twitter)
+ * Description: Post to Buffer (Facebook Pages, LinkedIn, Twitter)
* Version: 0.2
* Author: Michael Vogel <http://pirati.ca/profile/heluecht>
*/
--- /dev/null
+# ADDON catavatar
+# Copyright (C)
+# This file is distributed under the same license as the Friendica catavatar addon package.
+#
+#
+# Translators:
+# Vladimir Núñez <lapoubelle111@gmail.com>, 2019
+#
+#, fuzzy
+msgid ""
+msgstr ""
+"Project-Id-Version: \n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2018-04-13 09:35+0000\n"
+"PO-Revision-Date: 2018-04-07 05:23+0000\n"
+"Last-Translator: Vladimir Núñez <lapoubelle111@gmail.com>, 2019\n"
+"Language-Team: French (https://www.transifex.com/Friendica/teams/12172/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=2; plural=(n > 1);\n"
+
+#: catavatar.php:60
+msgid "Use Cat as Avatar"
+msgstr "Utiliser Chat comme avatar"
+
+#: catavatar.php:61
+msgid "More Random Cat!"
+msgstr "Autres Chats au hasard"
+
+#: catavatar.php:62
+msgid "Reset to email Cat"
+msgstr "Réinitialiser à Chat courriel"
+
+#: catavatar.php:64
+msgid "Cat Avatar Settings"
+msgstr "Paramètres de Chat avatar"
+
+#: catavatar.php:100
+msgid "The cat hadn't found itself."
+msgstr "Le Chat ne s'y est pas retrouvé"
+
+#: catavatar.php:109
+msgid "There was an error, the cat ran away."
+msgstr "Il y a eu une erreur et le chat s'est enfui"
+
+#: catavatar.php:115
+msgid "Profile Photos"
+msgstr "Photos de profil"
+
+#: catavatar.php:130
+msgid "Meow!"
+msgstr "Miaou !"
--- /dev/null
+<?php
+
+if(! function_exists("string_plural_select_fr")) {
+function string_plural_select_fr($n){
+ $n = intval($n);
+ return ($n > 1);;
+}}
+;
+$a->strings["Use Cat as Avatar"] = "Utiliser Chat comme avatar";
+$a->strings["More Random Cat!"] = "Autres Chats au hasard";
+$a->strings["Reset to email Cat"] = "Réinitialiser à Chat courriel";
+$a->strings["Cat Avatar Settings"] = "Paramètres de Chat avatar";
+$a->strings["The cat hadn't found itself."] = "Le Chat ne s'y est pas retrouvé";
+$a->strings["There was an error, the cat ran away."] = "Il y a eu une erreur et le chat s'est enfui";
+$a->strings["Profile Photos"] = "Photos de profil";
+$a->strings["Meow!"] = "Miaou !";
--- /dev/null
+Cookie Notice
+
+For server admins only.
+
+Configure, show and handle a simple cookie usage notice. This absolute annoying but eventually necessary notification about the usage of cookies. This kind of things you klick ok on but don't read.
+
+Author: Peter liebetrau <https://socivitas.com/profile/peerteer>
--- /dev/null
+/* Admin css */
+#cookienotice-label {
+ float: left;
+ width: 300px;
+ margin-top: 10px;
+}
+
+#cookienotice-text {
+ float: left;
+ margin-top: 10px;
+ width: 400px;
+ height: 150px;
+}
+
+#cookienotice-submit {
+ margin-top: 15px;
+}
+
+.cookienotice {
+ text-align: center;
+ width: 100%;
+ margin-top: 25px;
+ font-size: 20px;
+}
+
+/* Frontend css */
+#cookienotice-box {
+ display: none;
+ position: fixed;
+ z-index: 10000;
+ bottom: 0px;
+ left: 0;
+ width: 100%;
+ background-color: #101010;
+ color: #f0f0f0;
+ padding: 2em 1em;
+ text-align: center;
+}
+#cookienotice-box p {
+ max-width: 100%;
+}
+#cookienotice-ok-button {
+ border: 1px solid darkgoldenrod;
+ background-color: gold;
+ color: #101010;
+ min-width: 80px;
+ padding: .5em .1em;
+}
+
--- /dev/null
+window.addEventListener("load", function () {
+ var cookiename = 'cncookiesaccepted'
+ var cookie = getCookie(cookiename);
+
+ if (cookie == "") {
+ document.getElementById('cookienotice-box').style.display = 'block';
+ document.getElementById('cookienotice-ok-button').onclick = function () {
+ setCookie(cookiename, 1, 365);
+ document.getElementById('cookienotice-box').style.display = 'none';
+ };
+ }
+
+ function setCookie(cname, cvalue, exdays) {
+ var d = new Date();
+ d.setTime(d.getTime() + (exdays * 24 * 60 * 60 * 1000));
+ var expires = "expires=" + d.toUTCString();
+ document.cookie = cname + "=" + cvalue + ";" + expires + ";path=/";
+ }
+
+ function getCookie(cname) {
+ var name = cname + "=";
+ var decodedCookie = decodeURIComponent(document.cookie);
+ var ca = decodedCookie.split(';');
+ for (var i = 0; i < ca.length; i++) {
+ var c = ca[i];
+ while (c.charAt(0) == ' ') {
+ c = c.substring(1);
+ }
+ if (c.indexOf(name) == 0) {
+ return c.substring(name.length, c.length);
+ }
+ }
+ return "";
+ }
+
+});
--- /dev/null
+<?php
+
+/**
+ * Name: Cookie Notice
+ * Description: Configure, show and handle a simple cookie notice
+ * Version: 1.0
+ * Author: Peter Liebetrau <https://socivitas/profile/peerteer>
+ *
+ */
+use Friendica\Core\Hook;
+use Friendica\Core\Config;
+use Friendica\Core\L10n;
+use Friendica\Core\Renderer;
+
+/**
+ * cookienotice_install
+ * registers hooks
+ *
+ * @return void
+ */
+function cookienotice_install()
+{
+ Hook::register('page_content_top', __FILE__, 'cookienotice_page_content_top');
+ Hook::register('page_end', __FILE__, 'cookienotice_page_end');
+ Hook::register('addon_settings', __FILE__, 'cookienotice_addon_settings');
+ Hook::register('addon_settings_post', __FILE__, 'cookienotice_addon_settings_post');
+}
+
+/**
+ * cookienotice_uninstall
+ * unregisters hooks
+ *
+ * @return void
+*/
+function cookienotice_uninstall()
+{
+ Hook::unregister('page_content_top', __FILE__, 'cookienotice_page_content_top');
+ Hook::unregister('page_end', __FILE__, 'cookienotice_page_end');
+ Hook::unregister('addon_settings', __FILE__, 'cookienotice_addon_settings');
+ Hook::unregister('addon_settings_post', __FILE__, 'cookienotice_addon_settings_post');
+}
+
+/**
+ * cookienotice_addon_settings
+ * addon_settings hook
+ * creates the admins config panel
+ *
+ * @param \Friendica\App $a
+ * @param string $s The existing config panel html so far
+ *
+ * @return void
+ */
+function cookienotice_addon_settings(\Friendica\App $a, &$s)
+{
+ if (!is_site_admin()) {
+ return;
+ }
+
+ /* Add our stylesheet to the page so we can make our settings look nice */
+ $stylesheetPath = 'addon/cookienotice/cookienotice.css';
+ $a->registerStylesheet($stylesheetPath);
+
+ $text = Config::get('cookienotice', 'text', L10n::t('This website uses cookies. If you continue browsing this website, you agree to the usage of cookies.'));
+ $oktext = Config::get('cookienotice', 'oktext', L10n::t('OK'));
+
+ $t = Renderer::getMarkupTemplate("settings.tpl", "addon/cookienotice/");
+ $s .= Renderer::replaceMacros($t, [
+ '$title' => L10n::t('"cookienotice" Settings'),
+ '$description' => L10n::t('<b>Configure your cookie usage notice.</b> It should just be a notice, saying that the website uses cookies. It is shown as long as a user didnt confirm clicking the OK button.'),
+ '$text' => ['cookienotice-text', L10n::t('Cookie Usage Notice'), $text, L10n::t('The cookie usage notice')],
+ '$oktext' => ['cookienotice-oktext', L10n::t('OK Button Text'), $oktext, L10n::t('The OK Button text')],
+ '$submit' => L10n::t('Save Settings')
+ ]);
+
+ return;
+}
+
+/**
+ * cookienotice_addon_settings_post
+ * addon_settings_post hook
+ * handles the post request from the admin panel
+ *
+ * @param \Friendica\App $a
+ * @param string $b
+ *
+ * @return void
+ */
+function cookienotice_addon_settings_post(\Friendica\App $a, &$b)
+{
+ if (!is_site_admin()) {
+ return;
+ }
+
+ if ($_POST['cookienotice-submit']) {
+ Config::set('cookienotice', 'text', trim(strip_tags($_POST['cookienotice-text'])));
+ Config::set('cookienotice', 'oktext', trim(strip_tags($_POST['cookienotice-oktext'])));
+ info(L10n::t('cookienotice Settings saved.') . EOL);
+ }
+}
+
+/**
+ * cookienotice_page_content_top
+ * page_content_top hook
+ * adds css and scripts to the <head> section of the html
+ *
+ * @param \Friendica\App $a
+ * @param string $b unnused - the header html incl. nav
+ *
+ * @return void
+ */
+function cookienotice_page_content_top(\Friendica\App $a, &$b)
+{
+ $stylesheetPath = 'addon/cookienotice/cookienotice.css';
+ $footerscriptPath = 'addon/cookienotice/cookienotice.js';
+
+ $a->registerStylesheet($stylesheetPath);
+ $a->registerFooterScript($footerscriptPath);
+}
+
+/**
+ * cookienotice_page_end
+ * page_end hook
+ * ads our cookienotice box to the end of the html
+ *
+ * @param \Friendica\App $a
+ * @param string $b the page html
+ *
+ * @return void
+ */
+function cookienotice_page_end(\Friendica\App $a, &$b)
+{
+ $text = (string) Config::get('cookienotice', 'text', L10n::t('This website uses cookies to recognize revisiting and logged in users. You accept the usage of these cookies by continue browsing this website.'));
+ $oktext = (string) Config::get('cookienotice', 'oktext', L10n::t('OK'));
+
+ $page_end_tpl = Renderer::getMarkupTemplate("cookienotice.tpl", "addon/cookienotice/");
+
+ $page_end = Renderer::replaceMacros($page_end_tpl, [
+ '$text' => $text,
+ '$oktext' => $oktext,
+ ]);
+
+ $b .= $page_end;
+}
--- /dev/null
+# ADDON cookienotice
+# Copyright (C)
+# This file is distributed under the same license as the Friendica cookienotice addon package.
+#
+#
+#, fuzzy
+msgid ""
+msgstr ""
+"Project-Id-Version: \n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2019-01-30 10:48+0100\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"
+
+#: cookienotice.php:63
+msgid ""
+"This website uses cookies. If you continue browsing this website, you agree "
+"to the usage of cookies."
+msgstr ""
+
+#: cookienotice.php:64 cookienotice.php:133
+msgid "OK"
+msgstr ""
+
+#: cookienotice.php:68
+msgid "\"cookienotice\" Settings"
+msgstr ""
+
+#: cookienotice.php:69
+msgid ""
+"<b>Configure your cookie usage notice.</b> It should just be a notice, "
+"saying that the website uses cookies. It is shown as long as a user didnt "
+"confirm clicking the OK button."
+msgstr ""
+
+#: cookienotice.php:70
+msgid "Cookie Usage Notice"
+msgstr ""
+
+#: cookienotice.php:70
+msgid "The cookie usage notice"
+msgstr ""
+
+#: cookienotice.php:71
+msgid "OK Button Text"
+msgstr ""
+
+#: cookienotice.php:71
+msgid "The OK Button text"
+msgstr ""
+
+#: cookienotice.php:72
+msgid "Save Settings"
+msgstr ""
+
+#: cookienotice.php:97
+msgid "cookienotice Settings saved."
+msgstr ""
+
+#: cookienotice.php:132
+msgid ""
+"This website uses cookies to recognize revisiting and logged in users. You "
+"accept the usage of these cookies by continue browsing this website."
+msgstr ""
--- /dev/null
+# ADDON cookienotice
+# Copyright (C)
+# This file is distributed under the same license as the Friendica cookienotice addon package.
+#
+#
+# Translators:
+# Aditoo, 2019
+#
+#, fuzzy
+msgid ""
+msgstr ""
+"Project-Id-Version: \n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2019-01-30 10:48+0100\n"
+"PO-Revision-Date: 2019-01-23 16:01+0000\n"
+"Last-Translator: Aditoo, 2019\n"
+"Language-Team: Czech (https://www.transifex.com/Friendica/teams/12172/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"
+
+#: cookienotice.php:63
+msgid ""
+"This website uses cookies. If you continue browsing this website, you agree "
+"to the usage of cookies."
+msgstr ""
+"Tato stránka používá cookies. Pokud budete pokračovat v používání této "
+"stránky, souhlasíte s používáním cookies."
+
+#: cookienotice.php:64 cookienotice.php:133
+msgid "OK"
+msgstr "OK"
+
+#: cookienotice.php:68
+msgid "\"cookienotice\" Settings"
+msgstr "Nastavení „cookienotice“"
+
+#: cookienotice.php:69
+msgid ""
+"<b>Configure your cookie usage notice.</b> It should just be a notice, "
+"saying that the website uses cookies. It is shown as long as a user didnt "
+"confirm clicking the OK button."
+msgstr ""
+"<b>Nastavte si vaše oznámení o používání cookies.</b> Mělo by to být pouze "
+"oznámení říkající, že stránka používá cookies. Zobrazí se, dokud uživatel "
+"neklikne na tlačítko OK."
+
+#: cookienotice.php:70
+msgid "Cookie Usage Notice"
+msgstr "Oznámení o používání cookies"
+
+#: cookienotice.php:70
+msgid "The cookie usage notice"
+msgstr "Oznámení o používání cookies"
+
+#: cookienotice.php:71
+msgid "OK Button Text"
+msgstr "Text tlačítka OK"
+
+#: cookienotice.php:71
+msgid "The OK Button text"
+msgstr "Text tlačítka OK"
+
+#: cookienotice.php:72
+msgid "Save Settings"
+msgstr "Uložit nastavení"
+
+#: cookienotice.php:97
+msgid "cookienotice Settings saved."
+msgstr "Nastavení cookienotice uložena."
+
+#: cookienotice.php:132
+msgid ""
+"This website uses cookies to recognize revisiting and logged in users. You "
+"accept the usage of these cookies by continue browsing this website."
+msgstr ""
+"Tato stránka používá cookies pro rozpoznávání znovu navštěvujících a "
+"přihlášených uživatelů. Pokud budete pokračovat v používání této stránky, "
+"souhlasíte s používáním cookies."
--- /dev/null
+<?php
+
+if(! function_exists("string_plural_select_cs")) {
+function string_plural_select_cs($n){
+ $n = intval($n);
+ return ($n == 1 && $n % 1 == 0) ? 0 : ($n >= 2 && $n <= 4 && $n % 1 == 0) ? 1: ($n % 1 != 0 ) ? 2 : 3;;
+}}
+;
+$a->strings["This website uses cookies. If you continue browsing this website, you agree to the usage of cookies."] = "Tato stránka používá cookies. Pokud budete pokračovat v používání této stránky, souhlasíte s používáním cookies.";
+$a->strings["OK"] = "OK";
+$a->strings["\"cookienotice\" Settings"] = "Nastavení „cookienotice“";
+$a->strings["<b>Configure your cookie usage notice.</b> It should just be a notice, saying that the website uses cookies. It is shown as long as a user didnt confirm clicking the OK button."] = "<b>Nastavte si vaše oznámení o používání cookies.</b> Mělo by to být pouze oznámení říkající, že stránka používá cookies. Zobrazí se, dokud uživatel neklikne na tlačítko OK.";
+$a->strings["Cookie Usage Notice"] = "Oznámení o používání cookies";
+$a->strings["The cookie usage notice"] = "Oznámení o používání cookies";
+$a->strings["OK Button Text"] = "Text tlačítka OK";
+$a->strings["The OK Button text"] = "Text tlačítka OK";
+$a->strings["Save Settings"] = "Uložit nastavení";
+$a->strings["cookienotice Settings saved."] = "Nastavení cookienotice uložena.";
+$a->strings["This website uses cookies to recognize revisiting and logged in users. You accept the usage of these cookies by continue browsing this website."] = "Tato stránka používá cookies pro rozpoznávání znovu navštěvujících a přihlášených uživatelů. Pokud budete pokračovat v používání této stránky, souhlasíte s používáním cookies.";
--- /dev/null
+# ADDON cookienotice
+# Copyright (C)
+# This file is distributed under the same license as the Friendica cookienotice addon package.
+#
+#
+# Translators:
+# Tobias Diekershoff <tobias.diekershoff@gmx.net>, 2019
+#
+#, fuzzy
+msgid ""
+msgstr ""
+"Project-Id-Version: \n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2019-01-30 10:48+0100\n"
+"PO-Revision-Date: 2019-01-23 16:01+0000\n"
+"Last-Translator: Tobias Diekershoff <tobias.diekershoff@gmx.net>, 2019\n"
+"Language-Team: German (https://www.transifex.com/Friendica/teams/12172/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"
+
+#: cookienotice.php:63
+msgid ""
+"This website uses cookies. If you continue browsing this website, you agree "
+"to the usage of cookies."
+msgstr ""
+"Diese Webseite verwendet Cookies. Durch die weitere Benutzung der Webseite "
+"stimmen Sie dieser Verwendung zu."
+
+#: cookienotice.php:64 cookienotice.php:133
+msgid "OK"
+msgstr "OK"
+
+#: cookienotice.php:68
+msgid "\"cookienotice\" Settings"
+msgstr "\"cookienotice\" Einstellungen"
+
+#: cookienotice.php:69
+msgid ""
+"<b>Configure your cookie usage notice.</b> It should just be a notice, "
+"saying that the website uses cookies. It is shown as long as a user didnt "
+"confirm clicking the OK button."
+msgstr ""
+"<b>Konfiguriere deinen Cookie Nutzungshinweis.</b> Es sollte ein Hinweis "
+"sein, der sagt dass die Webseite Cookies benutzt. Er wird solange angezeigt,"
+" bis der User den Hinweis mit klicken des OK Buttons bestätigt."
+
+#: cookienotice.php:70
+msgid "Cookie Usage Notice"
+msgstr "Cookie Nutzungshinweis"
+
+#: cookienotice.php:70
+msgid "The cookie usage notice"
+msgstr "Der Hinweis zur Nutzung von Cookies"
+
+#: cookienotice.php:71
+msgid "OK Button Text"
+msgstr "OK Button Text"
+
+#: cookienotice.php:71
+msgid "The OK Button text"
+msgstr "Der für den Ok Button verwendete Text"
+
+#: cookienotice.php:72
+msgid "Save Settings"
+msgstr "Einstellungen speichern"
+
+#: cookienotice.php:97
+msgid "cookienotice Settings saved."
+msgstr "cookienotice Einstellungen wurden gespeichert"
+
+#: cookienotice.php:132
+msgid ""
+"This website uses cookies to recognize revisiting and logged in users. You "
+"accept the usage of these cookies by continue browsing this website."
+msgstr ""
+"Diese Webseite verwendet Cookies zur Erkennung von wiederkehrenden Besuchern"
+" und eingeloggten Nutzern. Durch die weitere Benutzung der Webseite "
+"akzeptieren sie die Verwendung der Cookies."
--- /dev/null
+<?php
+
+if(! function_exists("string_plural_select_de")) {
+function string_plural_select_de($n){
+ $n = intval($n);
+ return ($n != 1);;
+}}
+;
+$a->strings["This website uses cookies. If you continue browsing this website, you agree to the usage of cookies."] = "Diese Webseite verwendet Cookies. Durch die weitere Benutzung der Webseite stimmen Sie dieser Verwendung zu.";
+$a->strings["OK"] = "OK";
+$a->strings["\"cookienotice\" Settings"] = "\"cookienotice\" Einstellungen";
+$a->strings["<b>Configure your cookie usage notice.</b> It should just be a notice, saying that the website uses cookies. It is shown as long as a user didnt confirm clicking the OK button."] = "<b>Konfiguriere deinen Cookie Nutzungshinweis.</b> Es sollte ein Hinweis sein, der sagt dass die Webseite Cookies benutzt. Er wird solange angezeigt, bis der User den Hinweis mit klicken des OK Buttons bestätigt.";
+$a->strings["Cookie Usage Notice"] = "Cookie Nutzungshinweis";
+$a->strings["The cookie usage notice"] = "Der Hinweis zur Nutzung von Cookies";
+$a->strings["OK Button Text"] = "OK Button Text";
+$a->strings["The OK Button text"] = "Der für den Ok Button verwendete Text";
+$a->strings["Save Settings"] = "Einstellungen speichern";
+$a->strings["cookienotice Settings saved."] = "cookienotice Einstellungen wurden gespeichert";
+$a->strings["This website uses cookies to recognize revisiting and logged in users. You accept the usage of these cookies by continue browsing this website."] = "Diese Webseite verwendet Cookies zur Erkennung von wiederkehrenden Besuchern und eingeloggten Nutzern. Durch die weitere Benutzung der Webseite akzeptieren sie die Verwendung der Cookies.";
--- /dev/null
+# ADDON cookienotice
+# Copyright (C)
+# This file is distributed under the same license as the Friendica cookienotice addon package.
+#
+#
+# Translators:
+# Vladimir Núñez <lapoubelle111@gmail.com>, 2019
+#
+#, fuzzy
+msgid ""
+msgstr ""
+"Project-Id-Version: \n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2019-01-20 14:51+0100\n"
+"PO-Revision-Date: 2019-01-23 16:01+0000\n"
+"Last-Translator: Vladimir Núñez <lapoubelle111@gmail.com>, 2019\n"
+"Language-Team: French (https://www.transifex.com/Friendica/teams/12172/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=2; plural=(n > 1);\n"
+
+#: cookienotice.php:53
+msgid "\"cookienotice\" Settings"
+msgstr ""
+
+#: cookienotice.php:54
+msgid ""
+"<b>Configure your cookie usage notice.</b> It should just be a notice, "
+"saying that the website uses cookies. It is shown as long as a user didnt "
+"confirm clicking the OK button."
+msgstr ""
+
+#: cookienotice.php:55
+msgid "Cookie Usage Notice"
+msgstr ""
+
+#: cookienotice.php:55
+msgid "The cookie usage notice"
+msgstr ""
+
+#: cookienotice.php:56
+msgid "OK Button Text"
+msgstr "Bouton OK Texte "
+
+#: cookienotice.php:56
+msgid "The OK Button text"
+msgstr ""
+
+#: cookienotice.php:57
+msgid "Save Settings"
+msgstr ""
+
+#: cookienotice.php:72
+msgid "cookienotice Settings saved."
+msgstr ""
--- /dev/null
+<?php
+
+if(! function_exists("string_plural_select_fr")) {
+function string_plural_select_fr($n){
+ $n = intval($n);
+ return ($n > 1);;
+}}
+;
+$a->strings["\"cookienotice\" Settings"] = "";
+$a->strings["<b>Configure your cookie usage notice.</b> It should just be a notice, saying that the website uses cookies. It is shown as long as a user didnt confirm clicking the OK button."] = "";
+$a->strings["Cookie Usage Notice"] = "";
+$a->strings["The cookie usage notice"] = "";
+$a->strings["OK Button Text"] = "Bouton OK Texte ";
+$a->strings["The OK Button text"] = "";
+$a->strings["Save Settings"] = "";
+$a->strings["cookienotice Settings saved."] = "";
--- /dev/null
+# ADDON cookienotice
+# Copyright (C)
+# This file is distributed under the same license as the Friendica cookienotice addon package.
+#
+#
+# Translators:
+# Rik 4 <rikviergever@hotmail.com>, 2019
+#
+#, fuzzy
+msgid ""
+msgstr ""
+"Project-Id-Version: \n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2019-01-30 10:48+0100\n"
+"PO-Revision-Date: 2019-01-23 16:01+0000\n"
+"Last-Translator: Rik 4 <rikviergever@hotmail.com>, 2019\n"
+"Language-Team: Dutch (https://www.transifex.com/Friendica/teams/12172/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"
+
+#: cookienotice.php:63
+msgid ""
+"This website uses cookies. If you continue browsing this website, you agree "
+"to the usage of cookies."
+msgstr ""
+
+#: cookienotice.php:64 cookienotice.php:133
+msgid "OK"
+msgstr ""
+
+#: cookienotice.php:68
+msgid "\"cookienotice\" Settings"
+msgstr ""
+
+#: cookienotice.php:69
+msgid ""
+"<b>Configure your cookie usage notice.</b> It should just be a notice, "
+"saying that the website uses cookies. It is shown as long as a user didnt "
+"confirm clicking the OK button."
+msgstr ""
+
+#: cookienotice.php:70
+msgid "Cookie Usage Notice"
+msgstr ""
+
+#: cookienotice.php:70
+msgid "The cookie usage notice"
+msgstr ""
+
+#: cookienotice.php:71
+msgid "OK Button Text"
+msgstr "OK knop tekst"
+
+#: cookienotice.php:71
+msgid "The OK Button text"
+msgstr ""
+
+#: cookienotice.php:72
+msgid "Save Settings"
+msgstr ""
+
+#: cookienotice.php:97
+msgid "cookienotice Settings saved."
+msgstr ""
+
+#: cookienotice.php:132
+msgid ""
+"This website uses cookies to recognize revisiting and logged in users. You "
+"accept the usage of these cookies by continue browsing this website."
+msgstr ""
--- /dev/null
+<?php
+
+if(! function_exists("string_plural_select_nl")) {
+function string_plural_select_nl($n){
+ $n = intval($n);
+ return ($n != 1);;
+}}
+;
+$a->strings["This website uses cookies. If you continue browsing this website, you agree to the usage of cookies."] = "";
+$a->strings["OK"] = "";
+$a->strings["\"cookienotice\" Settings"] = "";
+$a->strings["<b>Configure your cookie usage notice.</b> It should just be a notice, saying that the website uses cookies. It is shown as long as a user didnt confirm clicking the OK button."] = "";
+$a->strings["Cookie Usage Notice"] = "";
+$a->strings["The cookie usage notice"] = "";
+$a->strings["OK Button Text"] = "OK knop tekst";
+$a->strings["The OK Button text"] = "";
+$a->strings["Save Settings"] = "";
+$a->strings["cookienotice Settings saved."] = "";
+$a->strings["This website uses cookies to recognize revisiting and logged in users. You accept the usage of these cookies by continue browsing this website."] = "";
--- /dev/null
+# ADDON cookienotice
+# Copyright (C)
+# This file is distributed under the same license as the Friendica cookienotice addon package.
+#
+#
+# Translators:
+# Waldemar Stoczkowski, 2019
+#
+#, fuzzy
+msgid ""
+msgstr ""
+"Project-Id-Version: \n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2019-01-30 10:48+0100\n"
+"PO-Revision-Date: 2019-01-23 16:01+0000\n"
+"Last-Translator: Waldemar Stoczkowski, 2019\n"
+"Language-Team: Polish (https://www.transifex.com/Friendica/teams/12172/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"
+
+#: cookienotice.php:63
+msgid ""
+"This website uses cookies. If you continue browsing this website, you agree "
+"to the usage of cookies."
+msgstr ""
+"Ta strona używa plików cookie. Jeśli będziesz kontynuować przeglądanie tej "
+"strony, zgadzasz się na użycie plików cookie."
+
+#: cookienotice.php:64 cookienotice.php:133
+msgid "OK"
+msgstr "OK"
+
+#: cookienotice.php:68
+msgid "\"cookienotice\" Settings"
+msgstr "Ustawienia \"plików cookie\""
+
+#: cookienotice.php:69
+msgid ""
+"<b>Configure your cookie usage notice.</b> It should just be a notice, "
+"saying that the website uses cookies. It is shown as long as a user didnt "
+"confirm clicking the OK button."
+msgstr ""
+"<b>Skonfiguruj zawiadomienie o użyciu plików cookie.</b> Powinien to być po "
+"prostu komunikat, że strona korzysta z plików cookie. Jest wyświetlany, o "
+"ile użytkownik nie potwierdził, klikając przycisk OK."
+
+#: cookienotice.php:70
+msgid "Cookie Usage Notice"
+msgstr "Użyciu plików cookie"
+
+#: cookienotice.php:70
+msgid "The cookie usage notice"
+msgstr "Powiadomienie o użyciu plików cookie"
+
+#: cookienotice.php:71
+msgid "OK Button Text"
+msgstr "Tekst przycisku OK"
+
+#: cookienotice.php:71
+msgid "The OK Button text"
+msgstr "Tekst przycisku OK"
+
+#: cookienotice.php:72
+msgid "Save Settings"
+msgstr "Zapisz ustawienia"
+
+#: cookienotice.php:97
+msgid "cookienotice Settings saved."
+msgstr "Zapisano stawienia plików cookie."
+
+#: cookienotice.php:132
+msgid ""
+"This website uses cookies to recognize revisiting and logged in users. You "
+"accept the usage of these cookies by continue browsing this website."
+msgstr ""
+"Ta strona używa plików cookie do rozpoznawania ponownych odwiedzin i "
+"zalogowanych użytkowników. Akceptujesz użycie tych plików cookie, "
+"kontynuując przeglądanie tej witryny."
--- /dev/null
+<?php
+
+if(! function_exists("string_plural_select_pl")) {
+function string_plural_select_pl($n){
+ $n = intval($n);
+ return ($n==1 ? 0 : ($n%10>=2 && $n%10<=4) && ($n%100<12 || $n%100>14) ? 1 : $n!=1 && ($n%10>=0 && $n%10<=1) || ($n%10>=5 && $n%10<=9) || ($n%100>=12 && $n%100<=14) ? 2 : 3);;
+}}
+;
+$a->strings["This website uses cookies. If you continue browsing this website, you agree to the usage of cookies."] = "Ta strona używa plików cookie. Jeśli będziesz kontynuować przeglądanie tej strony, zgadzasz się na użycie plików cookie.";
+$a->strings["OK"] = "OK";
+$a->strings["\"cookienotice\" Settings"] = "Ustawienia \"plików cookie\"";
+$a->strings["<b>Configure your cookie usage notice.</b> It should just be a notice, saying that the website uses cookies. It is shown as long as a user didnt confirm clicking the OK button."] = "<b>Skonfiguruj zawiadomienie o użyciu plików cookie.</b> Powinien to być po prostu komunikat, że strona korzysta z plików cookie. Jest wyświetlany, o ile użytkownik nie potwierdził, klikając przycisk OK.";
+$a->strings["Cookie Usage Notice"] = "Użyciu plików cookie";
+$a->strings["The cookie usage notice"] = "Powiadomienie o użyciu plików cookie";
+$a->strings["OK Button Text"] = "Tekst przycisku OK";
+$a->strings["The OK Button text"] = "Tekst przycisku OK";
+$a->strings["Save Settings"] = "Zapisz ustawienia";
+$a->strings["cookienotice Settings saved."] = "Zapisano stawienia plików cookie.";
+$a->strings["This website uses cookies to recognize revisiting and logged in users. You accept the usage of these cookies by continue browsing this website."] = "Ta strona używa plików cookie do rozpoznawania ponownych odwiedzin i zalogowanych użytkowników. Akceptujesz użycie tych plików cookie, kontynuując przeglądanie tej witryny.";
--- /dev/null
+# ADDON cookienotice
+# Copyright (C)
+# This file is distributed under the same license as the Friendica cookienotice addon package.
+#
+#
+# Translators:
+# 朱陈锬 <tangenters@outlook.com>, 2019
+#
+#, fuzzy
+msgid ""
+msgstr ""
+"Project-Id-Version: \n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2019-01-30 10:48+0100\n"
+"PO-Revision-Date: 2019-01-23 16:01+0000\n"
+"Last-Translator: 朱陈锬 <tangenters@outlook.com>, 2019\n"
+"Language-Team: Chinese (China) (https://www.transifex.com/Friendica/teams/12172/zh_CN/)\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"Language: zh_CN\n"
+"Plural-Forms: nplurals=1; plural=0;\n"
+
+#: cookienotice.php:63
+msgid ""
+"This website uses cookies. If you continue browsing this website, you agree "
+"to the usage of cookies."
+msgstr "本网站将使用 cookies。如果您继续浏览本网站,即表示您同意使用 cookies。"
+
+#: cookienotice.php:64 cookienotice.php:133
+msgid "OK"
+msgstr "好的"
+
+#: cookienotice.php:68
+msgid "\"cookienotice\" Settings"
+msgstr "“cookie 布告”设置"
+
+#: cookienotice.php:69
+msgid ""
+"<b>Configure your cookie usage notice.</b> It should just be a notice, "
+"saying that the website uses cookies. It is shown as long as a user didnt "
+"confirm clicking the OK button."
+msgstr "<b>配置您的 cookie 使用布告。</b> 它将会显示一条布告称此网站使用 cookies 。它将会一直显示直到用户点击确定按钮。"
+
+#: cookienotice.php:70
+msgid "Cookie Usage Notice"
+msgstr "Cookie 使用布告"
+
+#: cookienotice.php:70
+msgid "The cookie usage notice"
+msgstr "cookie 使用布告"
+
+#: cookienotice.php:71
+msgid "OK Button Text"
+msgstr "确认按钮文本"
+
+#: cookienotice.php:71
+msgid "The OK Button text"
+msgstr "确认按钮文本"
+
+#: cookienotice.php:72
+msgid "Save Settings"
+msgstr "保存设置"
+
+#: cookienotice.php:97
+msgid "cookienotice Settings saved."
+msgstr "cookies 布告设置已保存"
+
+#: cookienotice.php:132
+msgid ""
+"This website uses cookies to recognize revisiting and logged in users. You "
+"accept the usage of these cookies by continue browsing this website."
+msgstr "本网站使用 cookies 来识别登录和重访的用户。如果您继续浏览本网站即表示您接受使用上述 cookies。"
--- /dev/null
+<?php
+
+if(! function_exists("string_plural_select_zh_cn")) {
+function string_plural_select_zh_cn($n){
+ $n = intval($n);
+ return 0;;
+}}
+;
+$a->strings["This website uses cookies. If you continue browsing this website, you agree to the usage of cookies."] = "本网站将使用 cookies。如果您继续浏览本网站,即表示您同意使用 cookies。";
+$a->strings["OK"] = "好的";
+$a->strings["\"cookienotice\" Settings"] = "“cookie 布告”设置";
+$a->strings["<b>Configure your cookie usage notice.</b> It should just be a notice, saying that the website uses cookies. It is shown as long as a user didnt confirm clicking the OK button."] = "<b>配置您的 cookie 使用布告。</b> 它将会显示一条布告称此网站使用 cookies 。它将会一直显示直到用户点击确定按钮。";
+$a->strings["Cookie Usage Notice"] = "Cookie 使用布告";
+$a->strings["The cookie usage notice"] = "cookie 使用布告";
+$a->strings["OK Button Text"] = "确认按钮文本";
+$a->strings["The OK Button text"] = "确认按钮文本";
+$a->strings["Save Settings"] = "保存设置";
+$a->strings["cookienotice Settings saved."] = "cookies 布告设置已保存";
+$a->strings["This website uses cookies to recognize revisiting and logged in users. You accept the usage of these cookies by continue browsing this website."] = "本网站使用 cookies 来识别登录和重访的用户。如果您继续浏览本网站即表示您接受使用上述 cookies。";
--- /dev/null
+<div id="cookienotice-box"><p>{{$text}}</p><button id="cookienotice-ok-button">{{$oktext}}</button></div>
+
--- /dev/null
+<span id="settings_cookienotice_inflated" class="settings-block fakelink" style="display: block;" onclick="openClose('settings_cookienotice_expanded'); openClose('settings_cookienotice_inflated');">
+ <h3>{{$title}}</h3>
+</span>
+<div id="settings_cookienotice_expanded" class="settings-block" style="display: none;">
+ <span class="fakelink" onclick="openClose('settings_cookienotice_expanded'); openClose('settings_cookienotice_inflated');">
+ <h3>{{$title}}</h3>
+ </span>
+ <p>{{$description nofilter}}</p>
+ {{include file="field_textarea.tpl" field=$text}}
+ {{include file="field_input.tpl" field=$oktext}}
+ <div class="settings-submit-wrapper" >
+ <input type="submit" id="cookienotice-submit" name="cookienotice-submit" class="settings-submit" value="{{$submit}}" />
+ </div>
+</div>
+<div class="clear"></div>
*
*/
-require_once 'include/text.php';
-
use Friendica\App;
use Friendica\Core\Cache;
use Friendica\Core\Config;
use Friendica\Core\L10n;
use Friendica\Core\Renderer;
use Friendica\Database\DBA;
-use Friendica\Model\Contact;
use Friendica\Model\Profile;
+use Friendica\Model\User;
use Friendica\Util\Strings;
use Friendica\Util\Temporal;
-require_once 'boot.php';
-require_once 'include/dba.php';
-require_once 'include/text.php';
-
function forumdirectory_install()
{
Hook::register('app_menu', 'addon/forumdirectory/forumdirectory.php', 'forumdirectory_app_menu');
}
switch ($rr['page-flags']) {
- case Contact::PAGE_NORMAL : $page_type = "Personal Profile"; break;
- case Contact::PAGE_SOAPBOX : $page_type = "Fan Page" ; break;
- case Contact::PAGE_COMMUNITY: $page_type = "Community Forum" ; break;
- case Contact::PAGE_FREELOVE : $page_type = "Open Forum" ; break;
- case Contact::PAGE_PRVGROUP : $page_type = "Private Group" ; break;
+ case User::PAGE_FLAGS_NORMAL : $page_type = "Personal Profile"; break;
+ case User::PAGE_FLAGS_SOAPBOX : $page_type = "Fan Page" ; break;
+ case User::PAGE_FLAGS_COMMUNITY: $page_type = "Community Forum" ; break;
+ case User::PAGE_FLAGS_FREELOVE : $page_type = "Open Forum" ; break;
+ case User::PAGE_FLAGS_PRVGROUP : $page_type = "Private Group" ; break;
}
$profile = $rr;
</div>
</div>
<div class="forumdirectory-copy-wrapper" id="forumdirectory-copy-wrapper-{{$id}}" >
- {{if $about}}<dl class="forumdirectory-copy"><dt class="forumdirectory-copy-label">{{$about}}</dt><dd class="forumdirectory-copy-data">{{$profile.about}}</dd></dl>{{/if}}
+ {{if $about}}<dl class="forumdirectory-copy"><dt class="forumdirectory-copy-label">{{$about}}</dt><dd class="forumdirectory-copy-data">{{$profile.about nofilter}}</dd></dl>{{/if}}
</div>
</div>
</div>
* Description: Imports posts from a Google+ account and repeats them
* Version: 0.1
* Author: Michael Vogel <ike@piratenpartei.de>
- *
+ * Status: unsupported
*/
define('FROMGPLUS_DEFAULT_POLL_INTERVAL', 30); // given in minutes
require_once 'mod/share.php';
require_once 'mod/parse_url.php';
-require_once 'include/text.php';
-
function fromgplus_install() {
Hook::register('connector_settings', 'addon/fromgplus/fromgplus.php', 'fromgplus_addon_settings');
Hook::register('connector_settings_post', 'addon/fromgplus/fromgplus.php', 'fromgplus_addon_settings_post');
}
function fromgplus_handleattachments($a, $uid, $item, $displaytext, $shared) {
- require_once 'include/items.php';
-
$post = "";
$quote = "";
$pagedata = [];
* Author: Michael Vogel <https://pirati.ca/profile/heluecht>
*/
require_once 'mod/item.php';
-require_once 'include/items.php';
-require_once 'include/text.php';
-
use Friendica\App;
use Friendica\Core\Hook;
use Friendica\Core\L10n;
function ifttt_message($uid, $item)
{
- $a = get_app();
+ $a = \get_app();
$_SESSION['authenticated'] = true;
$_SESSION['uid'] = $uid;
function impressum_module() {
}
function impressum_content() {
- $a = get_app();
+ $a = \get_app();
$a->internalRedirect('friendica/');
}
exit();
}
- $encrypt_func = openssl_public_encrypt;
- $decrypt_func = openssl_public_decrypt;
+ $encrypt_func = 'openssl_public_encrypt';
+ $decrypt_func = 'openssl_public_decrypt';
$key = $r[0]["pubkey"];
} else if ($role == "prv") {
$r = q("SELECT * FROM `contact` WHERE LENGTH(`prvkey`) AND `issued-id`='%s' LIMIT 1", DBA::escape($dfrn_id));
exit();
}
- $encrypt_func = openssl_private_encrypt;
- $decrypt_func = openssl_private_decrypt;
+ $encrypt_func = 'openssl_private_encrypt';
+ $decrypt_func = 'openssl_private_decrypt';
$key = $r[0]["prvkey"];
} else {
exit();
$dfrn_id = $contact_row["dfrn-id"];
if ($dfrn_id) {
$key = $contact_row["pubkey"];
- $encrypt_func = openssl_public_encrypt;
- $decrypt_func = openssl_public_decrypt;
+ $encrypt_func = 'openssl_public_encrypt';
+ $decrypt_func = 'openssl_public_decrypt';
$role = "prv";
} else {
$dfrn_id = $contact_row["issued-id"];
$key = $contact_row["prvkey"];
- $encrypt_func = openssl_private_encrypt;
- $decrypt_func = openssl_private_decrypt;
+ $encrypt_func = 'openssl_private_encrypt';
+ $decrypt_func = 'openssl_private_decrypt';
$role = "pub";
}
// parse answer
$answer = json_decode($answer_json);
- if ($answer->status != "ok") {
+ if (empty($answer->status) || ($answer->status != "ok")) {
throw new Exception();
}
#
#
# Translators:
+# Abraham Pérez Hernández <abrahamph@nauta.cu>, 2019
# Albert, 2016,2018
msgid ""
msgstr ""
"Project-Id-Version: friendica\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2018-04-01 11:11-0400\n"
-"PO-Revision-Date: 2018-05-19 20:47+0000\n"
-"Last-Translator: Albert\n"
+"PO-Revision-Date: 2019-01-22 18:31+0000\n"
+"Last-Translator: Abraham Pérez Hernández <abrahamph@nauta.cu>\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"
#: langfilter.php:62
msgid "Minimum confidence in language detection"
-msgstr "Mínima confianza en la detección de idioma"
+msgstr "Confianza mínima en la detección de idioma"
#: langfilter.php:62
msgid ""
"Minimum confidence in language detection being correct, from 0 to 100. Posts"
" will not be filtered when the confidence of language detection is below "
"this percent value."
-msgstr "Mínima confianza en que la detección de idioma sea correcta, de 0 a 100. Las entradas no se filtrarán cuando la confianza de la detección del idioma es inferior a su valor de porcentaje."
+msgstr "Confianza mínima en que la detección de idioma sea correcta, de 0 a 100. Las entradas no se filtrarán cuando la confianza de la detección del idioma es inferior a su valor de porcentaje."
#: langfilter.php:63
msgid "Minimum length of message body"
$a->strings["Use the language filter"] = "Usar el filtro de idioma";
$a->strings["Able to read"] = "Capaz de leer";
$a->strings["List of abbreviations (iso2 codes) for languages you speak, comma separated. For example \"de,it\"."] = "Lista de abreviaciones (códigos iso2) para los idiomas que habla, separadas por comas. Por ejemplo \"de,it\".";
-$a->strings["Minimum confidence in language detection"] = "Mínima confianza en la detección de idioma";
-$a->strings["Minimum confidence in language detection being correct, from 0 to 100. Posts will not be filtered when the confidence of language detection is below this percent value."] = "Mínima confianza en que la detección de idioma sea correcta, de 0 a 100. Las entradas no se filtrarán cuando la confianza de la detección del idioma es inferior a su valor de porcentaje.";
+$a->strings["Minimum confidence in language detection"] = "Confianza mínima en la detección de idioma";
+$a->strings["Minimum confidence in language detection being correct, from 0 to 100. Posts will not be filtered when the confidence of language detection is below this percent value."] = "Confianza mínima en que la detección de idioma sea correcta, de 0 a 100. Las entradas no se filtrarán cuando la confianza de la detección del idioma es inferior a su valor de porcentaje.";
$a->strings["Minimum length of message body"] = "Longitud mínima del cuerpo del mensaje";
$a->strings["Minimum number of characters in message body for filter to be used. Posts shorter than this will not be filtered. Note: Language detection is unreliable for short content (<200 characters)."] = "Número mínimo de caracteres en el cuerpo del mensaje para que se use el filtro. Las publicaciones más cortas que esto no serán filtradas. Nota: La detección de idioma no es fiable para contenido corto (<200 caracteres).";
$a->strings["Save Settings"] = "Guardar Ajustes";
--- /dev/null
+Leistungsschutzrecht Addon
+==========================
+
+Main author Michael Vogel
+
+This addon handles legal problems with the German link tax, named "Leistungsschutzrecht" by shortening preview texts.
+Additionally it is possibly to suppress preview pictures completely to avoid any legal problems.
+
+## configuration
+
+If you want to suppress pictures in previews, add this to your global `config/addon.config.php`:
+
+ 'leistungsschutzrecht' => [
+ 'suppress_photos' => true,
+ ],
+
}
function leistungsschutzrecht_getsiteinfo($a, &$siteinfo) {
- if (!isset($siteinfo["url"])) {
+ if (!isset($siteinfo["url"]) || empty($siteinfo['type'])) {
return;
}
+ // Avoid any third party pictures, to avoid copyright issues
+ if (!in_array($siteinfo['type'], ['photo', 'video']) && Config::get('leistungsschutzrecht', 'suppress_photos', false)) {
+ unset($siteinfo["image"]);
+ unset($siteinfo["images"]);
+ }
+
if (!leistungsschutzrecht_is_member_site($siteinfo["url"])) {
return;
}
- //$siteinfo["title"] = $siteinfo["url"];
-
if (!empty($siteinfo["text"])) {
$siteinfo["text"] = leistungsschutzrecht_cuttext($siteinfo["text"]);
}
- unset($siteinfo["image"]);
- unset($siteinfo["images"]);
unset($siteinfo["keywords"]);
}
return;
}
$attachments = [];
- $baseurl = $a->getBaseURL();
preg_match_all("/\[img\=([0-9]*)x([0-9]*)\](.*?)\[\/img\]/ism", $item["body"], $matches1);
preg_match_all("/\[img\](.*?)\[\/img\]/ism", $item["body"], $matches2);
foreach (array_merge($matches1[3], $matches2[1]) as $url) {
- $redirects;
+ $redirects = 0;
$cookiejar = tempnam(get_temppath(), 'cookiejar-mailstream-');
+ $curlResult = Network::fetchUrlFull($url, true, $redirects, 0, null, $cookiejar);
$attachments[$url] = [
- 'data' => Network::fetchUrl($url, true, $redirects, 0, null, $cookiejar),
+ 'data' => $curlResult->getBody(),
'guid' => hash("crc32", $url),
'filename' => basename($url),
- 'type' => $a->get_curl_content_type()];
+ 'type' => $curlResult->getContentType()
+ ];
+
if (strlen($attachments[$url]['data'])) {
$item['body'] = str_replace($url, 'cid:' . $attachments[$url]['guid'], $item['body']);
continue;
* DO NOT EDIT THIS FILE, CHANGES WILL BE OVERWRITTEN
*
*}}
-<div class="mailstream-item-body">{{$item.body}}</div>
+<div class="mailstream-item-body">{{$item.body nofilter}}</div>
{{if $item.plink}}
<div>{{$upstream}}: <a class="mailstream-item-plink" href="{{$item.plink}}">{{$item.plink}}</a><div>
<div>{{$local}}: <a class="mailstream-item-url" href="{{$item.url}}">{{$item.url}}</a></div>
<span class="fakelink" onclick="openClose('settings_mathjax_expanded'); openClose('settings_mathjax_inflated');">
<h3>{{$title}}</h3>
</span>
- <p>{{$description}}</p>
+ <p>{{$description nofilter}}</p>
{{include file="field_checkbox.tpl" field=$mathjax_use}}
<div class="clear"></div>
# Translators:
# Tobias Diekershoff <tobias.diekershoff@gmx.net>, 2018
# Vinzenz Vietzke <vinz@vinzv.de>, 2018
+# Copiis Praeesse <richard@zsemberi.de>, 2019
#
#, fuzzy
msgid ""
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2018-08-07 15:04+0200\n"
"PO-Revision-Date: 2018-08-07 18:18+0000\n"
-"Last-Translator: Vinzenz Vietzke <vinz@vinzv.de>, 2018\n"
+"Last-Translator: Copiis Praeesse <richard@zsemberi.de>, 2019\n"
"Language-Team: German (https://www.transifex.com/Friendica/teams/12172/de/)\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
#: morechoice.php:48
msgid "Soft butch"
-msgstr ""
+msgstr "zarter Butch"
#: morechoice.php:49
msgid "Stone femme"
-msgstr ""
+msgstr "steinerne Femme"
#: morechoice.php:50
msgid "Tomboy"
$a->strings["Metrosexual"] = "Metrosexuell";
$a->strings["Monk"] = "Mönch";
$a->strings["Nun"] = "Nonne";
-$a->strings["Soft butch"] = "";
-$a->strings["Stone femme"] = "";
+$a->strings["Soft butch"] = "zarter Butch";
+$a->strings["Stone femme"] = "steinerne Femme";
$a->strings["Tomboy"] = "Tomboy";
$a->strings["Transman"] = "Transmann";
$a->strings["Transwoman"] = "Transfrau";
use Friendica\Core\L10n;
use Friendica\Core\Logger;
use Friendica\Core\Renderer;
+use Friendica\Core\System;
use Friendica\Util\Emailer;
function notifyall_install()
{
Logger::log("public_server: cron start");
- require_once('include/enotify.php');
$r = q("SELECT * FROM `user` WHERE `account_expires_on` < UTC_TIMESTAMP() + INTERVAL 5 DAY AND
`account_expires_on` > '%s' AND
`expire_notification_sent` <= '%s'",
require 'addon/pumpio/oauth/http.php';
require 'addon/pumpio/oauth/oauth_client.php';
-require_once 'include/enotify.php';
require_once "mod/share.php";
define('PUMPIO_DEFAULT_POLL_INTERVAL', 5); // given in minutes
{{include file="field_textarea.tpl" field=$publickey}}
<div class="form-group pull-right settings-submit-wrapper" >
- <button type="submit" name="securemail-submit" class="btn btn-primary" value="{{$submit|escape:'html'}}">{{$submit}}</button>
- <button type="submit" name="securemail-submit" class="btn btn-default" value="{{$test|escape:'html'}}">{{$test}}</button>
+ <button type="submit" name="securemail-submit" class="btn btn-primary" value="{{$submit}}">{{$submit}}</button>
+ <button type="submit" name="securemail-submit" class="btn btn-default" value="{{$test}}">{{$test}}</button>
</div>
<div class="clear"></div>
</div>
use Friendica\Core\Hook;
use Friendica\Core\L10n;
use Friendica\Core\PConfig;
+use Friendica\Core\System;
function startpage_install() {
Hook::register('home_init', 'addon/startpage/startpage.php', 'startpage_home_init');
define('STATUSNET_DEFAULT_POLL_INTERVAL', 5); // given in minutes
require_once __DIR__ . DIRECTORY_SEPARATOR . 'library' . DIRECTORY_SEPARATOR . 'statusnetoauth.php';
-require_once 'include/enotify.php';
-
use CodebirdSN\CodebirdSN;
use Friendica\App;
use Friendica\Content\OEmbed;
use Friendica\Core\PConfig;
use Friendica\Core\Protocol;
use Friendica\Core\Renderer;
+use Friendica\Core\System;
use Friendica\Database\DBA;
use Friendica\Model\Contact;
use Friendica\Model\GContact;
$lastid = PConfig::get($uid, 'statusnet', 'lastid');
require_once 'mod/item.php';
- require_once 'include/items.php';
-
// get the application name for the SN app
// 1st try personal config, then system config and fallback to the
// hostname of the node if neither one is set.
Logger::log("statusnet_fetchhometimeline: Fetching for user " . $uid, Logger::DEBUG);
- require_once 'include/items.php';
-
$connection = new StatusNetOAuth($api, $ckey, $csecret, $otoken, $osecret);
$own_contact = statusnet_fetch_own_contact($a, $uid);
function statusnet_convertmsg(App $a, $body, $no_tags = false)
{
- require_once "include/items.php";
-
$body = preg_replace("=\[url\=https?://([0-9]*).([0-9]*).([0-9]*).([0-9]*)/([0-9]*)\](.*?)\[\/url\]=ism", "$1.$2.$3.$4/$5", $body);
$URLSearchString = "^\[\]";
function testdrive_cron($a,$b) {
- require_once('include/enotify.php');
-
$r = q("select * from user where account_expires_on < UTC_TIMESTAMP() + INTERVAL 5 DAY and
expire_notification_sent = '0000-00-00 00:00:00' ");
use Friendica\Core\PConfig;
use Friendica\Core\Protocol;
use Friendica\Core\Renderer;
+use Friendica\Core\System;
use Friendica\Core\Worker;
use Friendica\Database\DBA;
use Friendica\Model\Contact;
use Friendica\Util\Network;
use Friendica\Util\Strings;
-require_once 'boot.php';
-require_once 'include/dba.php';
-require_once 'include/enotify.php';
-require_once 'include/text.php';
-
require_once __DIR__ . DIRECTORY_SEPARATOR . 'vendor' . DIRECTORY_SEPARATOR . 'autoload.php';
define('TWITTER_DEFAULT_POLL_INTERVAL', 5); // given in minutes
}
DBA::close($r);
- require_once "include/items.php";
-
Logger::log('twitter_expire: expire_start');
$r = q("SELECT * FROM `pconfig` WHERE `cat` = 'twitter' AND `k` = 'import' AND `v` = '1' ORDER BY RAND()");
$has_picture = false;
require_once 'mod/item.php';
- require_once 'include/items.php';
require_once 'mod/share.php';
$connection = new TwitterOAuth($ckey, $csecret, $otoken, $osecret);
continue;
}
- $expanded_url = Network::finalUrl($url->expanded_url);
+ $expanded_url = $url->expanded_url;
- $oembed_data = OEmbed::fetchURL($expanded_url);
+ $final_url = Network::finalUrl($url->expanded_url);
+
+ $oembed_data = OEmbed::fetchURL($final_url);
if (empty($oembed_data) || empty($oembed_data->type)) {
continue;
} elseif ($oembed_data->type != 'link') {
$body = str_replace($url->url, '[url=' . $expanded_url . ']' . $url->display_url . '[/url]', $body);
} else {
- $img_str = Network::fetchUrl($expanded_url, true, $redirects, 4);
+ $img_str = Network::fetchUrl($final_url, true, $redirects, 4);
$tempfile = tempnam(get_temppath(), 'cache');
file_put_contents($tempfile, $img_str);
if (substr($mime, 0, 6) == 'image/') {
$type = 'photo';
- $body = str_replace($url->url, '[img]' . $expanded_url . '[/img]', $body);
+ $body = str_replace($url->url, '[img]' . $final_url . '[/img]', $body);
} else {
$type = $oembed_data->type;
$footerurl = $expanded_url;
$application_name = $a->getHostName();
}
- require_once 'include/items.php';
-
$connection = new TwitterOAuth($ckey, $csecret, $otoken, $osecret);
try {
$dislikes = $r[0]['c'];
- require_once("include/conversation.php");
-
$o = "";
# $t = file_get_contents( dirname(__file__). "/widget_like.tpl" );
}
function _abs_url($s){
- $a = get_app();
+ $a = \get_app();
return preg_replace("|href=(['\"])([^h][^t][^t][^p])|", "href=\$1".$a->getBaseURL()."/\$2", $s);
}
function wppost_settings_post(&$a,&$b) {
if(!empty($_POST['wppost-submit'])) {
-
PConfig::set(local_user(),'wppost','post',intval($_POST['wppost']));
- PConfig::set(local_user(),'wppost','post_by_default',intval($_POST['wp_bydefault']));
+ PConfig::set(local_user(),'wppost','post_by_default',intval(defaults($_POST, 'wp_bydefault', false)));
PConfig::set(local_user(),'wppost','wp_username',trim($_POST['wp_username']));
PConfig::set(local_user(),'wppost','wp_password',trim($_POST['wp_password']));
PConfig::set(local_user(),'wppost','wp_blog',trim($_POST['wp_blog']));
- PConfig::set(local_user(),'wppost','backlink',trim($_POST['wp_backlink']));
+ PConfig::set(local_user(),'wppost','backlink',trim(defaults($_POST, 'wp_backlink', '')));
PConfig::set(local_user(),'wppost','shortcheck',trim($_POST['wp_shortcheck']));
$wp_backlink_text = Strings::escapeTags(trim($_POST['wp_backlink_text']));
$wp_backlink_text = BBCode::convert($wp_backlink_text, false, 8);
$wp_backlink_text = HTML::toPlaintext($wp_backlink_text, 0, true);
PConfig::set(local_user(),'wppost','wp_backlink_text', $wp_backlink_text);
-
}
}