Bug 1078483

Summary: [ALL] rhsm-debug system --help --sos description is not translated
Product: Red Hat Enterprise Linux 7 Reporter: John Sefler <jsefler>
Component: subscription-managerAssignee: candlepin-bugs
Status: CLOSED ERRATA QA Contact: John Sefler <jsefler>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 7.0CC: dgoodwin, skallesh
Target Milestone: rc   
Target Release: 7.1   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-03-05 13:15:01 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: 1005618    

Description John Sefler 2014-03-19 18:42:15 UTC
Description of problem:
Missing a translation for
msgid: "only data not already included in sos report will be collected"

In fact, this key missing from Zanata subscription-manager/1.10.X.  It was never uploaded for translation.

Version-Release number of selected component (if applicable):
https://translate.zanata.org/zanata/iteration/view/subscription-manager/1.10.X
[root@jsefler-7 ~]# subscription-manager version
server type: This system is currently not registered.
subscription management server: Unknown
subscription-manager: 1.10.14-5.el7
python-rhsm: 1.10.12-1.el7


How reproducible:


Steps to Reproduce:
[root@jsefler-7 ~]# LANG=zh_CN.utf8 rhsm-debug system --help
使用:rhsm-debug system [选项] 

将系统信息组合为 tar 文件或者目录

选项:
  -h, --help            显示此帮助信息并退出
  --proxy=PROXY_URL     proxy URL 的格式为 proxy_hostname:proxy_port
  --proxyuser=PROXY_USER
                        使用基本验证的 HTTP proxy 用户
  --proxypassword=PROXY_PASSWORD
                        使用基本验证的 HTTP proxy 密码
  --destination=DESTINATION
                        该结果的目的位置;默认为 /tmp。
  --no-archive          数据将位于未压缩的目录
  --sos                 only data not already included in sos report will be
                        collected

                        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
                        IS NOT TRANSLATED IN ANY LANGUAGE



[root@jsefler-7 ~]# msgunfmt --no-wrap /usr/share/locale/zh_CN/LC_MESSAGES/rhsm.mo | grep -A1 "sos report"
[root@jsefler-7 ~]# 

Expected this call to msgunfmt to return the key and translated string.

Comment 1 Bryan Kearney 2014-07-30 19:22:46 UTC
Acking 7.1

Comment 2 Devan Goodwin 2014-11-03 18:16:33 UTC
I think this has been dealt with:

$ git grep "only data"                      
po/as.po:msgid "only data not already included in sos report will be collected"
po/bn_IN.po:msgid "only data not already included in sos report will be collected"
po/de_DE.po:msgid "only data not already included in sos report will be collected"
po/es_ES.po:msgid "only data not already included in sos report will be collected"
po/fr.po:msgid "only data not already included in sos report will be collected"
po/gu.po:msgid "only data not already included in sos report will be collected"
po/hi.po:msgid "only data not already included in sos report will be collected"
po/it.po:msgid "only data not already included in sos report will be collected"
po/ja.po:msgid "only data not already included in sos report will be collected"
po/keys.pot:msgid "only data not already included in sos report will be collected"
po/kn.po:msgid "only data not already included in sos report will be collected"
po/ko.po:msgid "only data not already included in sos report will be collected"
po/ml.po:msgid "only data not already included in sos report will be collected"
po/mr.po:msgid "only data not already included in sos report will be collected"
po/or.po:msgid "only data not already included in sos report will be collected"
po/pa.po:msgid "only data not already included in sos report will be collected"
po/pt_BR.po:msgid "only data not already included in sos report will be collected"
po/ru.po:msgid "only data not already included in sos report will be collected"
po/ta_IN.po:msgid "only data not already included in sos report will be collected"
po/te.po:msgid "only data not already included in sos report will be collected"
po/zh_CN.po:msgid "only data not already included in sos report will be collected"
po/zh_TW.po:msgid "only data not already included in sos report will be collected"
src/rhsm_debug/debug_commands.py:                               help=_("only data not already included in sos report will be collected"))

Comment 4 Shwetha Kallesh 2014-11-24 08:18:56 UTC
Marking verified!!

[root@dhcp35-236 product]# subscription-manager version 
server type: Red Hat Subscription Management
subscription management server: 0.9.26.4-1
subscription management rules: 5.11
subscription-manager: 1.13.9-1.el7
python-rhsm: 1.13.8-1.el7


[root@dhcp35-236 product]# LANG=zh_CN.utf8 rhsm-debug system --help
使用:rhsm-debug system [选项] 

将系统信息组合为 tar 文件或者目录

选项:
  -h, --help            显示此帮助信息并退出
  --proxy=PROXY_URL     proxy URL 的格式为 proxy_hostname:proxy_port
  --proxyuser=PROXY_USER
                        使用基本验证的 HTTP proxy 用户
  --proxypassword=PROXY_PASSWORD
                        使用基本验证的 HTTP proxy 密码
  --destination=DESTINATION
                        该结果的目的位置;默认为 /tmp。
  --no-archive          数据将位于未压缩的目录
  --sos                 只收集 sos 报告中不包含的数据
  --no-subscriptions    不包括订阅数据

[root@dhcp35-236 product]# msgunfmt --no-wrap /usr/share/locale/zh_CN/LC_MESSAGES/rhsm.mo | grep -A1 "sos report"
msgid "only data not already included in sos report will be collected"
msgstr "只收集 sos 报告中不包含的数据"

Comment 6 errata-xmlrpc 2015-03-05 13:15:01 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-2015-0502.html