i18n: route SummaryMenu stat labels through Strings()

The ATTACK/DEFENSE/SPEED/SPECIAL labels on the status screen were drawn
literally; wrap them like the other UI so a language mod can translate them.
Behavior-neutral for the base game (Strings identity without a catalog).
This commit is contained in:
Cyberboy
2026-07-30 15:37:10 +02:00
parent 350402b179
commit f6ae967796
+1 -1
View File
@@ -146,7 +146,7 @@ function SummaryMenu:draw()
}
for i, s in ipairs(stats) do
local y = 72 + (i - 1) * 16
Font.draw(s[1], 8, y)
Font.draw(Strings(s[1]), 8, y)
Font.draw(("%3d"):format(s[2]), 48, y + 8)
end