Bug 828985

Summary: [ml] failed pofilter urls test for subscription manager translations
Product: Red Hat Enterprise Linux 5 Reporter: Sharath Dwaral <fsharath>
Component: subscription-managerAssignee: Bryan Kearney <bkearney>
Status: CLOSED ERRATA QA Contact: Entitlement Bugs <entitlement-bugs>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 5.9CC: ankit, apeter, awood, jgalipea
Target Milestone: betaKeywords: i18n, Translation
Target Release: 5.9   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-01-08 03:54:07 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: 771748    

Description Sharath Dwaral 2012-06-05 17:28:52 UTC
Description of problem:
The gnome urls were not properly translated for 'ml' language.  Sample output is shown below, 


Version-Release number of selected component (if applicable):
[root@fsharath-rhel63server ~]# rpm -q subscription-manager
subscription-manager-0.99.19-1.el6.x86_64

How reproducible:
[root@fsharath-rhel63server ~]# msgunfmt --no-wrap /usr/share/locale/ml/LC_MESSAGES/rhsm.mo -o /usr/share/locale/ml/LC_MESSAGES/rhsm.po
[root@fsharath-rhel63server ~]# pofilter --gnome -t urls /usr/share/locale/ml/LC_MESSAGES/rhsm.po
processing 1 files...
msgid ""
msgstr ""
"Project-Id-Version: ml\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2012-05-16 08:40-0400\n"
"PO-Revision-Date: 2012-04-11 06:54-0400\n"
"Last-Translator: anipeter <anipeter>\n"
"Language-Team: <en>\n"
"Language: ml\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.5.0\n"

# (pofilter) urls: Different URLs
msgid ""
"\n"
"Please visit https://access.redhat.com/management/consumers/%s to view the profile details."
msgstr ""
"\n"
"പ്രൊഫൈല്‍ വിവരങ്ങള്‍ കാണുന്നതിനായി, ദയവായി https://access.redhat.com/management /consumers/%s കാണുക."


Steps to Reproduce:

Actual results:
Shown above

Expected results:

> There is a space in the URL present in msgstr  

msgid ""
"\n"
"Please visit https://access.redhat.com/management/consumers/%s to view the profile details."
msgstr ""
"\n"
>"പ്രൊഫൈല്‍ വിവരങ്ങള്‍ കാണുന്നതിനായി, ദയവായി https://access.redhat.com/management/consumers/%s കാണുക."


Additional info:

http://translate.sourceforge.net/wiki/toolkit/pofilter_tests#urls

Comment 3 Ani Peter 2012-06-11 17:01:46 UTC
Have fixed ml translation. Please have a look. 
Thanks
Ani

Comment 4 Sharath Dwaral 2012-06-12 19:12:01 UTC
# rpm -q subscription-manager
subscription-manager-0.99.19-1.el6.x86_64

Steps to Reproduce:

[root@fsharath-rhel63server ~]# msgunfmt --no-wrap /usr/share/locale/ml/LC_MESSAGES/rhsm.mo -o /usr/share/locale/ml/LC_MESSAGES/rhsm.po
[root@fsharath-rhel63server ~]# pofilter --gnome -t urls /usr/share/locale/ml/LC_MESSAGES/rhsm.po
processing 1 files...
[###########################################] 100%

Space in the URL is removed. All significant issues are fixed.

Moving Bug to Verified.

Comment 5 Alex Wood 2012-06-18 17:00:30 UTC
commit 706e0d7ec496ad56f922ccbfdcc676f812cabe78
Refs: subscription-manager-1.0.2-1-87-g706e0d7
Author:     Bryan Kearney <bkearney>
AuthorDate: Tue Jun 5 16:56:30 2012 -0400
Commit:     Bryan Kearney <bkearney>
CommitDate: Wed Jun 6 15:38:39 2012 -0400

    828985: Fix the url in the translated string

Comment 6 RHEL Program Management 2012-06-18 17:08:05 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 8 Sharath Dwaral 2012-07-12 22:08:29 UTC
Version:
# rpm -qa | egrep "subscription-manager|python-rhsm"
subscription-manager-gui-1.0.9-1.git.4.59ef2fe.el5
python-rhsm-1.0.3-1.git.2.47dc8f4.el5
subscription-manager-migration-data-1.11.2.2-1.git.0.2eea155.el5
subscription-manager-migration-1.0.9-1.git.4.59ef2fe.el5
subscription-manager-firstboot-1.0.9-1.git.4.59ef2fe.el5
subscription-manager-1.0.9-1.git.4.59ef2fe.el5

Verification:

# msgunfmt --no-wrap /usr/share/locale/ml/LC_MESSAGES/rhsm.mo -o /usr/share/locale/ml/LC_MESSAGES/rhsm.po
[root@fsharath-rhel59server ~]# pofilter --gnome -t urls /usr/share/locale/ml/LC_MESSAGES/rhsm.po
processing 1 files...
[###########################################] 100%

Moving bug to VERIFIED

Comment 10 errata-xmlrpc 2013-01-08 03:54:07 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