File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
static/example-extensions Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff 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 : {
You can’t perform that action at this time.
0 commit comments