Makevars revision 05436638acc7c010349a69c3395f1a57c642dc62
15c87bf8b86a7c82ef50fb7a89697d8e02e2553beTorne (Richard Coles)# Makefile variables for PO directory in any package using GNU gettext. 25c87bf8b86a7c82ef50fb7a89697d8e02e2553beTorne (Richard Coles) 35c87bf8b86a7c82ef50fb7a89697d8e02e2553beTorne (Richard Coles)# Usually the message domain is the same as the package name. 45c87bf8b86a7c82ef50fb7a89697d8e02e2553beTorne (Richard Coles)DOMAIN = $(PACKAGE) 55c87bf8b86a7c82ef50fb7a89697d8e02e2553beTorne (Richard Coles) 65c87bf8b86a7c82ef50fb7a89697d8e02e2553beTorne (Richard Coles)# These two variables depend on the location of this directory. 75c87bf8b86a7c82ef50fb7a89697d8e02e2553beTorne (Richard Coles)subdir = po 85c87bf8b86a7c82ef50fb7a89697d8e02e2553beTorne (Richard Coles)top_builddir = .. 95c87bf8b86a7c82ef50fb7a89697d8e02e2553beTorne (Richard Coles) 105c87bf8b86a7c82ef50fb7a89697d8e02e2553beTorne (Richard Coles)# These options get passed to xgettext. 115c87bf8b86a7c82ef50fb7a89697d8e02e2553beTorne (Richard Coles)XGETTEXT_OPTIONS = --keyword=_ --keyword=N_ \ 125c87bf8b86a7c82ef50fb7a89697d8e02e2553beTorne (Richard Coles)\ 135c87bf8b86a7c82ef50fb7a89697d8e02e2553beTorne (Richard Coles)--flag=_:1:pass-c-format\ 145c87bf8b86a7c82ef50fb7a89697d8e02e2553beTorne (Richard Coles)--flag=N_:1:pass-c-format\ 155c87bf8b86a7c82ef50fb7a89697d8e02e2553beTorne (Richard Coles)--flag=error:3:c-format --flag=error_at_line:5:c-format\ 165c87bf8b86a7c82ef50fb7a89697d8e02e2553beTorne (Richard Coles)\ 175c87bf8b86a7c82ef50fb7a89697d8e02e2553beTorne (Richard Coles)--from-code=UTF-8\ 185c87bf8b86a7c82ef50fb7a89697d8e02e2553beTorne (Richard Coles)--flag=asprintf:2:c-format\ 195c87bf8b86a7c82ef50fb7a89697d8e02e2553beTorne (Richard Coles)--flag=complain:1:c-format --flag=complain_at:2:c-format\ 205c87bf8b86a7c82ef50fb7a89697d8e02e2553beTorne (Richard Coles)--flag=fatal:1:c-format --flag=fatal_at:2:c-format\ 215c87bf8b86a7c82ef50fb7a89697d8e02e2553beTorne (Richard Coles)--flag=warn:1:c-format --flag=warn_at:2:c-format\ 225c87bf8b86a7c82ef50fb7a89697d8e02e2553beTorne (Richard Coles)--flag=unexpected_end:2:c-format\ 2302772c6a72f1ee0b226341a4f4439970c29fc861Ben Murdoch$${end_of_xgettext_options+} 245c87bf8b86a7c82ef50fb7a89697d8e02e2553beTorne (Richard Coles) 255c87bf8b86a7c82ef50fb7a89697d8e02e2553beTorne (Richard Coles)# This is the copyright holder that gets inserted into the header of the 265c87bf8b86a7c82ef50fb7a89697d8e02e2553beTorne (Richard Coles)# $(DOMAIN).pot file. Set this to the copyright holder of the surrounding 275c87bf8b86a7c82ef50fb7a89697d8e02e2553beTorne (Richard Coles)# package. (Note that the msgstr strings, extracted from the package's 285c87bf8b86a7c82ef50fb7a89697d8e02e2553beTorne (Richard Coles)# sources, belong to the copyright holder of the package.) Translators are 29197021e6b966cfb06891637935ef33fff06433d1Ben Murdoch# expected to transfer the copyright for their translations to this person 3093ac45cfc74041c8ae536ce58a9534d46db2024eTorne (Richard Coles)# or entity, or to disclaim their copyright. The empty string stands for 3193ac45cfc74041c8ae536ce58a9534d46db2024eTorne (Richard Coles)# the public domain; in this case the translators are expected to disclaim 325c87bf8b86a7c82ef50fb7a89697d8e02e2553beTorne (Richard Coles)# their copyright. 33c1847b1379d12d0e05df27436bf19a9b1bf12deaTorne (Richard Coles)COPYRIGHT_HOLDER = Free Software Foundation, Inc. 345c87bf8b86a7c82ef50fb7a89697d8e02e2553beTorne (Richard Coles) 35d6cdb82654e8f3343a693ca752d5c4cee0324e17Torne (Richard Coles)# This is the email address or URL to which the translators shall report 367242dc3dbeb210b5e876a3c42d1ec1a667fc621aPrimiano Tucci# bugs in the untranslated strings: 375c87bf8b86a7c82ef50fb7a89697d8e02e2553beTorne (Richard Coles)# - Strings which are not entire sentences, see the maintainer guidelines 385c87bf8b86a7c82ef50fb7a89697d8e02e2553beTorne (Richard Coles)# in the GNU gettext documentation, section 'Preparing Strings'. 395c87bf8b86a7c82ef50fb7a89697d8e02e2553beTorne (Richard Coles)# - Strings which use unclear terms or require additional context to be 405c87bf8b86a7c82ef50fb7a89697d8e02e2553beTorne (Richard Coles)# understood. 415c87bf8b86a7c82ef50fb7a89697d8e02e2553beTorne (Richard Coles)# - Strings which make invalid assumptions about notation of date, time or 4293ac45cfc74041c8ae536ce58a9534d46db2024eTorne (Richard Coles)# money. 4393ac45cfc74041c8ae536ce58a9534d46db2024eTorne (Richard Coles)# - Pluralisation problems. 445c87bf8b86a7c82ef50fb7a89697d8e02e2553beTorne (Richard Coles)# - Incorrect English spelling. 455c87bf8b86a7c82ef50fb7a89697d8e02e2553beTorne (Richard Coles)# - Incorrect formatting. 46d6cdb82654e8f3343a693ca752d5c4cee0324e17Torne (Richard Coles)# It can be your email address, or a mailing list address where translators 47d6cdb82654e8f3343a693ca752d5c4cee0324e17Torne (Richard Coles)# can write to without being subscribed, or the URL of a web page through 48d6cdb82654e8f3343a693ca752d5c4cee0324e17Torne (Richard Coles)# which the translators can contact you. 49d6cdb82654e8f3343a693ca752d5c4cee0324e17Torne (Richard Coles)MSGID_BUGS_ADDRESS = bug-bison@gnu.org 505c87bf8b86a7c82ef50fb7a89697d8e02e2553beTorne (Richard Coles) 515c87bf8b86a7c82ef50fb7a89697d8e02e2553beTorne (Richard Coles)# This is the list of locale categories, beyond LC_MESSAGES, for which the 525c87bf8b86a7c82ef50fb7a89697d8e02e2553beTorne (Richard Coles)# message catalogs shall be used. It is usually empty. 53d6cdb82654e8f3343a693ca752d5c4cee0324e17Torne (Richard Coles)EXTRA_LOCALE_CATEGORIES = 54d6cdb82654e8f3343a693ca752d5c4cee0324e17Torne (Richard Coles)