git://git.novaco.in
/
electrum-nvc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
(parent:
efbd15e
)
create locale dir
author
thomasv
<thomasv@gitorious>
Fri, 18 May 2012 13:37:31 +0000 (15:37 +0200)
committer
thomasv
<thomasv@gitorious>
Fri, 18 May 2012 13:37:31 +0000 (15:37 +0200)
mki18n.py
patch
|
blob
|
history
diff --git
a/mki18n.py
b/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():