aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorPapoteur <papoteur@mageialinux-online.org>2017-01-02 08:55:07 +0100
committerPapoteur <papoteur@mageialinux-online.org>2017-01-02 08:55:07 +0100
commit91a8165056b3d145f47d908b388b91fb5106e934 (patch)
treeda8df487cd3bd32ea0b5ddf51e0ba1ece8a55757 /lib
parent65773271e4ff90909aca07e834b225be2f5ba1ff (diff)
downloadisodumper-91a8165056b3d145f47d908b388b91fb5106e934.tar
isodumper-91a8165056b3d145f47d908b388b91fb5106e934.tar.gz
isodumper-91a8165056b3d145f47d908b388b91fb5106e934.tar.bz2
isodumper-91a8165056b3d145f47d908b388b91fb5106e934.tar.xz
isodumper-91a8165056b3d145f47d908b388b91fb5106e934.zip
Add translation in file pickers.
Diffstat (limited to 'lib')
-rwxr-xr-xlib/isodumper.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/isodumper.py b/lib/isodumper.py
index 0d5e0d4..16be2ea 100755
--- a/lib/isodumper.py
+++ b/lib/isodumper.py
@@ -759,7 +759,7 @@ NTFS or ext. You can specify a volume name and the format in a new dialog box.<B
self.close()
break
if event.widget() == self.ima:
- self.img_name=yui.YUI.app().askForExistingFile('file:///home/'+self.user,"*.iso *.img","Choose an image")
+ self.img_name=yui.YUI.app().askForExistingFile('file:///home/'+self.user,"*.iso *.img",self.ChooseImage))
self.ima.setLabel(os.path.basename(self.img_name))
self.dialog.recalcLayout()
self.writebt.setEnabled()
@@ -773,7 +773,7 @@ NTFS or ext. You can specify a volume name and the format in a new dialog box.<B
self.backup_go()
self.restore()
if event.widget() == self.backup_select:
- self.backup_img_name=yui.YUI.app().askForSaveFileName('file:///home/'+self.user,"*.img","Backup to:")
+ self.backup_img_name=yui.YUI.app().askForSaveFileName('file:///home/'+self.user,"*.img",_("Backup to:"))
if self.backup_img_name != '':
self.backup_choosed()
if event.widget() == self.formatbt: