Ludeon Forums

RimWorld => Mods => Translations => Topic started by: Elevator on October 10, 2018, 06:36:14 AM

Title: "gender ?" operator in ThoughtDef
Post by: Elevator on October 10, 2018, 06:36:14 AM
It would be great if conditional formatting worked with ThoughtDef objects. In this case translators can write like that:
<DivorcedMe.stages.divorced_me.label>{0_gender ? развёлся : развелась} со мной</DivorcedMe.stages.divorced_me.label>
instead of:
<DivorcedMe.stages.divorced_me.label>развелся(ась) со мной</DivorcedMe.stages.divorced_me.label>
This will provide cleaner thought messages and help to improve translations to different languages.
Title: Re: "gender ?" operator in ThoughtDef
Post by: ison on December 06, 2018, 08:58:43 AM
Moved to mantis: https://ludeon.com/mantis/view.php?id=3630