summaryrefslogtreecommitdiff
path: root/i18n.py
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2014-06-21 14:52:30 +0100
committerCarl Hetherington <cth@carlh.net>2014-06-21 14:52:30 +0100
commitdd2685423e9a2800a9ea6821c361a6b851ff759e (patch)
treea180a7bbc61ec90ec1bb97fac3b3781a50d80ac3 /i18n.py
parent7dd06cc89e018bfec3cbe802495bf7dee137a71f (diff)
Some missing i18n markup. Add S_ macro to allow contextual translations. Add updates to de_DE from Carsten Kurz. Merge pot files.
Diffstat (limited to 'i18n.py')
-rw-r--r--i18n.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/i18n.py b/i18n.py
index 26a8a10ec..fa91783b6 100644
--- a/i18n.py
+++ b/i18n.py
@@ -20,7 +20,7 @@ def pot(dir, sources, name):
except:
pass
- command('xgettext -d %s -s --keyword=_ --add-comments=/ -p %s -o %s.pot %s' % (name, d, name, s))
+ command('xgettext -d %s -s --keyword=_ --keyword=S_ --add-comments=/ -p %s -o %s.pot %s' % (name, d, name, s))
def pot_merge(dir, name):
for f in glob.glob(os.path.join(os.getcwd(), dir, 'po', '*.po')):