create locale dir
authorthomasv <thomasv@gitorious>
Fri, 18 May 2012 13:37:31 +0000 (15:37 +0200)
committerthomasv <thomasv@gitorious>
Fri, 18 May 2012 13:37:31 +0000 (15:37 +0200)
mki18n.py

index 22ecb61..afdb960 100755 (executable)
--- 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():