From: Carl Hetherington Date: Tue, 28 Mar 2023 23:43:29 +0000 (+0200) Subject: Fix marker to use for gettext comments; they just need TRANSLATORS: in front of them... X-Git-Tag: v2.16.51~18 X-Git-Url: https://git.carlh.net/gitweb/?p=dcpomatic.git;a=commitdiff_plain;h=aed4773d3c40a77888dac12ea8916abfc2926634 Fix marker to use for gettext comments; they just need TRANSLATORS: in front of them now. --- 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')):