diff -r 9a21c547de5f -r a9a94491c4fd Plugins/PluginTabnanny.py --- a/Plugins/PluginTabnanny.py Fri Jan 10 19:30:21 2014 +0100 +++ b/Plugins/PluginTabnanny.py Sat Jan 11 11:55:33 2014 +0100 @@ -73,12 +73,12 @@ menu = e5App().getObject("Project").getMenu("Checks") if menu: self.__projectAct = E5Action( - self.trUtf8('Check Indentations'), - self.trUtf8('&Indentations...'), 0, 0, + self.tr('Check Indentations'), + self.tr('&Indentations...'), 0, 0, self, 'project_check_indentations') self.__projectAct.setStatusTip( - self.trUtf8('Check indentations using tabnanny.')) - self.__projectAct.setWhatsThis(self.trUtf8( + self.tr('Check indentations using tabnanny.')) + self.__projectAct.setWhatsThis(self.tr( """<b>Check Indentations...</b>""" """<p>This checks Python files""" """ for bad indentations using tabnanny.</p>""" @@ -88,10 +88,10 @@ menu.addAction(self.__projectAct) self.__editorAct = E5Action( - self.trUtf8('Check Indentations'), - self.trUtf8('&Indentations...'), 0, 0, + self.tr('Check Indentations'), + self.tr('&Indentations...'), 0, 0, self, "") - self.__editorAct.setWhatsThis(self.trUtf8( + self.__editorAct.setWhatsThis(self.tr( """<b>Check Indentations...</b>""" """<p>This checks Python files""" """ for bad indentations using tabnanny.</p>""" @@ -168,10 +168,10 @@ self.__projectBrowserMenu = menu if self.__projectBrowserAct is None: self.__projectBrowserAct = E5Action( - self.trUtf8('Check Indentations'), - self.trUtf8('&Indentations...'), 0, 0, + self.tr('Check Indentations'), + self.tr('&Indentations...'), 0, 0, self, "") - self.__projectBrowserAct.setWhatsThis(self.trUtf8( + self.__projectBrowserAct.setWhatsThis(self.tr( """<b>Check Indentations...</b>""" """<p>This checks Python files""" """ for bad indentations using tabnanny.</p>"""