From 86b1da4203c40b3cfc5b71093b2e4c5512bcbf4a Mon Sep 17 00:00:00 2001 From: utsav dusad Date: Wed, 18 Feb 2015 19:32:52 +0530 Subject: [PATCH] Make Default value for Groups column translatable. Here we are passing a default string 'False' to empty_value, which is not translatable as we haven't used the function ugettext(). So to make it translatable we are using this function. Closes-Bug: #1399308 Change-Id: Ie568118ad702fbbe80b4ae26fbc863524037342c --- openstack_dashboard/dashboards/identity/groups/tables.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/openstack_dashboard/dashboards/identity/groups/tables.py b/openstack_dashboard/dashboards/identity/groups/tables.py index 184a521125..8e72cbfd04 100644 --- a/openstack_dashboard/dashboards/identity/groups/tables.py +++ b/openstack_dashboard/dashboards/identity/groups/tables.py @@ -195,7 +195,7 @@ class UsersTable(tables.DataTable): enabled = tables.Column('enabled', verbose_name=_('Enabled'), status=True, status_choices=STATUS_CHOICES, - empty_value="False") + empty_value=_('False')) class GroupMembersTable(UsersTable):