Plugins/PluginEricapi.py

changeset 3190
a9a94491c4fd
parent 3180
2ed66f1e69fd
child 3345
071afe8be2a1
--- a/Plugins/PluginEricapi.py	Fri Jan 10 19:30:21 2014 +0100
+++ b/Plugins/PluginEricapi.py	Sat Jan 11 11:55:33 2014 +0100
@@ -93,12 +93,12 @@
         menu = e5App().getObject("Project").getMenu("Apidoc")
         if menu:
             self.__projectAct = E5Action(
-                self.trUtf8('Generate API file (eric5_api)'),
-                self.trUtf8('Generate &API file (eric5_api)'), 0, 0,
+                self.tr('Generate API file (eric5_api)'),
+                self.tr('Generate &API file (eric5_api)'), 0, 0,
                 self, 'doc_eric5_api')
-            self.__projectAct.setStatusTip(self.trUtf8(
+            self.__projectAct.setStatusTip(self.tr(
                 'Generate an API file using eric5_api'))
-            self.__projectAct.setWhatsThis(self.trUtf8(
+            self.__projectAct.setWhatsThis(self.tr(
                 """<b>Generate API file</b>"""
                 """<p>Generate an API file using eric5_api.</p>"""
             ))

eric ide

mercurial