diff -r 0799eea6feba -r 9c49b4419ea7 Preferences/__init__.py --- a/Preferences/__init__.py Tue Apr 23 19:13:45 2013 +0200 +++ b/Preferences/__init__.py Tue Apr 23 19:57:07 2013 +0200 @@ -33,7 +33,7 @@ from E5Network.E5Ftp import E5FtpProxyType from Globals import settingsNameOrganization, settingsNameGlobal, settingsNameRecent, \ - isWindowsPlatform, findPython2Interpreters, getPythonModulesDirectory + isWindowsPlatform, findPython2Interpreters, getPyQt4ModulesDirectory from Project.ProjectBrowserFlags import SourcesBrowserFlag, FormsBrowserFlag, \ ResourcesBrowserFlag, TranslationsBrowserFlag, InterfacesBrowserFlag, \ @@ -2332,8 +2332,7 @@ if s == "": s = QLibraryInfo.location(QLibraryInfo.TranslationsPath) if s == "" and isWindowsPlatform(): - transPath = os.path.join(getPythonModulesDirectory(), - "PyQt4", "translations") + transPath = os.path.join(getPyQt4ModulesDirectory(), "translations") if os.path.exists(transPath): s = transPath return s