aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorYuri Chornoivan <yurchor@ukr.net>2019-01-29 09:11:27 +0200
committerYuri Chornoivan <yurchor@ukr.net>2019-01-29 09:11:27 +0200
commit2c9eac8dd891647f21e146bdbdcabfd585902af9 (patch)
treeab5079ee72df140148b56bd84a30e71f3bdbcc9c
parent84f1f16a2f38482cf6fe979164d5dc3cb0e701d3 (diff)
downloadisodumper-2c9eac8dd891647f21e146bdbdcabfd585902af9.tar
isodumper-2c9eac8dd891647f21e146bdbdcabfd585902af9.tar.gz
isodumper-2c9eac8dd891647f21e146bdbdcabfd585902af9.tar.bz2
isodumper-2c9eac8dd891647f21e146bdbdcabfd585902af9.tar.xz
isodumper-2c9eac8dd891647f21e146bdbdcabfd585902af9.zip
More translatable strings
-rwxr-xr-xlib/isodumper.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/isodumper.py b/lib/isodumper.py
index 836b247..0323c12 100755
--- a/lib/isodumper.py
+++ b/lib/isodumper.py
@@ -597,7 +597,7 @@ NTFS or ext. You can specify a volume name and the format in a new dialog box.<B
dlg = mgafactory.createDialogBox(yui.YMGAMessageBox.B_ONE)
dlg.setTitle(info.title)
dlg.setText(info.text, info.richtext)
- dlg.setButtonLabel("OK", yui.YMGAMessageBox.B_ONE)
+ dlg.setButtonLabel(_("OK"), yui.YMGAMessageBox.B_ONE)
dlg.setMinSize(60, 10);
return dlg.show() == yui.YMGAMessageBox.B_ONE
@@ -607,8 +607,8 @@ NTFS or ext. You can specify a volume name and the format in a new dialog box.<B
dlg = mgafactory.createDialogBox(yui.YMGAMessageBox.B_TWO)
dlg.setTitle(info.title)
dlg.setText(info.text, info.richtext)
- dlg.setButtonLabel("Yes", yui.YMGAMessageBox.B_ONE)
- dlg.setButtonLabel("No", yui.YMGAMessageBox.B_TWO)
+ dlg.setButtonLabel(_("Yes"), yui.YMGAMessageBox.B_ONE)
+ dlg.setButtonLabel(_("No"), yui.YMGAMessageBox.B_TWO)
dlg.setMinSize(60, 8);
return dlg.show() == yui.YMGAMessageBox.B_ONE
@@ -616,7 +616,7 @@ NTFS or ext. You can specify a volume name and the format in a new dialog box.<B
yui.YUI.widgetFactory;
mgafactory = yui.YMGAWidgetFactory.getYMGAWidgetFactory(yui.YExternalWidgets.externalWidgetFactory("mga"))
dlg = mgafactory.createAboutDialog("Isodumper", self.RELEASE, "GPLv2",
- "Oliver Grawert<BR />Papoteur<BR />Pictures : Timothée Giet", _("A tool for writing ISO images to a device")+"<BR />http://gitweb.mageia.org/software/isodumper", "")
+ _("Oliver Grawert<BR />Papoteur<BR />Pictures : Timothée Giet"), _("A tool for writing ISO images to a device")+"<BR />http://gitweb.mageia.org/software/isodumper", "")
dlg.show();
def nodevDialog(self):