This is a seemingly easy upgrade. However, the keyword "say" is defined as Blockly.Msg.TEXT_PRINT_TITLE (a string literal) in /msg/messages.js. There isn't a dynamic way to change it, as mentioned here: https://github.com/google/blockly/issues/1895.
I am currently looking into different workarounds. (I think) what we did was to define a completely new block and hide the previous one. It's workable but not the best.
This is a seemingly easy upgrade. However, the keyword "say" is defined as
Blockly.Msg.TEXT_PRINT_TITLE
(a string literal) in/msg/messages.js
. There isn't a dynamic way to change it, as mentioned here: https://github.com/google/blockly/issues/1895.I am currently looking into different workarounds. (I think) what we did was to define a completely new block and hide the previous one. It's workable but not the best.