install-i18n.py

branch
5_2_x
changeset 2125
091c0c716635
parent 1509
c0b5e693b0eb
child 2160
1874d4410904
equal deleted inserted replaced
2123:7f02c9d4cd3b 2125:091c0c716635
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