Skip to content

Commit 983a501

Browse files
authored
Update compatibility.md
1 parent 522b8f7 commit 983a501

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/development/extensions/compatibility.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ Instead, create a new block and mark the old one as `hideFromPalette: true`. The
105105
{
106106
blockType: Scratch.BlockType.REPORTER,
107107
id: "oldBlock",
108-
text: "old [INPUT1]",
108+
text: Scratch.translate("old [INPUT1]"),
109109
arguments: {
110110
INPUT1: { /* ... */ }
111111
},
@@ -114,7 +114,7 @@ Instead, create a new block and mark the old one as `hideFromPalette: true`. The
114114
{
115115
blockType: Scratch.BlockType.REPORTER,
116116
opcode: "newBlock",
117-
text: "new [INPUT1] [INPUT2]",
117+
text: Scratch.translate("new [INPUT1] [INPUT2]"),
118118
arguments: {
119119
INPUT1: { /* ... */ },
120120
INPUT2: { /* ... */ }

0 commit comments

Comments
 (0)