Bug 1117374 - translation for the word "options:" is missing in rhel5.11 command line help messages
Summary: translation for the word "options:" is missing in rhel5.11 command line help ...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 5
Classification: Red Hat
Component: subscription-manager
Version: 5.11
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: rc
: ---
Assignee: candlepin-bugs
QA Contact: John Sefler
URL:
Whiteboard:
Depends On:
Blocks: rhsm-rhel511
TreeView+ depends on / blocked
 
Reported: 2014-07-08 14:32 UTC by John Sefler
Modified: 2014-09-16 00:23 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2014-09-16 00:23:32 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2014:1225 0 normal SHIPPED_LIVE subscription-manager bug fix and enhancement update 2014-09-16 04:15:23 UTC

Description John Sefler 2014-07-08 14:32:16 UTC
Description of problem:
When inquiring for --help on the subscription-manager CLI, the word "options" is no longer translated.  In fact, it appears to be missing from the msgid keys.

[root@jsefler-5 ~]# msgunfmt --no-wrap /usr/share/locale/as/LC_MESSAGES/rhsm.mo | grep options
msgid "%prog [options]"
msgid "Error: --list should not be used with any other options for setting or removing configurations."
msgid "The --servicelevel and --no-auto options cannot be used together."

^^^ EXPECTED TO FIND: msgid "options:"


Version-Release number of selected component (if applicable):
[root@jsefler-5 ~]# rpm -q subscription-manager
subscription-manager-1.11.3-8.el5


How reproducible:


Steps to Reproduce:
[root@jsefler-5 ~]# for L in en_US de_DE es_ES fr_FR it_IT ja_JP ko_KR pt_BR ru_RU zh_CN zh_TW as_IN bn_IN hi_IN mr_IN gu_IN kn_IN ml_IN or_IN pa_IN ta_IN te_IN; do echo ""; echo "# LANG=$L.UTF-8 subscription-manager clean --help | grep -B1 -- --help"; LANG=$L.UTF-8 subscription-manager clean --help | grep -B1 -- --help; done;

# LANG=en_US.UTF-8 subscription-manager clean --help | grep -B1 -- --help
options:
  -h, --help  show this help message and exit

# LANG=de_DE.UTF-8 subscription-manager clean --help | grep -B1 -- --help
options:
  -h, --help  Zeige diese Hilfenachricht und beende

# LANG=es_ES.UTF-8 subscription-manager clean --help | grep -B1 -- --help
options:
  -h, --help  mostrar este mensaje de ayuda y salir

# LANG=fr_FR.UTF-8 subscription-manager clean --help | grep -B1 -- --help
options:
  -h, --help  afficher ce message d'aide et quitter

# LANG=it_IT.UTF-8 subscription-manager clean --help | grep -B1 -- --help
options:
  -h, --help  mostra questo messaggio d'aiuto ed esci

# LANG=ja_JP.UTF-8 subscription-manager clean --help | grep -B1 -- --help
options:
  -h, --help  このヘルプメッセージを表示して終了

# LANG=ko_KR.UTF-8 subscription-manager clean --help | grep -B1 -- --help
options:
  -h, --help  도움말 보기 및 종료

# LANG=pt_BR.UTF-8 subscription-manager clean --help | grep -B1 -- --help
options:
  -h, --help  apresenta esta mensagem de ajuda e encerramento

# LANG=ru_RU.UTF-8 subscription-manager clean --help | grep -B1 -- --help
options:
  -h, --help  показать это сообщение и выйти

# LANG=zh_CN.UTF-8 subscription-manager clean --help | grep -B1 -- --help
options:
  -h, --help  显示此帮助信息并退出

# LANG=zh_TW.UTF-8 subscription-manager clean --help | grep -B1 -- --help
options:
  -h, --help  顯示此協助訊息並退出

# LANG=as_IN.UTF-8 subscription-manager clean --help | grep -B1 -- --help
options:
  -h, --help  এই সহায় বাৰ্তা দেখুৱাওক

