Plugins/PluginWizardQRegExp.py

changeset 3190
a9a94491c4fd
parent 3180
2ed66f1e69fd
child 3345
071afe8be2a1
diff -r 9a21c547de5f -r a9a94491c4fd Plugins/PluginWizardQRegExp.py
--- a/Plugins/PluginWizardQRegExp.py	Fri Jan 10 19:30:21 2014 +0100
+++ b/Plugins/PluginWizardQRegExp.py	Sat Jan 11 11:55:33 2014 +0100
@@ -68,11 +68,11 @@
         Private method to initialize the action.
         """
         self.action = E5Action(
-            self.trUtf8('QRegExp Wizard'),
-            self.trUtf8('Q&RegExp Wizard...'), 0, 0, self,
+            self.tr('QRegExp Wizard'),
+            self.tr('Q&RegExp Wizard...'), 0, 0, self,
             'wizards_qregexp')
-        self.action.setStatusTip(self.trUtf8('QRegExp Wizard'))
-        self.action.setWhatsThis(self.trUtf8(
+        self.action.setStatusTip(self.tr('QRegExp Wizard'))
+        self.action.setWhatsThis(self.tr(
             """<b>QRegExp Wizard</b>"""
             """<p>This wizard opens a dialog for entering all the parameters"""
             """ needed to create a QRegExp. The generated code is inserted"""
@@ -120,8 +120,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