Plugins/PluginWizardQRegularExpression.py

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