Route the last hardcoded UI labels through the Strings catalog

Wrap the battle stat box, the PC quantity footer and the dex metric
labels in Strings() (SummaryMenu -- and MoveEffects since #811 --
already do this); give the battle menu a 'battle' lookup context so a
translation can shorten FIGHT/ITEM/RUN independently of the pause menu;
align the metric dex rows with the imperial ones and make the No.
prefix translatable; make the title menu's recolor zone follow Menu's
auto-grown width; honor the declared-but-unread boot.title seam,
drawing an explicit versionRibbon as one centered piece. With an empty
catalog every path is pixel-identical to vanilla.
This commit is contained in:
Juan Heredia
2026-08-07 13:27:59 +02:00
parent 112120e8fe
commit 5bc7d203a5
4 changed files with 45 additions and 17 deletions
+1 -1
View File
@@ -44,7 +44,7 @@ local function askQuantity(game, list, count, id, cb)
cb(1)
return
end
list.footer = "How many?"
list.footer = Strings("How many?")
local QuantityBox = require("src.ui.QuantityBox")
game.stack:push(QuantityBox.new(game, {
max = count,