summaryrefslogtreecommitdiffstats
path: root/packages.py
diff options
context:
space:
mode:
authorJeremy Katz <katzj@redhat.com>2006-08-03 17:30:25 +0000
committerJeremy Katz <katzj@redhat.com>2006-08-03 17:30:25 +0000
commit5c4b967cdd0b34c36565701910581c9309ad3874 (patch)
treef7a086046d4df89d451b85f8546fa06fc2db832c /packages.py
parent3200c67c8dc811f2fde06694d1a64a34d98b4efa (diff)
downloadanaconda-5c4b967cdd0b34c36565701910581c9309ad3874.tar.gz
anaconda-5c4b967cdd0b34c36565701910581c9309ad3874.tar.xz
anaconda-5c4b967cdd0b34c36565701910581c9309ad3874.zip
2006-08-03 Jeremy Katz <katzj@redhat.com>
* packages.py (regKeyScreen): Use per-installclass description. * installclass.py: Allow description for reg key to be per-installclass.
Diffstat (limited to 'packages.py')
-rw-r--r--packages.py7
1 files changed, 6 insertions, 1 deletions
diff --git a/packages.py b/packages.py
index e1742cd97..db0b2364c 100644
--- a/packages.py
+++ b/packages.py
@@ -244,8 +244,13 @@ def regKeyScreen(anaconda):
return DISPATCH_NOOP
while 1:
+ if anaconda.id.instClass.regkeydesc is not None:
+ desc = _("Please enter the registration key for your version of %s.") %(productName,)
+ else:
+ desc = anaconda.id.instClass.regkeydesc
+
rc = anaconda.intf.entryWindow(_("Enter Registration Key"),
- _("Please enter the registration key for your version of %s.") %(productName,), _("Key:"))
+ desc, _("Key:"))
try:
anaconda.id.instClass.handleRegKey(rc, anaconda.intf)