# LANG=bn_IN.UTF-8 subscription-manager clean --help | grep -B1 -- --help
options:
  -h, --help  এই বার্তা প্রদর্শন করে

# LANG=hi_IN.UTF-8 subscription-manager clean --help | grep -B1 -- --help
options:
  -h, --help  इस मदद संदेश को दिखाएँ

# LANG=mr_IN.UTF-8 subscription-manager clean --help | grep -B1 -- --help
options:
  -h, --help  हे मदत संदेश दाखवा व

# LANG=gu_IN.UTF-8 subscription-manager clean --help | grep -B1 -- --help
options:
  -h, --help  આ મદદ સંદેશાને બતાવો અને

# LANG=kn_IN.UTF-8 subscription-manager clean --help | grep -B1 -- --help
options:
  -h, --help  ಈ ನೆರವಿನ ಸಂದೇಶವನ್ನು

# LANG=ml_IN.UTF-8 subscription-manager clean --help | grep -B1 -- --help
options:
  -h, --help  ഈ സഹായ സന്ദേശം

# LANG=or_IN.UTF-8 subscription-manager clean --help | grep -B1 -- --help
options:
  -h, --help  ଏହି ସହାୟତା ସନ୍ଦେଶ

# LANG=pa_IN.UTF-8 subscription-manager clean --help | grep -B1 -- --help
options:
  -h, --help  ਇਹ ਮੱਦਦ ਸੁਨੇਹਾ ਵਿਖਾਉ ਅਤੇ

# LANG=ta_IN.UTF-8 subscription-manager clean --help | grep -B1 -- --help
options:
  -h, --help  இந்த உதவி செய்தியை

# LANG=te_IN.UTF-8 subscription-manager clean --help | grep -B1 -- --help
options:
  -h, --help  ఈ సహయ సందేశం చూపి
[root@jsefler-5 ~]#



Actual results:
above

Expected results:
language specific translations for the word "options:"

Additional info:
https://translate.zanata.org/zanata/iteration/view/subscription-manager/1.11.X
appears to be missing the "options:" key

Comment 1 RHEL Program Management 2014-07-08 14:37:58 UTC
This request was evaluated by Red Hat Product Management for inclusion
in a Red Hat Enterprise Linux release.  Product Management has
requested further review of this request by Red Hat Engineering, for
potential inclusion in a Red Hat Enterprise Linux release for currently
deployed products.  This request is not yet committed for inclusion in
a release.

Comment 3 Carter Kozak 2014-07-14 14:39:00 UTC
commit 5ee43f433f87352f0529087b1cd94ba444174909
Author: Adrian Likins <alikins>
Date:   Mon Jul 14 10:31:39 2014 -0400

    1117374: add optparse options strings, zanata pull

Comment 6 John Sefler 2014-07-15 14:08:02 UTC
Verifying Version...
[root@jsefler-5 ~]# rpm -q subscription-manager
subscription-manager-1.11.3-9.el5


[root@jsefler-5 ~]# for L in en_US de_DE es_ES fr_FR it_IT ja_JP ko_KR pt_BR ru_RU zh_CN zh_TW as_IN bn_IN hi_IN mr_IN gu_IN kn_IN ml_IN or_IN pa_IN ta_IN te_IN; do echo ""; echo "# LANG=$L.UTF-8 subscription-manager clean --help | grep -B1 -- --help"; LANG=$L.UTF-8 subscription-manager clean --help | grep -B1 -- --help; done;

# LANG=en_US.UTF-8 subscription-manager clean --help | grep -B1 -- --help
options:
  -h, --help  show this help message and exit

# LANG=de_DE.UTF-8 subscription-manager clean --help | grep -B1 -- --help
Optionen:
  -h, --help  Zeige diese Hilfenachricht und beende

# LANG=es_ES.UTF-8 subscription-manager clean --help | grep -B1 -- --help
Opciones:
  -h, --help  mostrar este mensaje de ayuda y salir

