summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2023-03-29 01:43:29 +0200
committerCarl Hetherington <cth@carlh.net>2023-03-29 01:43:29 +0200
commitaed4773d3c40a77888dac12ea8916abfc2926634 (patch)
tree4f1a636a5090a05edb04c1c21e7902f9c16ab893
parent26c06eefbd72d8dd3467c2ad9c4294d8099f888a (diff)
Fix marker to use for gettext comments; they just need TRANSLATORS: in front of them now.
-rw-r--r--i18n.py2
1 files changed, 1 insertions, 1 deletions
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')):