From f5e1e238f2ec8b824ba1a9d6076b14646910c2d1 Mon Sep 17 00:00:00 2001 From: peli Date: Tue, 8 Sep 2020 02:25:43 -0700 Subject: [PATCH] refresh all strings --- libs/core/_locales/core-jsdoc-strings.json | 1 + libs/core/_locales/core-strings.json | 1 + libs/core/enums.d.ts | 2 -- libs/microphone/_locales/microphone-jsdoc-strings.json | 2 +- package-lock.json | 4 +++- 5 files changed, 6 insertions(+), 4 deletions(-) diff --git a/libs/core/_locales/core-jsdoc-strings.json b/libs/core/_locales/core-jsdoc-strings.json index 860eb1e0..98d947e3 100644 --- a/libs/core/_locales/core-jsdoc-strings.json +++ b/libs/core/_locales/core-jsdoc-strings.json @@ -439,6 +439,7 @@ "input.runningTimeMicros": "Gets the number of microseconds elapsed since power on.", "input.setAccelerometerRange": "Sets the accelerometer sample range in gravities.", "input.setAccelerometerRange|param|range": "a value describe the maximum strengh of acceleration measured", + "input.soundLevel": "gets the level of loudness in 0-100%", "input.temperature": "Gets the temperature in Celsius degrees (°C).", "led": "Control of the LED screen.", "led.brightness": "Get the screen brightness from 0 (off) to 255 (full bright).", diff --git a/libs/core/_locales/core-strings.json b/libs/core/_locales/core-strings.json index 582d6a69..7e6c79c8 100644 --- a/libs/core/_locales/core-strings.json +++ b/libs/core/_locales/core-strings.json @@ -327,6 +327,7 @@ "input.runningTimeMicros|block": "running time (micros)", "input.runningTime|block": "running time (ms)", "input.setAccelerometerRange|block": "set accelerometer|range %range", + "input.soundLevel|block": "Loudness", "input.temperature|block": "temperature (°C)", "input|block": "input", "led.brightness|block": "brightness", diff --git a/libs/core/enums.d.ts b/libs/core/enums.d.ts index 089ea4e8..5cdd9788 100644 --- a/libs/core/enums.d.ts +++ b/libs/core/enums.d.ts @@ -470,10 +470,8 @@ declare namespace motors { declare const enum AnalogPin { - P0 = 112, // MICROBIT_ID_IO_P12 P1 = 100, // MICROBIT_ID_IO_P0 P2 = 101, // MICROBIT_ID_IO_P1 - P3 = 116, // MICROBIT_ID_IO_P16 C4 = 103, // MICROBIT_ID_IO_P3 C5 = 104, // MICROBIT_ID_IO_P4 C6 = 110, // MICROBIT_ID_IO_P10 diff --git a/libs/microphone/_locales/microphone-jsdoc-strings.json b/libs/microphone/_locales/microphone-jsdoc-strings.json index 8f875aee..e8c66916 100644 --- a/libs/microphone/_locales/microphone-jsdoc-strings.json +++ b/libs/microphone/_locales/microphone-jsdoc-strings.json @@ -2,5 +2,5 @@ "input": "Events and data from sensors", "input.onLoudSound": "Registers an event that runs when a loud sound is detected", "input.setLoudSoundThreshold": "Sets the minimum threshold for a loud sound", - "input.soundLevel": "Reads the loudness through the microphone from 0 (silent) to 255 (loud)" + "input.soundLevel": "gets the level of loudness in 0-100%\n\nReads the loudness through the microphone from 0 (silent) to 255 (loud)" } \ No newline at end of file diff --git a/package-lock.json b/package-lock.json index 04e2013e..4b61ceca 100644 --- a/package-lock.json +++ b/package-lock.json @@ -405,6 +405,7 @@ "version": "2.10.1", "resolved": "https://registry.npmjs.org/boom/-/boom-2.10.1.tgz", "integrity": "sha1-OciRjO/1eZ+D+UkqhI9iWt0Mdm8=", + "optional": true, "requires": { "hoek": "2.x.x" } @@ -2095,7 +2096,8 @@ "hoek": { "version": "2.16.3", "resolved": "https://registry.npmjs.org/hoek/-/hoek-2.16.3.tgz", - "integrity": "sha1-ILt0A9POo5jpHcRxCo/xuCdKJe0=" + "integrity": "sha1-ILt0A9POo5jpHcRxCo/xuCdKJe0=", + "optional": true }, "hsl-regex": { "version": "1.0.0",