fix bug in mki18n.py
authorthomasv <thomasv@gitorious>
Mon, 25 Nov 2013 14:07:27 +0000 (15:07 +0100)
committerthomasv <thomasv@gitorious>
Mon, 25 Nov 2013 14:07:27 +0000 (15:07 +0100)
mki18n.py

index f0b7fcd..4bde411 100755 (executable)
--- 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