Give a proper title to the captcha field (#3841)
This commit is contained in:
parent
64b783f87e
commit
e6e5c90ff6
|
@ -249,3 +249,6 @@ msgstr ""
|
|||
#: templates/registration/registration_form.html:9
|
||||
msgid "Registration"
|
||||
msgstr ""
|
||||
|
||||
msgid "Give (with numbers) the result of the operation"
|
||||
msgstr "Donnez (en chiffre) le résultat du calcul suivant"
|
||||
|
|
|
@ -14,7 +14,7 @@ PASSWORD_HELP_TEXT = _('At least 6 characters')
|
|||
|
||||
class RegistrationForm(AuthenticRegistrationForm):
|
||||
# see http://dev.entrouvert.org/issues/3203
|
||||
captcha = CaptchaField()
|
||||
captcha = CaptchaField(label=_('Give (with numbers) the result of the operation'))
|
||||
|
||||
def __init__(self, *args, **kwargs):
|
||||
super(RegistrationForm, self).__init__(*args, **kwargs)
|
||||
|
|
Reference in New Issue