Skip to content

Commit

Permalink
increasing version number, and wiki translation version
Browse files Browse the repository at this point in the history
  • Loading branch information
ThomasV committed Oct 28, 2012
1 parent 71357cf commit 76eff7f
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
4 changes: 2 additions & 2 deletions 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 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
5 changes: 3 additions & 2 deletions mki18n.py
Expand Up @@ -14,8 +14,9 @@
if not l: continue if not l: continue
if l[0] != '*': continue if l[0] != '*': continue
if l[0:2] == '**': if l[0:2] == '**':
lang, translation = l.split(':') n = l.find(':')
lang = lang[2:] translation = l[n+1:]
lang = l[2:n]
if dicts.get(lang) is None: dicts[lang] = {} if dicts.get(lang) is None: dicts[lang] = {}
dicts[lang][message] = translation.strip() dicts[lang][message] = translation.strip()
else: else:
Expand Down

0 comments on commit 76eff7f

Please sign in to comment.