diff --git a/mki18n.py b/mki18n.py index f0b7fcde..4bde4119 100755 --- a/mki18n.py +++ b/mki18n.py @@ -52,7 +52,7 @@ for name in zfobj.namelist(): # Convert .po to .mo print 'Installing' for lang in os.listdir('./locale'): - if name.startswith('messages'): + if lang.startswith('messages'): continue # Check LC_MESSAGES folder mo_dir = 'locale/%s/LC_MESSAGES' % lang