File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
static/example-extensions Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -4,13 +4,13 @@ class TimerReimplementationExample {
44 getInfo ( ) {
55 return {
66 id : 'timerreimplementationexample' ,
7- name : 'Timer Example' ,
7+ name : Scratch . translate ( 'Timer Example' ) ,
88 blocks : [
99 // highlight-start
1010 {
1111 opcode : 'whenTimerGreaterThan' ,
1212 blockType : Scratch . BlockType . HAT ,
13- text : 'when timer > [TIME]' ,
13+ text : Scratch . translate ( 'when timer > [TIME]' ) ,
1414 isEdgeActivated : true ,
1515 arguments : {
1616 TIME : {
@@ -23,12 +23,12 @@ class TimerReimplementationExample {
2323 {
2424 opcode : 'timer' ,
2525 blockType : Scratch . BlockType . REPORTER ,
26- text : 'timer'
26+ text : Scratch . translate ( 'timer' )
2727 } ,
2828 {
2929 opcode : 'resetTimer' ,
3030 blockType : Scratch . BlockType . COMMAND ,
31- text : 'reset timer'
31+ text : Scratch . translate ( 'reset timer' )
3232 }
3333 ]
3434 } ;
You can’t perform that action at this time.
0 commit comments