From 45637c8e267502da3f7552c3571030638437d1cc Mon Sep 17 00:00:00 2001 From: Jean-Romain Garnier Date: Sat, 18 Apr 2020 00:39:06 +0200 Subject: [PATCH] Make email translations more consistent --- preferences/locale/fr/LC_MESSAGES/django.po | 2 +- search/locale/fr/LC_MESSAGES/django.po | 2 +- users/locale/fr/LC_MESSAGES/django.po | 4 ++-- users/models.py | 2 +- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/preferences/locale/fr/LC_MESSAGES/django.po b/preferences/locale/fr/LC_MESSAGES/django.po index e7ac2e66..8341c1b9 100644 --- a/preferences/locale/fr/LC_MESSAGES/django.po +++ b/preferences/locale/fr/LC_MESSAGES/django.po @@ -315,7 +315,7 @@ msgstr "" "Si True, les utilisateurs ont le choix de recevoir un email avec" " un lien pour changer leur mot de passe lors de la création de leur compte, " " ou alors de choisir leur mot de passe immédiatement." -" Si False, un email est toujours envoyé." +" Si False, un mail est toujours envoyé." #: preferences/models.py:121 msgid "If True, archived users are allowed to connect." diff --git a/search/locale/fr/LC_MESSAGES/django.po b/search/locale/fr/LC_MESSAGES/django.po index c5d18323..e03da256 100644 --- a/search/locale/fr/LC_MESSAGES/django.po +++ b/search/locale/fr/LC_MESSAGES/django.po @@ -123,7 +123,7 @@ msgstr "Non-confirmé" #: search/models.py:197 msgid "Waiting for email confirmation" -msgstr "En attente de confirmation d'email" +msgstr "En attente de confirmation du mail" #: search/templates/search/index.html:29 msgid "Search results" diff --git a/users/locale/fr/LC_MESSAGES/django.po b/users/locale/fr/LC_MESSAGES/django.po index 818c973a..e2a8f3ce 100644 --- a/users/locale/fr/LC_MESSAGES/django.po +++ b/users/locale/fr/LC_MESSAGES/django.po @@ -979,7 +979,7 @@ msgstr "Email de confirmation" #: users/templates/users/confirm_email.html:36 #, python-format msgid "Confirm the email" -msgstr "Confirmer l'email" +msgstr "Confirmer le mail" #: users/templates/users/confirm_email.html:36 #, python-format @@ -1263,7 +1263,7 @@ msgstr "Renvoyer l'email de confirmation ?" #: users/templates/users/resend_confirmation_email.html:36 #, python-format msgid "The confirmation email will be sent to" -msgstr "L'email de confirmation sera envoyé à" +msgstr "Le mail de confirmation sera envoyé à" #: users/templates/users/sidebar.html:33 msgid "Create a club or organisation" diff --git a/users/models.py b/users/models.py index 689b0bf0..e956a26a 100755 --- a/users/models.py +++ b/users/models.py @@ -874,7 +874,7 @@ class User( "confirm_before_en": self.confirm_email_before_date().strftime("%Y-%m-%d"), } send_mail( - "Confirmation de l'email de %(name)s / Email confirmation for " + "Confirmation du mail de %(name)s / Email confirmation for " "%(name)s" % {"name": AssoOption.get_cached_value("name")}, template.render(context), GeneralOption.get_cached_value("email_from"),