From a39e7f30df79e5c15acf39a308614865fc48cb27 Mon Sep 17 00:00:00 2001 From: Ole Michaelis Date: Sun, 10 Mar 2024 20:42:20 +0100 Subject: [PATCH 1/3] German translation --- _locales/de/maqueenPlusV2-strings.json | 45 ++++++++++++++++++++++++++ 1 file changed, 45 insertions(+) create mode 100644 _locales/de/maqueenPlusV2-strings.json diff --git a/_locales/de/maqueenPlusV2-strings.json b/_locales/de/maqueenPlusV2-strings.json new file mode 100644 index 0000000..db5e848 --- /dev/null +++ b/_locales/de/maqueenPlusV2-strings.json @@ -0,0 +1,45 @@ +{ + "maqueenPlusV2.I2CInit|block": "initialisiere Maqueen Plus V2", + "maqueenPlusV2.controlLED|block": "schalte %eled %eSwitch", + "maqueenPlusV2.controlMotorStop|block": "stop %emotor", + "maqueenPlusV2.controlMotor|block": "steuere %emotor %edir|, Geschwindigkeit %speed", + "maqueenPlusV2.ledBlank|block": "schalte all RGB LEDs aus", + "maqueenPlusV2.ledRainbow|block": "regenbogenfarben von |%startHue bis|%endHue anzeigen", + "maqueenPlusV2.ledRange|block": "RGB LEDs von|%from bis|%to", + "maqueenPlusV2.readLineSensorData|block": "wert des lieniensensors %eline", + "maqueenPlusV2.readLineSensorState|block": "status des liniensensors %eline", + "maqueenPlusV2.readUltrasonic|block": "abstand in cm (pins TRIG %trig / ECHO %echo)", + "maqueenPlusV2.readVersion|block": "version", + "maqueenPlusV2.rgb|block": "rot|%r grün|%g blau|%b", + "maqueenPlusV2.setBrightness|block": "setze die Helligkeit der RGB LEDs auf|%brightness", + "maqueenPlusV2.setIndexColor|block": "setze die RGB LED|%index auf |%rgb", + "maqueenPlusV2.showColor|block": "setze alle RGB LEDs auf |%rgb", + "maqueenPlusV2|block": "Maqueen Plus V2", + "maqueenPlusV2.MyEnumDir.Backward|block": "rückwärts", + "maqueenPlusV2.MyEnumDir.Forward|block": "vorwärts", + "maqueenPlusV2.MyEnumLed.AllLed|block": "beide LEDs", + "maqueenPlusV2.MyEnumLed.LeftLed|block": "linke LED", + "maqueenPlusV2.MyEnumLed.RightLed|block": "rechte LED", + "maqueenPlusV2.MyEnumLineSensor.L1|block": "L1", + "maqueenPlusV2.MyEnumLineSensor.L2|block": "L2", + "maqueenPlusV2.MyEnumLineSensor.M|block": "M", + "maqueenPlusV2.MyEnumLineSensor.R1|block": "R1", + "maqueenPlusV2.MyEnumLineSensor.R2|block": "R2", + "maqueenPlusV2.MyEnumMotor.AllMotor|block": "beide Räder", + "maqueenPlusV2.MyEnumMotor.LeftMotor|block": "linkes rad", + "maqueenPlusV2.MyEnumMotor.RightMotor|block": "rechtes rad", + "maqueenPlusV2.MyEnumSwitch.Close|block": "zu", + "maqueenPlusV2.MyEnumSwitch.Open|block": "auf", + "maqueenPlusV2.NeoPixelColors.Black|block": "schwarz", + "maqueenPlusV2.NeoPixelColors.Blue|block": "blau", + "maqueenPlusV2.NeoPixelColors.Green|block": "grün", + "maqueenPlusV2.NeoPixelColors.Indigo|block": "indigo", + "maqueenPlusV2.NeoPixelColors.Orange|block": "orange", + "maqueenPlusV2.NeoPixelColors.Purple|block": "lila", + "maqueenPlusV2.NeoPixelColors.Red|block": "rot", + "maqueenPlusV2.NeoPixelColors.Violet|block": "violet", + "maqueenPlusV2.NeoPixelColors.White|block": "weiß", + "maqueenPlusV2.NeoPixelColors.Yellow|block": "geld", + "{id:category}maqueenPlusV2": "DFRobotMaqueenPlusV2", + "{id:category}Ws2812b": "Ws2812b" +} From 463c5fcdcf90162f9300c29e2b57b1a2472cbb9a Mon Sep 17 00:00:00 2001 From: Ole Michaelis Date: Sun, 10 Mar 2024 19:45:01 +0000 Subject: [PATCH 2/3] Link German translation in pxt.json --- pxt.json | 1 + 1 file changed, 1 insertion(+) diff --git a/pxt.json b/pxt.json index 5e9fd20..f29ab94 100644 --- a/pxt.json +++ b/pxt.json @@ -16,6 +16,7 @@ "_locales/cs/maqueenPlusV2-strings.json", "_locales/cs/maqueenPlusV2-jsdoc-strings.json", "_locales/fr/maqueenPlusV2-strings.json", + "_locales/de/maqueenPlusV2-strings.json", "maqueenPlusV2.ts" ], "testFiles": [ From 0c08f7c90816c81d8d35bd489231f81b1de7812c Mon Sep 17 00:00:00 2001 From: Ole Michaelis Date: Sun, 10 Mar 2024 20:52:19 +0100 Subject: [PATCH 3/3] slight fixes after tests --- _locales/de/maqueenPlusV2-strings.json | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/_locales/de/maqueenPlusV2-strings.json b/_locales/de/maqueenPlusV2-strings.json index db5e848..54ddb4c 100644 --- a/_locales/de/maqueenPlusV2-strings.json +++ b/_locales/de/maqueenPlusV2-strings.json @@ -3,8 +3,8 @@ "maqueenPlusV2.controlLED|block": "schalte %eled %eSwitch", "maqueenPlusV2.controlMotorStop|block": "stop %emotor", "maqueenPlusV2.controlMotor|block": "steuere %emotor %edir|, Geschwindigkeit %speed", - "maqueenPlusV2.ledBlank|block": "schalte all RGB LEDs aus", - "maqueenPlusV2.ledRainbow|block": "regenbogenfarben von |%startHue bis|%endHue anzeigen", + "maqueenPlusV2.ledBlank|block": "schalte alle RGB LEDs aus", + "maqueenPlusV2.ledRainbow|block": "LED regenbogenfarben von |%startHue bis|%endHue anzeigen", "maqueenPlusV2.ledRange|block": "RGB LEDs von|%from bis|%to", "maqueenPlusV2.readLineSensorData|block": "wert des lieniensensors %eline", "maqueenPlusV2.readLineSensorState|block": "status des liniensensors %eline", @@ -26,10 +26,10 @@ "maqueenPlusV2.MyEnumLineSensor.R1|block": "R1", "maqueenPlusV2.MyEnumLineSensor.R2|block": "R2", "maqueenPlusV2.MyEnumMotor.AllMotor|block": "beide Räder", - "maqueenPlusV2.MyEnumMotor.LeftMotor|block": "linkes rad", - "maqueenPlusV2.MyEnumMotor.RightMotor|block": "rechtes rad", - "maqueenPlusV2.MyEnumSwitch.Close|block": "zu", - "maqueenPlusV2.MyEnumSwitch.Open|block": "auf", + "maqueenPlusV2.MyEnumMotor.LeftMotor|block": "linkes Rad", + "maqueenPlusV2.MyEnumMotor.RightMotor|block": "rechtes Rad", + "maqueenPlusV2.MyEnumSwitch.Close|block": "an", + "maqueenPlusV2.MyEnumSwitch.Open|block": "aus", "maqueenPlusV2.NeoPixelColors.Black|block": "schwarz", "maqueenPlusV2.NeoPixelColors.Blue|block": "blau", "maqueenPlusV2.NeoPixelColors.Green|block": "grün", @@ -39,7 +39,7 @@ "maqueenPlusV2.NeoPixelColors.Red|block": "rot", "maqueenPlusV2.NeoPixelColors.Violet|block": "violet", "maqueenPlusV2.NeoPixelColors.White|block": "weiß", - "maqueenPlusV2.NeoPixelColors.Yellow|block": "geld", + "maqueenPlusV2.NeoPixelColors.Yellow|block": "gelb", "{id:category}maqueenPlusV2": "DFRobotMaqueenPlusV2", "{id:category}Ws2812b": "Ws2812b" }