Bug 742013
| Summary: | sub-mgr translations not showing up in firstboot | ||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Product: | Red Hat Enterprise Linux 6 | Reporter: | Chris Duryee <cduryee> | ||||||||||
| Component: | subscription-manager | Assignee: | Bryan Kearney <bkearney> | ||||||||||
| Status: | CLOSED ERRATA | QA Contact: | IDM QE LIST <seceng-idm-qe-list> | ||||||||||
| Severity: | unspecified | Docs Contact: | |||||||||||
| Priority: | unspecified | ||||||||||||
| Version: | 6.2 | CC: | alikins, jmolet, jsefler | ||||||||||
| Target Milestone: | rc | ||||||||||||
| Target Release: | 6.2 | ||||||||||||
| Hardware: | Unspecified | ||||||||||||
| OS: | Unspecified | ||||||||||||
| Whiteboard: | |||||||||||||
| Fixed In Version: | Doc Type: | Bug Fix | |||||||||||
| Doc Text: | Story Points: | --- | |||||||||||
| Clone Of: | Environment: | ||||||||||||
| Last Closed: | 2011-12-06 17:25:09 UTC | Type: | --- | ||||||||||
| 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: | 682238, 748554 | ||||||||||||
| Attachments: |
|
||||||||||||
master ce3be35bab00370a1cdd8d2b28c52382afa804d4 0.97.2+ RHEL6.2 01185c524dd47c3f13d4d56ddb23d0805a948090 0.97.13+ Created attachment 528279 [details]
"You must enter a login." in not translated when triggered from firstboot
[root@jsefler-onprem-62server ~]# rpm -q subscription-manager-firstboot
subscription-manager-firstboot-0.96.15-1.git.2.6c0ad28.el6.x86_64
Comparing this LANG=de_DE screenshot of firstboot registration we happily see many more words are translated; unfortunately not all. See screenshot of untranslated string "You must enter a login."
Moving back to NEW/FailsQA
commit 0e69b129e0056dceb7d2689d925316a0d9f1dc7c
Author: Adrian Likins <alikins>
Date: Tue Oct 18 12:12:43 2011 -0400
742013: Fix for translations in firstboot
Set the _ method to use ldgettext with "rhsm" domain
instead of "firstboot". This fixes an issue with de_DE
not finding translations for the registration dialog
error messages. It also seems to fix the title message
not being translated in firstboot.
Created attachment 528884 [details]
wrong user/pass
When entering an incorrect user name and password when registering the error dialog for that is only partially translated (see screenshot).
This is working in normal subscription-manager-gui outside of firstboot.
Tested with
subscription-manager-firstboot-0.96.15-1.git.9.0e69b12.el6.x86_64
subscription-manager-gnome-0.96.15-1.git.9.0e69b12.el6.x86_64
commit 19f6e9958bdca398503e13bdfdc4badd3cce6c2c
Author: Adrian Likins <alikins>
Date: Tue Oct 18 16:47:58 2011 -0400
742013: more fixes for translations in firstboot
firstboot is resetting textdomain, so set it
in the modules we are pulling strings from
Created attachment 529102 [details]
error translated
The error is now translated. See screenshot
python-rhsm-0.96.14-1.git.1.0e23383.el6.noarch
subscription-manager-firstboot-0.96.16-1.git.0.8d1c34f.el6.x86_64
subscription-manager-0.96.16-1.git.0.8d1c34f.el6.x86_64
subscription-manager-gnome-0.96.16-1.git.0.8d1c34f.el6.x86_64
Marking VERIFIED.
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-2011-1695.html |
Created attachment 525388 [details] screenshot of untranslated strings Description of problem: If you run firstboot with a non-english translation (for example, de_DE), a number of strings do not show up as translated (see screenshot). Version-Release number of selected component (if applicable): 0.96.12 How reproducible: every time Steps to Reproduce: 1. LANG=de_DE firstboot 2. 3.