# LANG=fr_FR.UTF-8 subscription-manager clean --help | grep -B1 -- --help
options:
  -h, --help  afficher ce message d'aide et quitter

# LANG=it_IT.UTF-8 subscription-manager clean --help | grep -B1 -- --help
opzioni:
  -h, --help  mostra questo messaggio d'aiuto ed esci

# LANG=ja_JP.UTF-8 subscription-manager clean --help | grep -B1 -- --help
オプション:
  -h, --help  このヘルプメッセージを表示して終了

# LANG=ko_KR.UTF-8 subscription-manager clean --help | grep -B1 -- --help
옵션:
  -h, --help  도움말 보기 및 종료

# LANG=pt_BR.UTF-8 subscription-manager clean --help | grep -B1 -- --help
Opções:
  -h, --help  apresenta esta mensagem de ajuda e encerramento

# LANG=ru_RU.UTF-8 subscription-manager clean --help | grep -B1 -- --help
параметры:
  -h, --help  показать это сообщение и выйти

# LANG=zh_CN.UTF-8 subscription-manager clean --help | grep -B1 -- --help
选项:
  -h, --help  显示此帮助信息并退出

# LANG=zh_TW.UTF-8 subscription-manager clean --help | grep -B1 -- --help
選項:
  -h, --help  顯示此協助訊息並退出

# LANG=as_IN.UTF-8 subscription-manager clean --help | grep -B1 -- --help
বিকল্পসমূহ:
  -h, --help  এই সহায় বাৰ্তা দেখুৱাওক

# LANG=bn_IN.UTF-8 subscription-manager clean --help | grep -B1 -- --help
বিকল্প:
  -h, --help  এই বার্তা প্রদর্শন করে

# LANG=hi_IN.UTF-8 subscription-manager clean --help | grep -B1 -- --help
विकल्प:
  -h, --help  इस मदद संदेश को दिखाएँ

# LANG=mr_IN.UTF-8 subscription-manager clean --help | grep -B1 -- --help
पर्याय:
  -h, --help  हे मदत संदेश दाखवा व

# LANG=gu_IN.UTF-8 subscription-manager clean --help | grep -B1 -- --help
વિકલ્પો:
  -h, --help  આ મદદ સંદેશાને બતાવો અને

# LANG=kn_IN.UTF-8 subscription-manager clean --help | grep -B1 -- --help
ಆಯ್ಕೆಗಳು:
  -h, --help  ಈ ನೆರವಿನ ಸಂದೇಶವನ್ನು

# LANG=ml_IN.UTF-8 subscription-manager clean --help | grep -B1 -- --help
ഐച്ഛികങ്ങള്‍:
  -h, --help  ഈ സഹായ സന്ദേശം

# LANG=or_IN.UTF-8 subscription-manager clean --help | grep -B1 -- --help
ବିକଳ୍ପଗୁଡିକ:
  -h, --help  ଏହି ସହାୟତା ସନ୍ଦେଶ

# LANG=pa_IN.UTF-8 subscription-manager clean --help | grep -B1 -- --help
ਚੋਣਾਂ:
  -h, --help  ਇਹ ਮੱਦਦ ਸੁਨੇਹਾ ਵਿਖਾਉ ਅਤੇ

# LANG=ta_IN.UTF-8 subscription-manager clean --help | grep -B1 -- --help
விருப்பங்கள்:
  -h, --help  இந்த உதவி செய்தியை

# LANG=te_IN.UTF-8 subscription-manager clean --help | grep -B1 -- --help
ఐచ్చికాలు:
  -h, --help  ఈ సహయ సందేశం చూపి
[root@jsefler-5 ~]# 


VERIFIED: the word "options" has been translated in all languages

Comment 8 errata-xmlrpc 2014-09-16 00:23:32 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-2014-1225.html


Note You need to log in before you can comment on or make changes to this bug.