Add --add-comments to XGETTEXT_OPTIONS in Makevars
authorPiotr Drąg <piotrdrag@gmail.com>
Thu, 18 Aug 2016 13:18:00 +0000 (15:18 +0200)
committerMark Wielaard <mjw@redhat.com>
Fri, 19 Aug 2016 12:37:40 +0000 (14:37 +0200)
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

index 8a8ebc6..15d5d31 100644 (file)
@@ -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