Preferences/ConfigurationPages/InterfacePage.py

changeset 15
f6ccc31d6e72
parent 13
1af94a91f439
child 55
b5c84934de9c
diff -r 092aa8fafa4e -r f6ccc31d6e72 Preferences/ConfigurationPages/InterfacePage.py
--- a/Preferences/ConfigurationPages/InterfacePage.py	Sat Jan 02 16:15:57 2010 +0000
+++ b/Preferences/ConfigurationPages/InterfacePage.py	Sat Jan 02 17:09:08 2010 +0000
@@ -21,7 +21,7 @@
 import Preferences
 import Utilities
 
-from eric4config import getConfig
+from eric5config import getConfig
 
 class InterfacePage(ConfigurationPageBase, Ui_InterfacePage):
     """
@@ -206,9 +206,9 @@
         """
         self.languageComboBox.clear()
         
-        fnlist = glob.glob("eric4_*.qm") + \
-            glob.glob(os.path.join(getConfig('ericTranslationsDir'), "eric4_*.qm")) + \
-            glob.glob(os.path.join(Utilities.getConfigDir(), "eric4_*.qm"))
+        fnlist = glob.glob("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:
             locale = os.path.basename(fn)[6:-3]
@@ -276,4 +276,4 @@
     @param dlg reference to the configuration dialog
     """
     page = InterfacePage()
-    return page
+    return page
\ No newline at end of file

eric ide

mercurial