Bug 693527 - missing some translation in usage help string
Summary: missing some translation in usage help string
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 5
Classification: Red Hat
Component: subscription-manager
Version: 5.7
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: rc
: ---
Assignee: Justin Harris
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks: 675214
TreeView+ depends on / blocked
 
Reported: 2011-04-04 21:25 UTC by John Sefler
Modified: 2013-07-04 21:10 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2011-07-21 08:46:24 UTC
Target Upstream Version:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHEA-2011:1078 0 normal SHIPPED_LIVE new package: subscription-manager 2011-07-21 08:45:07 UTC

Description John Sefler 2011-04-04 21:25:18 UTC
Description of problem:
Some of the "usage" strings are not getting translated on RHEL5.7 branch


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

[root@jsefler-onprem-5server tmp]# rpm -q subscription-manager
subscription-manager-0.95.5.3-1.git.2.6fe888f.el5

[root@jsefler-onprem-5server tmp]# LANG=de_DE subscription-manager activate --help
usage: subscription-manager activate [OPTIONS]

activate

options:
  -h, --help            Zeige diese Hilfenachricht und beende
  --debug=DEBUG         Debug-Level
  --proxy=PROXY_URL     Proxy-URL im Format proxy_hostname:proxy_port
  --proxyuser=PROXY_USER
                        Benutzer für HTTP-Proxy mit einfacher
                        Authentifizierung
  --proxypassword=PROXY_PASSWORD
                        Passwort für HTTP-Proxy mit einfacher
                        Authentifizierung
  --email=EMAIL         Optionale E-Mail-Adresse, die nach Abschluss der
                        Token-Aktivierung benachrichtigt wird.
  --locale=LOCALE       Optionale Sprache, die für die E-Mail-
                        Benachrichtigung nach Abschluss der Token-Aktivierung
                        verwendet wird. Wird nur zusammen mit --email
                        verwendet. Beispiele: en-us, de-de


^^^ Notice the "usage:" string is not translated to German.

For comparison, the same command off the RHEL6 branch on a rhel6 client is translated...
[root@jsefler-onprem-server facts]# rpm -q subscription-manager
subscription-manager-0.95.5-1.git.33.139b536.el6.x86_64

[root@jsefler-onprem-server facts]# LANG=de_DE subscription-manager activate --help
Verbrauch: subscription-manager activate [OPTIONS]

activate

Optionen:
  -h, --help            Zeige diese Hilfenachricht und beende
  --debug=DEBUG         Debug-Level
  --proxy=PROXY_URL     Proxy-URL im Format proxy_hostname:proxy_port
  --proxyuser=PROXY_USER
                        Benutzer für HTTP-Proxy mit einfacher
                        Authentifizierung
  --proxypassword=PROXY_PASSWORD
                        Passwort für HTTP-Proxy mit einfacher
                        Authentifizierung
  --email=EMAIL         Optionale E-Mail-Adresse, die nach Abschluss der
                        Token-Aktivierung benachrichtigt wird.
  --locale=LOCALE       Optionale Sprache, die für die E-Mail-
                        Benachrichtigung nach Abschluss der Token-Aktivierung
                        verwendet wird. Wird nur zusammen mit --email
                        verwendet. Beispiele: en-us, de-de

^^^ Notice the "usage:" string in RHEL6 is translated to "Verbrauch" as expected

Comment 1 Chris Duryee 2011-05-03 14:31:57 UTC
This appears to be fixed as of 80825a89781509c30c620c26c0731b26061bb421.

Comment 2 John Sefler 2011-05-03 18:29:53 UTC
[root@jsefler-onprem-5server ~]# rpm -q subscription-manager
subscription-manager-0.95.5.8-1.git.12.80825a8.el5

[root@jsefler-onprem-5server ~]# LANG=de_DE subscription-manager activate --help
usage: subscription-manager activate [OPTIONS]

activate

options:
  -h, --help            Zeige diese Hilfenachricht und beende
  --debug=DEBUG         Debug-Level
  --proxy=PROXY_URL     Proxy-URL im Format proxy_hostname:proxy_port
  --proxyuser=PROXY_USER
                        Benutzer für HTTP-Proxy mit einfacher
                        Authentifizierung
  --proxypassword=PROXY_PASSWORD
                        Passwort für HTTP-Proxy mit einfacher
                        Authentifizierung
  --email=EMAIL         Optionale E-Mail-Adresse, die nach Abschluss der
                        Token-Aktivierung benachrichtigt wird.
  --locale=LOCALE       Optionale Sprache, die für die E-Mail-
                        Benachrichtigung nach Abschluss der Token-Aktivierung
                        verwendet wird. Wird nur zusammen mit --email
                        verwendet. Beispiele: en-us, de-de

