Bug 887966

Summary: [es_ES] pofilter newlines test failed for msgid="Redeeming the subscription may take..."
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: agarcia, alikins, bkearney, 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:24 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, 895654    
Attachments:
Description Flags
consequence of pofilter newlines test failed - dialog wider than firstboot none

Description John Sefler 2012-12-17 17:28:06 UTC
Description of problem:

# (pofilter) newlines: Different line endings
msgid ""
"Redeeming the subscription may take a few minutes.\n"
"Please provide an email address to receive notification\n"
"when the redemption is complete."
msgstr "Redimir una suscripción puede tardar unos minutos. Por favor provea una dirección de correo-e para recibir notificación cuando la redención se complete. "

THE NEWLINE "\n" CHARACTERS WERE EXCLUDED IN THE TRANSALTION.  THIS CAUSES A PROBLEM WHEN RENDERING THE REDEMPTION DIALOG ESPECIALLY IN FIRSTBOOT.  SEE THE ATTACHED SCREENSHOT.

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


Additional info:
https://engineering.redhat.com/rt/Ticket/Display.html?id=180936

Comment 1 John Sefler 2012-12-17 17:30:00 UTC
Created attachment 664995 [details]
consequence of pofilter newlines test failed - dialog wider than firstboot

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


# (pofilter) newlines: Different line endings
msgid "Invalid argument specified: %s\n"
msgstr ""
"El argumento especificado es inválido: %s\n"
"\n"

^^^^ THERE IS AN EXTRANEOUS NEWLINE AT THE END OF THIS MSGSTR

Moving bug status back to NEW

Comment 5 Adrian Likins 2013-01-04 18:05:01 UTC
(In reply to comment #4)
> [root@jsefler-6 ~]# rpm -q subscription-manager
> subscription-manager-1.1.18-1.el6.x86_64
> 
> 
> # (pofilter) newlines: Different line endings
> msgid "Invalid argument specified: %s\n"
> msgstr ""
> "El argumento especificado es inválido: %s\n"
> "\n"
> 
> ^^^^ THERE IS AN EXTRANEOUS NEWLINE AT THE END OF THIS MSGSTR

Fixed this upstream in zanata. Should be in 1.1.19

Comment 6 John Sefler 2013-01-08 21:26:46 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/es_ES/LC_MESSAGES/rhsm.mo > /usr/share/locale/es_ES/LC_MESSAGES/rhsm.po
[root@jsefler-6 ~]# pofilter -t newlines /usr/share/locale/es_ES/LC_MESSAGES/rhsm.poprocessing 1 files...
[###########################################] 100%

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



[root@jsefler-6 ~]# msgunfmt --no-wrap /usr/share/locale/es_ES/LC_MESSAGES/rhsm.mo | grep -A2 "Invalid argument specified"
msgid "Invalid argument specified.\n"
msgstr "El argumento especificado es inválido.\n"

msgid "Invalid argument specified: %s\n"
msgstr "El argumento especificado es inválido: %s\n"

[root@jsefler-6 ~]# 

VERIFIED

Comment 8 errata-xmlrpc 2013-02-21 09:04:24 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