scripts/install-i18n.py

branch
eric7
changeset 8314
e3642a6a1e71
parent 8235
78e6d29eb773
child 8881
54e42bc2437a
--- a/scripts/install-i18n.py	Sat May 15 19:01:16 2021 +0200
+++ b/scripts/install-i18n.py	Sat May 15 20:08:03 2021 +0200
@@ -15,7 +15,7 @@
 import glob
 
 try:
-    from eric6config import getConfig
+    from eric7config import getConfig
 except ImportError:
     print("The eric IDE doesn't seem to be installed. Aborting.")
     sys.exit(1)
@@ -31,7 +31,7 @@
     
     @return directory name of the config dir (string)
     """
-    cdn = ".eric6"
+    cdn = ".eric7"
     
     hp = os.path.join(os.path.expanduser("~"), cdn)
     if not os.path.exists(hp):
@@ -73,7 +73,7 @@
                  else getConfig('ericTranslationsDir'))
     
     try:
-        for fn in glob.glob(os.path.join('eric', 'eric6', 'i18n', '*.qm')):
+        for fn in glob.glob(os.path.join('eric', 'eric7', 'i18n', '*.qm')):
             shutil.copy2(fn, targetDir)
             os.chmod(os.path.join(targetDir, os.path.basename(fn)), 0o644)
     except OSError as msg:

eric ide

mercurial