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 825388

Summary: Subscribe System dialog does not expand automatically to enclose translated message string
Product: Red Hat Enterprise Linux 7 Reporter: John Sefler <jsefler>
Component: subscription-managerAssignee: Michael Stead <mstead>
Status: CLOSED CURRENTRELEASE QA Contact: Entitlement Bugs <entitlement-bugs>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 7.0CC: alikins, bkearney, eng-l10n-bugs, fsharath, jgalipea, lijli, mstead
Target Milestone: rcKeywords: Translation
Target Release: 7.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-06-13 10:41:00 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: 863175    
Attachments:
Description Flags
translated message runs off the end of the rendered dialog.
none
String wrapping issue fixed none

Description John Sefler 2012-05-25 21:07:17 UTC
Created attachment 586952 [details]
translated message runs off the end of the rendered dialog.

Description of problem:

When the translator does not strategically insert new line characters, the dialog will clip the string from rendering in full view.

See attached screenshot.
Does the dialog have a fixed width initial size?  Shouldn't it expand to contain the message labels inside?

Version-Release number of selected component (if applicable):
[root@jsefler-63server ~]# rpm -q subscription-manager
subscription-manager-0.99.19-1.git.0.99a87e8.el6.x86_64


Here's an example from /usr/share/locale/ta_IN/LC_MESSAGES/rhsm.mo where the tranlator did not put in new line characters.  See the attached screenshot for the consequences...

msgid ""
"We have detected that you have multiple service level\n"
"agreements on various products. Please select how you\n"
"want them assigned."
msgstr "பல்வேறு தயாரிப்புகளில் பல் சேவை நிலை உரிமங்களை கண்டறிந்துள்ளோம். அவற்றை எவ்வாறு ஒதுக்க வேண்டும் என தேர்ந்தெடுக்கவும்."


Expected behavior:
1. the translator needs to match the new line characters OR
2. the dialog should auto-expand to contain the rendered text label.

Comment 1 John Sefler 2012-05-25 21:17:20 UTC
The new lines are excluded by several of the translators for this msgid.
Hence this dialog does not render very nicely for many languages.

Comment 3 RHEL Program Management 2012-05-30 05:48:24 UTC
This request was not resolved in time for the current release.
Red Hat invites you to ask your support representative to
propose this request, if still desired, for consideration in
the next release of Red Hat Enterprise Linux.

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


[root@jsefler-6 ~]# msgunfmt --no-wrap /usr/share/locale/ta_IN/LC_MESSAGES/rhsm.mo | grep -B1 -A1 "We have detected"
msgid ""
"We have detected that you have multiple service levels on various products. Please select how you\n"
"want them assigned."


^^^ IT APPEARS THAT THE FIRST NEWLINE CHARACTER HAS BEEN REMOVED FROM THE msgid.  THIS COMPOUNDS THE PROBLEM IN RHEL6.4.

Comment 5 Michael Stead 2014-01-30 17:37:47 UTC
Fixed:
https://github.com/candlepin/subscription-manager/pull/886

Available in:
subscription-manager-1.10.12-1+

Comment 7 Sharath Dwaral 2014-02-04 21:00:35 UTC
Created attachment 859362 [details]
String wrapping issue fixed

Version:

# subscription-manager version
server type: Red Hat Subscription Management
subscription management server: 0.9.2-1
subscription-manager: 1.10.13-1.el7
python-rhsm: 1.10.12-1.el7


Verification:

Please see Attachment

There are 3 examples in different locales. The width if the GUI is adjusted accordingly to the longest string in the locale. This is an intelligent fix and fixes all the wrapping around and string shortening issues.

VERIFIED....

Comment 8 Ludek Smid 2014-06-13 10:41:00 UTC
This request was resolved in Red Hat Enterprise Linux 7.0.

Contact your manager or support representative in case you have further questions about the request.