Remove the wesnoth-ai textdoman, move a few strings to wesnoth-lib (#4669)

This whole textdomain is dedicated to localized strings revolving around the
game's AI engine and the AI demos/test scenarios, with around 370 strings in
it.

Other than a few strings near the start of the catalogue template, none of these
have any value for regular players since they are sourced from AI demos and
test scenarios in data/ai/micro_ais/ and data/ai/scenarios/. None of them will
be displayed to people who aren't tinkering with WML or contributing to AI
development as part of the Wesnoth dev team, and some of the language used in
them is very technical in nature.

This commit leaves the "#textdomain wesnoth-ai" lines in the AI demos, but
drops the .po and .pot catalogues for wesnoth-ai. The few strings that are
seen by regular players move to the wesnoth-lib textdomain.
This commit is contained in:
Steve Cotton 2020-09-15 16:41:10 +02:00 committed by Steve Cotton
parent 1d60c8d6e4
commit a42600ffbe
70 changed files with 7 additions and 162101 deletions

View file

@ -73,9 +73,6 @@
[textdomain]
name="wesnoth-help"
[/textdomain]
[textdomain]
name="wesnoth-ai"
[/textdomain]
[textdomain]
name="wesnoth-units"
[/textdomain]

View file

@ -1,4 +1,4 @@
#textdomain wesnoth-ai
#textdomain wesnoth-lib
#ifndef AI_CA_GOTO
{core/macros/ai_candidate_actions.cfg}

View file

@ -1,4 +1,4 @@
#textdomain wesnoth-ai
#textdomain wesnoth-lib
#ifndef AI_CA_GOTO
{core/macros/ai_candidate_actions.cfg}

View file

@ -1,4 +1,4 @@
#textdomain wesnoth-ai
#textdomain wesnoth-lib
#ifndef AI_CA_GOTO
{core/macros/ai_candidate_actions.cfg}

View file

@ -1,4 +1,4 @@
#textdomain wesnoth-ai
#textdomain wesnoth-lib
[ai]
id=idle_ai
description=_"Multiplayer_AI^Dev AI: Idle AI" # wmllint: no spellcheck

View file

@ -1,4 +1,4 @@
#textdomain wesnoth-ai
#textdomain wesnoth-lib
#ifndef AI_CA_GOTO
{core/macros/ai.cfg}

View file

@ -1,4 +1,4 @@
#textdomain wesnoth-ai
#textdomain wesnoth-lib
#ifndef AI_CA_GOTO
{core/macros/ai.cfg}

View file

@ -1,4 +1,4 @@
#textdomain wesnoth-ai
#textdomain wesnoth-lib
#ifndef AI_CA_GOTO
{core/macros/ai_candidate_actions.cfg}

View file

@ -110,7 +110,6 @@
<translation type="gettext">wesnoth-lib</translation>
<translation type="gettext">wesnoth-editor</translation>
<translation type="gettext">wesnoth-help</translation>
<translation type="gettext">wesnoth-ai</translation>
<translation type="gettext">wesnoth-units</translation>
<translation type="gettext">wesnoth-multiplayer</translation>
<translation type="gettext">wesnoth-anl</translation>

View file

@ -4,7 +4,6 @@ set_directory_properties(PROPERTIES CLEAN_NO_CUSTOM true)
# The normal domains use cpp and cfg files.
set(NORMAL_DOMAINS
wesnoth
wesnoth-ai
wesnoth-anl
wesnoth-did
wesnoth-dm

View file

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

View file

@ -1 +0,0 @@
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

View file

@ -1,41 +0,0 @@
# Makefile variables for PO directory in any package using GNU gettext.
# Usually the message domain is the same as the package name.
DOMAIN = wesnoth-ai
# 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 =

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff