8
0
Fork 0
mirror of https://gitlab2.federez.net/re2o/re2o synced 2024-12-23 15:33:45 +00:00

Add missing translations

This commit is contained in:
Jean-Romain Garnier 2020-04-18 00:29:50 +02:00 committed by Jean-Romain Garnier
parent 9173f158a8
commit 91b418e64f
3 changed files with 27 additions and 5 deletions

View file

@ -50,10 +50,6 @@ msgstr "Pas encore adhéré"
msgid "Fully archived"
msgstr "Complètement archivés"
#: search/forms.py:38
msgid "Waiting for email confirmation"
msgstr "En attente de confirmation d'email"
#: search/forms.py:41
msgid "Users"
msgstr "Utilisateurs"
@ -117,6 +113,18 @@ msgstr "Date de début"
msgid "End date"
msgstr "Date de fin"
#: search/models.py:195
msgid "Verified"
msgstr "Confirmé"
#: search/models.py:196
msgid "Unverified"
msgstr "Non-confirmé"
#: search/models.py:197
msgid "Waiting for email confirmation"
msgstr "En attente de confirmation d'email"
#: search/templates/search/index.html:29
msgid "Search results"
msgstr "Résultats de la recherche"

View file

@ -659,6 +659,8 @@ class StateForm(FormRevMixin, ModelForm):
def __init__(self, *args, **kwargs):
prefix = kwargs.pop("prefix", self.Meta.model.__name__)
super(StateForm, self).__init__(*args, prefix=prefix, **kwargs)
self.fields["state"].label = _("State")
self.fields["email_state"].label = _("Email state")
class GroupForm(FieldPermissionFormMixin, FormRevMixin, ModelForm):

View file

@ -223,6 +223,14 @@ msgstr "Nom"
msgid "Use a mailing list"
msgstr "Utiliser une liste de diffusion"
#: users/forms.py:662
msgid "State"
msgstr "État"
#: users/forms.py:663
msgid "Email state"
msgstr "État du mail"
#: users/forms.py:601 users/templates/users/aff_listright.html:38
msgid "Superuser"
msgstr "Superutilisateur"
@ -1367,6 +1375,10 @@ msgstr "Les états ont été modifié."
msgid "The groups were edited."
msgstr "Les groupes ont été modifiés."
#: users/views.py:249
msgid "An email to confirm the address was sent."
msgstr "Un mail pour confirmer l'adresse a été envoyé."
#: users/views.py:261 users/views.py:998
msgid "The password was changed."
msgstr "Le mot de passe a été changé."