Add more options to XGETTEXT_OPTIONS in po/Makevars
authorPiotr Drąg <piotrdrag@gmail.com>
Mon, 12 Sep 2016 16:53:23 +0000 (18:53 +0200)
committerPiotr Drąg <piotrdrag@gmail.com>
Mon, 12 Sep 2016 16:53:23 +0000 (18:53 +0200)
po/Makevars

index 2962e5b..1dc11f9 100644 (file)
@@ -8,7 +8,7 @@ subdir = po
 top_builddir = ..
 
 # These options get passed to xgettext.
-XGETTEXT_OPTIONS = --keyword=_ --keyword=N_
+XGETTEXT_OPTIONS = --from-code=UTF-8 --keyword=_ --keyword=N_ --keyword=C_:1c,2 --keyword=NC_:1c,2 --keyword=g_dngettext:2,3 --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