From 12bbb5b6f9770674281b2d45a0f3b698cff21b4c Mon Sep 17 00:00:00 2001 From: Marisa Kirisame Date: Sun, 10 Nov 2019 18:03:47 +0100 Subject: [PATCH] Localize level/author strings on intermission startup, fixes misalignments. --- wadsrc/static/zscript/ui/statscreen/statscreen.zs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/wadsrc/static/zscript/ui/statscreen/statscreen.zs b/wadsrc/static/zscript/ui/statscreen/statscreen.zs index 1339cad728..31b69e19a2 100644 --- a/wadsrc/static/zscript/ui/statscreen/statscreen.zs +++ b/wadsrc/static/zscript/ui/statscreen/statscreen.zs @@ -862,10 +862,10 @@ class StatusScreen abstract play version("2.5") enteringPatch = TexMan.CheckForTexture("WIENTER", TexMan.Type_MiscPatch); // "entering" finishedPatch = TexMan.CheckForTexture("WIF", TexMan.Type_MiscPatch); // "finished" - lnametexts[0] = wbstartstruct.thisname; - lnametexts[1] = wbstartstruct.nextname; - authortexts[0] = wbstartstruct.thisauthor; - authortexts[1] = wbstartstruct.nextauthor; + lnametexts[0] = StringTable.Localize(wbstartstruct.thisname); + lnametexts[1] = StringTable.Localize(wbstartstruct.nextname); + authortexts[0] = StringTable.Localize(wbstartstruct.thisauthor); + authortexts[1] = StringTable.Localize(wbstartstruct.nextauthor); bg = InterBackground.Create(wbs); noautostartmap = bg.LoadBackground(false);