aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lib/isodumper.py22
1 files changed, 11 insertions, 11 deletions
diff --git a/lib/isodumper.py b/lib/isodumper.py
index 3608361..dfb1990 100644
--- a/lib/isodumper.py
+++ b/lib/isodumper.py
@@ -206,7 +206,6 @@ class IsoDumper(object):
self.logger(_('Target Device: ')+ self.dev)
break
self.formatbt.setEnabled()
- self.ima.setEnabled()
def backup_sel(self,widget):
if self.backup_bname.get_current_folder_uri() == None :
@@ -251,7 +250,8 @@ class IsoDumper(object):
self.backup_select.setEnabled()
self.backupbt.setDisabled()
self.formatbt.setEnabled()
- self.ima.setEnabled()
+ self.ima.setDisabled()
+ self.writebt.setDisabled()
self.devicelist.setEnabled()
self.progress.setLabel("")
self.progress.setValue(0)
@@ -293,7 +293,7 @@ class IsoDumper(object):
else:
self.returncode=0
source = self.dev.split('(')[1].split(')')[0]
- self.logger(_('Backup in:')+' '+dest)
+ self.logger(_('Backup to:')+' '+dest)
self.raw_write(source, dest, self.deviceSize)
if self.returncode==0:
self.success()
@@ -393,7 +393,7 @@ class IsoDumper(object):
try:
ofc= io.open(target, 'wb',0)
except:
- message = _('You have not the rights for writing on the device') +" "+ target
+ message = _("You don't have permission to write to the device") +" "+ target
self.logger(message)
self.emergency(message)
self.close()
@@ -551,7 +551,6 @@ class IsoDumper(object):
def activate_devicelist(self):
self.devicelist.setEnabled()
# self.img_name = self.chooser.get_filename()
- self.writebt.setEnabled()
self.logger(_('Image ')+": "+ self.img_name)
# self.chooser.set_tooltip_text(self.img_name)
@@ -566,7 +565,7 @@ The fields of the main window are as follows:\n\
- Device to work on: the device of the USB flash drive, a drop-down list to choose from.\n\
- Write Image: to choose the source ISO image *.iso (or flash drive backup file *.img) to write out.\n\
- Write to device: This button launches the operation - with a prior warning dialogue. \nThe operation is shown in the progress bar beneath.\n\
-- Backup in: define the name and placement of the backup image file. The current flash \ndrive will be backed up to a disc file. Note that the entire flash drive is preserved, regardless of its actual contents;\n ensure that you have the necessary free disc space (the same size as the USB device). \nThis backup file can be used later to restore the flash drive by selecting it as the source *.img file to write out.\n\
+- Backup to: define the name and placement of the backup image file. The current flash \ndrive will be backed up to a disc file. Note that the entire flash drive is preserved, regardless of its actual contents;\n ensure that you have the necessary free disc space (the same size as the USB device). \nThis backup file can be used later to restore the flash drive by selecting it as the source *.img file to write out.\n\
- Backup the device: launch the backup operation.\n\
- Format the device: create an unique partition on the entire volume in the specified format in FAT, \nNTFS or ext. You can specify a volume name and the format in a new dialog box.\n"))
if self.ask_OK(info) :
@@ -625,7 +624,7 @@ The fields of the main window are as follows:\n\
self.banner=self.atelier.createImage(self.bannerbox,"/usr/share/isodumper/header.png")
self.devicebox = self.atelier.createHBox(self.box)
self.devicebox.setWeight(1,10)
- self.devicelist=self.atelier.createComboBox(self.devicebox,_("Device to use:"),False)
+ self.devicelist=self.atelier.createComboBox(self.devicebox,_("Device to work on:"),False)
self.devicelist.setStretchable(0,True)
self.writebox = self.atelier.createHBox(self.box)
#self.writebox.setWeight(1,10)
@@ -633,8 +632,9 @@ The fields of the main window are as follows:\n\
# add file picker
self.ima=self.atelier.createPushButton(self.writebox,"Choose an image")
self.ima.setStretchable(0,True)
+ self.ima.setDisabled()
self.atelier.createHStretch(self.writebox)
- self.writebt = self.atelier.createPushButton(self.writebox, _("&Write" ))
+ self.writebt = self.atelier.createPushButton(self.writebox, _("&Write to device" ))
#self.writebt.setStretchable(0,True)
self.writebt.setDisabled()
self.backupbox = self.atelier.createHBox(self.box)
@@ -642,15 +642,16 @@ The fields of the main window are as follows:\n\
self.atelier.createLabel(self.backupbox,_("Backup to:"))
self.backup_select=self.atelier.createPushButton(self.backupbox,_("Choose an image"))
self.backup_select.setStretchable(0,True)
+ self.backup_select.setDisabled()
self.atelier.createHStretch(self.backupbox)
- self.backupbt = self.atelier.createPushButton(self.backupbox, _("&Backup" ))
+ self.backupbt = self.atelier.createPushButton(self.backupbox, _("&Backup the device" ))
#self.backupbt.setStretchable(0,True)
self.backupbt.setDisabled()
self.formatbox = self.atelier.createHBox(self.box)
#self.formatbox.setWeight(1,10)
self.atelier.createLabel(self.formatbox,_("Format the device in FAT, NTFS or ext:"))
self.atelier.createHStretch(self.formatbox)
- self.formatbt = self.atelier.createPushButton(self.formatbox, _("&Format" ))
+ self.formatbt = self.atelier.createPushButton(self.formatbox, _("&Format the device" ))
#self.formatbt.setStretchable(0,True)
self.progressbox = self.atelier.createHBox(self.box)
self.progressbox.setWeight(1,10)
@@ -661,7 +662,6 @@ The fields of the main window are as follows:\n\
#self.reportbox.setWeight(1,20)
self.buttonsbox = self.atelier.createHBox(self.box)
#self.buttonsbox.setWeight(1,10)
-# self.cadregauche= self.atelier.createFrame(self.mainhbox,"Traitements par lots")
self.refreshbt = self.atelier.createPushButton(self.buttonsbox, _("&Refresh" ))
self.refreshbt.setStretchable(0,True)
self.aboutbt = self.atelier.createPushButton(self.buttonsbox, _("&About" ))