diff --git a/canaille/templates/profile.html b/canaille/templates/profile.html index 809a1fea..e4c84756 100644 --- a/canaille/templates/profile.html +++ b/canaille/templates/profile.html @@ -98,7 +98,11 @@ {% endif %} {% if user.moderator and edited_user %} {% endif %} diff --git a/canaille/translations/README.md b/canaille/translations/README.md index cb650864..3d77d371 100644 --- a/canaille/translations/README.md +++ b/canaille/translations/README.md @@ -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 +pybabel init --input-file canaille/translations/messages.pot --output-dir canaille/translations --locale ``` Update the catalogs with: diff --git a/canaille/translations/fr/LC_MESSAGES/messages.mo b/canaille/translations/fr/LC_MESSAGES/messages.mo index 012a6e5f..4b405d77 100644 Binary files a/canaille/translations/fr/LC_MESSAGES/messages.mo and b/canaille/translations/fr/LC_MESSAGES/messages.mo differ diff --git a/canaille/translations/fr/LC_MESSAGES/messages.po b/canaille/translations/fr/LC_MESSAGES/messages.po index b5a795a5..12ab68ed 100644 --- a/canaille/translations/fr/LC_MESSAGES/messages.po +++ b/canaille/translations/fr/LC_MESSAGES/messages.po @@ -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 \n" "Language: fr_FR\n" "Language-Team: French - France \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" diff --git a/canaille/translations/messages.pot b/canaille/translations/messages.pot index 91f42405..959dc857 100644 --- a/canaille/translations/messages.pot +++ b/canaille/translations/messages.pot @@ -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 \n" "Language-Team: LANGUAGE \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"