Scratch-blocks: Delete confirmation shown when deleting singular blocks (incorrect grammar)

Created on 13 Jun 2018  路  2Comments  路  Source: LLK/scratch-blocks

Expected Behavior

Confirmation prompt when clearing a workspace should never show "Delete all 1 blocks". Either never show a confirmation if the workspace only has one block (Blockly style), or use the DELETE_BLOCK message template ("Delete Block").

Actual Behavior

screen shot 2018-06-12 at 2 43 35 pm

Steps to Reproduce

  1. Add a block to an empty workspace.
  2. From the context menu, select "Delete Block" (incorrect capitalization?).

Operating System and Browser

Any.

bug help wanted

Most helpful comment

We should fix this for English, but it's not really going to help the person who filed the blockly issue. They're translating to Scottish Gaelic, which has 4 plural forms (one, two, few, other) instead of 2 like English (and the 'one' form applies to 1 and 11 to complicate things further). So for them, 'Delete all 3 blocks' should be translated differently from 'Delete all 20 blocks'

All 2 comments

We should fix this for English, but it's not really going to help the person who filed the blockly issue. They're translating to Scottish Gaelic, which has 4 plural forms (one, two, few, other) instead of 2 like English (and the 'one' form applies to 1 and 11 to complicate things further). So for them, 'Delete all 3 blocks' should be translated differently from 'Delete all 20 blocks'

Was this page helpful?
0 / 5 - 0 ratings

Related issues

bfunc picture bfunc  路  5Comments

brianpoor5775 picture brianpoor5775  路  4Comments

towerofnix picture towerofnix  路  4Comments

rachel-fenichel picture rachel-fenichel  路  4Comments

thisandagain picture thisandagain  路  6Comments