--- a/Plugins/PluginWizardQMessageBox.py Sun Mar 30 22:00:14 2014 +0200 +++ b/Plugins/PluginWizardQMessageBox.py Thu Apr 03 23:05:31 2014 +0200 @@ -21,7 +21,7 @@ author = "Detlev Offenbach <detlev@die-offenbachs.de>" autoactivate = True deactivateable = True -version = "5.4.0" +version = "5.5.0" className = "MessageBoxWizard" packageName = "__core__" shortDescription = "Show the QMessageBox wizard." @@ -70,17 +70,17 @@ Private method to initialize the action. """ self.action = E5Action( - self.trUtf8('QMessageBox Wizard'), - self.trUtf8('Q&MessageBox Wizard...'), 0, 0, self, + self.tr('QMessageBox Wizard'), + self.tr('Q&MessageBox Wizard...'), 0, 0, self, 'wizards_qmessagebox') - self.action.setStatusTip(self.trUtf8('QMessageBox Wizard')) - self.action.setWhatsThis(self.trUtf8( + self.action.setStatusTip(self.tr('QMessageBox Wizard')) + self.action.setWhatsThis(self.tr( """<b>QMessageBox Wizard</b>""" """<p>This wizard opens a dialog for entering all the parameters""" """ needed to create a QMessageBox. The generated code is""" """ inserted at the current cursor position.</p>""" )) - self.action.triggered[()].connect(self.__handle) + self.action.triggered.connect(self.__handle) self.__ui.addE5Actions([self.action], 'wizards') @@ -122,8 +122,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: