-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Tweaks to jsdoc strings for translation to help pxt gendocs tool pick up all strings - Add MakeCode strings files - Add "unknown" to translatable strings for sim extension
- Loading branch information
1 parent
6989765
commit 62ab8f9
Showing
7 changed files
with
40 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
{ | ||
"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*", | ||
"mlrunner.customOnEvent|param|flags": "The specified event flags are ignored and configured via pxt.json.", | ||
"mlrunner.customOnEvent|param|handler": "The function to call when the event is detected.", | ||
"mlrunner.customOnEvent|param|src": "The ID of the component to listen to.", | ||
"mlrunner.customOnEvent|param|value": "The event value to listen to from that component." | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
{ | ||
"ml.event.Unknown|block": "unknown", | ||
"ml.getCertainty|block": "certainty (\\%) ML $event", | ||
"ml.isDetected|block": "is ML $event detected", | ||
"ml.onStart|block": "on ML $event start", | ||
"ml.onStopDetailed|block": "on ML $event stop $duration (ms)", | ||
"ml.onStop|block": "on ML $event stop", | ||
"mlrunner|block": "mlrunner", | ||
"{id:category}Ml": "Ml", | ||
"{id:category}MlEvent": "MlEvent", | ||
"{id:category}Mlrunner": "Mlrunner", | ||
"{id:group}micro:bit (V2)": "micro:bit (V2)" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,5 +4,11 @@ | |
"type": 0, | ||
"value": "ML event:" | ||
} | ||
], | ||
"unknown-event-label": [ | ||
{ | ||
"type": 0, | ||
"value": "unknown" | ||
} | ||
] | ||
} |