From 86b570b9f8a1ed542075c79a785f1bf70f7133ac Mon Sep 17 00:00:00 2001 From: bencroker Date: Fri, 15 Sep 2023 19:17:30 +0100 Subject: [PATCH] Fix mailing list count translations --- CHANGELOG.md | 4 ++++ src/translations/de/campaign.php | 4 ++-- src/translations/en/campaign.php | 4 ++-- src/translations/fr/campaign.php | 6 +++--- 4 files changed, 11 insertions(+), 7 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 6e5440b4..df7384d8 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,10 @@ ## 2.8.6 - Unreleased +### Changed + +- Improvements to the French translation. + ### Fixed - Fixed a bug in which Campaign, Contact and Mailing List element types were not being registered by the Feed Me plugin ([#412](https://github.com/putyourlightson/craft-campaign/issues/412)). diff --git a/src/translations/de/campaign.php b/src/translations/de/campaign.php index 2bea10e6..e7c04927 100644 --- a/src/translations/de/campaign.php +++ b/src/translations/de/campaign.php @@ -10,7 +10,7 @@ * @author Andreas Becker * @package Campaign * @since 1.23.0 -*/ + */ return [ 'Plugin Name' => 'Campaign', // ------------------------------------------------------------------------- @@ -18,7 +18,7 @@ '“{name}” Mailing Lists' => '', '(reply to {email})' => '(an {email} antworten)', '{count} pending sendout(s) queued.' => '{count} Sendung(en) in Warteschlange', - '{num, number} {num, plural, =1{mailing list} other{mailing lists}}' => '', + '{num, plural, =1{mailing list} other{mailing lists}}' => '{num, plural, =1{Mailing-Liste} other{Mailing-Listen}}', 'A contact with that email address could not be found.' => 'Es wurde kein Kontakt mit dieser E-Mail-Adresse gefunden.', 'A contact with the email "{email}" already exists. [View contact »]({url})' => '', 'A CSV file must be selected to upload.' => 'Es muss eine CSV-Datei zum Hochladen ausgewählt werden.', diff --git a/src/translations/en/campaign.php b/src/translations/en/campaign.php index 9c1e4ff2..ed9b756f 100644 --- a/src/translations/en/campaign.php +++ b/src/translations/en/campaign.php @@ -9,7 +9,7 @@ * @author PutYourLightsOn * @package Campaign * @since 1.0.0 -*/ + */ return [ 'Plugin Name' => 'Campaign', // ------------------------------------------------------------------------- @@ -17,7 +17,7 @@ '“{name}” Mailing Lists' => '', '(reply to {email})' => '', '{count} pending sendout(s) queued.' => '', - '{num, number} {num, plural, =1{mailing list} other{mailing lists}}' => '', + '{num, plural, =1{mailing list} other{mailing lists}}' => '', 'A contact with that email address could not be found.' => '', 'A contact with the email "{email}" already exists. [View contact »]({url})' => '', 'A CSV file must be selected to upload.' => '', diff --git a/src/translations/fr/campaign.php b/src/translations/fr/campaign.php index f8f8cac3..8f38fdff 100644 --- a/src/translations/fr/campaign.php +++ b/src/translations/fr/campaign.php @@ -10,7 +10,7 @@ * @author Scandella * @package Campaign * @since 1.22.0 -*/ + */ return [ 'Plugin Name' => 'Newsletters', // ------------------------------------------------------------------------- @@ -18,7 +18,7 @@ '“{name}” Mailing Lists' => '“{name}” Listes d’envoi', '(reply to {email})' => '(répondre à {email})', '{count} pending sendout(s) queued.' => '{count} envoi(s) en attente.', - '{num, number} {num, plural, =1{mailing list} other{mailing lists}}' => '', + '{num, plural, =1{mailing list} other{mailing lists}}' => '{num, plural, =1{liste de diffusion} other{listes de diffusion}}', 'A contact with that email address could not be found.' => 'Le contact avec cette adresse email n’a pas été trouvé.', 'A contact with the email "{email}" already exists. [View contact »]({url})' => 'Un contact avec l’email "{email}" existe déjà. [View contact »]({url})', 'A CSV file must be selected to upload.' => 'Un fichier CSV est requis.', @@ -118,7 +118,7 @@ 'Cancel' => 'Annuler', 'Cancelled' => 'Annulé', 'Changing this can lead to sent campaigns not being reachable and other undesirable results.' => 'Changer ce paramètre aura pour conséquence des newsletters introuvables et d’autres résultats indésirables.', - 'Chart unavailable when anonymous tracking is enabled.' => 'Le graphique est indisponible lorsque le suivi anonyme est activé.', + 'Chart unavailable when anonymous tracking is enabled.' => 'Le graphique est indisponible lorsque le suivi anonyme est activé.', 'Choose a campaign' => 'Choisissez une newsletter', 'Choose a CSV file (comma-separated values) to import contact data. The first line of the file should contain the column headers.' => 'Choisissez un fichier CSV (valeurs séparées par des virgules) pour importer les données de contact. La première ligne du fichier doit contenir les en-têtes de colonne.', 'Choose a mailing list to sync. ' => 'Choisissez une liste de diffusion à synchroniser.',