diff -r 96232974dcdb -r 645c12de6b0c Plugins/PluginWizardQFileDialog.py --- a/Plugins/PluginWizardQFileDialog.py Sun Mar 30 22:00:14 2014 +0200 +++ b/Plugins/PluginWizardQFileDialog.py Thu Apr 03 23:05:31 2014 +0200 @@ -23,7 +23,7 @@ author = "Detlev Offenbach <detlev@die-offenbachs.de>" autoactivate = True deactivateable = True -version = "5.4.0" +version = "5.5.0" className = "FileDialogWizard" packageName = "__core__" shortDescription = "Show the QFileDialog wizard." @@ -74,17 +74,17 @@ Private method to initialize the action. """ self.action = E5Action( - self.trUtf8('QFileDialog Wizard'), - self.trUtf8('Q&FileDialog Wizard...'), 0, 0, self, + self.tr('QFileDialog Wizard'), + self.tr('Q&FileDialog Wizard...'), 0, 0, self, 'wizards_qfiledialog') - self.action.setStatusTip(self.trUtf8('QFileDialog Wizard')) - self.action.setWhatsThis(self.trUtf8( + self.action.setStatusTip(self.tr('QFileDialog Wizard')) + self.action.setWhatsThis(self.tr( """<b>QFileDialog Wizard</b>""" """<p>This wizard opens a dialog for entering all the parameters""" """ needed to create a QFileDialog. 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') @@ -132,8 +132,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: