CVSROOT: /sources/m4 Module name: m4 Changes by: Eric Blake <ericb> 06/08/16 12:23:05
Index: po/Makevars =================================================================== RCS file: /sources/m4/m4/po/Makevars,v retrieving revision 1.2 retrieving revision 1.3 diff -u -b -r1.2 -r1.3 --- po/Makevars 6 May 2006 12:23:33 -0000 1.2 +++ po/Makevars 16 Aug 2006 12:23:05 -0000 1.3 @@ -8,7 +8,18 @@ top_builddir = .. # These options get passed to xgettext. -XGETTEXT_OPTIONS = --keyword=_ --keyword=N_ +XGETTEXT_OPTIONS = \ + --from-code=UTF-8 \ + --keyword=_ --flag=_:1:pass-c-format \ + --keyword=N_ --flag=N_:1:pass-c-format \ + --flag=error:3:c-format --flag=error_at_line:5:c-format \ + --flag=verror:3:c-format --flag=verror_at_line:5:c-format \ + --flag=asprintf:2:c-format --flag=vasprintf:2:c-format \ + --flag=asnprintf:3:c-format --flag=vasnprintf:3:c-format \ + --flag=m4_error:4:c-format --flag=m4_error_at_line:6:c-format \ + --flag=M4_DEBUG_MESSAGE:2:c-format \ + --flag=M4_DEBUG_MESSAGE1:2:c-format \ + --flag=M4_DEBUG_MESSAGE2:2:c-format # 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 @@ -39,3 +50,9 @@ # This is the list of locale categories, beyond LC_MESSAGES, for which the # message catalogs shall be used. It is usually empty. EXTRA_LOCALE_CATEGORIES = + +# This tells whether the $(DOMAIN).pot file contains messages with an 'msgctxt' +# context. Possible values are "yes" and "no". Set this to yes if the +# package uses functions taking also a message context, like pgettext(), or +# if in $(XGETTEXT_OPTIONS) you define keywords with a context argument. +USE_MSGCTXT = no
