Blame po/Makevars

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