add si; minor fix
This commit is contained in:
@@ -21,6 +21,9 @@ for line in lines:
|
||||
|
||||
print dicts
|
||||
|
||||
if not os.path.exists('locale'):
|
||||
os.mkdir('locale')
|
||||
|
||||
|
||||
cmd = 'xgettext -s --no-wrap -f app.fil --output=locale/messages.pot'
|
||||
print cmd
|
||||
@@ -31,9 +34,6 @@ 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():
|
||||
|
||||
Reference in New Issue
Block a user