aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPapoteur <papoteur@mageialinux-online.org>2016-04-10 11:45:51 +0200
committerPapoteur <papoteur@mageialinux-online.org>2016-04-10 11:45:51 +0200
commit143d8b2eb96f57e60140a0c1b65a16f720736bf7 (patch)
treea57c37f58be8a0e12342fc99ef0faa26fd1efe7c
parent84d892bff72ea17f4aec5c7bc402535818c23b90 (diff)
downloadisodumper-143d8b2eb96f57e60140a0c1b65a16f720736bf7.tar
isodumper-143d8b2eb96f57e60140a0c1b65a16f720736bf7.tar.gz
isodumper-143d8b2eb96f57e60140a0c1b65a16f720736bf7.tar.bz2
isodumper-143d8b2eb96f57e60140a0c1b65a16f720736bf7.tar.xz
isodumper-143d8b2eb96f57e60140a0c1b65a16f720736bf7.zip
reverse <BR /> to \n in some messages
-rw-r--r--lib/isodumper.py20
1 files changed, 10 insertions, 10 deletions
diff --git a/lib/isodumper.py b/lib/isodumper.py
index b4813b3..5276bf3 100644
--- a/lib/isodumper.py
+++ b/lib/isodumper.py
@@ -492,9 +492,9 @@ class IsoDumper(object):
def success(self):
self.operation=False
self.final_unsensitive()
- info = Info(_("Success"),True,_("The operation completed successfully.<BR />\
- You are free to unplug it now, a log isodumper.log<BR />\
- of the operation will be saved in your homedir/.isodumper/ when<BR />\
+ info = Info(_("Success"),True,_("The operation completed successfully.\n\
+ You are free to unplug it now, a log isodumper.log\n\
+ of the operation will be saved in your homedir/.isodumper/ when\n\
you close the application."))
if self.ask_OK(info) :
return
@@ -504,8 +504,8 @@ class IsoDumper(object):
if self.operation==False: # no writing , backup nor format running
self.close()
else: # writing , backup or format running
- info = Info(_("Warning"),True,_("Writing is in progress. Exiting during writing <BR />\
- will make the device or the backup unusable.<BR />\
+ info = Info(_("Warning"),True,_("Writing is in progress. Exiting during writing \n\
+ will make the device or the backup unusable.\n\
Are you sure you want to quit during writing?"))
if self.ask_YesOrNo(info) :
return True
@@ -601,8 +601,8 @@ The fields of the main window are as follows:<BR />\
self.operation=False
self.ChooseImage = _("Choose an image")
- self.warning = _("Warning<BR />This will destroy all data on the target device,<BR />\
- are you sure you want to proceed?<BR />\
+ self.warning = _("Warning\nThis will destroy all data on the target device,\n\
+ are you sure you want to proceed?\n\
If you say ok here, please <b>do not unplug</b>\
the device during the following operation.")
"""
@@ -772,8 +772,8 @@ The fields of the main window are as follows:<BR />\
def aboutDialog(self):
yui.YUI.widgetFactory;
mgafactory = yui.YMGAWidgetFactory.getYMGAWidgetFactory(yui.YExternalWidgets.externalWidgetFactory("mga"))
- dlg = mgafactory.createAboutDialog("About Isodumper", self.RELEASE, "GPLv2",
- "Oliver Grawert<BR />Papoteur<BR />Pictures : Thimotée Giet", "A tool for writing ISO images to a device", "")
+ dlg = mgafactory.createAboutDialog("Isodumper", self.RELEASE, "GPLv2",
+ "Oliver Grawert<BR />Papoteur<BR />Pictures : Thimotée Giet", _("A tool for writing ISO images to a device"), "")
dlg.show();
def nodevDialog(self):
@@ -781,7 +781,7 @@ The fields of the main window are as follows:<BR />\
mgafactory = yui.YMGAWidgetFactory.getYMGAWidgetFactory(yui.YExternalWidgets.externalWidgetFactory("mga"))
dlg = mgafactory.createDialogBox(yui.YMGAMessageBox.B_TWO)
dlg.setTitle("IsoDumper")
- dlg.setText(_("Warning<BR />No target devices were found.<BR />You need to plug in a USB Key to which the image can be written."))
+ dlg.setText(_("Warning\nNo target devices were found.\nYou need to plug in a USB Key to which the image can be written."))
dlg.setButtonLabel(_("&Refresh"), yui.YMGAMessageBox.B_ONE)
dlg.setButtonLabel(_("Cancel"), yui.YMGAMessageBox.B_TWO)
dlg.setMinSize(50, 8);