users: internationalize a string

Signed-off-by: Joseph Nuthalapati <njoseph@thoughtworks.com>
Reviewed-by: Sunil Mohan Adapa <sunil@medhas.org>
This commit is contained in:
Joseph Nuthalapati 2018-06-04 13:03:05 +05:30 committed by Sunil Mohan Adapa
parent 642ac0f997
commit 4151ab3f10
No known key found for this signature in database
GPG Key ID: 43EA1CFF0AA7C5F2

View File

@ -181,7 +181,7 @@ class UserUpdateForm(ValidNewUsernameCheckMixin,
# Replace group names with descriptions
choices.append((c[0], group_choices[c[1]]))
self.fields['groups'].label = 'Permissions'
self.fields['groups'].label = _('Permissions')
self.fields['groups'].choices = choices
if not is_user_admin(request):