diff --git a/libs/color-sensor/_locales/color-sensor-strings.json b/libs/color-sensor/_locales/color-sensor-strings.json index b86a5904..bd243aa9 100644 --- a/libs/color-sensor/_locales/color-sensor-strings.json +++ b/libs/color-sensor/_locales/color-sensor-strings.json @@ -18,7 +18,7 @@ "sensors.ColorSensor.onColorDetected|block": "on %sensor|detected color %color", "sensors.ColorSensor.onLightChanged|block": "on %sensor|%mode|%condition", "sensors.ColorSensor.pauseForColor|block": "pause %sensor|for color %color", - "sensors.ColorSensor.pauseForLight|block": "pause %sensor|for %mode|light %condition", + "sensors.ColorSensor.pauseForLight|block": "pause %sensor|for %mode|%condition", "sensors.color1|block": "color 1", "sensors.color2|block": "color 2", "sensors.color3|block": "color 3", diff --git a/libs/color-sensor/color.ts b/libs/color-sensor/color.ts index ff06cf51..2346298b 100644 --- a/libs/color-sensor/color.ts +++ b/libs/color-sensor/color.ts @@ -182,7 +182,7 @@ namespace sensors { * @param color the color to detect */ //% help=sensors/color-sensor/pause-for-light - //% block="pause %sensor|for %mode|light %condition" + //% block="pause %sensor|for %mode|%condition" //% blockId=colorPauseForLight //% parts="colorsensor" //% blockNamespace=sensors