electrum

Electrum Bitcoin wallet
git clone https://git.parazyd.org/electrum
Log | Files | Refs | Submodules

commit 12b3a13fbbe588a8667f6fb57f02530b7919fd95
parent 726d892d727e023faa504a4f96014fa34ac835e1
Author: thomasv <thomasv@gitorious>
Date:   Fri, 18 May 2012 17:16:42 +0200

add si; minor fix

Diffstat:
Mmki18n.py | 6+++---
Msetup.py | 1+
2 files changed, 4 insertions(+), 3 deletions(-)

diff --git a/mki18n.py b/mki18n.py @@ -21,6 +21,9 @@ for line in lines: print dicts +if not os.path.exists('locale'): + os.mkdir('locale') + cmd = 'xgettext -s --no-wrap -f app.fil --output=locale/messages.pot' print cmd @@ -31,9 +34,6 @@ s = f.read() f.close() s = s.replace('CHARSET', 'utf-8') -if not os.path.exists('locale'): - os.mkdir('locale') - for lang, strings in dicts.items(): ss = s[:] for k,v in strings.items(): diff --git a/setup.py b/setup.py @@ -13,6 +13,7 @@ setup(name = "Electrum", data_files=[ ('/usr/share/locale/de/LC_MESSAGES', ['locale/de/LC_MESSAGES/electrum.mo']), ('/usr/share/locale/fr/LC_MESSAGES', ['locale/fr/LC_MESSAGES/electrum.mo']), + ('/usr/share/locale/si/LC_MESSAGES', ['locale/si/LC_MESSAGES/electrum.mo']), ], py_modules = ['electrum.version', 'electrum.wallet',