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.
54 lines
748 B
JSON
54 lines
748 B
JSON
{
|
|
"kind": "windroost_enemy_name_test",
|
|
"overall": "PASS",
|
|
"problems": [],
|
|
"schema": 1,
|
|
"steps": [
|
|
{
|
|
"plates": [
|
|
"空盗斥候",
|
|
"空盗斥候",
|
|
"草原狼"
|
|
],
|
|
"step": "zh_CN:R1-C01-N02"
|
|
},
|
|
{
|
|
"plates": [
|
|
"岩石傀儡"
|
|
],
|
|
"step": "zh_CN:R1-C01-N06"
|
|
},
|
|
{
|
|
"plates": [
|
|
"风暴精灵",
|
|
"虚空信徒"
|
|
],
|
|
"step": "zh_CN:R1-C01-N09"
|
|
},
|
|
{
|
|
"plates": [
|
|
"Bandit Scout",
|
|
"Bandit Scout",
|
|
"Grassland Wolf"
|
|
],
|
|
"step": "en_US:R1-C01-N02"
|
|
},
|
|
{
|
|
"plates": [
|
|
"Stone Golem"
|
|
],
|
|
"step": "en_US:R1-C01-N06"
|
|
},
|
|
{
|
|
"plates": [
|
|
"Storm Sprite",
|
|
"Void Cultist"
|
|
],
|
|
"step": "en_US:R1-C01-N09"
|
|
},
|
|
{
|
|
"inspected": 12,
|
|
"step": "summary"
|
|
}
|
|
]
|
|
} |