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