Bug 176210

Summary: License agreement questions not translated
Product: Red Hat Enterprise Linux 4 Reporter: Bastien Nocera <bnocera>
Component: redhat-releaseAssignee: Mike McLean <mikem>
Status: CLOSED ERRATA QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: 4.0CC: i-kitayama, tao
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: RHEA-2007-0178 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2007-05-01 17:21:42 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:

Description Bastien Nocera 2005-12-20 09:36:45 UTC
firstboot-1.3.39-4

In some cases, the "Yes, I agree to the License Agreement" and "No, I do not
agree" are not translated properly.
Changing the i18n code at the top of modules/eula.py from:
import gettext
gettext.bindtextdomain ("firstboot", "/usr/share/locale")
gettext.textdomain ("firstboot")
_=gettext.gettext
to:
from rhpl.translate import _, N_
import rhpl.translate as translate
translate.textdomain ("firstboot")

As the other modules do fixes the issue.

Comment 1 Chris Lumens 2006-02-09 19:19:21 UTC
Bouncing to redhat-release as that provides /usr/share/firstboot/modules.eula.py.

Comment 6 RHEL Program Management 2006-08-18 16:49:42 UTC
This request was evaluated by Red Hat Product Management for inclusion in a Red
Hat Enterprise Linux maintenance release.  Product Management has requested
further review of this request by Red Hat Engineering, for potential
inclusion in a Red Hat Enterprise Linux Update release for currently deployed
products.  This request is not yet committed for inclusion in an Update
release.

Comment 12 David Lawrence 2007-04-17 20:30:06 UTC
Crap edited the wrong bug. Disregard last changes.

Comment 17 Red Hat Bugzilla 2007-05-01 17:21:42 UTC
An advisory has been issued which should help the problem
described in this bug report. This report is therefore being
closed with a resolution of ERRATA. For more information
on the solution and/or where to find the updated files,
please follow the link below. You may reopen this bug report
if the solution does not work for you.

http://rhn.redhat.com/errata/RHEA-2007-0178.html