Browse Source

request specific version of the wiki page

283
ThomasV 13 years ago
parent
commit
d511a57810
  1. 1
      lib/version.py
  2. 3
      mki18n.py

1
lib/version.py

@ -1,2 +1,3 @@
ELECTRUM_VERSION = "0.57c"
SEED_VERSION = 4 # bump this everytime the seed generation is modified
TRANSLATION_ID = 27601 # version of the wiki page

3
mki18n.py

@ -1,8 +1,9 @@
#!/usr/bin/python
import urllib2, os
from lib.version import TRANSLATION_ID
url = "https://en.bitcoin.it/wiki/Electrum/Translation?action=raw"
url = "https://en.bitcoin.it/w/index.php?title=Electrum/Translation&oldid=%d&action=raw"%TRANSLATION_ID
f = urllib2.urlopen(url)
lines = f.readlines()
dicts = {}

Loading…
Cancel
Save