74 global privateInstall, configDir |
74 global privateInstall, configDir |
75 |
75 |
76 if privateInstall: |
76 if privateInstall: |
77 targetDir = configDir |
77 targetDir = configDir |
78 else: |
78 else: |
79 targetDir = getConfig('ericDir') |
79 targetDir = getConfig('ericTranslationsDir') |
80 |
80 |
81 try: |
81 try: |
82 for fn in glob.glob(os.path.join('eric', 'i18n', '*.qm')): |
82 for fn in glob.glob(os.path.join('eric', 'i18n', '*.qm')): |
83 shutil.copy2(fn, targetDir) |
83 shutil.copy2(fn, targetDir) |
84 except IOError as msg: |
84 except IOError as msg: |