QScintilla/Exporters/ExporterTEX.py

changeset 3190
a9a94491c4fd
parent 3160
209a07d7e401
child 3484
645c12de6b0c
--- a/QScintilla/Exporters/ExporterTEX.py	Fri Jan 10 19:30:21 2014 +0100
+++ b/QScintilla/Exporters/ExporterTEX.py	Sat Jan 11 11:55:33 2014 +0100
@@ -109,7 +109,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
         
@@ -269,8 +269,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