mirror of
https://github.com/freedombox/FreedomBox.git
synced 2026-01-21 07:55:00 +00:00
users: Make help text translatable
Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
This commit is contained in:
parent
274e8a74fd
commit
8cec7893e7
@ -90,8 +90,8 @@ class UsernameValidator(validators.RegexValidator):
|
||||
|
||||
USERNAME_FIELD = forms.CharField(
|
||||
max_length=150, validators=[UsernameValidator()],
|
||||
help_text='Required. 150 characters or fewer. English letters, \
|
||||
digits and @/./-/_ only.')
|
||||
help_text=ugettext_lazy('Required. 150 characters or fewer. English '
|
||||
'letters, digits and @/./-/_ only.'))
|
||||
|
||||
|
||||
class CreateUserForm(ValidNewUsernameCheckMixin,
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user