From b7f24dd39f11d99e70b11f63173a2abe770b475e Mon Sep 17 00:00:00 2001 From: Akihiro Motoki Date: Mon, 15 Jan 2018 00:36:32 +0900 Subject: [PATCH] Make neutron quota names translatable Change-Id: I0cbf31344afe9bf8168b959acc532ddd9deacd6b Closes-Bug: #1743233 --- openstack_dashboard/dashboards/admin/defaults/tables.py | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/openstack_dashboard/dashboards/admin/defaults/tables.py b/openstack_dashboard/dashboards/admin/defaults/tables.py index 5a6418d695..adfae7dac1 100644 --- a/openstack_dashboard/dashboards/admin/defaults/tables.py +++ b/openstack_dashboard/dashboards/admin/defaults/tables.py @@ -64,6 +64,14 @@ def get_quota_name(quota): 'per_volume_gigabytes': _('Per Volume Size (GiB)'), 'groups': _('Volume Groups'), 'dm-crypt': _('dm-crypt'), + # Neutron + 'network': _('Networks'), + 'subnet': _('Subnets'), + 'port': _('Ports'), + 'router': _('Routers'), + 'floatingip': _('Floating IPs'), + 'security_group': _('Security Groups'), + 'security_group_rule': _('Security Group Rules'), } QUOTA_DYNAMIC_NAMES = {