mirror of
https://github.com/freedombox/FreedomBox.git
synced 2026-08-26 12:46:08 +00:00
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:
parent
642ac0f997
commit
4151ab3f10
@ -181,7 +181,7 @@ class UserUpdateForm(ValidNewUsernameCheckMixin,
|
|||||||
# Replace group names with descriptions
|
# Replace group names with descriptions
|
||||||
choices.append((c[0], group_choices[c[1]]))
|
choices.append((c[0], group_choices[c[1]]))
|
||||||
|
|
||||||
self.fields['groups'].label = 'Permissions'
|
self.fields['groups'].label = _('Permissions')
|
||||||
self.fields['groups'].choices = choices
|
self.fields['groups'].choices = choices
|
||||||
|
|
||||||
if not is_user_admin(request):
|
if not is_user_admin(request):
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user