diff -r bf5ae5d7477d -r befeff46ec0f Preferences/ConfigurationPages/InterfacePage.py --- a/Preferences/ConfigurationPages/InterfacePage.py Sat Oct 12 17:31:40 2013 +0200 +++ b/Preferences/ConfigurationPages/InterfacePage.py Sat Oct 12 18:25:29 2013 +0200 @@ -206,7 +206,8 @@ self.languageComboBox.clear() fnlist = glob.glob("eric5_*.qm") + \ - glob.glob(os.path.join(getConfig('ericTranslationsDir'), "eric5_*.qm")) + \ + glob.glob(os.path.join( + getConfig('ericTranslationsDir'), "eric5_*.qm")) + \ glob.glob(os.path.join(Utilities.getConfigDir(), "eric5_*.qm")) locales = {} for fn in fnlist: @@ -214,9 +215,9 @@ if locale not in locales: translator = QTranslator() translator.load(fn) - locales[locale] = \ - translator.translate("InterfacePage", "English", - "Translate this with your language") + \ + locales[locale] = translator.translate( + "InterfacePage", "English", + "Translate this with your language") + \ " ({0})".format(locale) localeList = sorted(list(locales.keys())) try: @@ -246,8 +247,9 @@ self, self.trUtf8("Select style sheet file"), self.styleSheetEdit.text(), - self.trUtf8("Qt Style Sheets (*.qss);;Cascading Style Sheets (*.css);;" - "All files (*)")) + self.trUtf8( + "Qt Style Sheets (*.qss);;Cascading Style Sheets (*.css);;" + "All files (*)")) if file: self.styleSheetEdit.setText(Utilities.toNativeSeparators(file))