WC: Set up wesnoth-wc textdomain

This creates an empty template catalogue so SCons will generate the
template catalogue and the translation catalogues on a subsequent
pot-update (if there isn't a pot file at all SCons won't attempt to do
anything with the textdomain at all).

[ci skip]
This commit is contained in:
Iris Morelle 2020-08-25 20:02:27 -04:00
parent 1389719887
commit ee37e9fdd4
5 changed files with 45 additions and 0 deletions

View file

@ -29,6 +29,7 @@ set(NORMAL_DOMAINS
wesnoth-tutorial
wesnoth-units
wesnoth-utbs
wesnoth-wc
)
# All available domains.

2
po/wesnoth-wc/FINDCFG Normal file
View file

@ -0,0 +1,2 @@
find data/campaigns/World_Conquest -name '*.cfg' -print
find data/campaigns/World_Conquest -name '*.lua' -print

1
po/wesnoth-wc/LINGUAS Normal file
View file

@ -0,0 +1 @@
af ang@latin ar bg ca ca_ES@valencia cs da de el en_GB en@shaw es eo et eu fi fr ga gd gl grc he hr hu id is it ja ko la lt lv mk mr nl nb_NO pl pt pt_BR racv ro ru sk sl sr sr@ijekavian sr@ijekavianlatin sr@latin sv tl tr uk vi zh_CN zh_TW

41
po/wesnoth-wc/Makevars Normal file
View file

@ -0,0 +1,41 @@
# Makefile variables for PO directory in any package using GNU gettext.
# Usually the message domain is the same as the package name.
DOMAIN = wesnoth-wc
# These two variables depend on the location of this directory.
subdir = po/$(DOMAIN)
top_builddir = ../..
# These options get passed to xgettext.
XGETTEXT_OPTIONS = --from-code=UTF-8 --sort-by-file --keyword=sgettext --keyword=vgettext --keyword=_n:1,2 --keyword=sngettext:1,2 --keyword=vngettext:1,2 --add-comments=TRANSLATORS:
# This is the copyright holder that gets inserted into the header of the
# $(DOMAIN).pot file. Set this to the copyright holder of the surrounding
# package. (Note that the msgstr strings, extracted from the package's
# sources, belong to the copyright holder of the package.) Translators are
# expected to transfer the copyright for their translations to this person
# or entity, or to disclaim their copyright. The empty string stands for
# the public domain; in this case the translators are expected to disclaim
# their copyright.
COPYRIGHT_HOLDER = Wesnoth development team
# This is the email address or URL to which the translators shall report
# bugs in the untranslated strings:
# - Strings which are not entire sentences, see the maintainer guidelines
# in the GNU gettext documentation, section 'Preparing Strings'.
# - Strings which use unclear terms or require additional context to be
# understood.
# - Strings which make invalid assumptions about notation of date, time or
# money.
# - Pluralisation problems.
# - Incorrect English spelling.
# - Incorrect formatting.
# It can be your email address, or a mailing list address where translators
# can write to without being subscribed, or the URL of a web page through
# which the translators can contact you.
MSGID_BUGS_ADDRESS =https://bugs.wesnoth.org/
# 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 =

View file