Bug 957195 - [or] bad translation for msgid "proxy URL in the form of proxy_hostname:proxy_port"
Summary: [or] bad translation for msgid "proxy URL in the form of proxy_hostname:proxy...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 5
Classification: Red Hat
Component: subscription-manager
Version: 5.10
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: rc
: ---
Assignee: candlepin-bugs
QA Contact: IDM QE LIST
URL:
Whiteboard:
Depends On:
Blocks: rhsm-rhel510
TreeView+ depends on / blocked
 
Reported: 2013-04-26 15:09 UTC by John Sefler
Modified: 2013-09-30 23:07 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
No description necessary
Clone Of:
Environment:
Last Closed: 2013-09-30 23:07:03 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2013:1332 0 normal SHIPPED_LIVE subscription-manager bug fix and enhancement update 2013-09-30 22:49:24 UTC

Description John Sefler 2013-04-26 15:09:36 UTC
Description of problem:
The or_IN translation for the following msgid should not alter the substring "proxy_hostname:proxy_port".

Current Translation...
[root@jsefler-5 ~]# msgunfmt --no-wrap /usr/share/locale/or/LC_MESSAGES/rhsm.mo | grep proxy_hostname:proxy_port -A1
msgid "proxy URL in the form of proxy_hostname:proxy_port"
msgstr "proxy_hostname ଶୈଳୀରେ ପ୍ରକ୍ସି URL:proxy_port"

This message is used in the following context....  It is a help message used to tell the user to specify a proxy URL value.  The format of the value that they enter for the proxy URL must be in the form "proxy_hostname:proxy_port".  Because "proxy_hostname" and "proxy_port" are actual configuration parameters used in the /etc/rhsm/rhsm.conf file, the help message should not translate the substring "proxy_hostname:proxy_port".


======================================================================

Here is some more content....

[root@jsefler-5 ~]# cat /etc/rhsm/rhsm.conf | grep proxy_ -B1
# an http proxy server to use
proxy_hostname =
--
# port for http proxy server
proxy_port =
--
# user name for authenticating to an http proxy, if needed
proxy_user =
--
# password for basic http proxy auth, if needed
proxy_password =

^^^ Those are the configuration file parameters being referred to on the msgid.  These configuration file parameters are not translated in any language.

======================================================================

[root@jsefler-5 ~]# subscription-manager orgs --help
Usage: subscription-manager orgs [OPTIONS]

Display the organizations against which a user can register a system

options:
  -h, --help            show this help message and exit
  --proxy=PROXY_URL     proxy URL in the form of proxy_hostname:proxy_port
  --proxyuser=PROXY_USER
                        user for HTTP proxy with basic authentication
  --proxypassword=PROXY_PASSWORD
                        password for HTTP proxy with basic authentication
  --username=USERNAME   username to use when authorizing against the server
  --password=PASSWORD   password to use when authorizing against the server
  --serverurl=SERVER_URL
                        server URL in the form of https://hostname:443/prefix
  --insecure            do not check the server SSL certificate against
                        available certificate authorities
[root@jsefler-5 ~]# 

^^^ above is an example of the help function (in English) where the translation for the offending msgid will be used.

======================================================================

[root@jsefler-5 ~]# LANG=or_IN.utf-8 subscription-manager orgs --help
ଉପଯୋଗ: subscription-manager orgs [OPTIONS]

ଚାଳକ ତନ୍ତ୍ରକୁ ପଞ୍ଜିକରଣ
କରିପାରୁଥିବା ଅନୁଷ୍ଠାନ ନାମ
ଦର୍ଶାନ୍ତୁ

ବିକଳ୍ପଗୁଡିକ:
  -h, --help            ଏହି ସହାୟତା ସନ୍ଦେଶ
                        ଦେଖାନ୍ତୁ ଏବଂ
                        ପ୍ରସ୍ଥାନ କରନ୍ତୁ
  --proxy=PROXY_URL     proxy_hostname ଶୈଳୀରେ
                        ପ୍ରକ୍ସି URL:proxy_port
  --proxyuser=PROXY_USER
                        ମୌଳିକ ବୈଧିକରଣ ସହିତ
                        HTTP ପ୍ରକ୍ସି ପାଇଁ ଚାଳକ
  --proxypassword=PROXY_PASSWORD
                        ମୌଳିକ ବୈଧିକରଣ ସହିତ
                        HTTP ପ୍ରକ୍ସି ପାଇଁ
                        ପ୍ରବେଶ ସଂକେତ
  --username=USERNAME   ସର୍ଭର ବିପକ୍ଷରେ
                        ବୈଧିକରଣ କରିବା ସମୟରେ
                        ବ୍ୟବହାର କରିବାକୁ
                        ଥିବା ଚାଳକ ନାମ
  --password=PASSWORD   ସର୍ଭର ବିପକ୍ଷରେ
                        ବୈଧିକରଣ କରିବା ସମୟରେ
                        ବ୍ୟବହାର କରିବାକୁ
                        ଥିବା ପ୍ରବେଶ ସଂକେତ
  --serverurl=SERVER_URL
                        https://hostname:443/prefix ଆକାରରେ
                        ସର୍ଭର URL
  --insecure            ସର୍ଭର SSL
                        ପ୍ରମାଣପତ୍ରକୁ
                        ଉପଲବ୍ଧ ପ୍ରମାଣପତ୍ର
                        ବୈଧିକରଣରେ ଯାଞ୍ଚ
                        କରନ୍ତୁ ନାହିଁ
