From aed4773d3c40a77888dac12ea8916abfc2926634 Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Wed, 29 Mar 2023 01:43:29 +0200 Subject: [PATCH] Fix marker to use for gettext comments; they just need TRANSLATORS: in front of them now. --- i18n.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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')): -- 2.30.2