X-Git-Url: https://git.carlh.net/gitweb/?a=blobdiff_plain;f=i18n.py;h=f2b03215784abd451e8d3f4b034bc17918aaa140;hb=0c766528070eadd3d044255a3e4dfde5a85707b5;hp=a3589ff82747b9e84c54ba6a3536181d1b480b41;hpb=e4dc22a791e3607dc611762eb589c67340cc919e;p=dcpomatic.git diff --git a/i18n.py b/i18n.py index a3589ff82..f2b032157 100644 --- a/i18n.py +++ b/i18n.py @@ -20,7 +20,7 @@ def pot(dir, sources, name): except: pass - command('xgettext --from-code=UTF-8 -d %s -s --keyword=_ --keyword=S_ --add-comments=/ -p %s -o %s.pot %s' % (name, d, name, s)) + command('xgettext --from-code=UTF-8 -d %s -s --keyword=_ --keyword=S_ --add-comments=TRANSLATORS: -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')):