aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPapoteur <papoteur@mageia.org>2023-06-10 13:19:33 +0200
committerPapoteur <papoteur@mageia.org>2023-06-10 13:19:33 +0200
commitd402a215678c8ca54e94832a2231b2eaceb070c6 (patch)
tree71ef640ed188cfc0b338623c7c4fed90460de65c
parentefa42085e630e90a3a067f445fda1700c2b9cb58 (diff)
downloadisodumper-d402a215678c8ca54e94832a2231b2eaceb070c6.tar
isodumper-d402a215678c8ca54e94832a2231b2eaceb070c6.tar.gz
isodumper-d402a215678c8ca54e94832a2231b2eaceb070c6.tar.bz2
isodumper-d402a215678c8ca54e94832a2231b2eaceb070c6.tar.xz
isodumper-d402a215678c8ca54e94832a2231b2eaceb070c6.zip
Fix selection of persistance, adding the label.
-rwxr-xr-xlib/isodumper.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/lib/isodumper.py b/lib/isodumper.py
index 01c825c..dbf44b8 100755
--- a/lib/isodumper.py
+++ b/lib/isodumper.py
@@ -1030,9 +1030,10 @@ exFAT, NTFS or ext. You can specify a volume name and the format in a new dialog
self.interface_active_state()
def select_partition_type(self):
- if self.partition_cb.value() in ("ext4" ,"Persistent partition"):
+ print(f"Selected {self.partition_cb.value()}")
+ if self.partition_cb.value() in (_("ext4") ,_("Persistent partition")):
self.cryptcb.setEnabled()
- if self.partition_cb.value() == "Persistent partition":
+ if self.partition_cb.value() == _("Persistent partition"):
self.partition_label.setValue("mgalive-persist")
self.partition_cb.setValue('ext4')
else: