request specific version of the wiki page
authorThomasV <thomasv@gitorious>
Tue, 12 Jun 2012 11:43:59 +0000 (15:43 +0400)
committerThomasV <thomasv@gitorious>
Tue, 12 Jun 2012 11:43:59 +0000 (15:43 +0400)
lib/version.py
mki18n.py

index a9cb48e..84720b4 100644 (file)
@@ -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 
index 630a5bb..6778be2 100755 (executable)
--- a/mki18n.py
+++ b/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 = {}