Bug 887997

Summary: [it] pofilter newlines test failed on msgid="Error subscribing: %s"
Product: Red Hat Enterprise Linux 6 Reporter: John Sefler <jsefler>
Component: subscription-managerAssignee: candlepin-bugs
Status: CLOSED ERRATA QA Contact: IDM QE LIST <seceng-idm-qe-list>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 6.4CC: alikins, bkearney, fvalen, hpeters, tlavigne
Target Milestone: rcKeywords: Translation
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-02-21 09:04:35 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: 771481, 888457    

Description John Sefler 2012-12-17 19:32:47 UTC
Description of problem:

# (pofilter) newlines: Different line endings
msgid "Error subscribing: %s"
msgstr ""
"Errore di sottoscrizione: %s\n"
"\n"
"\t"
^^^^ TOO MUCH WHITE SPACE AT THE END OF THIS fr TRANSLATION

EXPECTED THE FOLLOWING TRANSLATION:
msgstr "Errore di sottoscrizione: %s"

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


Additional info:

Comment 2 Hedda Peters 2012-12-17 23:32:05 UTC
Our it-IT translator is now on annual leave until early January. 

However, as this is a simple white space error I have taken care of this on his behalf: 
Error is fixed in it-IT translation in https://translate.zanata.org/zanata/iteration/view/subscription-manager/1.1.X.

Comment 4 John Sefler 2012-12-19 20:28:39 UTC
[root@jsefler-6 ~]# rpm -q subscription-manager
subscription-manager-1.1.18-1.el6.x86_64


> # (pofilter) newlines: Different line endings
> msgid ""
> "Did not receive a completed unregistration message from RHN Classic for system %s.\n"
> "Please investigate on the Customer Portal at https://access.redhat.com."
msgstr "Non è stato ricevuto alcun messaggio di deregistrazione da RHN Classic per il sistema %s. Consultare il Portale clienti su https://access.redhat.com."

^ PLEASE INSERT A "\n" CHARACTER AT THE END OF THE FIRST SENTENCE.


> # (pofilter) newlines: Different line endings
> msgid ""
> "We have detected that you have multiple service levels on various products. Please select how you\n"
> "want them assigned."
> msgstr "Abbiamo rilevato che sei in possesso di livelli di servizio multipli su vari prodotti. Selezionare come assegnarli."

^ PLEASE INSERT A "\n" CHARACTER AT THE END OF THE FIRST SENTENCE.


Moving back to NEW/FailedQA status.

Comment 5 Hedda Peters 2012-12-20 00:29:28 UTC
Fixed in it-IT translation in https://translate.zanata.org/zanata/iteration/view/subscription-manager/1.1.X.

Comment 6 Adrian Likins 2013-01-04 18:15:19 UTC
fixed upstream, should be in 1.1.19

Comment 7 John Sefler 2013-01-08 21:20:15 UTC
Verifying Version...
[root@jsefler-6 ~]# rpm -q subscription-manager
subscription-manager-1.1.20-1.el6.x86_64


[root@jsefler-6 ~]# msgunfmt --no-wrap /usr/share/locale/it/LC_MESSAGES/rhsm.mo > /usr/share/locale/it/LC_MESSAGES/rhsm.po
[root@jsefler-6 ~]# pofilter -t newlines /usr/share/locale/it/LC_MESSAGES/rhsm.po
processing 1 files...
[###########################################] 100%
[root@jsefler-6 ~]# 

VERIFIED: pofilter newlines test is now passing for LANG=it



[root@jsefler-6 ~]# msgunfmt --no-wrap /usr/share/locale/it/LC_MESSAGES/rhsm.mo | grep -A5 -B1 "Did not receive"
msgid ""
"Did not receive a completed unregistration message from RHN Classic for system %s.\n"
"Please investigate on the Customer Portal at https://access.redhat.com."
msgstr ""
"Non è stato ricevuto alcun messaggio di deregistrazione da RHN Classic per il sistema %s.\n"
"Consultare il Portale clienti su https://access.redhat.com."

[root@jsefler-6 ~]# 
[root@jsefler-6 ~]# msgunfmt --no-wrap /usr/share/locale/it/LC_MESSAGES/rhsm.mo | grep -A5 -B1 "We have detected"
msgid ""
"We have detected that you have multiple service levels on various products. Please select how you\n"
"want them assigned."
msgstr ""
"Abbiamo rilevato che sei in possesso di livelli di servizio multipli su vari prodotti.\n"
"Selezionare come assegnarli."

[root@jsefler-6 ~]# 

VERIFIED: newline characters are now well placed

Comment 9 errata-xmlrpc 2013-02-21 09:04:35 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-0350.html