From cf52b6bdd0999be890df6ca54b5118a91b6146b7 Mon Sep 17 00:00:00 2001 From: Gunter Labes Date: Sat, 6 Apr 2024 16:45:24 +0200 Subject: [PATCH] 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. --- po/CMakeLists.txt | 2 +- po/SConscript | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/po/CMakeLists.txt b/po/CMakeLists.txt index fe4d5bf91ec..6c717a3e726 100644 --- a/po/CMakeLists.txt +++ b/po/CMakeLists.txt @@ -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, diff --git a/po/SConscript b/po/SConscript index 81bc3afd7e4..24d24aa4c17 100644 --- a/po/SConscript +++ b/po/SConscript @@ -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: