Clearer password reset error message
This commit is contained in:
parent
ba1fa8c82c
commit
018fd5249f
3 changed files with 30 additions and 21 deletions
Binary file not shown.
|
@ -7,7 +7,7 @@ msgid ""
|
||||||
msgstr ""
|
msgstr ""
|
||||||
"Project-Id-Version: \n"
|
"Project-Id-Version: \n"
|
||||||
"Report-Msgid-Bugs-To: \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"
|
"PO-Revision-Date: 2021-01-30 20:48+0100\n"
|
||||||
"Last-Translator: Tom Hubrecht <tom.hubrecht@ens.fr>\n"
|
"Last-Translator: Tom Hubrecht <tom.hubrecht@ens.fr>\n"
|
||||||
"Language-Team: \n"
|
"Language-Team: \n"
|
||||||
|
@ -22,7 +22,7 @@ msgstr ""
|
||||||
msgid "Ancien login clipper"
|
msgid "Ancien login clipper"
|
||||||
msgstr "Old clipper username"
|
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"
|
msgid "Mot de passe"
|
||||||
msgstr "Password"
|
msgstr "Password"
|
||||||
|
|
||||||
|
@ -39,7 +39,7 @@ msgstr ""
|
||||||
"No user exists with this username, this entrance year and/or this password. "
|
"No user exists with this username, this entrance year and/or this password. "
|
||||||
"Please check your entry. Attention, all fields are case sensitive!"
|
"Please check your entry. Attention, all fields are case sensitive!"
|
||||||
|
|
||||||
#: models.py:19 models.py:57
|
#: models.py:19 models.py:60
|
||||||
msgid "utilisateurice"
|
msgid "utilisateurice"
|
||||||
msgstr "user"
|
msgstr "user"
|
||||||
|
|
||||||
|
@ -47,36 +47,36 @@ msgstr "user"
|
||||||
msgid "login CAS"
|
msgid "login CAS"
|
||||||
msgstr "CAS username"
|
msgstr "CAS username"
|
||||||
|
|
||||||
#: models.py:30 models.py:67
|
#: models.py:30 models.py:70
|
||||||
msgid "année de création du compte CAS"
|
msgid "année de création du compte CAS"
|
||||||
msgstr "year of CAS account creation"
|
msgstr "year of CAS account creation"
|
||||||
|
|
||||||
#: models.py:34
|
#: models.py:37
|
||||||
msgid "Compte CAS"
|
msgid "Compte CAS"
|
||||||
msgstr "CAS account"
|
msgstr "CAS account"
|
||||||
|
|
||||||
#: models.py:35
|
#: models.py:38
|
||||||
msgid "Comptes CAS"
|
msgid "Comptes CAS"
|
||||||
msgstr "CAS accounts"
|
msgstr "CAS accounts"
|
||||||
|
|
||||||
#: models.py:39
|
#: models.py:42
|
||||||
#, python-format
|
#, python-format
|
||||||
msgid "compte CAS %(cas_login)s (promo %(entrance_year)s) lié à %(user)s"
|
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"
|
msgstr "CAS account %(cas_login)s (year %(entrance_year)s) linked to %(user)s"
|
||||||
|
|
||||||
#: models.py:63
|
#: models.py:66
|
||||||
msgid "ancien login CAS"
|
msgid "ancien login CAS"
|
||||||
msgstr "old CAS username"
|
msgstr "old CAS username"
|
||||||
|
|
||||||
#: models.py:78
|
#: models.py:81
|
||||||
msgid "Ancien compte CAS"
|
msgid "Ancien compte CAS"
|
||||||
msgstr "Old CAS account"
|
msgstr "Old CAS account"
|
||||||
|
|
||||||
#: models.py:79
|
#: models.py:82
|
||||||
msgid "Anciens comptes CAS"
|
msgid "Anciens comptes CAS"
|
||||||
msgstr "Old CAS accounts"
|
msgstr "Old CAS accounts"
|
||||||
|
|
||||||
#: models.py:83
|
#: models.py:86
|
||||||
#, python-format
|
#, python-format
|
||||||
msgid ""
|
msgid ""
|
||||||
"Ancien compte CAS %(cas_login)s (promo %(entrance_year)s) lié à %(user)s"
|
"Ancien compte CAS %(cas_login)s (promo %(entrance_year)s) lié à %(user)s"
|
||||||
|
@ -91,11 +91,11 @@ msgstr "Connection method"
|
||||||
msgid "Clipper"
|
msgid "Clipper"
|
||||||
msgstr "Clipper"
|
msgstr "Clipper"
|
||||||
|
|
||||||
#: templates/authens/login_switch.html:18
|
#: templates/authens/login_switch.html:20
|
||||||
msgid "Vieilleux"
|
msgid "Vieilleux"
|
||||||
msgstr "Alumni"
|
msgstr "Alumni"
|
||||||
|
|
||||||
#: templates/authens/login_switch.html:25
|
#: templates/authens/login_switch.html:27
|
||||||
#, python-format
|
#, python-format
|
||||||
msgid ""
|
msgid ""
|
||||||
"Si votre fin de scolarité approche, créez un mot de passe pour votre compte "
|
"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"
|
msgid "L'équipe %(site_name)s"
|
||||||
msgstr "The %(site_name)s team"
|
msgstr "The %(site_name)s team"
|
||||||
|
|
||||||
#: views.py:86
|
#: views.py:89
|
||||||
msgid "Connexion échouée !"
|
#, fuzzy
|
||||||
|
#| msgid "Connexion échouée !"
|
||||||
|
msgid "Connection échouée !"
|
||||||
msgstr "Connection failed!"
|
msgstr "Connection failed!"
|
||||||
|
|
||||||
#: views.py:102
|
#: views.py:105
|
||||||
msgid ""
|
msgid ""
|
||||||
"Un email de réinitialisation du mot de passe vient d'être envoyé à l'adresse "
|
"Si un compte avec cet email existe, un email de réinitialisation vient de "
|
||||||
"indiquée !"
|
"lui être envoyé !"
|
||||||
msgstr "A password reset email has just been sent to the indicated address!"
|
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 !"
|
msgid "Mot de passe modifié avec succès !"
|
||||||
msgstr "Password changed successfully!"
|
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!"
|
||||||
|
|
|
@ -102,7 +102,7 @@ class PasswordResetView(SuccessMessageMixin, auth_views.PasswordResetView):
|
||||||
success_url = reverse_lazy("authens:login")
|
success_url = reverse_lazy("authens:login")
|
||||||
|
|
||||||
success_message = _(
|
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é !"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue