Skip to content

Commit

Permalink
更新 maqueen.ts, _locales/zh-cn/maqueen-strings.json, _locales/zh-tw/ma…
Browse files Browse the repository at this point in the history
…queen-strings.json
  • Loading branch information
LinDong88 committed Nov 8, 2024
1 parent 9b6a108 commit a2c04c6
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 13 deletions.
10 changes: 5 additions & 5 deletions _locales/zh-cn/maqueen-strings.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,11 +38,11 @@
"Maqueen_V5.CarLightColors.Red|block": "",
"Maqueen_V5.CarLightColors.Green|block": "绿",
"Maqueen_V5.CarLightColors.Yellow|block": "",
"Maqueen_V5.CarLightColors.Blue|block": "蓝色",
"Maqueen_V5.CarLightColors.Cyan|block": "青色",
"Maqueen_V5.CarLightColors.Purple|block": "紫色",
"Maqueen_V5.CarLightColors.White|block": "白色",
"Maqueen_V5.CarLightColors.Black|block": "黑色",
"Maqueen_V5.CarLightColors.Blue|block": "",
"Maqueen_V5.CarLightColors.Cyan|block": "",
"Maqueen_V5.CarLightColors.Purple|block": "",
"Maqueen_V5.CarLightColors.White|block": "",
"Maqueen_V5.CarLightColors.Black|block": "",
"Maqueen_V5.NeoPixelColors.Red|block": "",
"Maqueen_V5.NeoPixelColors.Orange|block": "",
"Maqueen_V5.NeoPixelColors.Yellow|block": "",
Expand Down
10 changes: 5 additions & 5 deletions _locales/zh-tw/maqueen-strings.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,11 +34,11 @@
"Maqueen_V5.CarLightColors.Red|block": "",
"Maqueen_V5.CarLightColors.Green|block": "",
"Maqueen_V5.CarLightColors.Yellow|block": "",
"Maqueen_V5.CarLightColors.Blue|block": "藍色",
"Maqueen_V5.CarLightColors.Cyan|block": "青色",
"Maqueen_V5.CarLightColors.Purple|block": "紫色",
"Maqueen_V5.CarLightColors.White|block": "白色",
"Maqueen_V5.CarLightColors.Black|block": "黑色",
"Maqueen_V5.CarLightColors.Blue|block": "",
"Maqueen_V5.CarLightColors.Cyan|block": "",
"Maqueen_V5.CarLightColors.Purple|block": "",
"Maqueen_V5.CarLightColors.White|block": "",
"Maqueen_V5.CarLightColors.Black|block": "",
"Maqueen_V5.NeoPixelColors.Red|block": "",
"Maqueen_V5.NeoPixelColors.Orange|block": "",
"Maqueen_V5.NeoPixelColors.Yellow|block": "",
Expand Down
6 changes: 3 additions & 3 deletions maqueen.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1179,9 +1179,9 @@ namespace Maqueen_V5 {
/**
* Gets the RGB value of a known color
*/
//% weight=2 blockGap=8
//% weight=61 blockGap=8
//% blockId="neopixel_colors" block="%color"
//% advanced=true
//% group="Maqueen_v5"
export function colors(color: NeoPixelColors): number {
return color;
}
Expand Down Expand Up @@ -1246,7 +1246,7 @@ namespace Maqueen_V5 {
* @param brightness , eg: 100
*/

//% weight=70
//% weight=60
//% brightness.min=0 brightness.max=255
//% block="set RGB brightness to |%brightness"
//% group="Maqueen_v5"
Expand Down

0 comments on commit a2c04c6

Please sign in to comment.