diff --git a/authens/locale/en/LC_MESSAGES/django.mo b/authens/locale/en/LC_MESSAGES/django.mo index 1b7aaa3..b434f47 100644 Binary files a/authens/locale/en/LC_MESSAGES/django.mo and b/authens/locale/en/LC_MESSAGES/django.mo differ diff --git a/authens/locale/en/LC_MESSAGES/django.po b/authens/locale/en/LC_MESSAGES/django.po index 801d582..332d2d0 100644 --- a/authens/locale/en/LC_MESSAGES/django.po +++ b/authens/locale/en/LC_MESSAGES/django.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: \n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2021-01-28 20:40+0100\n" +"POT-Creation-Date: 2022-11-02 10:22+0100\n" "PO-Revision-Date: 2021-01-30 20:48+0100\n" "Last-Translator: Tom Hubrecht \n" "Language-Team: \n" @@ -22,7 +22,7 @@ msgstr "" msgid "Ancien login clipper" msgstr "Old clipper username" -#: forms.py:18 templates/authens/login_switch.html:14 +#: forms.py:18 templates/authens/login_switch.html:15 msgid "Mot de passe" msgstr "Password" @@ -39,7 +39,7 @@ msgstr "" "No user exists with this username, this entrance year and/or this password. " "Please check your entry. Attention, all fields are case sensitive!" -#: models.py:19 models.py:57 +#: models.py:19 models.py:60 msgid "utilisateurice" msgstr "user" @@ -47,36 +47,36 @@ msgstr "user" msgid "login CAS" msgstr "CAS username" -#: models.py:30 models.py:67 +#: models.py:30 models.py:70 msgid "année de création du compte CAS" msgstr "year of CAS account creation" -#: models.py:34 +#: models.py:37 msgid "Compte CAS" msgstr "CAS account" -#: models.py:35 +#: models.py:38 msgid "Comptes CAS" msgstr "CAS accounts" -#: models.py:39 +#: models.py:42 #, python-format msgid "compte CAS %(cas_login)s (promo %(entrance_year)s) lié à %(user)s" msgstr "CAS account %(cas_login)s (year %(entrance_year)s) linked to %(user)s" -#: models.py:63 +#: models.py:66 msgid "ancien login CAS" msgstr "old CAS username" -#: models.py:78 +#: models.py:81 msgid "Ancien compte CAS" msgstr "Old CAS account" -#: models.py:79 +#: models.py:82 msgid "Anciens comptes CAS" msgstr "Old CAS accounts" -#: models.py:83 +#: models.py:86 #, python-format msgid "" "Ancien compte CAS %(cas_login)s (promo %(entrance_year)s) lié à %(user)s" @@ -91,11 +91,11 @@ msgstr "Connection method" msgid "Clipper" msgstr "Clipper" -#: templates/authens/login_switch.html:18 +#: templates/authens/login_switch.html:20 msgid "Vieilleux" msgstr "Alumni" -#: templates/authens/login_switch.html:25 +#: templates/authens/login_switch.html:27 #, python-format msgid "" "Si votre fin de scolarité approche, créez un mot de passe pour votre compte " @@ -153,16 +153,25 @@ msgstr "For your information, your username is the following: %(username)s" msgid "L'équipe %(site_name)s" msgstr "The %(site_name)s team" -#: views.py:86 -msgid "Connexion échouée !" +#: views.py:89 +#, fuzzy +#| msgid "Connexion échouée !" +msgid "Connection échouée !" msgstr "Connection failed!" -#: views.py:102 +#: views.py:105 msgid "" -"Un email de réinitialisation du mot de passe vient d'être envoyé à l'adresse " -"indiquée !" -msgstr "A password reset email has just been sent to the indicated address!" +"Si un compte avec cet email existe, un email de réinitialisation vient de " +"lui être envoyé !" +msgstr "" +"A password reset email has just been send to the inidcated address, " +"provided an account with this email exists)" -#: views.py:112 +#: views.py:115 msgid "Mot de passe modifié avec succès !" msgstr "Password changed successfully!" + +#~ msgid "" +#~ "Un email de réinitialisation du mot de passe vient d'être envoyé à " +#~ "l'adresse indiquée !" +#~ msgstr "A password reset email has just been sent to the indicated address!" diff --git a/authens/views.py b/authens/views.py index 699cda5..0478861 100644 --- a/authens/views.py +++ b/authens/views.py @@ -102,7 +102,7 @@ class PasswordResetView(SuccessMessageMixin, auth_views.PasswordResetView): success_url = reverse_lazy("authens:login") success_message = _( - "Un email de réinitialisation vient d'être envoyé à l'adresse indiquée !" + "Si un compte avec cet email existe, un email de réinitialisation vient de lui être envoyé !" )