QScintilla/Exporters/ExporterHTML.py

branch
Py2 comp.
changeset 3484
645c12de6b0c
parent 3178
f25fc1364c88
parent 3190
a9a94491c4fd
child 3656
441956d8fce5
diff -r 96232974dcdb -r 645c12de6b0c QScintilla/Exporters/ExporterHTML.py
--- a/QScintilla/Exporters/ExporterHTML.py	Sun Mar 30 22:00:14 2014 +0200
+++ b/QScintilla/Exporters/ExporterHTML.py	Thu Apr 03 23:05:31 2014 +0200
@@ -369,7 +369,7 @@
         """
         Public method performing the export.
         """
-        filename = self._getFileName(self.trUtf8("HTML Files (*.html)"))
+        filename = self._getFileName(self.tr("HTML Files (*.html)"))
         if not filename:
             return
         
@@ -406,8 +406,8 @@
                 QApplication.restoreOverrideCursor()
                 E5MessageBox.critical(
                     self.editor,
-                    self.trUtf8("Export source"),
-                    self.trUtf8(
+                    self.tr("Export source"),
+                    self.tr(
                         """<p>The source could not be exported to"""
                         """ <b>{0}</b>.</p><p>Reason: {1}</p>""")
                     .format(filename, str(err)))

eric ide

mercurial