UI/Browser.py

changeset 3190
a9a94491c4fd
parent 3160
209a07d7e401
child 3357
2390df6f42ba
--- a/UI/Browser.py	Fri Jan 10 19:30:21 2014 +0100
+++ b/UI/Browser.py	Sat Jan 11 11:55:33 2014 +0100
@@ -255,7 +255,7 @@
                 self.__configure)
         
         # create the attribute menu
-        self.gotoMenu = QMenu(self.trUtf8("Goto"), self)
+        self.gotoMenu = QMenu(self.tr("Goto"), self)
         self.gotoMenu.aboutToShow.connect(self._showGotoMenu)
         self.gotoMenu.triggered.connect(self._gotoAttribute)
         
@@ -360,7 +360,7 @@
         
         for lineno in sorted(linenos):
             act = self.gotoMenu.addAction(
-                self.trUtf8("Line {0}".format(lineno)))
+                self.tr("Line {0}".format(lineno)))
             act.setData([fileName, lineno])
         
     def _gotoAttribute(self, act):

eric ide

mercurial