X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=po%2FMakevars;h=22a3fa9c88aaaef2dd2d0f947bd64ab94d7ba0f8;hb=66f527e417de916105680696bd44d7ad91ff60cb;hp=058038a1b9a9ef703bf253acc6a1525d99a66cea;hpb=b02093873e853ba0caabae0451b51a2a119e7379;p=lyx.git diff --git a/po/Makevars b/po/Makevars index 058038a1b9..22a3fa9c88 100644 --- a/po/Makevars +++ b/po/Makevars @@ -8,7 +8,7 @@ subdir = po top_builddir = .. # These options get passed to xgettext. -XGETTEXT_OPTIONS = --join-existing --keyword=_ --keyword=N_ --keyword=qt_ +XGETTEXT_OPTIONS = --language=C++ --join-existing --keyword=_ --keyword=N_ --keyword=B_ --keyword=qt_ # 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 +39,15 @@ MSGID_BUGS_ADDRESS = lyx-devel@lists.lyx.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 =