Bug 1027046 - [ALL_LANG] Unlocalized tab labels in Create/Update Subnet windows
Summary: [ALL_LANG] Unlocalized tab labels in Create/Update Subnet windows
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat OpenStack
Classification: Red Hat
Component: python-django-horizon
Version: 4.0
Hardware: Unspecified
OS: Unspecified
low
unspecified
Target Milestone: z1
: 4.0
Assignee: Julie Pichon
QA Contact: Lijun Li
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-11-06 01:05 UTC by Yuko Katabami
Modified: 2016-04-26 22:02 UTC (History)
6 users (show)

Fixed In Version: python-django-horizon-2013.2.1-1.el6ost
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2014-01-23 14:24:03 UTC
Target Upstream Version:


Attachments (Terms of Use)
Create Subnet - unlocalized tab label (34.66 KB, image/png)
2013-11-06 01:05 UTC, Yuko Katabami
no flags Details
Update Subnet - unlocalized tab labels (36.06 KB, image/png)
2013-11-06 01:05 UTC, Yuko Katabami
no flags Details
Subnet tab label in Create Subnet window -- fixed (35.19 KB, image/png)
2014-01-21 05:38 UTC, Yuko Katabami
no flags Details
Subnet tab label in Update Subnet window -- fixed (37.50 KB, image/png)
2014-01-21 05:39 UTC, Yuko Katabami
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Launchpad 1254026 0 None None None Never
OpenStack gerrit 58184 0 None None None Never
Red Hat Product Errata RHBA-2014:0046 0 normal SHIPPED_LIVE Red Hat Enterprise Linux OpenStack Platform 4 Bug Fix and Enhancement Advisory 2014-01-23 00:51:59 UTC

Description Yuko Katabami 2013-11-06 01:05:18 UTC
Created attachment 820098 [details]
Create Subnet - unlocalized tab label

Description of problem:
Tab labels in Create/Update Subnet windows are unlocalized

Version-Release number of selected component (if applicable): 4.0


How reproducible: 100%


Steps to Reproduce:
1. Log in to Dashboard with Admin account.
2. Click "Settings" menu and select a language other than English.
3. On the left side panel, select Admin => Netwokrs
4. On the main panel, click a network name to open Network Detail page.
5. Click "Create Subnet" button to open "Create Subnet" window and check the tabs and close it.
6. Also click "Edit Subnet" action button for a subnet to open "Update Subnet" window and check the tabs.

Actual results:
In "Create Subnet" window, tab label "Subnet" is unlocalized.
In "Update Subnet" window, tab labels "Subnet" and "Subnet Details" is unlocalized.

Expected results:
Screenshots attached.


Additional info:

Comment 1 Yuko Katabami 2013-11-06 01:05:59 UTC
Created attachment 820099 [details]
Update Subnet - unlocalized tab labels

Comment 3 Yuko Katabami 2013-11-06 01:43:21 UTC
Corresnponding strings in upstream file (for_use_horizon_openstack-dashboard-translations_ja.po):

#: dashboards/admin/networks/subnets/tables.py:32
#: dashboards/project/loadbalancers/tables.py:194
#: dashboards/project/loadbalancers/workflows.py:36
#: dashboards/project/networks/workflows.py:116
#: dashboards/project/networks/subnets/tables.py:45
#: dashboards/project/networks/templates/networks/subnets/_detail_overview.html:7
#: dashboards/project/routers/ports/forms.py:32
#: dashboards/project/vpn/tables.py:126 dashboards/project/vpn/workflows.py:35
msgid "Subnet"
msgstr "サブネット"

#: dashboards/project/networks/workflows.py:192
#: dashboards/project/networks/templates/networks/subnets/detail.html:3
#: dashboards/project/networks/templates/networks/subnets/detail.html:6
msgid "Subnet Detail"
msgstr "サブネットの詳細"

Comment 4 Julie Pichon 2013-11-12 16:45:31 UTC
As Yuko indicates the translated strings are available. They are not showing due to programming errors: the strings are not properly marked as translatable in the code, e.g. https://git.openstack.org/cgit/openstack/horizon/tree/openstack_dashboard/dashboards/project/networks/subnets/workflows.py#n121 , leading underscore missing.

Comment 5 Julie Pichon 2013-11-27 10:47:40 UTC
Backported upstream for 2013.2.1.

Comment 7 Yuko Katabami 2014-01-21 05:38:38 UTC
Created attachment 852960 [details]
Subnet tab label in Create Subnet window -- fixed

Comment 8 Yuko Katabami 2014-01-21 05:39:11 UTC
Created attachment 852962 [details]
Subnet tab label in Update Subnet window -- fixed

Comment 9 Yuko Katabami 2014-01-21 05:39:44 UTC
Verified on the latest RHOS 4.0.z puddle. Screenshot attached. Moving the status to VERIFIED.

Comment 12 Lon Hohberger 2014-02-04 17:20:33 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://rhn.redhat.com/errata/RHBA-2014-0046.html


Note You need to log in before you can comment on or make changes to this bug.