Fix mismatch between what gettext.w.o and wesnoth consider core textdomains

wesnoth-anl is pretty much an extraction of wesnoth-multiplayer which is core.
This commit is contained in:
Gunter Labes 2024-04-06 16:45:24 +02:00
parent da0ee60864
commit cf52b6bdd0
2 changed files with 2 additions and 2 deletions

View file

@ -193,7 +193,7 @@ if(ENABLE_POT_UPDATE_TARGET)
OUTPUT ${PROJECT_SOURCE_DIR}/po/po_stat.dummy
COMMAND python3 utils/po_stat.py
--update-cfg
--textdomains=wesnoth,wesnoth-editor,wesnoth-help,wesnoth-lib,wesnoth-multiplayer,wesnoth-tutorial,wesnoth-units
--textdomains=wesnoth,wesnoth-editor,wesnoth-help,wesnoth-lib,wesnoth-multiplayer,wesnoth-tutorial,wesnoth-units,wesnoth-anl
WORKING_DIRECTORY ${PROJECT_SOURCE_DIR}
COMMENT "pot-update Updated data/languages/*.cfg files."
# Needs to depend on the subset of .po files matching po_stat.py's --textdomains argument,

View file

@ -119,7 +119,7 @@ if "pot-update" in COMMAND_LINE_TARGETS:
)
env.Command(pot, new_pot, Action(update_pot))
env.Alias("pot-update", "../translations", "python3 utils/po_stat.py --update-cfg --textdomains=wesnoth,wesnoth-editor,wesnoth-help,wesnoth-lib,wesnoth-multiplayer,wesnoth-tutorial,wesnoth-units")
env.Alias("pot-update", "../translations", "python3 utils/po_stat.py --update-cfg --textdomains=wesnoth,wesnoth-editor,wesnoth-help,wesnoth-lib,wesnoth-multiplayer,wesnoth-tutorial,wesnoth-units,wesnoth-anl")
if "update-po" in COMMAND_LINE_TARGETS or "pot-update" in COMMAND_LINE_TARGETS or "update-po4a" in COMMAND_LINE_TARGETS:
for domain in textdomains: