From 53a806af87e24775678295f80f4d6629f6733d3c Mon Sep 17 00:00:00 2001 From: Tobias Diekershoff Date: Tue, 24 May 2022 08:00:56 +0200 Subject: [PATCH] notifyall addon FR translation updated THX kalon33 --- notifyall/lang/fr/messages.po | 38 +++++++++++++++++++---------------- notifyall/lang/fr/strings.php | 3 ++- 2 files changed, 23 insertions(+), 18 deletions(-) diff --git a/notifyall/lang/fr/messages.po b/notifyall/lang/fr/messages.po index dbc88abaa..1f007cf6a 100644 --- a/notifyall/lang/fr/messages.po +++ b/notifyall/lang/fr/messages.po @@ -3,55 +3,59 @@ # This file is distributed under the same license as the Friendica notifyall addon package. # # +# Translators: +# Thecross, 2017 +# Nicolas Derive, 2022 +# #, fuzzy msgid "" msgstr "" "Project-Id-Version: \n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2016-08-14 16:41+0200\n" -"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" -"Last-Translator: Thecross , 2017\n" +"POT-Creation-Date: 2021-02-01 18:15+0100\n" +"PO-Revision-Date: 2016-08-14 19:29+0000\n" +"Last-Translator: Nicolas Derive, 2022\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" +"Plural-Forms: nplurals=3; plural=(n == 0 || n == 1) ? 0 : n != 0 && n % 1000000 == 0 ? 1 : 2;\n" -#: notifyall.php:26 -msgid "Send email to all members" -msgstr "Envoyer un courriel à tous les membres" - -#: notifyall.php:42 +#: NotifyAllEmail.php:40 #, php-format msgid "%s Administrator" -msgstr "" +msgstr "L'administrateur de %s" -#: notifyall.php:44 +#: NotifyAllEmail.php:42 #, php-format msgid "%1$s, %2$s Administrator" msgstr "" -#: notifyall.php:60 +#: notifyall.php:22 +msgid "Send email to all members" +msgstr "Envoyer un courriel à tous les membres" + +#: notifyall.php:49 msgid "No recipients found." msgstr "Aucun destinataire trouvé." -#: notifyall.php:78 +#: notifyall.php:59 msgid "Emails sent" msgstr "Courriels envoyés" -#: notifyall.php:86 +#: notifyall.php:69 msgid "Send email to all members of this Friendica instance." msgstr "Envoyer un courriel à tous les membres de cet instance Friendica." -#: notifyall.php:91 +#: notifyall.php:74 msgid "Message subject" msgstr "Objet du message" -#: notifyall.php:92 +#: notifyall.php:75 msgid "Test mode (only send to administrator)" msgstr "Mode test (envoyer uniquement à l'administrateur)" -#: notifyall.php:93 +#: notifyall.php:76 msgid "Submit" msgstr "Envoyer" diff --git a/notifyall/lang/fr/strings.php b/notifyall/lang/fr/strings.php index 5932cb06d..273da79ce 100644 --- a/notifyall/lang/fr/strings.php +++ b/notifyall/lang/fr/strings.php @@ -3,8 +3,9 @@ if(! function_exists("string_plural_select_fr")) { function string_plural_select_fr($n){ $n = intval($n); - return intval($n > 1); + if (($n == 0 || $n == 1)) { return 0; } else if ($n != 0 && $n % 1000000 == 0) { return 1; } else { return 2; } }} +$a->strings['%s Administrator'] = 'L\'administrateur de %s'; $a->strings['Send email to all members'] = 'Envoyer un courriel à tous les membres'; $a->strings['No recipients found.'] = 'Aucun destinataire trouvé.'; $a->strings['Emails sent'] = 'Courriels envoyés';