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 authored and Sunil Mohan Adapa committed 2018-06-04 13:14:53 +05:30
1 parent 642ac0f997
commit 4151ab3f10
1 file changed
+1 -1
+1 -1
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):