Blame po/Makevars

Packit a4058c
# Makefile variables for PO directory in any package using GNU gettext.
Packit a4058c
Packit a4058c
# Usually the message domain is the same as the package name.
Packit a4058c
DOMAIN = $(PACKAGE)
Packit a4058c
Packit a4058c
# These two variables depend on the location of this directory.
Packit a4058c
subdir = po
Packit a4058c
top_builddir = ..
Packit a4058c
Packit a4058c
# These options get passed to xgettext.
Packit a4058c
XGETTEXT_OPTIONS = --keyword=_ --keyword=N_ \
Packit a4058c
        --keyword=C_:1c,2 --keyword=NC_:1c,2 \
Packit a4058c
        --keyword=g_dngettext:2,3 \
Packit a4058c
        --from-code=UTF-8 --add-comments \
Packit a4058c
        --flag=g_dngettext:2:pass-c-format \
Packit a4058c
        --flag=g_strdup_printf:1:c-format \
Packit a4058c
        --flag=g_string_printf:2:c-format \
Packit a4058c
        --flag=g_string_append_printf:2:c-format \
Packit a4058c
        --flag=g_error_new:3:c-format \
Packit a4058c
        --flag=g_set_error:4:c-format \
Packit a4058c
        --flag=g_markup_printf_escaped:1:c-format \
Packit a4058c
        --flag=g_log:3:c-format \
Packit a4058c
        --flag=g_print:1:c-format \
Packit a4058c
        --flag=g_printerr:1:c-format \
Packit a4058c
        --flag=g_printf:1:c-format \
Packit a4058c
        --flag=g_fprintf:2:c-format \
Packit a4058c
        --flag=g_sprintf:2:c-format \
Packit a4058c
        --flag=g_snprintf:3:c-format
Packit a4058c
Packit a4058c
Packit a4058c
# This is the copyright holder that gets inserted into the header of the
Packit a4058c
# $(DOMAIN).pot file.  Set this to the copyright holder of the surrounding
Packit a4058c
# package.  (Note that the msgstr strings, extracted from the package's
Packit a4058c
# sources, belong to the copyright holder of the package.)  Translators are
Packit a4058c
# expected to transfer the copyright for their translations to this person
Packit a4058c
# or entity, or to disclaim their copyright.  The empty string stands for
Packit a4058c
# the public domain; in this case the translators are expected to disclaim
Packit a4058c
# their copyright.
Packit a4058c
COPYRIGHT_HOLDER = gdk-pixbuf contributors
Packit a4058c
Packit a4058c
# This tells whether or not to prepend "GNU " prefix to the package
Packit a4058c
# name that gets inserted into the header of the $(DOMAIN).pot file.
Packit a4058c
# Possible values are "yes", "no", or empty.  If it is empty, try to
Packit a4058c
# detect it automatically by scanning the files in $(top_srcdir) for
Packit a4058c
# "GNU packagename" string.
Packit a4058c
PACKAGE_GNU = no
Packit a4058c
Packit a4058c
# This is the email address or URL to which the translators shall report
Packit a4058c
# bugs in the untranslated strings:
Packit a4058c
# - Strings which are not entire sentences, see the maintainer guidelines
Packit a4058c
#   in the GNU gettext documentation, section 'Preparing Strings'.
Packit a4058c
# - Strings which use unclear terms or require additional context to be
Packit a4058c
#   understood.
Packit a4058c
# - Strings which make invalid assumptions about notation of date, time or
Packit a4058c
#   money.
Packit a4058c
# - Pluralisation problems.
Packit a4058c
# - Incorrect English spelling.
Packit a4058c
# - Incorrect formatting.
Packit a4058c
# It can be your email address, or a mailing list address where translators
Packit a4058c
# can write to without being subscribed, or the URL of a web page through
Packit a4058c
# which the translators can contact you.
Packit a4058c
MSGID_BUGS_ADDRESS = https://bugzilla.gnome.org/enter_bug.cgi?product=gdk-pixbuf&keywords=I18N+L10N&component=general
Packit a4058c
Packit a4058c
# This is the list of locale categories, beyond LC_MESSAGES, for which the
Packit a4058c
# message catalogs shall be used.  It is usually empty.
Packit a4058c
EXTRA_LOCALE_CATEGORIES =
Packit a4058c
Packit a4058c
# This tells whether the $(DOMAIN).pot file contains messages with an 'msgctxt'
Packit a4058c
# context.  Possible values are "yes" and "no".  Set this to yes if the
Packit a4058c
# package uses functions taking also a message context, like pgettext(), or
Packit a4058c
# if in $(XGETTEXT_OPTIONS) you define keywords with a context argument.
Packit a4058c
USE_MSGCTXT = yes
Packit a4058c
Packit a4058c
# These options get passed to msgmerge.
Packit a4058c
# Useful options are in particular:
Packit a4058c
#   --previous            to keep previous msgids of translated messages,
Packit a4058c
#   --quiet               to reduce the verbosity.
Packit a4058c
MSGMERGE_OPTIONS =
Packit a4058c
Packit a4058c
# These options get passed to msginit.
Packit a4058c
# If you want to disable line wrapping when writing PO files, add
Packit a4058c
# --no-wrap to MSGMERGE_OPTIONS, XGETTEXT_OPTIONS, and
Packit a4058c
# MSGINIT_OPTIONS.
Packit a4058c
MSGINIT_OPTIONS =
Packit a4058c
Packit a4058c
# This tells whether or not to regenerate a PO file when $(DOMAIN).pot
Packit a4058c
# has changed.  Possible values are "yes" and "no".  Set this to no if
Packit a4058c
# the POT file is checked in the repository and the version control
Packit a4058c
# program ignores timestamps.
Packit a4058c
PO_DEPENDS_ON_POT = no
Packit a4058c
Packit a4058c
# This tells whether or not to forcibly update $(DOMAIN).pot and
Packit a4058c
# regenerate PO files on "make dist".  Possible values are "yes" and
Packit a4058c
# "no".  Set this to no if the POT file and PO files are maintained
Packit a4058c
# externally.
Packit a4058c
DIST_DEPENDS_ON_UPDATE_PO = no