mirror of
https://github.com/freedombox/FreedomBox.git
synced 2026-11-29 08:25:10 +00:00
users: Make help text translatable
Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
This commit is contained in:
1 file changed
+2
-2
@@ -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,
|
||||
|
||||
Reference in new issue
Block a user