[Eric] [patch] eric4 installs i18n files to ericDir but ide itself looks at ericTranslationsDir

Борис Самородов bsam at passap.ru
Tue Oct 9 17:57:35 BST 2012


Hi!

I maintain FreeBSD ports of eric4.

The installation script installs file to 'ericDir' but ide is looking
at 'ericTranslationsDir'. Without attached patch I get the following
error if ericTranslationsDir != ericDir:
-----
% eric4
Warning: translation file 'eric4_ru_RU'could not be loaded.
Using default.
-----

Is the patch reasonable? Thanks!
-- 
WBR, Boris Samorodov (bsam)
FreeBSD Committer, http://www.FreeBSD.org The Power To Serve
-------------- next part --------------
--- install-i18n.py.orig	2012-10-09 20:35:03.821643092 +0400
+++ install-i18n.py	2012-10-09 20:40:28.509825097 +0400
@@ -73,7 +73,7 @@
     if privateInstall:
         targetDir = configDir
     else:
-        targetDir = getConfig('ericDir')
+        targetDir = getConfig('ericTranslationsDir')
     
     try:
         for fn in glob.glob(os.path.join('eric', 'i18n', '*.qm')):


More information about the Eric mailing list