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