1c72fcc34Sopenharmony_ci# Makefile variables for PO directory in any package using GNU gettext. 2c72fcc34Sopenharmony_ci 3c72fcc34Sopenharmony_ci# Usually the message domain is the same as the package name. 4c72fcc34Sopenharmony_ciDOMAIN = $(PACKAGE) 5c72fcc34Sopenharmony_ci 6c72fcc34Sopenharmony_ci# These two variables depend on the location of this directory. 7c72fcc34Sopenharmony_cisubdir = po 8c72fcc34Sopenharmony_citop_builddir = .. 9c72fcc34Sopenharmony_ci 10c72fcc34Sopenharmony_ci# These options get passed to xgettext. 11c72fcc34Sopenharmony_ciXGETTEXT_OPTIONS = --keyword=_ --keyword=N_ 12c72fcc34Sopenharmony_ci 13c72fcc34Sopenharmony_ci# This tells whether or not to prepend "GNU " prefix to the package 14c72fcc34Sopenharmony_ci# name that gets inserted into the header of the $(DOMAIN).pot file. 15c72fcc34Sopenharmony_ci# Possible values are "yes", "no", or empty. If it is empty, try to 16c72fcc34Sopenharmony_ci# detect it automatically by scanning the files in $(top_srcdir) for 17c72fcc34Sopenharmony_ci# "GNU packagename" string. 18c72fcc34Sopenharmony_ciPACKAGE_GNU = 19c72fcc34Sopenharmony_ci 20c72fcc34Sopenharmony_ci# This is the copyright holder that gets inserted into the header of the 21c72fcc34Sopenharmony_ci# $(DOMAIN).pot file. Set this to the copyright holder of the surrounding 22c72fcc34Sopenharmony_ci# package. (Note that the msgstr strings, extracted from the package's 23c72fcc34Sopenharmony_ci# sources, belong to the copyright holder of the package.) Translators are 24c72fcc34Sopenharmony_ci# expected to transfer the copyright for their translations to this person 25c72fcc34Sopenharmony_ci# or entity, or to disclaim their copyright. The empty string stands for 26c72fcc34Sopenharmony_ci# the public domain; in this case the translators are expected to disclaim 27c72fcc34Sopenharmony_ci# their copyright. 28c72fcc34Sopenharmony_ciCOPYRIGHT_HOLDER = The ALSA Team 29c72fcc34Sopenharmony_ci 30c72fcc34Sopenharmony_ci# This is the email address or URL to which the translators shall report 31c72fcc34Sopenharmony_ci# bugs in the untranslated strings: 32c72fcc34Sopenharmony_ci# - Strings which are not entire sentences, see the maintainer guidelines 33c72fcc34Sopenharmony_ci# in the GNU gettext documentation, section 'Preparing Strings'. 34c72fcc34Sopenharmony_ci# - Strings which use unclear terms or require additional context to be 35c72fcc34Sopenharmony_ci# understood. 36c72fcc34Sopenharmony_ci# - Strings which make invalid assumptions about notation of date, time or 37c72fcc34Sopenharmony_ci# money. 38c72fcc34Sopenharmony_ci# - Pluralisation problems. 39c72fcc34Sopenharmony_ci# - Incorrect English spelling. 40c72fcc34Sopenharmony_ci# - Incorrect formatting. 41c72fcc34Sopenharmony_ci# It can be your email address, or a mailing list address where translators 42c72fcc34Sopenharmony_ci# can write to without being subscribed, or the URL of a web page through 43c72fcc34Sopenharmony_ci# which the translators can contact you. 44c72fcc34Sopenharmony_ciMSGID_BUGS_ADDRESS = 45c72fcc34Sopenharmony_ci 46c72fcc34Sopenharmony_ci# This is the list of locale categories, beyond LC_MESSAGES, for which the 47c72fcc34Sopenharmony_ci# message catalogs shall be used. It is usually empty. 48c72fcc34Sopenharmony_ciEXTRA_LOCALE_CATEGORIES = 49c72fcc34Sopenharmony_ci 50c72fcc34Sopenharmony_ci# This tells whether the $(DOMAIN).pot file contains messages with an 'msgctxt' 51c72fcc34Sopenharmony_ci# context. Possible values are "yes" and "no". Set this to yes if the 52c72fcc34Sopenharmony_ci# package uses functions taking also a message context, like pgettext(), or 53c72fcc34Sopenharmony_ci# if in $(XGETTEXT_OPTIONS) you define keywords with a context argument. 54c72fcc34Sopenharmony_ciUSE_MSGCTXT = no 55c72fcc34Sopenharmony_ci 56c72fcc34Sopenharmony_ci# These options get passed to msgmerge. 57c72fcc34Sopenharmony_ci# Useful options are in particular: 58c72fcc34Sopenharmony_ci# --previous to keep previous msgids of translated messages, 59c72fcc34Sopenharmony_ci# --quiet to reduce the verbosity. 60c72fcc34Sopenharmony_ciMSGMERGE_OPTIONS = 61c72fcc34Sopenharmony_ci 62c72fcc34Sopenharmony_ci# These options get passed to msginit. 63c72fcc34Sopenharmony_ci# If you want to disable line wrapping when writing PO files, add 64c72fcc34Sopenharmony_ci# --no-wrap to MSGMERGE_OPTIONS, XGETTEXT_OPTIONS, and 65c72fcc34Sopenharmony_ci# MSGINIT_OPTIONS. 66c72fcc34Sopenharmony_ciMSGINIT_OPTIONS = 67c72fcc34Sopenharmony_ci 68c72fcc34Sopenharmony_ci# This tells whether or not to regenerate a PO file when $(DOMAIN).pot 69c72fcc34Sopenharmony_ci# has changed. Possible values are "yes" and "no". Set this to no if 70c72fcc34Sopenharmony_ci# the POT file is checked in the repository and the version control 71c72fcc34Sopenharmony_ci# program ignores timestamps. 72c72fcc34Sopenharmony_ciPO_DEPENDS_ON_POT = yes 73c72fcc34Sopenharmony_ci 74c72fcc34Sopenharmony_ci# This tells whether or not to forcibly update $(DOMAIN).pot and 75c72fcc34Sopenharmony_ci# regenerate PO files on "make dist". Possible values are "yes" and 76c72fcc34Sopenharmony_ci# "no". Set this to no if the POT file and PO files are maintained 77c72fcc34Sopenharmony_ci# externally. 78c72fcc34Sopenharmony_ciDIST_DEPENDS_ON_UPDATE_PO = yes 79