users: Make help text translatable

Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
This commit is contained in:
James Valleroy committed 2020-02-09 11:18:12 -05:00
1 parent 274e8a74fd
commit 8cec7893e7
1 file changed
+2 -2
+2 -2
View File
@@ -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,