[206][Modding] YesNoToolbar* tags requires DisplayName to be localized

Digi shared this bug 42 days ago
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:

eG44Dar


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:

qs5boQp


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).

Replies (1)

photo
2

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

Leave a Comment
 
Attach a file