QScintilla/Exporters/ExporterODT.py

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

eric ide

mercurial