From 76eff7fdb6797b43e0a46b2039e7dd8d54ad1aec Mon Sep 17 00:00:00 2001 From: ThomasV Date: Sun, 28 Oct 2012 07:41:44 +0100 Subject: [PATCH] increasing version number, and wiki translation version --- lib/version.py | 4 ++-- mki18n.py | 5 +++-- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/lib/version.py b/lib/version.py index c0392309..f9d96129 100644 --- a/lib/version.py +++ b/lib/version.py @@ -1,3 +1,3 @@ -ELECTRUM_VERSION = "1.1" +ELECTRUM_VERSION = "1.2" SEED_VERSION = 4 # bump this everytime the seed generation is modified -TRANSLATION_ID = 28344 # version of the wiki page +TRANSLATION_ID = 32150 # version of the wiki page diff --git a/mki18n.py b/mki18n.py index e1d6c3f3..1cc5d7a5 100755 --- a/mki18n.py +++ b/mki18n.py @@ -14,8 +14,9 @@ for line in lines: if not l: continue if l[0] != '*': continue if l[0:2] == '**': - lang, translation = l.split(':') - lang = lang[2:] + n = l.find(':') + translation = l[n+1:] + lang = l[2:n] if dicts.get(lang) is None: dicts[lang] = {} dicts[lang][message] = translation.strip() else: