git://git.novaco.in
/
electrum-nvc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
(parent:
077bf77
)
request specific version of the wiki page
author
ThomasV
<thomasv@gitorious>
Tue, 12 Jun 2012 11:43:59 +0000 (15:43 +0400)
committer
ThomasV
<thomasv@gitorious>
Tue, 12 Jun 2012 11:43:59 +0000 (15:43 +0400)
lib/version.py
patch
|
blob
|
history
mki18n.py
patch
|
blob
|
history
diff --git
a/lib/version.py
b/lib/version.py
index
a9cb48e
..
84720b4
100644
(file)
--- a/
lib/version.py
+++ b/
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
diff --git
a/mki18n.py
b/mki18n.py
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 = {}