Debian Codegraph @

po/Makevars

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