File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed
static/example-extensions Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -2,31 +2,31 @@ class FilterExample {
22 getInfo ( ) {
33 return {
44 id : 'filterexample' ,
5- name : 'Filter Example' ,
5+ name : Scratch . translate ( 'Filter Example' ) ,
66 blocks : [
77 {
88 opcode : 'all' ,
99 blockType : Scratch . BlockType . COMMAND ,
10- text : 'available in ALL targets' ,
10+ text : Scratch . translate ( 'available in ALL targets' ) ,
1111 } ,
1212 {
1313 opcode : 'sprites' ,
1414 blockType : Scratch . BlockType . COMMAND ,
15- text : 'available in ONLY sprites' ,
15+ text : Scratch . translate ( 'available in ONLY sprites' ) ,
1616 // highlight-next-line
1717 filter : [ Scratch . TargetType . SPRITE ]
1818 } ,
1919 {
2020 opcode : 'stage' ,
2121 blockType : Scratch . BlockType . COMMAND ,
22- text : 'available in ONLY the stage' ,
22+ text : Scratch . translate ( 'available in ONLY the stage' ) ,
2323 // highlight-next-line
2424 filter : [ Scratch . TargetType . STAGE ]
2525 } ,
2626 {
2727 opcode : 'none' ,
2828 blockType : Scratch . BlockType . COMMAND ,
29- text : 'available in NEITHER sprites or the stage' ,
29+ text : Scratch . translate ( 'available in NEITHER sprites or the stage' ) ,
3030 // highlight-start
3131 // NOTE: Use hideFromPalette instead of filter: []
3232 filter : [ ]
You can’t perform that action at this time.
0 commit comments