Bug 842898 - [it] failed pofilter options option test for subscription manager translations
Summary: [it] failed pofilter options option test for subscription manager translations
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 5
Classification: Red Hat
Component: subscription-manager
Version: 5.9
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: rc
: ---
Assignee: Adrian Likins
QA Contact: Entitlement Bugs
URL:
Whiteboard:
Depends On:
Blocks: 771748
TreeView+ depends on / blocked
 
Reported: 2012-07-24 21:00 UTC by Sharath Dwaral
Modified: 2015-03-23 01:14 UTC (History)
6 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2013-01-08 03:57:45 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2013:0033 0 normal SHIPPED_LIVE subscription-manager bug fix and enhancement update 2013-01-08 08:38:27 UTC

Description Sharath Dwaral 2012-07-24 21:00:00 UTC
Description of problem:


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


How reproducible:


Steps to Reproduce:
# msgunfmt --no-wrap /usr/share/locale/it/LC_MESSAGES/rhsm.mo -o /usr/share/locale/it/LC_MESSAGES/rhsm.po
# pofilter --gnome -t options /usr/share/locale/it/LC_MESSAGES/rhsm.po
processing 1 files...
msgid ""
msgstr ""
"Project-Id-Version: it\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2012-07-18 10:48-0400\n"
"PO-Revision-Date: 2012-06-28 07:50-0400\n"
"Last-Translator: fvalen <fvalen>\n"
"Language-Team: <it>\n"
"Language: it\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=2; plural=(n != 1)\n"
"X-Generator: Zanata 1.6.1\n"

# (pofilter) options: Missing or translated option '--password'
msgid "Error: you must register or specify --username and --password to list service levels"
msgstr "Errore: è necessario registrare o specificare --username e password per elencare i livelli dei servizi"
[###########################################] 100%
  
Actual results:
Shown Above

Expected results:
msgid "Error: you must register or specify --username and --password to list service levels"
msgstr "Errore: è necessario registrare o specificare --username e password per elencare i livelli dei servizi"

password should be prefixed with "--"

Comment 1 Adrian Likins 2012-08-01 20:37:03 UTC
commit f2a989715cc1c0bf79382855df1e2ba0e6b44305
Author: Adrian Likins <alikins>
Date:   Wed Aug 1 16:35:19 2012 -0400

    842898: fix missing --password in it.po

Comment 2 Adrian Likins 2012-08-02 17:07:27 UTC
commit 136959d3bd9ccc89e2ae5e0f455ecfe982bfda59
Author: Adrian Likins <alikins>
Date:   Wed Aug 1 16:43:13 2012 -0400

    842898: fix missing --password in it.po

Comment 3 Sharath Dwaral 2012-08-03 14:12:43 UTC
Version:
# rpm -qa | egrep "subscription-manager|python-rhsm"
subscription-manager-migration-1.0.12-1.git.6.1cb2247.el5
subscription-manager-1.0.12-1.git.6.1cb2247.el5
subscription-manager-firstboot-1.0.12-1.git.6.1cb2247.el5
python-rhsm-1.0.4-1.git.7.47e5112.el5
subscription-manager-migration-data-1.11.2.2-1.git.2.c3c8e22.el5
subscription-manager-gui-1.0.12-1.git.6.1cb2247.el5
 
Verification:
# msgunfmt --no-wrap /usr/share/locale/it/LC_MESSAGES/rhsm.mo -o /usr/share/locale/it/LC_MESSAGES/rhsm.po
# pofilter --gnome -t options /usr/share/locale/it/LC_MESSAGES/rhsm.po
processing 1 files...
[###########################################] 100%


Moving Bug to VERIFIED

Comment 4 RHEL Program Management 2012-08-09 14:57:09 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 5 John Sefler 2012-08-10 19:38:59 UTC
Not sure what happened here, but the fix verified in comment 3 appears to have reverted to the original failure...

[root@jsefler-rhel59 ~]# rpm -q subscription-manager
subscription-manager-1.0.13-1.git.14.28f8917.el5

[root@jsefler-rhel59 ~]# msgunfmt --no-wrap /usr/share/locale/it/LC_MESSAGES/rhsm.mo | grep "Error: you must register or specify --username and --password to list service levels" -A1
msgid "Error: you must register or specify --username and --password to list service levels"
msgstr "Errore: è necessario registrare o specificare --username e password per elencare i livelli dei servizi"
                                EXPECTED --password (NOT password) ^^^^^^^^


Moving status back to ASSIGNED/FailedQA

Comment 6 Ankit Patel 2012-08-13 05:25:53 UTC
(In reply to comment #5)
> msgid "Error: you must register or specify --username and --password to list
> service levels"
> msgstr "Errore: è necessario registrare o specificare --username e password
> per elencare i livelli dei servizi"
>                                 EXPECTED --password (NOT password) ^^^^^^^^


Hi Francesco,

Can you please fix this in 1.0.x? Also other versions (if problem exists) if possible.

Thanks!
Ankit

Comment 7 Francesco Valente 2012-08-13 05:43:54 UTC
Translation fixed. 

 msgid "Error: you must register or specify --username and --password to list
 service levels"
 msgstr "Errore: è necessario registrare o specificare --username e --password
 per elencare i livelli dei servizi"

Francesco

Comment 10 John Sefler 2012-09-07 18:10:06 UTC
Verifying Version...
[root@rhsm-accept-rhel5 ~]# rpm -q subscription-manager
subscription-manager-1.0.17-1.el5

[root@rhsm-accept-rhel5 ~]# msgunfmt --no-wrap /usr/share/locale/it/LC_MESSAGES/rhsm.mo -o /usr/share/locale/it/LC_MESSAGES/rhsm.po
[root@rhsm-accept-rhel5 ~]# pofilter --gnome -t options /usr/share/locale/it/LC_MESSAGES/rhsm.po
processing 1 files...
[###########################################] 100%


^^^ VERIFIED: The pofilter options test is now 100% passing for lang=it

Comment 12 errata-xmlrpc 2013-01-08 03:57:45 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-0033.html


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