diff options
| author | Carl Hetherington <cth@carlh.net> | 2023-03-29 01:43:29 +0200 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2023-03-29 01:43:29 +0200 |
| commit | aed4773d3c40a77888dac12ea8916abfc2926634 (patch) | |
| tree | 4f1a636a5090a05edb04c1c21e7902f9c16ab893 | |
| parent | 26c06eefbd72d8dd3467c2ad9c4294d8099f888a (diff) | |
Fix marker to use for gettext comments; they just need TRANSLATORS: in front of them now.
| -rw-r--r-- | i18n.py | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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')): |
