Role name should not be translated in Domain Groups dialog

Role names are retrieved from keystone and they should be displayed
as-is.

Change-Id: I62f9cb5582090e197fe2b7b434107dc801864571
Closes-Bug: #1255004
This commit is contained in:
Zhenguo Niu 2013-11-26 22:43:50 +08:00 committed by Gerrit Code Review
parent b7c0e33d48
commit 8ed32cc278
1 changed files with 1 additions and 1 deletions

View File

@ -103,7 +103,7 @@ class UpdateDomainGroupsAction(workflows.MembershipAction):
redirect=reverse(constants.DOMAINS_INDEX_URL))
for role in role_list:
field_name = self.get_member_field_name(role.id)
label = _(role.name)
label = role.name
self.fields[field_name] = forms.MultipleChoiceField(required=False,
label=label)
self.fields[field_name].choices = groups_list