This is the mail archive of the
elfutils-devel@sourceware.org
mailing list for the elfutils project.
[COMMITTED 2/3] Add --add-comments to XGETTEXT_OPTIONS in Makevars
- From: Mark Wielaard <mjw at redhat dot com>
- To: elfutils-devel at lists dot fedorahosted dot org
- Date: Fri, 19 Aug 2016 16:24:28 +0200
- Subject: [COMMITTED 2/3] Add --add-comments to XGETTEXT_OPTIONS in Makevars
From: Piotr Drąg <piotrdrag@gmail.com>
So that translator comments show up in .po files.
https://bugzilla.redhat.com/show_bug.cgi?id=1368130
Signed-off-by: Piotr Drąg <piotrdrag@gmail.com>
---
po/Makevars | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/po/Makevars b/po/Makevars
index 8a8ebc6..15d5d31 100644
--- a/po/Makevars
+++ b/po/Makevars
@@ -9,7 +9,8 @@ top_builddir = ..
# These options get passed to xgettext.
XGETTEXT_OPTIONS = --keyword=_ --keyword=N_ --flag=error:3:c-format \
- --flag=ERROR:1:c-format --flag=argp_error:2:c-format
+ --flag=ERROR:1:c-format --flag=argp_error:2:c-format \
+ --add-comments
# This is the copyright holder that gets inserted into the header of the
# $(DOMAIN).pot file. Set this to the copyright holder of the surrounding
--
2.7.4