Skip to content

Commit b52449e

Browse files
authored
Update timer-reimplementation.js
1 parent 983a501 commit b52449e

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

static/example-extensions/timer-reimplementation.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff 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
};

0 commit comments

Comments
 (0)