summaryrefslogtreecommitdiff
path: root/po
diff options
context:
space:
mode:
authorPiotr Drąg <piotrdrag@gmail.com>2016-08-18 15:18:00 +0200
committerMark Wielaard <mjw@redhat.com>2016-08-19 14:37:40 +0200
commit2b2b684c8c9fb3f3d29cdfa148953e1c243bdb4c (patch)
treec51cf3f67f48c011fff4e8f1afba5ecd63a85f7d /po
parent6eb0a938a47dc10df8bf24eefb7c435cb6311035 (diff)
downloadelfutils-2b2b684c8c9fb3f3d29cdfa148953e1c243bdb4c.tar.gz
Add --add-comments to XGETTEXT_OPTIONS in Makevars
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>
Diffstat (limited to 'po')
-rw-r--r--po/Makevars3
1 files changed, 2 insertions, 1 deletions
diff --git a/po/Makevars b/po/Makevars
index 8a8ebc60..15d5d318 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