mirror of
https://github.com/scratchfoundation/scratch-vm.git
synced 2025-01-13 02:31:34 -05:00
Merge pull request #1937 from ericrosenbaum/bugfix/makey-localization
Localize Makey Makey extension blocks
This commit is contained in:
commit
3bdbe689f9
1 changed files with 10 additions and 2 deletions
|
@ -175,7 +175,11 @@ class Scratch3MakeyMakeyBlocks {
|
|||
blocks: [
|
||||
{
|
||||
opcode: 'whenMakeyKeyPressed',
|
||||
text: 'when [KEY] key pressed',
|
||||
text: formatMessage({
|
||||
id: 'makeymakey.whenKeyPressed',
|
||||
default: 'when [KEY] key pressed',
|
||||
description: 'when a keyboard key is pressed'
|
||||
}),
|
||||
blockType: BlockType.HAT,
|
||||
arguments: {
|
||||
KEY: {
|
||||
|
@ -187,7 +191,11 @@ class Scratch3MakeyMakeyBlocks {
|
|||
},
|
||||
{
|
||||
opcode: 'whenCodePressed',
|
||||
text: 'when [SEQUENCE] pressed in order',
|
||||
text: formatMessage({
|
||||
id: 'makeymakey.whenKeysPressedInOrder',
|
||||
default: 'when [SEQUENCE] pressed in order',
|
||||
description: 'when a sequence of keyboard keys is pressed in a specific order'
|
||||
}),
|
||||
blockType: BlockType.HAT,
|
||||
arguments: {
|
||||
SEQUENCE: {
|
||||
|
|
Loading…
Reference in a new issue