Some missing i18n markup. Add S_ macro to allow contextual translations. Add update...
[dcpomatic.git] / i18n.py
diff --git a/i18n.py b/i18n.py
index 26a8a10ec3041ad2bd3592b6eb7f485d6f021c59..fa91783b6993d397936352173a9fe9c86f4a1941 100644 (file)
--- 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')):