aboutsummaryrefslogtreecommitdiffstats
path: root/lib/isodumper.py
diff options
context:
space:
mode:
Diffstat (limited to 'lib/isodumper.py')
-rwxr-xr-xlib/isodumper.py6
1 files changed, 2 insertions, 4 deletions
diff --git a/lib/isodumper.py b/lib/isodumper.py
index b83dad4..efb6b51 100755
--- a/lib/isodumper.py
+++ b/lib/isodumper.py
@@ -742,11 +742,9 @@ exFAT, NTFS or ext. You can specify a volume name and the format in a new dialog
return
def __init__(self, debug=False):
- #: placeholder for release number
APP = "isodumper"
- DIR = "/usr/share/locale"
# Call translation catalog
- gettext.install(APP, localedir=DIR, names=('ngettext',))
+ gettext.install(APP)
# Check that there is no other instance running
current_pid = psutil.Process().pid
@@ -822,7 +820,7 @@ exFAT, NTFS or ext. You can specify a volume name and the format in a new dialog
self.operationbox = self.factory.createVBox(self.operation_frame)
self.labelbox = self.factory.createHBox(self.operationbox)
self.labelbox.setStretchable(0, True)
- self.factory.createLabel(self.labelbox, "The selected operations will be executed in order from top to bottom.\nIf both write image and create partition are selected, the partition\nwill be created in the free space after the image.").setStretchable(0, True)
+ self.factory.createLabel(self.labelbox, _("The selected operations will be executed in order from top to bottom.\nIf both write image and create partition are selected, the partition\nwill be created in the free space after the image.")).setStretchable(0, True)
self.backupbox = self.factory.createHBox(self.operationbox)
self.backup_cbox = self.factory.createCheckBox(self.backupbox, _("Backup the device to:"))
self.backup_cbox.setNotify()