tadd si; minor fix - electrum - Electrum Bitcoin wallet HTML git clone https://git.parazyd.org/electrum DIR Log DIR Files DIR Refs DIR Submodules --- DIR commit 12b3a13fbbe588a8667f6fb57f02530b7919fd95 DIR parent 726d892d727e023faa504a4f96014fa34ac835e1 HTML Author: thomasv <thomasv@gitorious> Date: Fri, 18 May 2012 17:16:42 +0200 add si; minor fix Diffstat: M mki18n.py | 6 +++--- M setup.py | 1 + 2 files changed, 4 insertions(+), 3 deletions(-) --- DIR diff --git a/mki18n.py b/mki18n.py t@@ -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 t@@ -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(): DIR diff --git a/setup.py b/setup.py t@@ -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',