-
Notifications
You must be signed in to change notification settings - Fork 4k
Open
Description
Expected Behavior
When using a language other than English, the selected item in the sensing of block (e.g. backdrop #) should not revert to English when dragged into the workspace.
Actual Behavior
Thanks to #5392, this does not happen in most cases. However, if you have an invalid combination due to scratchfoundation/scratch-blocks#2144 (e.g. "backdrop# of sprite), the selected item reverts to English when it's dragged to the workspace.
Steps to Reproduce
- Create a new project
- Add a second sprite
- In the blocks palette, set the second argument of sensing of block in the palette to the stage, select 'backdrop#' as the item, and drag out the block, 'backdrop#' stays translated
- In the blocks palette, set the second argument to the other sprite - it doesn't change the first argument. When you drag out the block, backdrop# is reset to English.
- With the other sprite as the second argument, select a sprite attribute like 'x position', then switch the second argument to 'stage'. Drag the block out, and 'x position' will be switched to English.
