From 74bd8f6e4931c134f164232500c9cea93453372b Mon Sep 17 00:00:00 2001 From: Michael Klein <37311672+MKleinSB@users.noreply.github.com> Date: Thu, 17 Sep 2020 18:31:59 +0200 Subject: [PATCH] Aktualisiere main.ts, _locales/de/Grove-strings.json --- _locales/de/Grove-strings.json | 8 ++++++-- main.ts | 4 ++-- 2 files changed, 8 insertions(+), 4 deletions(-) diff --git a/_locales/de/Grove-strings.json b/_locales/de/Grove-strings.json index 21036ae..9c308bd 100644 --- a/_locales/de/Grove-strings.json +++ b/_locales/de/Grove-strings.json @@ -1,5 +1,9 @@ { "{id:category}Grove": "Grove", + "{id:groups}4-Digit": "4 Ziffern Display", + "{id:groups}Ultrasonic": "Ultraschall", + "{id:groups}Gesture": "Gestenerkennung", + "{id:groups}Thumbjoystick": "Grove Joystick", "GroveGesture.None|block": "keine", "GroveGesture.Right|block": "rechts", "GroveGesture.Left|block": "links", @@ -11,7 +15,7 @@ "GroveGesture.Anticlockwise|block": "Gegenuhrzeigersinn", "GroveGesture.Wave|block": "Welle", "grove.initGesture|block": "initialisiere Grove Gestenerkennung", - "grove.getGestureModel|block": "hole Geste", + "grove.getGestureModel|block": "lies Geste", "grove.onGesture|block": "wenn Grove - Gestensensor |%gesture|", "grove.measureInCentimeters|block": "Ultraschallsensor (in cm) an |%pin", "grove.measureInInches|block": "Ultraschallsensor (in inch) an |%pin", @@ -35,5 +39,5 @@ "GroveJoystickKey.Press|block": "Gedrückt", "grove.joyread|block": "%GroveJoystick|lies Position von Joystick an|%xpin|und|%ypin", "grove.onJoystick|block": "wenn Grove - Joysticktaste|%key an|%xpin|und|%ypin", - "grove.getJoystick|block": "hole Joysticktaste an|%xpin|und|%ypin" + "grove.getJoystick|block": "lies Joysticktaste an|%xpin|und|%ypin" } \ No newline at end of file diff --git a/main.ts b/main.ts index ea7b46c..540286c 100644 --- a/main.ts +++ b/main.ts @@ -559,7 +559,7 @@ namespace grove { * */ //% blockId=grove_getgesture block="get gesture model" - //% group=Gesture" + //% group="Gesture" export function getGestureModel(): number { return paj7620.read(); } @@ -580,7 +580,7 @@ namespace grove { * @param handler code to run */ //% blockId=grove_gesture_create_event block="on Gesture|%gesture" - //% group=Gesture" + //% group="Gesture" export function onGesture(gesture: GroveGesture, handler: () => void) { control.onEvent(gestureEventId, gesture, handler); paj7620.init();