Solved [Localization] Forced lowercase variables

Royami

Tiller
In Data\ExtraDialogue.xml:

<Item>
<Key>Robin_Instant</Key>
<Value>This {0} is pre-fabricated, so there's no construction time! Convenient, isn't it?$h</Value>
<Description>{0} is the name of the constructed building. It can safely be omitted if needed to avoid grammar issues, since the player will know what they just built.</Description>
</Item>

This {0} is always lowercase, in some languages the sentence can start with {0}, so there should be an option to use normal case variable, {1} for example.

1.6.15 build 24331
 
Last edited:

Pathoschild

Developer
Done in the upcoming Stardew Valley 1.6.15 build 24334:
  • The constructed-started dialogues (Robin_NewConstruction[_Festival] and [Robin_UpgradeConstruction[_Festival]) now have four tokens:
    {0} - full name of the building, lowercase (e.g. deluxe coop).
    {1} - general name of the building type, lowercase (e.g. coop).
    {2} - full name of the building (e.g. Deluxe Coop).
    {3} - general name of the building type (e.g. Coop).
  • The Robin_Instant dialogue now has two tokens:
    {0} - full name of the building, lowercase (e.g. deluxe coop).
    {1} = full name of the building (e.g. Deluxe Coop).
Thanks for the suggestion!
 
Top