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