pxt-microbit 8.1.3 → 8.1.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/built/block-tests.js +1 -1
- package/built/hexcache/{dd21306098cc556ce45b1eeacf4fa5026dfce43fc16fe5adecf18d03820a1c6c.hex → 1fef376fd80fe5abf80aaeecd226ab5254a9527b79aaa9d61820abd68f4cf4dc.hex} +9718 -9716
- package/built/hexcache/{22204ac874977e7f341ae512133a0fd9812fb83074c8b43203d5dbd31e302f6f.hex → e4cf606e7e47f9b0ff3c84c06447619f9b09b575e519961b19290e8fd72e4c29.hex} +9008 -9006
- package/built/target.js +1 -1
- package/built/target.json +1 -1
- package/built/targetlight.js +1 -1
- package/built/targetlight.json +1 -1
- package/built/web/rtlsemantic.css +1 -1
- package/built/web/semantic.css +1 -1
- package/docs/extensions/extension-gallery.md +8 -0
- package/docs/translate.md +30 -30
- package/package.json +3 -3
- package/pxtarget.json +1 -1
- package/targetconfig.json +2 -0
|
@@ -561,6 +561,14 @@ Many extensions are available to work with interface kits, add-on hardware, or o
|
|
|
561
561
|
|
|
562
562
|
```codecard
|
|
563
563
|
[{
|
|
564
|
+
"name": "Siyeenove Pybit",
|
|
565
|
+
"url":"/pkg/siyeenove/pxt_pybit",
|
|
566
|
+
"cardType": "package"
|
|
567
|
+
}, {
|
|
568
|
+
"name": "Siyeenove mShield",
|
|
569
|
+
"url":"/pkg/siyeenove/pxt_mshield",
|
|
570
|
+
"cardType": "package"
|
|
571
|
+
}, {
|
|
564
572
|
"name": "BrailleBot",
|
|
565
573
|
"url":"/pkg/roborisen/braillebot",
|
|
566
574
|
"cardType": "package"
|
package/docs/translate.md
CHANGED
|
@@ -18,7 +18,7 @@ When you select your language from the [MakeCode](https://crowdin.com/project/ma
|
|
|
18
18
|
|
|
19
19
|
Localization files are present in two different forms, JSON and markdown. The JSON files (those you see with the **.json** ending in their names) contain localizable strings related to both the editor UI and the text shown on the programming code blocks. All of the markdown files (those with **.md** at the end of their names) are documents for reference, projects, tutorials, help information, etc.
|
|
20
20
|
|
|
21
|
-
The files listed in the following sections provide a guide to how each of the translation files and folders relate to the **MakeCode for @boardname@** editor.
|
|
21
|
+
The files listed in the following sections provide a guide to how each of the translation files and folders relate to the **MakeCode for @boardname@** editor.
|
|
22
22
|
|
|
23
23
|
### Editor
|
|
24
24
|
|
|
@@ -26,9 +26,9 @@ There a a few files that are specific to the MakeCode editor itself. These conta
|
|
|
26
26
|
|
|
27
27
|
| File | Description |
|
|
28
28
|
| - | - |
|
|
29
|
-
|
|
|
30
|
-
|
|
|
31
|
-
|
|
|
29
|
+
| strings.json | Common strings that shared by all MakeCode editors. **Note**: This file is located at the MakeCode project's root folder rather than under **microbit** |
|
|
30
|
+
| target-strings.json | Strings custom to the @boardname@ editor interface |
|
|
31
|
+
| sim-strings.json | Strings for the @boardname@ simulator |
|
|
32
32
|
<br/>
|
|
33
33
|
|
|
34
34
|
This is an example of the editor with it's interface elements localized:
|
|
@@ -41,30 +41,30 @@ The strings for the programming code blocks all have names in the form of '_name
|
|
|
41
41
|
|
|
42
42
|
| File | Description |
|
|
43
43
|
| - | - |
|
|
44
|
-
|
|
|
45
|
-
|
|
|
46
|
-
|
|
|
47
|
-
|
|
|
48
|
-
|
|
|
49
|
-
|
|
|
50
|
-
|
|
|
51
|
-
|
|
|
52
|
-
|
|
|
53
|
-
|
|
|
54
|
-
|
|
|
55
|
-
|
|
|
56
|
-
|
|
|
57
|
-
|
|
|
58
|
-
|
|
|
59
|
-
|
|
|
60
|
-
|
|
|
61
|
-
|
|
|
62
|
-
|
|
|
63
|
-
|
|
|
64
|
-
|
|
|
65
|
-
|
|
|
66
|
-
|
|
|
67
|
-
|
|
|
44
|
+
| core-jsdoc-strings.json | Description text for code elements of the [basic](/reference/basic) and core [blocks](/blocks). **Note**: this file contains strings for the fundamental set of coding blocks and should be prioritized over the other strings files for blocks |
|
|
45
|
+
| core-strings.json | Display text for the [basic](/reference/basic) and core [blocks](/reference/blocks). **Note**: this file contains strings for the fundamental set of coding blocks and should be prioritized over the other strings files for blocks |
|
|
46
|
+
| radio-jsdoc-strings.json | Description text for code elements of the [radio](/reference/radio) blocks |
|
|
47
|
+
| radio-strings.json | Display text for the [radio](/reference/radio) blocks |
|
|
48
|
+
| radio-broadcast-jsdoc-strings.json | Description text for code elements of the radio broadcast blocks |
|
|
49
|
+
| radio-broadcast-strings.json | Display text for the radio broadcast blocks |
|
|
50
|
+
| servo-jsdoc-strings.json | Description text for code elements of the [servo](/reference/servos) blocks |
|
|
51
|
+
| servo-strings.json | Display text for the [servo](/reference/servos) blocks |
|
|
52
|
+
| bluetooth-jsdoc-strings.json | Description text for code elements of the [bluetooth](/reference/bluetooth) blocks
|
|
53
|
+
| bluetooth-strings.json | Display text for the [bluetooth](/reference/bluetooth) blocks |
|
|
54
|
+
| devices-jsdoc-strings.json | Description text for code elements of the _connected devices_ blocks |
|
|
55
|
+
| devices-strings.json | Display text for the _connected devices_ blocks |
|
|
56
|
+
| flashlog-jsdoc-strings.json | Description text for code elements of the _flashlog_ blocks |
|
|
57
|
+
| flashlog-strings.json | Display text for the _flashlog_ blocks |
|
|
58
|
+
| datalogger-jsdoc-strings.json | Description text for code elements of the [datalogger](/reference/datalogger) blocks |
|
|
59
|
+
| datalogger-strings.json | Display text for the [datalogger](/reference/datalogger) blocks |
|
|
60
|
+
| jacdac-jsdoc-strings.json | Description text for code elements of the _jacdac_ blocks
|
|
61
|
+
| jacdac-strings.json | Display text for the _jacdac_ blocks |
|
|
62
|
+
| color-jsdoc-strings.json | Description text for code elements of the _color_ blocks
|
|
63
|
+
| color-strings.json | Display text for the _color_ blocks |
|
|
64
|
+
| microphone-jsdoc-strings.json | Description text for code elements of the _microphone_ blocks
|
|
65
|
+
| microphone-strings.json | Display text for the _microphone_ blocks |
|
|
66
|
+
| settings-jsdoc-strings.json | Description text for code elements of the _settings_ blocks
|
|
67
|
+
| settings-strings.json | Display text for the _settings_ blocks |
|
|
68
68
|
<br/>
|
|
69
69
|
|
|
70
70
|
Here are some examples of translated blocks:
|
|
@@ -77,8 +77,8 @@ Document pages contain the text for any markdown page available on the MakeCode
|
|
|
77
77
|
|
|
78
78
|
| File | Description |
|
|
79
79
|
| - | - |
|
|
80
|
-
|
|
|
81
|
-
|
|
|
80
|
+
| docs | Documentation pages for projects, courses, lessons, and code block reference |
|
|
81
|
+
| libs | Documentation pages for code block reference and other information related to built-in extensions like _servo_ and _datalogger_ |
|
|
82
82
|
<br/>
|
|
83
83
|
|
|
84
84
|
Here's an example of a translated document page for a course lesson:
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "pxt-microbit",
|
|
3
|
-
"version": "8.1.
|
|
3
|
+
"version": "8.1.4",
|
|
4
4
|
"description": "micro:bit target for Microsoft MakeCode (PXT)",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"JavaScript",
|
|
@@ -45,8 +45,8 @@
|
|
|
45
45
|
"typescript": "4.8.3"
|
|
46
46
|
},
|
|
47
47
|
"dependencies": {
|
|
48
|
-
"pxt-common-packages": "13.
|
|
49
|
-
"pxt-core": "12.
|
|
48
|
+
"pxt-common-packages": "13.1.2",
|
|
49
|
+
"pxt-core": "12.2.4"
|
|
50
50
|
},
|
|
51
51
|
"overrides": {}
|
|
52
52
|
}
|
package/pxtarget.json
CHANGED
package/targetconfig.json
CHANGED
|
@@ -432,6 +432,8 @@
|
|
|
432
432
|
"smarthon/pxt-smarthome": { "tags": [ "Networking" ] },
|
|
433
433
|
"roborisen/braillebot": { "tags": [ "Robotics" ] },
|
|
434
434
|
"backyardbrains/pxt-spikerbit": { "tags": [ "Science" ] },
|
|
435
|
+
"siyeenove/pxt_mshield": { "tags": [ "Robotics" ] },
|
|
436
|
+
"siyeenove/pxt_pybit": { "tags": [ "Robotics" ] },
|
|
435
437
|
"microsoft/pxt-simx-sample": {
|
|
436
438
|
"simx": {
|
|
437
439
|
"sha": "7301f5900879b85127482d79bab48f03c25690a8",
|