Skip to content

Commit 05989b4

Browse files
authored
Update hello-world.js
1 parent 0506dec commit 05989b4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

static/example-extensions/hello-world.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,12 @@ class HelloWorld {
22
getInfo() {
33
return {
44
id: 'helloworld',
5-
name: 'It works!',
5+
name: Scratch.translate('It works!'),
66
blocks: [
77
{
88
opcode: 'hello',
99
blockType: Scratch.BlockType.REPORTER,
10-
text: 'Hello!'
10+
text: Scratch.translate('Hello!')
1111
}
1212
]
1313
};

0 commit comments

Comments
 (0)