diff options
author | Chris Lumens <clumens@redhat.com> | 2007-06-06 14:35:16 +0000 |
---|---|---|
committer | Chris Lumens <clumens@redhat.com> | 2007-06-06 14:35:16 +0000 |
commit | b0d4963da32e97ae25d673947439e32d6835b230 (patch) | |
tree | 60e23882d97b0ed354e91ce85d8d9463d3ac4070 /image.py | |
parent | 765acd57683c15f1507fbc50103aadfd59083418 (diff) | |
download | anaconda-b0d4963da32e97ae25d673947439e32d6835b230.tar.gz anaconda-b0d4963da32e97ae25d673947439e32d6835b230.tar.xz anaconda-b0d4963da32e97ae25d673947439e32d6835b230.zip |
Use "disc" instead of "CD" in dialogs (#242830).
Diffstat (limited to 'image.py')
-rw-r--r-- | image.py | 15 |
1 files changed, 7 insertions, 8 deletions
@@ -79,11 +79,11 @@ def presentRequiredMediaMessage(anaconda): for cdnum in reqcds: if cdnum == -99: # non-CD bits continue - reqcdstr += "\t\t%s %s CD #%d\n" % (product.productName, product.productVersion, cdnum,) + reqcdstr += "\t\t%s %s disc #%d\n" % (product.productName, product.productVersion, cdnum,) return anaconda.intf.messageWindow( _("Required Install Media"), _("The software you have selected to " - "install will require the following CDs:\n\n" + "install will require the following discs:\n\n" "%s\nPlease " "have these ready before proceeding with " "the installation. If you need to abort " @@ -133,7 +133,7 @@ class CdromInstallMethod(ImageInstallMethod): except Exception, e: log.error("exception in unmountCD: %s" %(e,)) self.messageWindow(_("Error"), - _("An error occurred unmounting the CD. " + _("An error occurred unmounting the disc. " "Please make sure you're not accessing " "%s from the shell on tty2 " "and then click OK to retry.") @@ -267,7 +267,7 @@ class CdromInstallMethod(ImageInstallMethod): if self.intf is not None: self.intf.beep() - self.messageWindow(_("Change CDROM"), + self.messageWindow(_("Change Disc"), _("Please insert %s disc %d to continue.") % (productName, needed)) try: @@ -276,7 +276,6 @@ class CdromInstallMethod(ImageInstallMethod): time.sleep(3) isys.mount(self.device, "/mnt/source", fstype = "iso9660", readOnly = 1) - if os.access("/mnt/source/.discinfo", os.R_OK): f = open("/mnt/source/.discinfo") @@ -303,14 +302,14 @@ class CdromInstallMethod(ImageInstallMethod): isys.makeDevInode(self.device, "/tmp/cdrom") if not done: - self.messageWindow(_("Wrong CDROM"), - _("That's not the correct %s CDROM.") + self.messageWindow(_("Wrong Disc"), + _("That's not the correct %s disc.") % (productName,)) isys.umount("/mnt/source") isys.ejectCdrom(self.device) except: self.messageWindow(_("Error"), - _("Unable to access the CDROM.")) + _("Unable to access the disc.")) def unlinkFilename(self, fullName): pass |