Bug 752694

Summary: [zh_CN] RHSM CLI_list module message_strings 'Arch, PoolId' are still unlocalized
Product: Red Hat Enterprise Linux 6 Reporter: Lijun Li <lijli>
Component: subscription-managerAssignee: Bryan Kearney <bkearney>
Status: CLOSED ERRATA QA Contact: Entitlement Bugs <entitlement-bugs>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 6.2CC: jsefler, lijli, skallesh
Target Milestone: betaKeywords: i18n, Translation
Target Release: 6.3   
Hardware: Unspecified   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-06-20 13:03:58 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Bug Depends On:    
Bug Blocks: 738066, 756082    
Attachments:
Description Flags
[zh_CN] RHSM CLI_list module message_strings 'Arch, PoolId' are still unlocalized none

Description Lijun Li 2011-11-10 06:52:42 UTC
Description of problem:
list module message_strings 'Arch, PoolId' are still unlocalized

Version-Release number of selected component (if applicable):
subscription-manager-0.96.17-1.el6


How reproducible:
100%

Steps to Reproduce:
1.Run subscription-manager CLI in terminal

sudo subscription-manager list

sudo subscription-manager list --available

  
Actual results:
strings 'Arch, PoolId' are unlocalized

Expected results:
All the strings should be localized.


Additional info:

Comment 1 Lijun Li 2011-11-10 06:53:30 UTC
Created attachment 532732 [details]
[zh_CN] RHSM CLI_list module message_strings 'Arch, PoolId' are still unlocalized

Comment 4 Bryan Kearney 2012-01-04 14:49:03 UTC
Fixed in the current version

Comment 5 John Sefler 2012-01-05 22:31:06 UTC
[root@jsefler-stage-6server ~]# rpm -q subscription-manager
subscription-manager-0.96.17-1.el6.x86_64

[root@jsefler-stage-6server ~]# msgunfmt /usr/share/locale/zh_CN/LC_MESSAGES/rhsm.mo | grep "\"Arch:" -A12 -B4 | head -17
msgid ""
"\n"
"ProductName:        \t%-25s\n"
"Version:            \t%-25s\n"
"Arch:               \t%-25s\n"
"Status:             \t%-25s\n"
"Starts:             \t%-25s\n"
"Expires:            \t%-25s\n"
msgstr ""
"\n"
"产品名: %-25s\n"
"版本: %-25s\n"
"Arch: %-25s\n"
"状态: %-25s\n"
"开始日期: %-25s\n"
"过期日期: %-25s\n"

^^^^ THIS MEANS THAT THE PERSON WHO TRANSLATED zh_CN MISSED THE Arch STRING.


[root@jsefler-stage-6server ~]# msgunfmt /usr/share/locale/zh_CN/LC_MESSAGES/rhsm.mo | grep "\"PoolId:" -A13 -B4 | head -19
msgid ""
"\n"
"ProductName:       \t%-25s\n"
"ProductId:         \t%-25s\n"
"PoolId:            \t%-25s\n"
"Quantity:          \t%-25s\n"
"Multi-Entitlement: \t%-25s\n"
"Expires:           \t%-25s\n"
"MachineType:       \t%-25s\n"
msgstr ""
"\n"
"产品名:       \t%-25s\n"
"产品:         \t%-25s\n"
"PoolId:            \t%-25s\n"
"数量:          \t%-25s\n"
"多重权利: \t%-25s\n"
"过期日:           \t%-25s\n"
"机器类型:       \t%-25s\n"

^^^^^ THIS MEANS THAT THE PERSON WHO TRANSLATED zh_CN MISSED THE PoolId STRING.

Comment 7 Shwetha Kallesh 2012-02-23 12:02:25 UTC
Moving the bug to verified.


RPM used:
[root@dhcp201-166 yum.repos.d]# rpm -qa | grep subscription-manager 
subscription-manager-gnome-0.99.8-1.el6.x86_64
subscription-manager-0.99.8-1.el6.x86_64
subscription-manager-migration-0.99.8-1.el6.x86_64
subscription-manager-migration-data-1.12-1.el6.noarch
subscription-manager-debuginfo-0.99.8-1.el6.x86_64


[root@dhcp201-166 yum.repos.d]# LANG=zh_CN.UTF-8 subscription-manager list
+-------------------------------------------+
    安装的产品状态
+-------------------------------------------+
产品名称:Red Hat Enterprise Linux Server
版本:6.3 Beta                 
构架:x86_64                   
状态:未订阅的             
开始:无                      
过期:无  



[root@dhcp201-166 yum.repos.d]# LANG=zh_CN.UTF-8 subscription-manager list --avail
+-------------------------------------------+
    可用订阅
+-------------------------------------------+

产品名称:Awesome OS Modifier      
产品 ID:awesomeos-modifier       
池 ID:0000000035856b280135856beca30222
数量:5                        
多个授权:No                       
过期:2013年02月15日        
机器类型:物理的                

产品名称:Awesome OS Modifier      
产品 ID:awesomeos-modifier       
池 ID:0000000035856b280135856bed360229
数量:10                       
多个授权:No                       
过期:2013年02月15日        
机器类型:物理的

Comment 9 errata-xmlrpc 2012-06-20 13:03:58 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.

http://rhn.redhat.com/errata/RHBA-2012-0804.html