From 2db3f5ecab1e72fea53ed5456ca02dd70ab73052 Mon Sep 17 00:00:00 2001 From: Doug Fish Date: Wed, 15 Oct 2014 13:31:57 -0500 Subject: [PATCH] Make "VLAN", "VXLAN" and "GRE" translatable VLAN has been translated in other places. Use the translation in create network and make sure all 3 are translatable. Change-Id: I2263d1ceef1e4aa6fe1c324e0a9ad5a66fa1d714 Closes-bug: #1381679 --- openstack_dashboard/dashboards/admin/networks/forms.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/openstack_dashboard/dashboards/admin/networks/forms.py b/openstack_dashboard/dashboards/admin/networks/forms.py index 70a990e175..b37f3b34a4 100644 --- a/openstack_dashboard/dashboards/admin/networks/forms.py +++ b/openstack_dashboard/dashboards/admin/networks/forms.py @@ -27,7 +27,8 @@ from openstack_dashboard import api LOG = logging.getLogger(__name__) PROVIDER_TYPES = [('local', _('Local')), ('flat', _('Flat')), - ('vlan', 'VLAN'), ('gre', 'GRE'), ('vxlan', 'VXLAN')] + ('vlan', _('VLAN')), ('gre', _('GRE')), + ('vxlan', _('VXLAN'))] SEGMENTATION_ID_RANGE = {'vlan': [1, 4094], 'gre': [0, (2 ** 32) - 1], 'vxlan': [0, (2 ** 24) - 1]}