Bug 880048

Summary: [ALL_LANG][SAM CLI] Unlocalized strings for user_role module
Product: [Retired] Subscription Asset Manager Reporter: Lijun Li <lijli>
Component: katelloAssignee: Adam Price <adprice>
Status: CLOSED NEXTRELEASE QA Contact: SAM QE List <sam-qe-list>
Severity: medium Docs Contact:
Priority: medium    
Version: 1.3CC: adprice, agarcia, eng-l10n-bugs, eukim, hpeters, noriko, qe-i18n-bugs, sfriedma, tomckay
Target Milestone: rcKeywords: Translation, Triaged
Target Release: 2.0   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-06-07 18:28:14 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 833466    

Description Lijun Li 2012-11-26 05:47:45 UTC
Description of problem:
Unlocalized strings for user_role module

Version-Release number of selected component (if applicable):
Subscription Asset Manager Version: 1.2.5-1h.el6_3

How reproducible:
100%

Steps to Reproduce:
# headpin -u admin -p admin user_role create --name=
Validation failed: Name must contain at least 1 character, Name can't be blank
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^Unlocalized

# headpin -u admin -p admin user_role create --name=test --description=test
Validation failed: Name has already been taken
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^Unlocalized  

# headpin -u admin -p admin user_role info --name=test --permission_details
--------------------------------------------------------------------------------------------------
                                        ユーザーロール情報
--------------------------------------------------------------------------------------------------

Id          : 34
Name        : test
Description : test
Permissions:
    あい
    	for: roles
    	verbs: create
    	on: 
Ldap Groups : 
^^^^^^^^^Unlocalized

# headpin -u admin -p admin user_role list
--------------------------------------------------------------------------------------------------
                                        ユーザーロール一覧

Id Name   
^^^^^^Unlocalized         
--------------------------------------------------------------------------------------------------
1  Administrator   


# headpin -u admin -p admin user_role add_ldap_group --name=test --group_name=test
Server localhost refused connection on port 389.
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^Unlocalized

headpin -u admin -p admin user_role add_ldap_group --name=test --group_name=test
Validation failed: Ldap group has already been taken
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^Unlocalized

# headpin -u admin -p admin user_role remove_ldap_group --name=wrong_name --group_name=
Cannot find user role 'wrong_name'
^^^^^^^^^^^^^^^^^^^^^^^^^Unlocalized

# headpin -u admin -p admin user_role remove_ldap_group --name=test --group_name=wrong_name
LDAP group 'wrong_name' associated to role 'test' was not found.
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^Unlocalized

# headpin -u admin -p admin user_role update --name=test --new_name=
Validation failed: Name must contain at least 1 character, Name can't be blank
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^Unlocalized



Actual results:
Unlocalized strings for user_role module

Expected results:
All the strings should be localized.

Additional info:

Comment 1 Adam Price 2012-12-11 19:44:49 UTC
Most column names are not localized. I will add them to localization, but it depends on if the translators get to them in time.

Most error messages that were coming from the server were being sent as English, so the CLI has no control over that. We are actively working on getting the error messages and validation error messages translated.

Comment 2 Noriko Mizumoto 2012-12-14 00:47:36 UTC
confirmed for ja-JP

Comment 3 Hedda Peters 2012-12-14 03:37:23 UTC
confirmed for de-DE

Comment 4 Lijun Li 2012-12-14 03:37:42 UTC
*** Bug 887073 has been marked as a duplicate of this bug. ***

Comment 5 Sam Friedmann 2012-12-14 03:46:22 UTC
Confirmed for fr-FR.

Comment 6 Eunju, Kim 2012-12-14 04:14:16 UTC
not all of them half of them got same outcome for ko-KR.

Comment 7 Tom McKay 2012-12-18 14:12:15 UTC
Mass moving i18n BZs to CFSE where they are also present

Comment 9 Bryan Kearney 2013-06-07 18:19:54 UTC
Moving all POST bugs to ON_QA since we have delivered a puddle with the bugs.

Comment 10 Bryan Kearney 2013-06-07 18:28:14 UTC
We will be doing a new round of translations for the 1.3 drop. Closing out these bugs so that the beta starts with a clean slate.