forked from Github-Mirrors/canaille
Button wording
This commit is contained in:
parent
d969065016
commit
2a501a5485
5 changed files with 19 additions and 7 deletions
|
@ -98,7 +98,11 @@
|
|||
{% endif %}
|
||||
{% if user.moderator and edited_user %}
|
||||
<button type="submit" class="ui right floated basic negative button confirm" name="action" value="delete" id="delete">
|
||||
{{ _("Delete the user") }}
|
||||
{% if user.uid != edited_user.uid %}
|
||||
{{ _("Delete the user") }}
|
||||
{% else %}
|
||||
{{ _("Delete my account") }}
|
||||
{% endif %}
|
||||
</button>
|
||||
{% endif %}
|
||||
</form>
|
||||
|
|
|
@ -7,7 +7,7 @@ pybabel extract --mapping-file canaille/translations/babel.cfg --output-file can
|
|||
Add a new language with:
|
||||
|
||||
```
|
||||
pybabel init --input-file messages.pot --output-dir translations --locale <LANG>
|
||||
pybabel init --input-file canaille/translations/messages.pot --output-dir canaille/translations --locale <LANG>
|
||||
```
|
||||
|
||||
Update the catalogs with:
|
||||
|
|
Binary file not shown.
|
@ -8,8 +8,8 @@ msgid ""
|
|||
msgstr ""
|
||||
"Project-Id-Version: PROJECT VERSION\n"
|
||||
"Report-Msgid-Bugs-To: contact@yaal.fr\n"
|
||||
"POT-Creation-Date: 2020-12-11 12:03+0100\n"
|
||||
"PO-Revision-Date: 2020-12-11 12:04+0100\n"
|
||||
"POT-Creation-Date: 2020-12-31 12:40+0100\n"
|
||||
"PO-Revision-Date: 2020-12-31 12:40+0100\n"
|
||||
"Last-Translator: Éloi Rivard <eloi@yaal.fr>\n"
|
||||
"Language: fr_FR\n"
|
||||
"Language-Team: French - France <equipe@yaal.fr>\n"
|
||||
|
@ -534,10 +534,14 @@ msgstr "Informations sur le compte"
|
|||
msgid "Impersonate"
|
||||
msgstr "Prendre l'identité"
|
||||
|
||||
#: canaille/templates/profile.html:101
|
||||
#: canaille/templates/profile.html:102
|
||||
msgid "Delete the user"
|
||||
msgstr "Supprimer l'utilisateur"
|
||||
|
||||
#: canaille/templates/profile.html:104
|
||||
msgid "Delete my account"
|
||||
msgstr "Supprimer mon compte"
|
||||
|
||||
#: canaille/templates/reset-password.html:12
|
||||
#: canaille/templates/reset-password.html:19
|
||||
msgid "Password reset"
|
||||
|
|
|
@ -8,7 +8,7 @@ msgid ""
|
|||
msgstr ""
|
||||
"Project-Id-Version: PROJECT VERSION\n"
|
||||
"Report-Msgid-Bugs-To: EMAIL@ADDRESS\n"
|
||||
"POT-Creation-Date: 2020-12-11 12:03+0100\n"
|
||||
"POT-Creation-Date: 2020-12-31 12:40+0100\n"
|
||||
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
|
||||
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
|
||||
"Language-Team: LANGUAGE <LL@li.org>\n"
|
||||
|
@ -509,10 +509,14 @@ msgstr ""
|
|||
msgid "Impersonate"
|
||||
msgstr ""
|
||||
|
||||
#: canaille/templates/profile.html:101
|
||||
#: canaille/templates/profile.html:102
|
||||
msgid "Delete the user"
|
||||
msgstr ""
|
||||
|
||||
#: canaille/templates/profile.html:104
|
||||
msgid "Delete my account"
|
||||
msgstr ""
|
||||
|
||||
#: canaille/templates/reset-password.html:12
|
||||
#: canaille/templates/reset-password.html:19
|
||||
msgid "Password reset"
|
||||
|
|
Loading…
Reference in a new issue