--- a/Plugins/PluginWizardE5MessageBox.py Fri Jan 10 19:30:21 2014 +0100 +++ b/Plugins/PluginWizardE5MessageBox.py Sat Jan 11 11:55:33 2014 +0100 @@ -68,11 +68,11 @@ Private method to initialize the action. """ self.action = E5Action( - self.trUtf8('E5MessageBox Wizard'), - self.trUtf8('&E5MessageBox Wizard...'), 0, 0, self, + self.tr('E5MessageBox Wizard'), + self.tr('&E5MessageBox Wizard...'), 0, 0, self, 'wizards_e5messagebox') - self.action.setStatusTip(self.trUtf8('E5MessageBox Wizard')) - self.action.setWhatsThis(self.trUtf8( + self.action.setStatusTip(self.tr('E5MessageBox Wizard')) + self.action.setWhatsThis(self.tr( """<b>E5MessageBox Wizard</b>""" """<p>This wizard opens a dialog for entering all the parameters""" """ needed to create an E5MessageBox. 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: