QScintilla/Exporters/ExporterBase.py

branch
Py2 comp.
changeset 3484
645c12de6b0c
parent 3178
f25fc1364c88
parent 3190
a9a94491c4fd
child 3656
441956d8fce5
--- a/QScintilla/Exporters/ExporterBase.py	Sun Mar 30 22:00:14 2014 +0200
+++ b/QScintilla/Exporters/ExporterBase.py	Thu Apr 03 23:05:31 2014 +0200
@@ -44,7 +44,7 @@
         filter_ += QApplication.translate('Exporter', "All Files (*)")
         fn, selectedFilter = E5FileDialog.getSaveFileNameAndFilter(
             self.editor,
-            self.trUtf8("Export source"),
+            self.tr("Export source"),
             "",
             filter_,
             "",
@@ -59,9 +59,9 @@
             if QFileInfo(fn).exists():
                 res = E5MessageBox.yesNo(
                     self.editor,
-                    self.trUtf8("Export source"),
-                    self.trUtf8("<p>The file <b>{0}</b> already exists."
-                                " Overwrite it?</p>").format(fn),
+                    self.tr("Export source"),
+                    self.tr("<p>The file <b>{0}</b> already exists."
+                            " Overwrite it?</p>").format(fn),
                     icon=E5MessageBox.Warning)
                 if not res:
                     return ""

eric ide

mercurial