Vectorial1024 / Desynchronized

Information spreads from one to another.
https://steamcommunity.com/sharedfiles/filedetails/?id=1573233249
MIT License
4 stars 4 forks source link

Pending Fix :French translate with {0_gender ...} #19

Closed Mihokyo closed 4 years ago

Vectorial1024 commented 5 years ago

An update. Consider the following mental break XML found in MentalStates_Mood.xml:

<!-- Some parts of the XML are omitted for simplicity -->
  <MentalStateDef Name="Tantrum" ParentName="BaseMentalState">
    <defName>Tantrum</defName>
    <label>tantrum</label>
    <moodRecoveryThought>Catharsis</moodRecoveryThought>
    <recoveryMessage>{0} is no longer having a tantrum.</recoveryMessage>
    <beginLetter>{0} is having a tantrum.\n\n[PAWN_pronoun] will smash up random furniture, items and structures.</beginLetter>
    <beginLetterDef>NegativeEvent</beginLetterDef>
    <baseInspectLine>Mental state: Tantrum</baseInspectLine>
  </MentalStateDef>

It can be easily found, using Dev-mode, that no error is thrown when one such mental break occurs.

Notice that, instead of using { } (curly brackets), the game uses [ ] (square brackets) to denote the pronoun symbol.

Future translations may rely on the use of [ ] to simply translations. Existing translations may also be modified to use [ ] too.

Vectorial1024 commented 4 years ago

Closed: pawn kidnapped thoughts are made obsolete by vanilla pawn lost thoughts introduced in the latest v1.1 update. The vanilla "pawn lost" thoughts will be used instead when handling pawn kidnapped events.