Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.

Bug 887989

Summary: [de_DE] pofilter newlines test failed on 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: alikins, bkearney, 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:28 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    
Attachments:
Description Flags
consequence of pofilter newlines test failed - wide dialog that may exceed firstboot screen width none

Description John Sefler 2012-12-17 18:53:58 UTC
Created attachment 665048 [details]
consequence of pofilter newlines test failed - wide dialog that may exceed firstboot screen width

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 "Das Einlösen der Subskription kann ggf. einige Minuten dauern. Bitte geben Sie eine E-Mail-Adresse an, an die eine Benachrichtigung gesendet werden kann, sobald die Subskription erfolgreich eingelöst wurde."


THE msgstr NEGLECTS TO INCLUDE THE NEWLINE "\n" CHARACTERS IN THE TRANSLATION.  THIS CAUSED WIDE DIALOG PROBLEMS.  SEE ATTACHED SCREENSHOT.

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:
https://engineering.redhat.com/rt/Ticket/Display.html?id=180935

Comment 1 Hedda Peters 2012-12-17 23:05:06 UTC
Fixed for de-DE in https://translate.zanata.org/zanata/iteration/view/subscription-manager/1.1.X 

BTW, to avoid this issue in the future, I raised a bug against Zanata requesting these newline characters to be made more obvious, since many of us translators apparently overlooked them: https://bugzilla.redhat.com/show_bug.cgi?id=888055

Comment 3 John Sefler 2012-12-21 22:18:40 UTC
Verifying Version...
[root@jsefler-6 ~]# rpm -q subscription-manager
subscription-manager-1.1.18-1.el6.x86_64

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

^ VERIFIED: PASSED pofilter newlines test


[root@jsefler-6 ~]# grep -B1 -A7 "Redeeming the subscription" /usr/share/locale/de_DE/LC_MESSAGES/rhsm.po
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 ""
"Das Einlösen der Subskription kann ggf. einige Minuten dauern. \n"
"Bitte geben Sie eine E-Mail-Adresse an, an die eine Benachrichtigung \n"
"gesendet werden kann, sobald die Subskription erfolgreich eingelöst wurde."

[root@jsefler-6 ~]# 


^ VERIFIED: newline characters have been included in the msgstr

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