fix bug in mki18n.py
This commit is contained in:
@@ -52,7 +52,7 @@ for name in zfobj.namelist():
|
|||||||
# Convert .po to .mo
|
# Convert .po to .mo
|
||||||
print 'Installing'
|
print 'Installing'
|
||||||
for lang in os.listdir('./locale'):
|
for lang in os.listdir('./locale'):
|
||||||
if name.startswith('messages'):
|
if lang.startswith('messages'):
|
||||||
continue
|
continue
|
||||||
# Check LC_MESSAGES folder
|
# Check LC_MESSAGES folder
|
||||||
mo_dir = 'locale/%s/LC_MESSAGES' % lang
|
mo_dir = 'locale/%s/LC_MESSAGES' % lang
|
||||||
|
|||||||
Reference in New Issue
Block a user