diff -r 9a21c547de5f -r a9a94491c4fd Plugins/PluginWizardPyRegExp.py --- a/Plugins/PluginWizardPyRegExp.py Fri Jan 10 19:30:21 2014 +0100 +++ b/Plugins/PluginWizardPyRegExp.py Sat Jan 11 11:55:33 2014 +0100 @@ -68,11 +68,11 @@ Private method to initialize the action. """ self.action = E5Action( - self.trUtf8('Python re Wizard'), - self.trUtf8('&Python re Wizard...'), 0, 0, self, + self.tr('Python re Wizard'), + self.tr('&Python re Wizard...'), 0, 0, self, 'wizards_python_re') - self.action.setStatusTip(self.trUtf8('Python re Wizard')) - self.action.setWhatsThis(self.trUtf8( + self.action.setStatusTip(self.tr('Python re Wizard')) + self.action.setWhatsThis(self.tr( """<b>Python re Wizard</b>""" """<p>This wizard opens a dialog for entering all the parameters""" """ needed to create a Python re string. The generated code is""" @@ -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: