From 726e1d4ec52ef49e6f54f63b074f18b98a0bc904 Mon Sep 17 00:00:00 2001 From: johnjohto Date: Mon, 27 Jul 2026 20:46:06 -0400 Subject: [PATCH] Route the Oak speech fallback texts through Strings.source The intro API upgrade left six player-visible literals in OakSpeech's FALLBACKS table outside the Strings routing, so the strings-coverage gate failed on dev. Mark them with Strings.source, the catalog idiom for declaration-site literals, and the gate is green again. --- src/ui/OakSpeech.lua | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/src/ui/OakSpeech.lua b/src/ui/OakSpeech.lua index 2dcbfd83..0cca2dfd 100644 --- a/src/ui/OakSpeech.lua +++ b/src/ui/OakSpeech.lua @@ -40,12 +40,12 @@ function OakSpeech:sgbPalettes(game) end local FALLBACKS = { - _OakSpeechText1 = "Hello there!\nWelcome to the\vworld of POKéMON!\fMy name is OAK!\nPeople call me\vthe POKéMON PROF!", - _OakSpeechText2A = "This world is\ninhabited by\vcreatures called\vPOKéMON!", - _OakSpeechText2B = "\fFor some people,\nPOKéMON are\vpets. Others use\vthem for fights.\fMyself...\fI study POKéMON\nas a profession.", - _OakSpeechText3 = "{PLAYER}!\fYour very own\nPOKéMON legend is\vabout to unfold!\fA world of dreams\nand adventures\vwith POKéMON\vawaits! Let's go!", - _IntroducePlayerText = "First, what is\nyour name?", - _IntroduceRivalText = "This is my grand-\nson. He's been\vyour rival since\vyou were a baby.\f...Erm, what is\nhis name again?", + _OakSpeechText1 = Strings.source("Hello there!\nWelcome to the\vworld of POKéMON!\fMy name is OAK!\nPeople call me\vthe POKéMON PROF!"), + _OakSpeechText2A = Strings.source("This world is\ninhabited by\vcreatures called\vPOKéMON!"), + _OakSpeechText2B = Strings.source("\fFor some people,\nPOKéMON are\vpets. Others use\vthem for fights.\fMyself...\fI study POKéMON\nas a profession."), + _OakSpeechText3 = Strings.source("{PLAYER}!\fYour very own\nPOKéMON legend is\vabout to unfold!\fA world of dreams\nand adventures\vwith POKéMON\vawaits! Let's go!"), + _IntroducePlayerText = Strings.source("First, what is\nyour name?"), + _IntroduceRivalText = Strings.source("This is my grand-\nson. He's been\vyour rival since\vyou were a baby.\f...Erm, what is\nhis name again?"), } local function textOr(game, key)