commit 726d892d727e023faa504a4f96014fa34ac835e1 parent efbd15e7c6080c9e8c650fc35976f08ce5cf5479 Author: thomasv <thomasv@gitorious> Date: Fri, 18 May 2012 15:37:31 +0200 create locale dir Diffstat:
M | mki18n.py | | | 3 | +++ |
1 file changed, 3 insertions(+), 0 deletions(-)
diff --git a/mki18n.py b/mki18n.py @@ -31,6 +31,9 @@ s = f.read() f.close() s = s.replace('CHARSET', 'utf-8') +if not os.path.exists('locale'): + os.mkdir('locale') + for lang, strings in dicts.items(): ss = s[:] for k,v in strings.items():