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