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