8
0
Fork 0
mirror of https://gitlab2.federez.net/re2o/re2o synced 2024-11-27 07:02:26 +00:00

Add missing translations

This commit is contained in:
Jean-Romain Garnier 2020-04-18 00:29:50 +02:00 committed by Gabriel Detraz
parent d2881c64dc
commit 6c7833ebb1
3 changed files with 27 additions and 5 deletions

View file

@ -50,10 +50,6 @@ msgstr "Pas encore adhéré"
msgid "Fully archived" msgid "Fully archived"
msgstr "Complètement archivés" 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 #: search/forms.py:41
msgid "Users" msgid "Users"
msgstr "Utilisateurs" msgstr "Utilisateurs"
@ -117,6 +113,18 @@ msgstr "Date de début"
msgid "End date" msgid "End date"
msgstr "Date de fin" 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 #: search/templates/search/index.html:29
msgid "Search results" msgid "Search results"
msgstr "Résultats de la recherche" msgstr "Résultats de la recherche"

View file

@ -654,11 +654,13 @@ class StateForm(FormRevMixin, ModelForm):
class Meta: class Meta:
model = User model = User
fields = ["state" ,"email_state"] fields = ["state", "email_state"]
def __init__(self, *args, **kwargs): def __init__(self, *args, **kwargs):
prefix = kwargs.pop("prefix", self.Meta.model.__name__) prefix = kwargs.pop("prefix", self.Meta.model.__name__)
super(StateForm, self).__init__(*args, prefix=prefix, **kwargs) 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): class GroupForm(FieldPermissionFormMixin, FormRevMixin, ModelForm):

View file

@ -223,6 +223,14 @@ msgstr "Nom"
msgid "Use a mailing list" msgid "Use a mailing list"
msgstr "Utiliser une liste de diffusion" 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 #: users/forms.py:601 users/templates/users/aff_listright.html:38
msgid "Superuser" msgid "Superuser"
msgstr "Superutilisateur" msgstr "Superutilisateur"
@ -1367,6 +1375,10 @@ msgstr "Les états ont été modifié."
msgid "The groups were edited." msgid "The groups were edited."
msgstr "Les groupes ont été modifiés." 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 #: users/views.py:261 users/views.py:998
msgid "The password was changed." msgid "The password was changed."
msgstr "Le mot de passe a été changé." msgstr "Le mot de passe a été changé."