Plugins/PluginWizardQFileDialog.py

changeset 3190
a9a94491c4fd
parent 3180
2ed66f1e69fd
child 3345
071afe8be2a1
--- a/Plugins/PluginWizardQFileDialog.py	Fri Jan 10 19:30:21 2014 +0100
+++ b/Plugins/PluginWizardQFileDialog.py	Sat Jan 11 11:55:33 2014 +0100
@@ -72,11 +72,11 @@
         Private method to initialize the action.
         """
         self.action = E5Action(
-            self.trUtf8('QFileDialog Wizard'),
-            self.trUtf8('Q&FileDialog Wizard...'), 0, 0, self,
+            self.tr('QFileDialog Wizard'),
+            self.tr('Q&FileDialog Wizard...'), 0, 0, self,
             'wizards_qfiledialog')
-        self.action.setStatusTip(self.trUtf8('QFileDialog Wizard'))
-        self.action.setWhatsThis(self.trUtf8(
+        self.action.setStatusTip(self.tr('QFileDialog Wizard'))
+        self.action.setWhatsThis(self.tr(
             """<b>QFileDialog Wizard</b>"""
             """<p>This wizard opens a dialog for entering all the parameters"""
             """ needed to create a QFileDialog. The generated code is"""
@@ -130,8 +130,8 @@
         if editor is None:
             E5MessageBox.critical(
                 self.__ui,
-                self.trUtf8('No current editor'),
-                self.trUtf8('Please open or create a file first.'))
+                self.tr('No current editor'),
+                self.tr('Please open or create a file first.'))
         else:
             code, ok = self.__callForm(editor)
             if ok:

eric ide

mercurial