wc: Fix strings wrongly assumed to exist in the wesnoth textdomain

This does not fix #5114 or #5526, but it does fix #5311.
This commit is contained in:
Iris Morelle 2021-03-12 19:56:43 -03:00
parent 3d7842c43e
commit e954c7e389
3 changed files with 27 additions and 23 deletions

View File

@ -4,7 +4,7 @@
---- And the wml events to initilize the enemy sides ----
---------------------------------------------------------
_ = wesnoth.textdomain "wesnoth"
_ = wesnoth.textdomain "wesnoth-wc"
helper = wesnoth.require("helper")
local function table_join(t1, t2)

View File

@ -1,4 +1,25 @@
#textdomain wesnoth-wc
# FIXME: Need to stop building complex strings from translatable fragments with the WML preprocessor
#define STR_AND
_ " and " #enddef
#define STR_DAMAGE
_ "damage" #enddef
#define STR_RESISTANCE
_ " resistance vs " #enddef
#define STR_MOVES
_ "moves" #enddef
#define STR_STRIKE
_ "strike" #enddef
#define STR_EXPERIENCE
_ "XP to advance" #enddef
#define WORLD_CONQUEST_TEK_ARTIFACT_DEFINITIONS
## in alphabetic order by name
## uses some macros from training

View File

@ -143,9 +143,6 @@ _ "Village" #enddef
#textdomain wesnoth
#################################
#define STR_AND
_ " and " #enddef
#define STR_ARCANE
_ "arcane" #enddef
@ -158,21 +155,12 @@ _ "chaotic" #enddef
#define STR_COLD
_ "cold" #enddef
#define STR_DAMAGE
_ "damage" #enddef
#define STR_EASY
_ "Easy" #enddef
#define STR_EXPERIENCE
_ "XP to advance" #enddef
#define STR_FIRE
_ "fire" #enddef
#define STR_GOLD
_"gold" #enddef
#define STR_HARD
_ "Hard" #enddef
@ -188,26 +176,21 @@ _ "lawful" #enddef
#define STR_MELEE
_ "melee" #enddef
#define STR_MOVES
_ "moves" #enddef
#define STR_NIGHTMARE
_ "Nightmare" #enddef
#define STR_PIERCE
_ "pierce" #enddef
#define STR_RANDOM
_ "gender^Random" #enddef
#define STR_RANGED
_ "ranged" #enddef
#define STR_RESISTANCE
_ " resistance vs " #enddef
#################################
#textdomain wesnoth-lib
#################################
#define STR_STRIKE
_ "strike" #enddef
#define STR_RANDOM
_ "gender^Random" #enddef
#################################
#textdomain wesnoth-units