######################################################################### # # # Star Traders: A Game of Interstellar Trading # # Copyright (C) 1990-2022, John Zaitseff # # # ######################################################################### # Author: John Zaitseff # $Id$ # # This file, po/Makevars, contains variables that are substituted into # po/Makefile for use with GNU gettext. # # # This program is free software: you can redistribute it and/or modify it # under the terms of the GNU General Public License as published by the # Free Software Foundation, either version 3 of the License, or (at your # option) any later version. # # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU # General Public License for more details. # # You should have received a copy of the GNU General Public License # along with this program. If not, see https://www.gnu.org/licenses/. # The message domain is the same as the package name. DOMAIN = $(PACKAGE) # These two variables depend on the location of this directory. subdir = po top_builddir = .. # These options get passed to xgettext. XGETTEXT_OPTIONS = --from-code=UTF-8 --keyword=_ --keyword=N_ --width=132 \ --flag='err_exit:1:c-format' --flag='errno_exit:1:c-format' \ --flag='txdlgbox:11:c-format' --flag='txdlgbox:12:c-format' \ --flag='mkchstr:10:c-format' --flag='vmkchstr:10:c-format' \ --flag='left:8:c-format' \ --flag='center:8:c-format' \ --flag='right:8:c-format' # This is the copyright holder that gets inserted into the header of the # $(DOMAIN).pot file. COPYRIGHT_HOLDER = John Zaitseff # This is the email address or URL to which the translators shall report # bugs in the untranslated strings. MSGID_BUGS_ADDRESS = J.Zaitseff@zap.org.au # This is the list of locale categories, beyond LC_MESSAGES, for which the # message catalogs shall be used. It is usually empty. EXTRA_LOCALE_CATEGORIES = # This tells whether the $(DOMAIN).pot file contains messages with an 'msgctxt' # context. Possible values are "yes" and "no". Set this to yes if the # package uses functions taking also a message context, like pgettext(), or # if in $(XGETTEXT_OPTIONS) you define keywords with a context argument. USE_MSGCTXT = yes # These options get passed to msgmerge. MSGMERGE_OPTIONS = --width=132 # These options get passed to msginit. MSGINIT_OPTIONS = # This tells whether or not to regenerate a PO file when $(DOMAIN).pot # has changed. Possible values are "yes" and "no". Set this to no if # the POT file is checked in the repository and the version control # program ignores timestamps. PO_DEPENDS_ON_POT = yes # This tells whether or not to forcibly update $(DOMAIN).pot and # regenerate PO files on "make dist". Possible values are "yes" and # "no". Set this to no if the POT file and PO files are maintained # externally. DIST_DEPENDS_ON_UPDATE_PO = yes # Additional files to distribute. DISTFILES += README