aboutsummaryrefslogtreecommitdiffstats
path: root/lib/isodumper.py
diff options
context:
space:
mode:
authorPapoteur <papoteur@mageia.org>2020-01-20 09:48:26 +0100
committerPapoteur <papoteur@mageia.org>2020-01-20 09:48:26 +0100
commit7cb3d7e8764f34cef847108e3957ada299ffba3f (patch)
tree772986fd0936b792f24641832bfc3f6b6df726ca /lib/isodumper.py
parent6bf666a534f5376ba813b0aaf8993691d2925496 (diff)
downloadisodumper-7cb3d7e8764f34cef847108e3957ada299ffba3f.tar
isodumper-7cb3d7e8764f34cef847108e3957ada299ffba3f.tar.gz
isodumper-7cb3d7e8764f34cef847108e3957ada299ffba3f.tar.bz2
isodumper-7cb3d7e8764f34cef847108e3957ada299ffba3f.tar.xz
isodumper-7cb3d7e8764f34cef847108e3957ada299ffba3f.zip
Update help text. Split it in shorter bits.
Diffstat (limited to 'lib/isodumper.py')
-rwxr-xr-xlib/isodumper.py44
1 files changed, 22 insertions, 22 deletions
diff --git a/lib/isodumper.py b/lib/isodumper.py
index 23c506b..0766cc9 100755
--- a/lib/isodumper.py
+++ b/lib/isodumper.py
@@ -345,10 +345,10 @@ class IsoDumper(object):
self.logger(_("Adding persistent partition"))
if self.cryptcb.isChecked():
if self.cryptkey.value() == "":
- self.logger(_("No key for crypted partition provided. Adding the partition aborted."))
+ self.logger(_("No key for encrypted partition provided. Adding the partition aborted."))
else:
iface.do_persistence(target,"mgalive-persist",self.cryptkey.value())
- self.logger(_("Added crypted persistent partition"))
+ self.logger(_("Added encrypted persistent partition"))
else:
iface.do_persistence(target,"mgalive-persist", "")
self.logger(_("Added persistent partition"))
@@ -434,32 +434,32 @@ class IsoDumper(object):
# self.chooser.set_tooltip_text(self.img_name)
def help_dialog(self):
- info = Info(_("IsoDumper"),True,_("Mageia IsoDumper<BR />\
-----------------<BR />\
-This GUI program is primarily for safely writing a bootable ISO image to a USB flash drive, \
+ info = Info(_("IsoDumper"),True,_("Mageia IsoDumper")+"<BR />\
+----------------<BR />"+
+_("This GUI program is primarily for safely writing a bootable ISO image to a USB flash drive, \
an operation devious & potentially hazardous when done by hand. As a bonus, it can also back up the\
entire previous<BR />contents of the flash drive onto the hard disc, and restore the flash drive \
-to its previous state subsequently.<BR />\
-It gives also a feature for formatting the USB device.<BR />\
-<BR />\
-IsoDumper can be launched either from the menus, or a user or root console with the command 'isodumper'.<BR />\
-For normal users, the root password is solicited; this is necessary for the program's operation. <BR />\
-The flash drive can be inserted beforehand or once the program is started. In the latter case, a \
+to its previous state subsequently.")+"<BR />"+
+_("It gives also a feature for formatting the USB device.")+"<BR /><BR />"+
+_("IsoDumper can be launched either from the menus, or a user console with the command 'isodumper'.")+"<BR />"+
+_("The root password is solicited when this is necessary for the program's operation.")+" <BR />"+
+_("The flash drive can be inserted beforehand or once the program is started. In the latter case, a \
dialogue will say that there is no flash drive inserted, and allow a 'retry' to find it once it is. <BR />\
-(You may have to close any automatically opened File Manager window).<BR />\
-<BR />\
-The fields of the main window are as follows:<BR />\
+(You may have to close any automatically opened File Manager window).")+"<BR /><BR />"+
+_("The fields of the main window are as follows:<BR />\
- Device to work on: the device of the USB flash drive, a drop-down list to choose from.<BR />\
- Write Image: to choose the source ISO image *.iso (or flash drive backup file *.img) to write out.<BR />\
-- Write to device: This button launches the operation - with a prior warning dialogue. <BR />\
-The operation is shown in the progress bar beneath.<BR />\
-- Backup to: define the name and placement of the backup image file. The current flash drive \
+- Write to device: This button launches the operation - with a prior warning dialogue.") +"<BR />"+
+_("- Add a persistent partition: the remaining space will be used in a new partition where data from the Live system can be written and recovered between sessions.")+ "<BR />"+
+_("- Encrypt: the persistent partition will be encrypted with the key provided in <i>Key</i> field.")+ "<BR />"+
+_("The operation is shown in the progress bar beneath.")+"<BR />"+
+_("- Backup to: define the name and placement of the backup image file. The current flash drive \
will be backed up to a disc file. Note that the entire flash drive is preserved, regardless of its \
actual contents; ensure that you have the necessary free disc space (the same size as the USB device). \
-This backup file can be used later to restore the flash drive by selecting it as the source *.img file to write out.<BR />\
-- Backup the device: launch the backup operation.<BR />\
-- Format the device: create an unique partition on the entire volume in the specified format in FAT, \
-NTFS or ext. You can specify a volume name and the format in a new dialog box.<BR />"))
+This backup file can be used later to restore the flash drive by selecting it as the source *.img file to write out.")+"<BR />"+
+_("- Backup the device: launch the backup operation.")+"<BR />"+
+_("- Format the device: create an unique partition on the entire volume in the specified format in FAT, \
+NTFS or ext. You can specify a volume name and the format in a new dialog box.")+"<BR />")
if self.ask_OK(info) :
return
@@ -540,7 +540,7 @@ NTFS or ext. You can specify a volume name and the format in a new dialog box.<B
self.persistencecol2 = self.atelier.createVBox(self.persistencebox)
self.persistencecb = self.atelier.createCheckBox(self.persistencecol1, _("Add a persistent partition in the remaining space"))
self.persistencebox2 = self.atelier.createHBox(self.box)
- self.cryptcb = self.atelier.createCheckBox(self.persistencecol1, _("Crypt partition"))
+ self.cryptcb = self.atelier.createCheckBox(self.persistencecol1, _("Encrypt partition"))
self.cryptkey = self.atelier.createInputField(self.persistencecol2, _("Key:"))
self.persistencecb.setDisabled()
self.persistencecb.setNotify()