[root@jsefler-5 ~]# 

^^^ That is the current translation for the offending msgid shown in context of the help function

I believe it would be better understood by the user if the msgstr "proxy_hostname ଶୈଳୀରେ ପ୍ରକ୍ସି URL:proxy_port" contained "proxy_hostname:proxy_port" within the translation.

======================================================================




Version-Release number of selected component (if applicable):
[root@jsefler-5 ~]# rpm -q subscription-manager
subscription-manager-1.8.6-1.el5
https://translate.zanata.org/zanata/iteration/view/subscription-manager/1.8.X

Comment 1 RHEL Program Management 2013-04-26 15:27:11 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 2 Manoj Kumar Giri 2013-04-29 07:10:05 UTC
Translation corrected in  subscription-manager-1.8.X

Thanks,
Manoj

Comment 3 Bryan Kearney 2013-04-29 16:26:54 UTC
commit eb882ffe5eeee12a45975f0fcbef23c95d9a6c32
Author: Bryan Kearney <bkearney>
Date:   Mon Apr 29 12:26:36 2013 -0400

    957195: Pull in the latest or fix from zanata.

Comment 5 Sharath Dwaral 2013-05-22 19:05:52 UTC
Brew Build

# subscription-manager version
server type: Red Hat Subscription Management
subscription management server: 0.8.7-1
subscription-manager: 1.8.8-1.el5
python-rhsm: 1.8.11-1.el5_9

# msgunfmt --no-wrap /usr/share/locale/or/LC_MESSAGES/rhsm.mo | grep proxy_hostname:proxy_port -A1
msgid "proxy URL in the form of proxy_hostname:proxy_port"
msgstr "proxy_hostname:proxy_port  ଶୈଳୀରେ ପ୍ରକ୍ସି URL"
        ^^^^^^^^^^^^^^^^^^^^^^^^^

# LANG=or_IN.utf-8 subscription-manager orgs --help
ଉପଯୋଗ: subscription-manager orgs [OPTIONS]

ଚାଳକ ତନ୍ତ୍ରକୁ ପଞ୍ଜିକରଣ
କରିପାରୁଥିବା ଅନୁଷ୍ଠାନ ନାମ
ଦର୍ଶାନ୍ତୁ

ବିକଳ୍ପଗୁଡିକ:
  -h, --help            ଏହି ସହାୟତା ସନ୍ଦେଶ
                        ଦେଖାନ୍ତୁ ଏବଂ
                        ପ୍ରସ୍ଥାନ କରନ୍ତୁ
  --proxy=PROXY_URL     proxy_hostname:proxy_port  ଶୈଳୀରେ
                        ^^^^^^^^^^^^^^^^^^^^^^^^^
                        ପ୍ରକ୍ସି URL
  --proxyuser=PROXY_USER
                        ମୌଳିକ ବୈଧିକରଣ ସହିତ
                        HTTP ପ୍ରକ୍ସି ପାଇଁ ଚାଳକ
  --proxypassword=PROXY_PASSWORD
                        ମୌଳିକ ବୈଧିକରଣ ସହିତ
                        HTTP ପ୍ରକ୍ସି ପାଇଁ
                        ପ୍ରବେଶ ସଂକେତ
  --username=USERNAME   ସର୍ଭର ବିପକ୍ଷରେ
                        ବୈଧିକରଣ କରିବା ସମୟରେ
                        ବ୍ୟବହାର କରିବାକୁ
                        ଥିବା ଚାଳକ ନାମ
  --password=PASSWORD   ସର୍ଭର ବିପକ୍ଷରେ
                        ବୈଧିକରଣ କରିବା ସମୟରେ
                        ବ୍ୟବହାର କରିବାକୁ
                        ଥିବା ପ୍ରବେଶ ସଂକେତ
  --serverurl=SERVER_URL
                        https://hostname:443/prefix ଆକାରରେ
                        ସର୍ଭର URL
  --insecure            ସର୍ଭର SSL
                        ପ୍ରମାଣପତ୍ରକୁ
                        ଉପଲବ୍ଧ ପ୍ରମାଣପତ୍ର
                        ବୈଧିକରଣରେ ଯାଞ୍ଚ
                        କରନ୍ତୁ ନାହିଁ


VERIFIED

Comment 7 errata-xmlrpc 2013-09-30 23:07:03 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-2013-1332.html


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