create locale dir
This commit is contained in:
parent
efbd15e7c6
commit
726d892d72
|
@ -31,6 +31,9 @@ s = f.read()
|
||||||
f.close()
|
f.close()
|
||||||
s = s.replace('CHARSET', 'utf-8')
|
s = s.replace('CHARSET', 'utf-8')
|
||||||
|
|
||||||
|
if not os.path.exists('locale'):
|
||||||
|
os.mkdir('locale')
|
||||||
|
|
||||||
for lang, strings in dicts.items():
|
for lang, strings in dicts.items():
|
||||||
ss = s[:]
|
ss = s[:]
|
||||||
for k,v in strings.items():
|
for k,v in strings.items():
|
||||||
|
|
Loading…
Reference in New Issue