Give a proper title to the captcha field (#3841)

This commit is contained in:
Frédéric Péters 2013-10-28 11:25:59 +01:00
parent 64b783f87e
commit e6e5c90ff6
2 changed files with 4 additions and 1 deletions

View File

@ -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"

View File

@ -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)