Bug 1525460

Summary: [ALL_LANG] Control - Explorer - Policy Profiles - All Policy Profiles : 'Policy' is not localized
Product: Red Hat CloudForms Management Engine Reporter: Krishna Babu K <kkrothap>
Component: InternationalizationAssignee: Milan Zázrivec <mzazrivec>
Status: CLOSED CURRENTRELEASE QA Contact: Krishna Babu K <kkrothap>
Severity: medium Docs Contact:
Priority: medium    
Version: 5.9.0CC: dajohnso, jhardy, kkrothap, mzazrivec, obarenbo
Target Milestone: GAKeywords: i18n, TestOnly, Translation
Target Release: 5.10.0   
Hardware: x86_64   
OS: All   
Whiteboard:
Fixed In Version: 5.10.0.0 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
: 1530760 (view as bug list) Environment:
Last Closed: 2019-02-11 14:01:20 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: Bug
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: CFME Core Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1530760    
Attachments:
Description Flags
screen-shot reference for missing translation none

Description Krishna Babu K 2017-12-13 11:37:49 UTC
Created attachment 1367300 [details]
screen-shot reference for missing translation

Description of problem:
The title is shown as "Policy "XXX". It needs to be changed to "(localized)ー "XXX" (e.g. "ポリシー "XXX")

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

How reproducible:
Always

Steps to Reproduce:
1. Log into cfme with non en_US locale.
2. Navigate to Control - Explorer - Policy Profiles - All Policy Profiles, click on any policy
3. The title is shown as "Policy "XXX". It needs to be changed to "ポリシー "XXX".

Actual results:
'Policy' is in English

Expected results:
'Policy' should be localized

Additional info:
Please refer attached screen-shot

Comment 3 CFME Bot 2017-12-19 19:08:46 UTC
New commit detected on ManageIQ/manageiq-ui-classic/master:
https://github.com/ManageIQ/manageiq-ui-classic/commit/a7562e6fc45cfd428bf872cd155d7fa1b220482a

commit a7562e6fc45cfd428bf872cd155d7fa1b220482a
Author:     Milan Zazrivec <mzazrivec>
AuthorDate: Tue Dec 19 19:07:55 2017 +0100
Commit:     Milan Zazrivec <mzazrivec>
CommitDate: Tue Dec 19 19:07:55 2017 +0100

    Make the "Policy" word translatable by putting it into a gettext fn.
    
    https://bugzilla.redhat.com/show_bug.cgi?id=1525460

 app/controllers/miq_policy_controller.rb | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Comment 5 Krishna Babu K 2018-11-24 14:59:22 UTC
Verified on 5.10.0.24.20181113213923_03b81fd