summaryrefslogtreecommitdiffstats
path: root/iw
diff options
context:
space:
mode:
authorMike Fulbright <msf@redhat.com>2002-12-11 22:15:29 +0000
committerMike Fulbright <msf@redhat.com>2002-12-11 22:15:29 +0000
commitdecf8a954dacd858460f79a2299b76d2bdda8295 (patch)
tree2da4a54d5e6e26ff73298648011b0eff448816fd /iw
parentd23e628ac59bffc30ea0b69792f40ed387195e02 (diff)
downloadanaconda-decf8a954dacd858460f79a2299b76d2bdda8295.tar.gz
anaconda-decf8a954dacd858460f79a2299b76d2bdda8295.tar.xz
anaconda-decf8a954dacd858460f79a2299b76d2bdda8295.zip
adjust for new pixmapRadioButtonGroup() behavior and have product name in string
Diffstat (limited to 'iw')
-rw-r--r--iw/examine_gui.py10
1 files changed, 6 insertions, 4 deletions
diff --git a/iw/examine_gui.py b/iw/examine_gui.py
index 336ec6c89..6e827256c 100644
--- a/iw/examine_gui.py
+++ b/iw/examine_gui.py
@@ -24,8 +24,8 @@ from flags import flags
import upgradeclass
UpgradeClass = upgradeclass.InstallClass
-UPGRADE_STR = N_("Upgrade Existing Installation")
-REINSTALL_STR = N_("Reinstall Red Hat Linux")
+UPGRADE_STR = "upgrade"
+REINSTALL_STR = "reinstall"
class UpgradeExamineWindow (InstallWindow):
@@ -55,12 +55,14 @@ class UpgradeExamineWindow (InstallWindow):
def createUpgradeOption(self):
r = pixmapRadioButtonGroup()
- r.addEntry(UPGRADE_STR, pixmap=self.ics.readPixmap("upgrade.png"),
+ r.addEntry(UPGRADE_STR, N_("Upgrade Existing Installation"),
+ pixmap=self.ics.readPixmap("upgrade.png"),
descr=_("Choose this option if you would like to upgrade your "
"existing Red Hat Linux system. This option will preserve the "
"data on your driver."))
- r.addEntry(REINSTALL_STR, pixmap=self.ics.readPixmap("install.png"),
+ r.addEntry(REINSTALL_STR, N_("Reinstall %s") % (productName,),
+ pixmap=self.ics.readPixmap("install.png"),
descr=_("Choose this option to reinstall your system. "
"Depending on how you partition your system your previous data "
"may or may not be lost."))