Files
windroost/data
wushenghua 08feec50db fix: enemy name plates show raw keys and wrong language
Found while inspecting the victory capture at reduced size: focal enemy name
plates displayed raw keys like [content.enemy.E-R1-F2-V1]. Two real bugs:

1. Only 3 of the 9 battle enemies had UI text keys; UiText.t returns "[key]"
   on a miss. Added the 5 missing names (zh_CN + en_US) sourced from the
   authoritative mvp_launch_content.json (Bandit Scout, Stone Golem, Goblin
   Bomber, Storm Sprite, Void Cultist). Added a HUD guard so any future miss
   falls back to the bare content id instead of a bracketed raw key.

2. GameRoot._start_active_wave hardcoded _battle.setup("zh_CN", ...); setup()
   uses that to reset the HUD locale, so English players saw Chinese enemy
   names in battle. Pass the shell locale instead.

enemy_name_test.gd (12 plates across 3 nodes x 2 locales) asserts no raw keys,
no empty names, and ASCII names under en_US. Registered as full-gate step
"enemy name plates". Added 360/430 victory captures for viewport coverage of
the new ribbon (visual check clean). Full gate P2_CHECKS_PASS, bundle sync PASS.
prototype/ stays untracked and untouched.
2026-11-18 01:19:12 +08:00
..