About [[Blockly:Code.discard/en]]
Appearance
PLURAL support needed.
- Code.discard (“
Delete all %1 blocks?
”)
It should first be confirmed that %1 refers to the number of blocks to be deleted (and not to some other adjective such as a colour or other category) and this should be documented.
Thanks. %1 is the number of blocks to be deleted, and seems to be 2 or more...
var count = Blockly.mainWorkspace.getAllBlocks().length; if (count < 2 || window.confirm(BlocklyApps.getMsg('discard').replace('%1', count))) {