From f6ae96779666baaa257a89067d90dc3d31dd78d8 Mon Sep 17 00:00:00 2001 From: Cyberboy Date: Thu, 30 Jul 2026 15:37:10 +0200 Subject: [PATCH] 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). --- src/ui/SummaryMenu.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ui/SummaryMenu.lua b/src/ui/SummaryMenu.lua index 10262f61..e9daecd7 100644 --- a/src/ui/SummaryMenu.lua +++ b/src/ui/SummaryMenu.lua @@ -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