diff options
Diffstat (limited to 'po/Makevars')
-rw-r--r-- | po/Makevars | 39 |
1 files changed, 38 insertions, 1 deletions
diff --git a/po/Makevars b/po/Makevars index 895f216..31f0f4f 100644 --- a/po/Makevars +++ b/po/Makevars @@ -8,7 +8,33 @@ subdir = po top_builddir = .. # These options get passed to xgettext. -XGETTEXT_OPTIONS = --keyword=_ --keyword=N_ --keyword=__ +XGETTEXT_OPTIONS = \ + --keyword=_\ + --keyword=N_\ + --keyword=__\ + -k__\ + -k\$__\ + -k%__\ + -k__x\ + -k__n:1,2\ + -k__nx:1,2\ + -k__xn:1,2\ + -kN__\ + --flag=error:1:c-format\ + --flag=warning:1:c-format\ + --flag=fatal:1:c-format\ + --flag=file_line_error:3:c-format\ + --flag=line_error:1:c-format\ + --flag=add_word_args:1:c-format\ + --flag=printf_to_message_buffer:1:c-format\ + --flag=syntax_error:3:c-format\ + --flag=error_message:2:c-format\ + --flag=printf_to_message_buffer:1:c-format\ + --flag=info_error:1:c-format\ + --flag=window_message_in_echo_area:1:c-format\ + --flag=message_in_echo_area:1:c-format\ + --flag=format_message_node:1:c-format + --flag=format_message_buffer:1: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 +65,14 @@ MSGID_BUGS_ADDRESS = bug-texinfo@gnu.org # 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 + +# These options get passed to msgmerge. +# Useful options are in particular: +# --previous to keep previous msgids of translated messages, +# --quiet to reduce the verbosity. +MSGMERGE_OPTIONS = |