diff --git a/advancedcontentfilter/advancedcontentfilter.php b/advancedcontentfilter/advancedcontentfilter.php index 6479fe8e9..a22436cab 100644 --- a/advancedcontentfilter/advancedcontentfilter.php +++ b/advancedcontentfilter/advancedcontentfilter.php @@ -52,10 +52,6 @@ use Psr\Http\Message\ResponseInterface; 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() diff --git a/advancedcontentfilter/lang/fr/messages.po b/advancedcontentfilter/lang/fr/messages.po index 0d76f672c..cd1853fda 100644 --- a/advancedcontentfilter/lang/fr/messages.po +++ b/advancedcontentfilter/lang/fr/messages.po @@ -5,6 +5,7 @@ # # Translators: # Marie Olive , 2018 +# vladimir N , 2018 # #, fuzzy msgid "" @@ -13,7 +14,7 @@ msgstr "" "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 , 2018\n" +"Last-Translator: vladimir N , 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" @@ -24,7 +25,7 @@ msgstr "" #: 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" @@ -49,6 +50,10 @@ msgid "" "For a complete reference of the available operations and variables, check " "the help page." 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" @@ -59,58 +64,60 @@ msgid "" "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 "" @@ -120,42 +127,42 @@ msgstr "" #: 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 @@ -164,4 +171,4 @@ msgstr "" #: src/middlewares.php:28 msgid "Method not found" -msgstr "" +msgstr "Méthode non trouvée" diff --git a/advancedcontentfilter/lang/fr/strings.php b/advancedcontentfilter/lang/fr/strings.php index 5ff20251e..208a00a91 100644 --- a/advancedcontentfilter/lang/fr/strings.php +++ b/advancedcontentfilter/lang/fr/strings.php @@ -6,36 +6,36 @@ function string_plural_select_fr($n){ 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 help page."] = ""; +$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 help page."] = "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["

Examples:

  • author_link == 'https://friendica.mrpetovan.com/profile/hypolite'
  • tags
"] = ""; -$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"; diff --git a/advancedcontentfilter/templates/settings.tpl b/advancedcontentfilter/templates/settings.tpl index a04baf7de..9ae56c3b4 100644 --- a/advancedcontentfilter/templates/settings.tpl +++ b/advancedcontentfilter/templates/settings.tpl @@ -3,7 +3,7 @@