QScintilla/Exporters/ExporterTEX.py

branch
Py2 comp.
changeset 3484
645c12de6b0c
parent 3178
f25fc1364c88
parent 3190
a9a94491c4fd
child 3656
441956d8fce5
--- a/QScintilla/Exporters/ExporterTEX.py	Sun Mar 30 22:00:14 2014 +0200
+++ b/QScintilla/Exporters/ExporterTEX.py	Thu Apr 03 23:05:31 2014 +0200
@@ -111,7 +111,7 @@
         """
         Public method performing the export.
         """
-        filename = self._getFileName(self.trUtf8("TeX Files (*.tex)"))
+        filename = self._getFileName(self.tr("TeX Files (*.tex)"))
         if not filename:
             return
         
@@ -271,8 +271,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