Skip to content

Commit 9f6bb36

Browse files
authored
Update icons.js
1 parent 5773ca2 commit 9f6bb36

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

static/example-extensions/icons.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ class IconsExample {
1111
getInfo() {
1212
return {
1313
id: 'iconsexample',
14-
name: 'Icons Example',
14+
name: Scratch.translate('Icons Example'),
1515
// highlight-start
1616
menuIconURI: blocksIcon,
1717
blockIconURI: dangoIcon,
@@ -20,7 +20,7 @@ class IconsExample {
2020
{
2121
opcode: 'defaultIcon',
2222
blockType: Scratch.BlockType.REPORTER,
23-
text: 'reporter with default icon [INPUT]',
23+
text: Scratch.translate('reporter with default icon [INPUT]'),
2424
arguments: {
2525
INPUT: {
2626
type: Scratch.ArgumentType.STRING,
@@ -31,7 +31,7 @@ class IconsExample {
3131
{
3232
opcode: 'overriddenIcon',
3333
blockType: Scratch.BlockType.COMMAND,
34-
text: 'command with overridden icon [INPUT]',
34+
text: Scratch.translate('command with overridden icon [INPUT]'),
3535
// highlight-next-line
3636
blockIconURI: colorIcon,
3737
arguments: {

0 commit comments

Comments
 (0)