From a2c04c6e06a6f8cdaaf0e48cceb70b2d971420ae Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9D=8E=E8=8D=A3?= <1595243018@qq.com> Date: Fri, 8 Nov 2024 17:34:28 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=20maqueen.ts,=20=5Flocales/z?= =?UTF-8?q?h-cn/maqueen-strings.json,=20=5Flocales/zh-tw/maqueen-strings.j?= =?UTF-8?q?son?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- _locales/zh-cn/maqueen-strings.json | 10 +++++----- _locales/zh-tw/maqueen-strings.json | 10 +++++----- maqueen.ts | 6 +++--- 3 files changed, 13 insertions(+), 13 deletions(-) diff --git a/_locales/zh-cn/maqueen-strings.json b/_locales/zh-cn/maqueen-strings.json index aa9d764..615fbc6 100644 --- a/_locales/zh-cn/maqueen-strings.json +++ b/_locales/zh-cn/maqueen-strings.json @@ -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": "黄", diff --git a/_locales/zh-tw/maqueen-strings.json b/_locales/zh-tw/maqueen-strings.json index 9fe0ad0..24d4f27 100644 --- a/_locales/zh-tw/maqueen-strings.json +++ b/_locales/zh-tw/maqueen-strings.json @@ -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": "黃", diff --git a/maqueen.ts b/maqueen.ts index 0d25938..cee79b7 100644 --- a/maqueen.ts +++ b/maqueen.ts @@ -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; } @@ -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"