diff options
author | Jim Warner <james.warner@comcast.net> | 2011-10-14 02:10:34 -0500 |
---|---|---|
committer | Sami Kerola <kerolasa@iki.fi> | 2011-12-20 17:30:51 +0100 |
commit | 1a993ca8eb5e19b71cba91f860c7b53cfdea7492 (patch) | |
tree | 03854b89645528812d8242dab88802d692a2b162 | |
parent | 8795154eaca56f6904c0a9cd306451e2850d4a5b (diff) | |
download | procps-ng-1a993ca8eb5e19b71cba91f860c7b53cfdea7492.tar.gz |
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 <james.warner@comcast.net>
-rw-r--r-- | po/Makevars | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/po/Makevars b/po/Makevars index daa42e2..7865213 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 |