Skip to content

Commit 7c8f74a

Browse files
Add strings files
1 parent 380b1d4 commit 7c8f74a

File tree

2 files changed

+20
-0
lines changed

2 files changed

+20
-0
lines changed
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
{
2+
"mlrunner.customOnEvent": "Register a TypeScript function to run when an event is raised.\n* This custom version of the MakeCode onEvent function is needed due to:\nhttps://github.com/microsoft/pxt-microbit/issues/5709\n*",
3+
"mlrunner.customOnEvent|param|flags": "The specified event flags are ignored and configured via pxt.json.",
4+
"mlrunner.customOnEvent|param|handler": "The function to call when the event is detected.",
5+
"mlrunner.customOnEvent|param|src": "The ID of the component to listen to.",
6+
"mlrunner.customOnEvent|param|value": "The event value to listen to from that component."
7+
}
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
{
2+
"ml.event.Unknown|block": "unknown",
3+
"ml.getCertainty|block": "certainty (\\%) ML $event",
4+
"ml.isDetected|block": "is ML $event detected",
5+
"ml.onStart|block": "on ML $event start",
6+
"ml.onStopDetailed|block": "on ML $event stop $duration (ms)",
7+
"ml.onStop|block": "on ML $event stop",
8+
"mlrunner|block": "mlrunner",
9+
"{id:category}Ml": "Ml",
10+
"{id:category}MlEvent": "MlEvent",
11+
"{id:category}Mlrunner": "Mlrunner",
12+
"{id:group}micro:bit (V2)": "micro:bit (V2)"
13+
}

0 commit comments

Comments
 (0)