blockly-samples icon indicating copy to clipboard operation
blockly-samples copied to clipboard

Update field colour readme to explain that the developer must load a message file/set a locale

Open rachel-fenichel opened this issue 1 year ago • 2 comments

Check for duplicates

  • [X] I have searched for similar issues before opening a new one.

Component

No response

Problem

No response

Request

Some of the blocks in the field-colour plugin have text on the blocks, which means they rely on message files being loaded. This is done correctly in the playground and tests, but is not noted in the readme. The resulting error is hard to debug without context.

Alternatives considered

No response

Additional context

No response

rachel-fenichel avatar Mar 13 '24 20:03 rachel-fenichel

Might also be helpful to update the error, what does it currently say?

BeksOmega avatar Mar 13 '24 21:03 BeksOmega

If the message files aren't loaded the blocks look like this. It's not different from other cases without messages. image

rachel-fenichel avatar Mar 13 '24 21:03 rachel-fenichel