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-manager | Assignee: | Michael Stead <mstead> | ||||||
Status: | CLOSED CURRENTRELEASE | QA Contact: | Entitlement Bugs <entitlement-bugs> | ||||||
Severity: | unspecified | Docs Contact: | |||||||
Priority: | unspecified | ||||||||
Version: | 7.0 | CC: | alikins, bkearney, eng-l10n-bugs, fsharath, jgalipea, lijli, mstead | ||||||
Target Milestone: | rc | Keywords: | 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: |
|
The new lines are excluded by several of the translators for this msgid. Hence this dialog does not render very nicely for many languages. 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. [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. Fixed: https://github.com/candlepin/subscription-manager/pull/886 Available in: subscription-manager-1.10.12-1+ 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....
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. |
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.