Bug 688497

Summary: [zh_CN][zh_TW][CLI]Translation of "subscription-manager subscribe" with unregistered system
Product: Red Hat Enterprise Linux 5 Reporter: tichen <tichen>
Component: subscription-managerAssignee: Chris Duryee <cduryee>
Status: CLOSED CURRENTRELEASE QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: 5.7CC: bkearney, jsefler, jzhao, mshao, qe-i18n-bugs, syeghiay, yupzhang
Target Milestone: rcKeywords: Translation
Target Release: 5.7   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-12-21 16:08:27 UTC Type: ---
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: 675214    
Attachments:
Description Flags
subscription-manager subscribe none

Description tichen 2011-03-17 09:10:27 UTC
Description of problem:
The error output is not translated.

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

How reproducible:

Steps to Reproduce:
1.Installed all relevant language packages
2.Installed Subscription Manager.
3.Unregistered system
4.On command line,run #subscription-manager subscribe
5.On command line,run #subscription-manager subscribe --pool  without give value to pool parameter

  
Actual results:
After step 4,"Error;:Need to supply --pool or --auto" should be translated.
After step 5,the message
"Usage: subscription-manager subscribe [OPTIONS]

subscription-manager: error: --pool option requires an argument"
is not translated.

Expected results:

Additional info:

Comment 2 Jin Zhao 2011-03-17 11:03:14 UTC
[zh_TW] have the same problem.

Comment 3 Bryan Kearney 2011-03-25 13:58:05 UTC
0.95.6 will have the latest strings (BZ 688592). This will resolve the issue.

Comment 7 tichen 2011-04-06 08:26:23 UTC
subscription-manager:The warning informatin has been translated,so
status:PASS

Comment 8 tichen 2011-04-06 08:37:00 UTC
Created attachment 490198 [details]
subscription-manager subscribe

Comment 9 tichen 2011-04-06 09:15:11 UTC
The result is:

使用:subscription-manager subscribe [OPTIONS]
subscription-manager: error: --pool 选项需要一个参数

expected result:
The "error" word should also be translated.

Verify result:
zh_CH-0.95.6-1: Failed

Comment 10 Jin Zhao 2011-04-06 10:36:45 UTC
Verify version:
subscription-manager-0.95.6-1

Steps:
# LANG=zh_TW subscription-manager subscribe --pool
使用方法:subscription-manager subscribe [OPTIONS]
subscription-manager: error: --pool 選項需要一個引數

Expected results:
Error should be translate

Verify Result: FAILED

Comment 16 Chris Duryee 2011-05-03 14:56:34 UTC
This is out for translation

Comment 17 Chris Duryee 2011-05-18 14:58:21 UTC
translations came back, fixed in a4fe33ee3a86f0dccb4b7aa9fe99872632d9f494

Comment 18 John Sefler 2011-05-21 05:38:02 UTC
Verifying Version...
[root@jsefler-onprem-5server ~]# rpm -q subscription-manager
subscription-manager-0.95.5.18-1.git.4.364aa10.el5


[root@jsefler-onprem-5server ~]# LANG=zh_CN subscription-manager subscribe
错误:需要提供 --pool 或者 --auto。
[root@jsefler-onprem-5server ~]# LANG=zh_CN subscription-manager subscribe --pool
使用:subscription-manager subscribe [OPTIONS]

subscription-manager: 错误:--pool 选项需要一个参数


[root@jsefler-onprem-5server ~]# LANG=zh_TW subscription-manager subscribe
錯誤:需要提供 --pool 或是 --auto。
[root@jsefler-onprem-5server ~]# LANG=zh_TW subscription-manager subscribe --pool
使用方法:subscription-manager subscribe [OPTIONS]

subscription-manager: 錯誤: --pool 選項需要一個引數



^^^ Verified translated strings are present for both LANG=zh_TW and LANG=zh_CN
tichen, please verify that the value of the translated strings are accurate.