Spaces:
Runtime error
Runtime error
Update src/lib/opcode-labels.js
Browse files- src/lib/opcode-labels.js +8 -1
src/lib/opcode-labels.js
CHANGED
@@ -222,6 +222,11 @@ const messages = defineMessages({
|
|
222 |
description: 'Label for the current second monitor when shown on the stage',
|
223 |
id: 'gui.opcodeLabels.second'
|
224 |
},
|
|
|
|
|
|
|
|
|
|
|
225 |
sensing_timer: {
|
226 |
defaultMessage: 'timer',
|
227 |
description: 'Label for the timer monitor when shown on the stage',
|
@@ -433,6 +438,8 @@ class OpcodeLabels {
|
|
433 |
return this._translator(messages.sensing_current_minute);
|
434 |
case 'second':
|
435 |
return this._translator(messages.sensing_current_second);
|
|
|
|
|
436 |
}
|
437 |
};
|
438 |
this._opcodeMap.sensing_timer.labelFn = () => this._translator(messages.sensing_timer);
|
@@ -464,4 +471,4 @@ class OpcodeLabels {
|
|
464 |
}
|
465 |
}
|
466 |
|
467 |
-
export default new OpcodeLabels();
|
|
|
222 |
description: 'Label for the current second monitor when shown on the stage',
|
223 |
id: 'gui.opcodeLabels.second'
|
224 |
},
|
225 |
+
sensing_current_timestamp: {
|
226 |
+
defaultMessage: 'js timestamp',
|
227 |
+
description: 'Label for the current js timestamp monitor when shown on the stage',
|
228 |
+
id: 'gui.opcodeLabels.timestamp'
|
229 |
+
},
|
230 |
sensing_timer: {
|
231 |
defaultMessage: 'timer',
|
232 |
description: 'Label for the timer monitor when shown on the stage',
|
|
|
438 |
return this._translator(messages.sensing_current_minute);
|
439 |
case 'second':
|
440 |
return this._translator(messages.sensing_current_second);
|
441 |
+
case 'timestamp':
|
442 |
+
return this._translator(messages.sensing_current_timestamp)
|
443 |
}
|
444 |
};
|
445 |
this._opcodeMap.sensing_timer.labelFn = () => this._translator(messages.sensing_timer);
|
|
|
471 |
}
|
472 |
}
|
473 |
|
474 |
+
export default new OpcodeLabels();
|