QScintilla/Exporters/ExporterPDF.py

branch
Py2 comp.
changeset 3484
645c12de6b0c
parent 3178
f25fc1364c88
parent 3190
a9a94491c4fd
child 3539
0c2dc1446ebf
--- a/QScintilla/Exporters/ExporterPDF.py	Sun Mar 30 22:00:14 2014 +0200
+++ b/QScintilla/Exporters/ExporterPDF.py	Thu Apr 03 23:05:31 2014 +0200
@@ -415,7 +415,7 @@
         """
         self.pr = PDFRender()
         
-        filename = self._getFileName(self.trUtf8("PDF Files (*.pdf)"))
+        filename = self._getFileName(self.tr("PDF Files (*.pdf)"))
         if not filename:
             return
         
@@ -598,8 +598,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