Debian Codegraph @

po/Makevars

raw
1 # Makefile variables for PO directory in any package using GNU gettext.
2 #
3 # Copyright (C) 2003-2019 Free Software Foundation, Inc.
4 # This file is free software; the Free Software Foundation gives
5 # unlimited permission to use, copy, distribute, and modify it.
6
7 # Usually the message domain is the same as the package name.
8 DOMAIN = $(PACKAGE)
9
10 # These two variables depend on the location of this directory.
11 subdir = po
12 top_builddir = ..
13
14 # These options get passed to xgettext.
15 XGETTEXT_OPTIONS = --keyword=_ --keyword=N_ \
16 \
17 --flag=_:1:pass-c-format\
18 --flag=N_:1:pass-c-format\
19 --flag=error:3:c-format --flag=error_at_line:5:c-format\
20 \
21 --flag=_:1:pass-c-format\
22 --flag=N_:1:pass-c-format\
23 --flag=error:3:c-format --flag=error_at_line:5:c-format\
24 --flag=asnprintf:3:c-format --flag=vasnprintf:3:c-format\
25 --flag=argp_error:2:c-format\
26 --flag=__argp_error:2:c-format\
27 --flag=argp_failure:4:c-format\
28 --flag=__argp_failure:4:c-format\
29 --flag=argp_fmtstream_printf:2:c-format\
30 --flag=__argp_fmtstream_printf:2:c-format\
31 $${end_of_xgettext_options+}
32
33 # This is the copyright holder that gets inserted into the header of the
34 # $(DOMAIN).pot file. Set this to the copyright holder of the surrounding
35 # package. (Note that the msgstr strings, extracted from the package's
36 # sources, belong to the copyright holder of the package.) Translators are
37 # expected to transfer the copyright for their translations to this person
38 # or entity, or to disclaim their copyright. The empty string stands for
39 # the public domain; in this case the translators are expected to disclaim
40 # their copyright.
41 COPYRIGHT_HOLDER = Free Software Foundation, Inc.
42
43 # This tells whether or not to prepend "GNU " prefix to the package
44 # name that gets inserted into the header of the $(DOMAIN).pot file.
45 # Possible values are "yes", "no", or empty. If it is empty, try to
46 # detect it automatically by scanning the files in $(top_srcdir) for
47 # "GNU packagename" string.
48 PACKAGE_GNU =
49
50 # This is the email address or URL to which the translators shall report
51 # bugs in the untranslated strings:
52 # - Strings which are not entire sentences, see the maintainer guidelines
53 # in the GNU gettext documentation, section 'Preparing Strings'.
54 # - Strings which use unclear terms or require additional context to be
55 # understood.
56 # - Strings which make invalid assumptions about notation of date, time or
57 # money.
58 # - Pluralisation problems.
59 # - Incorrect English spelling.
60 # - Incorrect formatting.
61 # It can be your email address, or a mailing list address where translators
62 # can write to without being subscribed, or the URL of a web page through
63 # which the translators can contact you.
64 MSGID_BUGS_ADDRESS = [email protected]
65
66 # This is the list of locale categories, beyond LC_MESSAGES, for which the
67 # message catalogs shall be used. It is usually empty.
68 EXTRA_LOCALE_CATEGORIES =
69
70 # This tells whether the $(DOMAIN).pot file contains messages with an 'msgctxt'
71 # context. Possible values are "yes" and "no". Set this to yes if the
72 # package uses functions taking also a message context, like pgettext(), or
73 # if in $(XGETTEXT_OPTIONS) you define keywords with a context argument.
74 USE_MSGCTXT = no
75
76 # These options get passed to msgmerge.
77 # Useful options are in particular:
78 # --previous to keep previous msgids of translated messages,
79 # --quiet to reduce the verbosity.
80 MSGMERGE_OPTIONS =
81
82 # These options get passed to msginit.
83 # If you want to disable line wrapping when writing PO files, add
84 # --no-wrap to MSGMERGE_OPTIONS, XGETTEXT_OPTIONS, and
85 # MSGINIT_OPTIONS.
86 MSGINIT_OPTIONS =
87
88 # This tells whether or not to regenerate a PO file when $(DOMAIN).pot
89 # has changed. Possible values are "yes" and "no". Set this to no if
90 # the POT file is checked in the repository and the version control
91 # program ignores timestamps.
92 PO_DEPENDS_ON_POT = yes
93
94 # This tells whether or not to forcibly update $(DOMAIN).pot and
95 # regenerate PO files on "make dist". Possible values are "yes" and
96 # "no". Set this to no if the POT file and PO files are maintained
97 # externally.
98 DIST_DEPENDS_ON_UPDATE_PO = yes