Preferences/ConfigurationPages/HelpInterfacePage.py

changeset 3190
a9a94491c4fd
parent 3186
a05eff845522
child 3484
645c12de6b0c
diff -r 9a21c547de5f -r a9a94491c4fd Preferences/ConfigurationPages/HelpInterfacePage.py
--- a/Preferences/ConfigurationPages/HelpInterfacePage.py	Fri Jan 10 19:30:21 2014 +0100
+++ b/Preferences/ConfigurationPages/HelpInterfacePage.py	Sat Jan 11 11:55:33 2014 +0100
@@ -17,6 +17,7 @@
 import Utilities
 import UI.PixmapCache
 
+
 class HelpInterfacePage(ConfigurationPageBase, Ui_HelpInterfacePage):
     """
     Class implementing the Interface configuration page (variant for web
@@ -56,7 +57,7 @@
         """
         curStyle = Preferences.getUI("Style")
         styles = sorted(list(QStyleFactory.keys()))
-        self.styleComboBox.addItem(self.trUtf8('System'), "System")
+        self.styleComboBox.addItem(self.tr('System'), "System")
         for style in styles:
             self.styleComboBox.addItem(style, style)
         currentIndex = self.styleComboBox.findData(curStyle)
@@ -71,9 +72,9 @@
         """
         file = E5FileDialog.getOpenFileName(
             self,
-            self.trUtf8("Select style sheet file"),
+            self.tr("Select style sheet file"),
             self.styleSheetEdit.text(),
-            self.trUtf8(
+            self.tr(
                 "Qt Style Sheets (*.qss);;Cascading Style Sheets (*.css);;"
                 "All files (*)"))
         

eric ide

mercurial