X-Git-Url: https://main.carlh.net/gitweb/?a=blobdiff_plain;f=i18n.py;h=fa91783b6993d397936352173a9fe9c86f4a1941;hb=cf8bbea2de38c4e9ac140f55b27311b7b6dcd814;hp=26a8a10ec3041ad2bd3592b6eb7f485d6f021c59;hpb=570625d8a1900698e139e03fdf97604a52371231;p=dcpomatic.git 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')):