RimWorldCCLTeam / CommunityCoreLibrary

For full details see the official Ludeon Forums thread.
https://ludeon.com/forums/index.php?topic=16599.0
The Unlicense
60 stars 27 forks source link

Fixed Learn to play translation error. #181

Closed Kelnor277 closed 7 years ago

Kelnor277 commented 7 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));

Kelnor277 commented 7 years ago

Oh, but it breaks other languages. Must be something else going on. Closing PR will check into it.