About [[Blockly:Code.discard/en]]

Jump to navigation Jump to search

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))) {
Shirayuki (talk)15:22, 14 August 2013

That it's 2 or more does not negate the need for PLURAL support. There are languages (the Slavic family comes to mind) with singular, dual and plural forms, where plural is 3 or more.

McDutchie (talk)15:59, 14 August 2013

This message is no longer supported, so close this?

Liuxinyu970226 (talk)09:17, 9 August 2015