commit 00d0905d4024b2d14b8bad4df4230c9afcda4ef6
parent 6461a3c613ead967d4edcd149e0891106d478ff6
Author: ThomasV <thomasv@gitorious>
Date: Sat, 9 Jun 2012 17:35:07 +0200
strip translation messages
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/mki18n.py b/mki18n.py
@@ -16,7 +16,7 @@ for line in lines:
lang, translation = l.split(':')
lang = lang[2:]
if dicts.get(lang) is None: dicts[lang] = {}
- dicts[lang][message] = translation
+ dicts[lang][message] = translation.strip()
else:
message = l[1:]
num_m += 1