Closed Kelnor277 closed 8 years ago
The text showed garbled with no spaces in my game.
It looks like A15 uses "Tutorial" as the translate key, not "LearnToPlay" Changed LabelKey in the learn to play menu entry's def file to "Tutorial."
From the decompiled code. string label = "Tutorial".CanTranslate() ? "Tutorial".Translate() : "LearnToPlay".Translate(); optList.Add(new ListableOption(label, (Action) (() => MainMenuDrawer.InitLearnToPlay()), (string) null)); optList.Add(new ListableOption("NewColony".Translate(), (Action) (() => Find.WindowStack.Add((Window) new Page_SelectScenario())), (string) null));
Oh, but it breaks other languages. Must be something else going on. Closing PR will check into it.
The text showed garbled with no spaces in my game.
It looks like A15 uses "Tutorial" as the translate key, not "LearnToPlay" Changed LabelKey in the learn to play menu entry's def file to "Tutorial."
From the decompiled code. string label = "Tutorial".CanTranslate() ? "Tutorial".Translate() : "LearnToPlay".Translate(); optList.Add(new ListableOption(label, (Action) (() => MainMenuDrawer.InitLearnToPlay()), (string) null)); optList.Add(new ListableOption("NewColony".Translate(), (Action) (() => Find.WindowStack.Add((Window) new Page_SelectScenario())), (string) null));