install-i18n.py

changeset 2124
909d55803dd6
parent 1509
c0b5e693b0eb
child 2160
1874d4410904
equal deleted inserted replaced
2122:fce5f83cb990 2124:909d55803dd6
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:

eric ide

mercurial