|
Packit |
33f14e |
# Makefile variables for PO directory in any package using GNU gettext.
|
|
Packit |
33f14e |
|
|
Packit |
33f14e |
# Usually the message domain is the same as the package name.
|
|
Packit |
33f14e |
DOMAIN = $(PACKAGE)
|
|
Packit |
33f14e |
|
|
Packit |
33f14e |
# These two variables depend on the location of this directory.
|
|
Packit |
33f14e |
subdir = po
|
|
Packit |
33f14e |
top_builddir = ..
|
|
Packit |
33f14e |
|
|
Packit |
33f14e |
# These options get passed to xgettext.
|
|
Packit |
33f14e |
XGETTEXT_OPTIONS = --keyword=_ --keyword=N_ \
|
|
Packit |
33f14e |
\
|
|
Packit |
33f14e |
--flag=_:1:pass-c-format\
|
|
Packit |
33f14e |
--flag=N_:1:pass-c-format\
|
|
Packit |
33f14e |
--flag=error:3:c-format --flag=error_at_line:5:c-format\
|
|
Packit |
33f14e |
\
|
|
Packit |
33f14e |
--from-code=UTF-8\
|
|
Packit |
33f14e |
--flag=asprintf:2:c-format --flag=vasprintf:2:c-format\
|
|
Packit |
33f14e |
--flag=asnprintf:3:c-format --flag=vasnprintf:3:c-format\
|
|
Packit |
33f14e |
--flag=message:1:c-format --flag=message5:1:c-format\
|
|
Packit |
33f14e |
--flag=try_help:1:c-format\
|
|
Packit |
33f14e |
$${end_of_xgettext_options+}
|
|
Packit |
33f14e |
|
|
Packit |
33f14e |
# This is the copyright holder that gets inserted into the header of the
|
|
Packit |
33f14e |
# $(DOMAIN).pot file. Set this to the copyright holder of the surrounding
|
|
Packit |
33f14e |
# package. (Note that the msgstr strings, extracted from the package's
|
|
Packit |
33f14e |
# sources, belong to the copyright holder of the package.) Translators are
|
|
Packit |
33f14e |
# expected to transfer the copyright for their translations to this person
|
|
Packit |
33f14e |
# or entity, or to disclaim their copyright. The empty string stands for
|
|
Packit |
33f14e |
# the public domain; in this case the translators are expected to disclaim
|
|
Packit |
33f14e |
# their copyright.
|
|
Packit |
33f14e |
COPYRIGHT_HOLDER = Free Software Foundation, Inc.
|
|
Packit |
33f14e |
|
|
Packit |
33f14e |
# This tells whether or not to prepend "GNU " prefix to the package
|
|
Packit |
33f14e |
# name that gets inserted into the header of the $(DOMAIN).pot file.
|
|
Packit |
33f14e |
# Possible values are "yes", "no", or empty. If it is empty, try to
|
|
Packit |
33f14e |
# detect it automatically by scanning the files in $(top_srcdir) for
|
|
Packit |
33f14e |
# "GNU packagename" string.
|
|
Packit |
33f14e |
PACKAGE_GNU =
|
|
Packit |
33f14e |
|
|
Packit |
33f14e |
# This is the email address or URL to which the translators shall report
|
|
Packit |
33f14e |
# bugs in the untranslated strings:
|
|
Packit |
33f14e |
# - Strings which are not entire sentences, see the maintainer guidelines
|
|
Packit |
33f14e |
# in the GNU gettext documentation, section 'Preparing Strings'.
|
|
Packit |
33f14e |
# - Strings which use unclear terms or require additional context to be
|
|
Packit |
33f14e |
# understood.
|
|
Packit |
33f14e |
# - Strings which make invalid assumptions about notation of date, time or
|
|
Packit |
33f14e |
# money.
|
|
Packit |
33f14e |
# - Pluralisation problems.
|
|
Packit |
33f14e |
# - Incorrect English spelling.
|
|
Packit |
33f14e |
# - Incorrect formatting.
|
|
Packit |
33f14e |
# It can be your email address, or a mailing list address where translators
|
|
Packit |
33f14e |
# can write to without being subscribed, or the URL of a web page through
|
|
Packit |
33f14e |
# which the translators can contact you.
|
|
Packit |
33f14e |
MSGID_BUGS_ADDRESS = bug-diffutils@gnu.org
|
|
Packit |
33f14e |
|
|
Packit |
33f14e |
# This is the list of locale categories, beyond LC_MESSAGES, for which the
|
|
Packit |
33f14e |
# message catalogs shall be used. It is usually empty.
|
|
Packit |
33f14e |
EXTRA_LOCALE_CATEGORIES =
|
|
Packit |
33f14e |
|
|
Packit |
33f14e |
# This tells whether the $(DOMAIN).pot file contains messages with an 'msgctxt'
|
|
Packit |
33f14e |
# context. Possible values are "yes" and "no". Set this to yes if the
|
|
Packit |
33f14e |
# package uses functions taking also a message context, like pgettext(), or
|
|
Packit |
33f14e |
# if in $(XGETTEXT_OPTIONS) you define keywords with a context argument.
|
|
Packit |
33f14e |
USE_MSGCTXT = no
|
|
Packit |
33f14e |
|
|
Packit |
33f14e |
# These options get passed to msgmerge.
|
|
Packit |
33f14e |
# Useful options are in particular:
|
|
Packit |
33f14e |
# --previous to keep previous msgids of translated messages,
|
|
Packit |
33f14e |
# --quiet to reduce the verbosity.
|
|
Packit |
33f14e |
MSGMERGE_OPTIONS =
|
|
Packit |
33f14e |
|
|
Packit |
33f14e |
# This tells whether or not to regenerate a PO file when $(DOMAIN).pot
|
|
Packit |
33f14e |
# has changed. Possible values are "yes" and "no". Set this to no if
|
|
Packit |
33f14e |
# the POT file is checked in the repository and the version control
|
|
Packit |
33f14e |
# program ignores timestamps.
|
|
Packit |
33f14e |
PO_DEPENDS_ON_POT = yes
|
|
Packit |
33f14e |
|
|
Packit |
33f14e |
# This tells whether or not to forcibly update $(DOMAIN).pot and
|
|
Packit |
33f14e |
# regenerate PO files on "make dist". Possible values are "yes" and
|
|
Packit |
33f14e |
# "no". Set this to no if the POT file and PO files are maintained
|
|
Packit |
33f14e |
# externally.
|
|
Packit |
33f14e |
DIST_DEPENDS_ON_UPDATE_PO = yes
|