Nope. Does not yet appear complete.  The "usage" string is still not yet translated.
Moving back to NEW.

Comment 3 Justin Harris 2011-05-06 18:59:20 UTC
Added "usage: " to i18n_optparse for compatibility with older versions of optparse.

Git commits:
RHEL5.7:  0e45c3f929756f0a295500d857bc96e57ec0c272
master:   438f8cc58705c64c465b0a58054f1fbb2b79609b

Comment 4 John Sefler 2011-05-10 19:17:35 UTC
waiting on the next pass at string translation to verify this bug

Comment 5 John Sefler 2011-05-21 06:27:33 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 ~]# 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 subscription-manager register --help | grep OPTIONS"; LANG=$L subscription-manager register --help | grep OPTIONS; done;

# LANG=en_US subscription-manager register --help | grep OPTIONS
usage: subscription-manager register [OPTIONS]

# LANG=de_DE subscription-manager register --help | grep OPTIONS
Verbrauch: subscription-manager register [OPTIONS]

# LANG=es_ES subscription-manager register --help | grep OPTIONS
uso: subscription-manager register [OPTIONS]

# LANG=fr_FR subscription-manager register --help | grep OPTIONS
utilisation : subscription-manager register [OPTIONS]

# LANG=it_IT subscription-manager register --help | grep OPTIONS
utilizzo: subscription-manager register [OPTIONS]

# LANG=ja_JP subscription-manager register --help | grep OPTIONS
使用法: subscription-manager register [OPTIONS]

# LANG=ko_KR subscription-manager register --help | grep OPTIONS
사용법: subscription-manager register [OPTIONS]

# LANG=pt_BR subscription-manager register --help | grep OPTIONS
uso: subscription-manager register [OPTIONS]

# LANG=ru_RU subscription-manager register --help | grep OPTIONS
формат: subscription-manager register [OPTIONS]

# LANG=zh_CN subscription-manager register --help | grep OPTIONS
使用:subscription-manager register [OPTIONS]

# LANG=zh_TW subscription-manager register --help | grep OPTIONS
使用方法:subscription-manager register [OPTIONS]

# LANG=as_IN subscription-manager register --help | grep OPTIONS
ব্যৱহাৰ: subscription-manager register [OPTIONS]

# LANG=bn_IN subscription-manager register --help | grep OPTIONS
ব্যবহারপ্রণালী: subscription-manager register [OPTIONS]

# LANG=hi_IN subscription-manager register --help | grep OPTIONS
प्रयोग: subscription-manager register [OPTIONS]

# LANG=mr_IN subscription-manager register --help | grep OPTIONS
वापर: subscription-manager register [OPTIONS]

# LANG=gu_IN subscription-manager register --help | grep OPTIONS
વપરાશ: subscription-manager register [OPTIONS]

# LANG=kn_IN subscription-manager register --help | grep OPTIONS
ಬಳಕೆ: subscription-manager register [OPTIONS]

# LANG=ml_IN subscription-manager register --help | grep OPTIONS
ഉപയോഗിയ്ക്കേണ്ട വിധം: subscription-manager register [OPTIONS]

# LANG=or_IN subscription-manager register --help | grep OPTIONS
ବ୍ଯବହାର ବିଧି: subscription-manager register [OPTIONS]

# LANG=pa_IN subscription-manager register --help | grep OPTIONS
ਵਰਤੋਂ: subscription-manager register [OPTIONS]

# LANG=ta_IN subscription-manager register --help | grep OPTIONS
பயன்பாடு: subscription-manager register [OPTIONS]

# LANG=te_IN subscription-manager register --help | grep OPTIONS
వా‍డుక: subscription-manager register [OPTIONS]


^^^ Verified that the word "usage" has now been translated to all of the languages.

Comment 6 errata-xmlrpc 2011-07-21 08:46:24 UTC
An advisory has been issued which should help the problem
described in this bug report. This report is therefore being
closed with a resolution of ERRATA. For more information
on therefore solution and/or where to find the updated files,
please follow the link below. You may reopen this bug report
if the solution does not work for you.

http://rhn.redhat.com/errata/RHEA-2011-1078.html

Comment 7 errata-xmlrpc 2011-07-21 12:29:52 UTC
An advisory has been issued which should help the problem
described in this bug report. This report is therefore being
closed with a resolution of ERRATA. For more information
on therefore solution and/or where to find the updated files,
please follow the link below. You may reopen this bug report
if the solution does not work for you.

http://rhn.redhat.com/errata/RHEA-2011-1078.html


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