From 8cec7893e7acb02db4eb305120eab5df8bdf3697 Mon Sep 17 00:00:00 2001 From: James Valleroy Date: Sun, 9 Feb 2020 11:05:17 -0500 Subject: [PATCH] users: Make help text translatable Signed-off-by: James Valleroy --- plinth/modules/users/forms.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/plinth/modules/users/forms.py b/plinth/modules/users/forms.py index 874ccb526..146515365 100644 --- a/plinth/modules/users/forms.py +++ b/plinth/modules/users/forms.py @@ -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,