Projet

Général

Profil

0001-change-account-wording-22225.patch

Emmanuel Cazenave, 07 mai 2018 14:51

Télécharger (2,15 ko)

Voir les différences:

Subject: [PATCH] change account wording (#22225)

 src/authentic2/locale/fr/LC_MESSAGES/django.po           | 9 ++++++---
 .../templates/registration/password_change_form.html     | 4 ++++
 2 files changed, 10 insertions(+), 3 deletions(-)
src/authentic2/locale/fr/LC_MESSAGES/django.po
1255 1255
"    the new password and confirm it.\n"
1256 1256
"    "
1257 1257
msgstr ""
1258
"Pour modifier votre mot de passe vous devez fournir votre mot de passe "
1259
"actuel ainsi que le nouveau, puis confirmer ce dernier."
1258
"Vous allez modifier le mot de passe de votre compte usager."
1260 1259

  
1261
#: templates/registration/password_reset_confirm.html:21
1260
#: src/authentic2/templates/registration/password_change_form.html:21
1261
msgid "You are going to define your account password"
1262
msgstr "Vous allez définir le mot de passe de votre compte usager."
1263

  
1264
#: src/authentic2/templates/registration/password_reset_confirm.html:21
1262 1265
msgid "Password reset failed"
1263 1266
msgstr "Ré-initialistion du mot de passe échouée"
1264 1267

  
src/authentic2/templates/registration/password_change_form.html
13 13

  
14 14
{% block content %}
15 15
  <form method="post" action=".">
16
    {% if user.has_usable_password %}
16 17
    <p>{% blocktrans %}To change your password you must provide your current password, then provide
17 18
    the new password and confirm it.
18 19
    {% endblocktrans %}</p>
20
    {% else %}
21
    <p>{% blocktrans %}You are going to define your account password{% endblocktrans %}</p>
22
    {% endif %}
19 23
    {% csrf_token %}
20 24
    {{ form.as_p }}
21 25
    <button class="submit-button">{% trans 'Submit' %}</button>
22
-