About [[Blockly:Code.discard/en]]
Appearance
Fragment of a discussion from Translating talk:Blockly
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))) {