The WML files have inconsistent textdomain declarations. Most of the maps are "wesnoth-SXC", some files are "wesnoth-sxc", and some files don't declare a textdomain at all.
For the melee-or-ranged i18n in v0.2.123, I noticed that strings in the "wesnoth" text domain were available in WML, and assumed this was a feature. It's not, it's simply that SXCmacros.cfg doesn't declare a textdomain; when that is fixed, the _ ("melee") and _ ("ranged") declarations will break.
The WML files have inconsistent textdomain declarations. Most of the maps are "wesnoth-SXC", some files are "wesnoth-sxc", and some files don't declare a textdomain at all.
For the melee-or-ranged i18n in v0.2.123, I noticed that strings in the "wesnoth" text domain were available in WML, and assumed this was a feature. It's not, it's simply that SXCmacros.cfg doesn't declare a textdomain; when that is fixed, the
_ ("melee")
and_ ("ranged")
declarations will break.