Red Hat Bugzilla – Bug 825388
Subscribe System dialog does not expand automatically to enclose translated message string
Last modified: 2014-06-17 20:21:15 EDT
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
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...
"We have detected that you have multiple service level\n"
"agreements on various products. Please select how you\n"
"want them assigned."
msgstr "பல்வேறு தயாரிப்புகளில் பல் சேவை நிலை உரிமங்களை கண்டறிந்துள்ளோம். அவற்றை எவ்வாறு ஒதுக்க வேண்டும் என தேர்ந்தெடுக்கவும்."
1. the translator needs to match the new line characters OR
2. the dialog should auto-expand to contain the rendered text label.
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
[root@jsefler-6 ~]# msgunfmt --no-wrap /usr/share/locale/ta_IN/LC_MESSAGES/rhsm.mo | grep -B1 -A1 "We have detected"
"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.
Created attachment 859362 [details]
String wrapping issue fixed
# subscription-manager version
server type: Red Hat Subscription Management
subscription management server: 0.9.2-1
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.
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.