From 1a993ca8eb5e19b71cba91f860c7b53cfdea7492 Mon Sep 17 00:00:00 2001 From: Jim Warner Date: Fri, 14 Oct 2011 02:10:34 -0500 Subject: [PATCH] build-sys: enable xgettext TRANSLATORS comments This commit will enable pass comments to translators near gettext directive to .pot file. For example; /* TRANSLATORS: this is visible in .pot file */ printf(_("to be translated")); Signed-off-by: Jim Warner --- po/Makevars | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/po/Makevars b/po/Makevars index daa42e2b..7865213a 100644 --- a/po/Makevars +++ b/po/Makevars @@ -8,7 +8,7 @@ subdir = po top_builddir = .. # These options get passed to xgettext. -XGETTEXT_OPTIONS = --keyword=_ --keyword=N_ --keyword=P_:1,2 +XGETTEXT_OPTIONS = --keyword=_ --keyword=N_ --keyword=P_:1,2 --no-wrap --escape --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