Skip to content

Commit

Permalink
Remove the wesnoth-ai textdoman, move a few strings to wesnoth-lib (w…
Browse files Browse the repository at this point in the history
…esnoth#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.
  • Loading branch information
stevecotton committed Oct 1, 2020
1 parent 1d60c8d commit a42600f
Show file tree
Hide file tree
Showing 70 changed files with 7 additions and 162,101 deletions.
3 changes: 0 additions & 3 deletions data/_main.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -73,9 +73,6 @@
[textdomain]
name="wesnoth-help"
[/textdomain]
[textdomain]
name="wesnoth-ai"
[/textdomain]
[textdomain]
name="wesnoth-units"
[/textdomain]
Expand Down
2 changes: 1 addition & 1 deletion data/ai/ais/ai_default_rca.cfg
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#textdomain wesnoth-ai
#textdomain wesnoth-lib

#ifndef AI_CA_GOTO
{core/macros/ai_candidate_actions.cfg}
Expand Down
2 changes: 1 addition & 1 deletion data/ai/ais/ai_default_rca_1_14.cfg
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#textdomain wesnoth-ai
#textdomain wesnoth-lib

#ifndef AI_CA_GOTO
{core/macros/ai_candidate_actions.cfg}
Expand Down
2 changes: 1 addition & 1 deletion data/ai/ais/ai_experimental.cfg
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#textdomain wesnoth-ai
#textdomain wesnoth-lib

#ifndef AI_CA_GOTO
{core/macros/ai_candidate_actions.cfg}
Expand Down
2 changes: 1 addition & 1 deletion data/ai/ais/idle_ai.cfg
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#textdomain wesnoth-ai
#textdomain wesnoth-lib
[ai]
id=idle_ai
description=_"Multiplayer_AI^Dev AI: Idle AI" # wmllint: no spellcheck
Expand Down
2 changes: 1 addition & 1 deletion data/ai/dev/ai_default_rca_alternate_recruiting.cfg
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#textdomain wesnoth-ai
#textdomain wesnoth-lib

#ifndef AI_CA_GOTO
{core/macros/ai.cfg}
Expand Down
2 changes: 1 addition & 1 deletion data/ai/dev/formula_ai.cfg
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#textdomain wesnoth-ai
#textdomain wesnoth-lib

#ifndef AI_CA_GOTO
{core/macros/ai.cfg}
Expand Down
2 changes: 1 addition & 1 deletion data/ai/dev/formula_ai_poisoning.cfg
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#textdomain wesnoth-ai
#textdomain wesnoth-lib

#ifndef AI_CA_GOTO
{core/macros/ai_candidate_actions.cfg}
Expand Down
1 change: 0 additions & 1 deletion packaging/org.wesnoth.Wesnoth.appdata.xml
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down
1 change: 0 additions & 1 deletion po/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 0 additions & 2 deletions po/wesnoth-ai/FINDCFG

This file was deleted.

1 change: 0 additions & 1 deletion po/wesnoth-ai/LINGUAS

This file was deleted.

41 changes: 0 additions & 41 deletions po/wesnoth-ai/Makevars

This file was deleted.

Loading

0 comments on commit a42600f

Please sign in to comment.