[206][Modding] YesNoToolbar* tags requires DisplayName to be localized
Reported
The <YesNoToolbarBackground> requires the block to have <DisplayName> be localized, seems like a very arbitrary restriction.
I've attached a local mod for a custom block.
Place the block (find it by searching for "test"), enter it and click "setup actions" to see:
Then edit the .sbc file to change the <DisplayName> to the value from the comment next to it (the one with gyro). Repeat the ingame thing with setup actions to now see:
For the programmers: MyToolbar.Init() checks and passes BlockDefinition.DisplayNameEnum.
It should instead be using DisplayNameText so that it prints the block name regardless of how it's composed (localized, formatted or raw text).
Files:
TestCockpitForY...
Hello Digi,
Thank you for reaching our forum with this.
We have reproduced this issue on our side and put it into our internal system.
Kind Regards,
Keen Software House: QA Department
Hello Digi,
Thank you for reaching our forum with this.
We have reproduced this issue on our side and put it into our internal system.
Kind Regards,
Keen Software House: QA Department
Replies have been locked on this page!