Merge pull request #55 from sensebox/fix-languageselection

fix the language selection
This commit is contained in:
Mario Pesch 2021-01-13 15:05:15 +01:00 committed by GitHub
commit 851400e1c1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
50 changed files with 4764 additions and 2437 deletions

View File

@ -1,24 +1,41 @@
export const De = [ import { AUDIO } from './de/audio';
require('./de/audio'), import { FAQ } from './de/faq';
require('./de/faq'), import { IO } from './de/io';
require('./de/io'), import { LOGIC } from './de/logic';
require('./de/logic'), import { LOOPS } from './de/loops';
require('./de/loops'), import { MATH } from './de/math';
require('./de/math'), import { MQTT } from './de/mqtt';
require('./de/mqtt'), import { DISPLAY } from './de/sensebox-display';
require('./de/sensebox-display'), import { LED } from './de/sensebox-led';
require('./de/sensebox-led'), import { LORA } from './de/sensebox-lora';
require('./de/sensebox-lora'), import { TELEGRAM } from './de/sensebox-telegram';
require('./de/sensebox-osem'), import { WEB } from './de/sensebox-web';
require('./de/sensebox-sd'), import { TEXT } from './de/text';
require('./de/sensebox-sensors'), import { TIME } from './de/time';
require('./de/sensebox-web'), import { TOURS } from './de/tours';
require('./de/text'), import { TRANSLATIONS } from './de/translations';
require('./de/time'), import { UI } from './de/ui';
require('./en/tours'), import { VARIABLES } from './de/variables';
require('./de/translations'), import { WEBSERVER } from './de/webserver';
require('./de/ui'),
require('./de/variables'),
require('./de/webserver')
] export const De = {
...AUDIO,
...FAQ,
...IO,
...LOGIC,
...LOOPS,
...MATH,
...MQTT,
...DISPLAY,
...LED,
...LORA,
...TELEGRAM,
...WEB,
...TEXT,
...TIME,
...TOURS,
...TRANSLATIONS,
...UI,
...VARIABLES,
...WEBSERVER
}

View File

@ -1,8 +1,10 @@
import Blockly from 'blockly';
Blockly.Msg.ARD_TONEFREQ = "mit Frequenz"; export const AUDIO = {
Blockly.Msg.ARD_TONE_FREQ = "Frequenz"; ARD_TONEFREQ: "mit Frequenz",
Blockly.Msg.ARD_TONE_PIN = "Ton PIN#"; ARD_TONE_FREQ: "Frequenz",
Blockly.Msg.ARD_TONE_PIN_TIP = "Erzeugt einen Ton an Pin"; ARD_TONE_PIN: "Ton PIN#",
Blockly.Msg.ARD_TONE_TIP = "Erzeugt einen Ton an Pin mit einer spezifischen Frequenz zwischen 31 - 65535 Hz"; ARD_TONE_PIN_TIP: "Erzeugt einen Ton an Pin",
Blockly.Msg.ARD_TONE_WARNING = "Frequenz muss zwischen 31 - 65535 liegen"; ARD_TONE_TIP: "Erzeugt einen Ton an Pin mit einer spezifischen Frequenz zwischen 31 - 65535 Hz",
ARD_TONE_WARNING: "Frequenz muss zwischen 31 - 65535 liegen",
}

View File

@ -1,10 +1,10 @@
import Blockly from 'blockly' export const FAQ = {
/** /**
* FAQ * FAQ
*/ */
Blockly.Msg.faq_q1_question = `Wie kann ich mein Programm auf die senseBox kopieren?` faq_q1_question: `Wie kann ich mein Programm auf die senseBox kopieren?`,
Blockly.Msg.faq_q1_answer = `Um Programme auf die senseBox zu kopieren wird diese mit dem Micro USB Kabel an den Computer angeschlossen. Mache anschließend auf der senseBox MCU einen Doppelklick auf den roten Reset Button. Die senseBox wird nun als Wechseldatenträger an deinem Computer erkannt und die zuvor erstellen Programm können per Drag & Drop kopiert werden. Nach jeder Änderung des Programmcodes muss das Programm neu kompiliert und übertragen werden faq_q1_answer: `Um Programme auf die senseBox zu kopieren wird diese mit dem Micro USB Kabel an den Computer angeschlossen. Mache anschließend auf der senseBox MCU einen Doppelklick auf den roten Reset Button. Die senseBox wird nun als Wechseldatenträger an deinem Computer erkannt und die zuvor erstellen Programm können per Drag & Drop kopiert werden. Nach jeder Änderung des Programmcodes muss das Programm neu kompiliert und übertragen werden
#### Lernmodus der MCU aktivieren #### Lernmodus der MCU aktivieren
<iframe width="560" height="315" src="https://www.youtube.com/embed/jzlOJ7Zuqqw" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe> <iframe width="560" height="315" src="https://www.youtube.com/embed/jzlOJ7Zuqqw" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe>
@ -12,15 +12,16 @@ Blockly.Msg.faq_q1_answer = `Um Programme auf die senseBox zu kopieren wird dies
Das Kopieren der Programme unter MacOS funktioniert nicht über den Finder, es gibt es aber dennoch zwei verschiedene Möglichkeiten die Programme zu kopieren: Das Kopieren der Programme unter MacOS funktioniert nicht über den Finder, es gibt es aber dennoch zwei verschiedene Möglichkeiten die Programme zu kopieren:
- [senseBox Kopiertool](https://sensebox.de/docs/senseBox_Sketch_Uploader_DE.zip) - [senseBox Kopiertool](https://sensebox.de/docs/senseBox_Sketch_Uploader_DE.zip)
- [muCommander](https://www.mucommander.com/) - [muCommander](https://www.mucommander.com/)
` `,
Blockly.Msg.faq_q2_question = `Mit welcher senseBox ist die Programmierumgebung kompatibel?` faq_q2_question: `Mit welcher senseBox ist die Programmierumgebung kompatibel?`,
Blockly.Msg.faq_q2_answer = ` faq_q2_answer: `
Grundsätzlich kann die Programmierumgebung mit jeder senseBox mit senseBox MCU verwendet werden. Grundsätzlich kann die Programmierumgebung mit jeder senseBox mit senseBox MCU verwendet werden.
` `,
Blockly.Msg.faq_q3_question = `Ich habe einen Fehler gefunden oder etwas funktioniert nicht. Wo kann ich diesen melden?` faq_q3_question: `Ich habe einen Fehler gefunden oder etwas funktioniert nicht. Wo kann ich diesen melden?`,
Blockly.Msg.faq_q3_answer = ` faq_q3_answer: `
Am besten legst du dazu ein Issue auf [Github](https://github.com/sensebox/React-Ardublockly/issues) an. Alternativ kannst du uns auch eine Email an info(at)sensebox.de senden Am besten legst du dazu ein Issue auf [Github](https://github.com/sensebox/React-Ardublockly/issues) an. Alternativ kannst du uns auch eine Email an info(at)sensebox.de senden
` `,
}

View File

@ -1,106 +1,108 @@
import Blockly from 'blockly'
export const IO = {
Blockly.Msg.ARD_ANALOGREAD = "lese analogen Pin#"; ARD_ANALOGREAD: "lese analogen Pin#",
Blockly.Msg.ARD_ANALOGREAD_TIP = "Gibt einen Wert zwischen 0 und 1024 zurüch"; ARD_ANALOGREAD_TIP: "Gibt einen Wert zwischen 0 und 1024 zurüch",
Blockly.Msg.ARD_ANALOGWRITE = "setzte analogen Pin#"; ARD_ANALOGWRITE: "setzte analogen Pin#",
Blockly.Msg.ARD_ANALOGWRITE_TIP = "Schreibe analogen Wert zwischen 0 und 255 an einen spezifischen PWM Port"; ARD_ANALOGWRITE_TIP: "Schreibe analogen Wert zwischen 0 und 255 an einen spezifischen PWM Port",
Blockly.Msg.ARD_BUILTIN_LED = "eingebaute LED"; ARD_BUILTIN_LED: "eingebaute LED",
Blockly.Msg.ARD_BUILTIN_LED_TIP = "Schaltet die interne LED An oder Aus"; ARD_BUILTIN_LED_TIP: "Schaltet die interne LED An oder Aus",
Blockly.Msg.ARD_COMPONENT_WARN1 = "A %1 configuration block with the same %2 name must be added to use this block!"; ARD_COMPONENT_WARN1: "A %1 configuration block with the same %2 name must be added to use this block!",
Blockly.Msg.ARD_DEFINE = "Definiere"; ARD_DEFINE: "Definiere",
Blockly.Msg.ARD_DIGITALREAD = "lesen digitalen Pin#"; ARD_DIGITALREAD: "lesen digitalen Pin#",
Blockly.Msg.ARD_DIGITALREAD_TIP = "Lese Wert an digitalen Pin: HIGH(1) oder LOW(0)"; ARD_DIGITALREAD_TIP: "Lese Wert an digitalen Pin: HIGH(1) oder LOW(0)",
Blockly.Msg.ARD_DIGITALWRITE = "setzte digitalen Pin#"; ARD_DIGITALWRITE: "setzte digitalen Pin#",
Blockly.Msg.ARD_DIGITALWRITE_TIP = "Schreibe digitalen Wert HIGH (1) oder LOW(0) an spezifischen Port"; ARD_DIGITALWRITE_TIP: "Schreibe digitalen Wert HIGH (1) oder LOW(0) an spezifischen Port",
Blockly.Msg.ARD_FUN_RUN_LOOP = "Endlosschleife()"; ARD_FUN_RUN_LOOP: "Endlosschleife()",
Blockly.Msg.ARD_FUN_RUN_SETUP = "Setup()"; ARD_FUN_RUN_SETUP: "Setup()",
Blockly.Msg.ARD_FUN_RUN_TIP = "Definiert die setup() und loop() Funktionen. Die setup()-Funktion wird beim starten **einmal** ausgeführt. Anschließend wir die loop()-Funktion in einer **Endlosschleife** ausgeführt. Füge in die Setup()-Funktion Blöcke ein, um z.B. das Display zu initalisieren, eine Verbindung zum WiFi-Netzwerk herzustellen oder um die LoRa Verbindung zu initialsieren."; ARD_FUN_RUN_TIP: "Definiert die setup() und loop() Funktionen. Die setup()-Funktion wird beim starten **einmal** ausgeführt. Anschließend wir die loop()-Funktion in einer **Endlosschleife** ausgeführt. Füge in die Setup()-Funktion Blöcke ein, um z.B. das Display zu initalisieren, eine Verbindung zum WiFi-Netzwerk herzustellen oder um die LoRa Verbindung zu initialsieren.",
Blockly.Msg.ARD_HIGH = "HIGH"; ARD_HIGH: "HIGH",
Blockly.Msg.ARD_HIGHLOW_TIP = "Setzt einen Status auf HIGH oder LOWSet a pin state logic High or Low."; ARD_HIGHLOW_TIP: "Setzt einen Status auf HIGH oder LOWSet a pin state logic High or Low.",
Blockly.Msg.ARD_LOW = "LOW"; ARD_LOW: "LOW",
Blockly.Msg.ARD_MAP = "Verteile Wert"; ARD_MAP: "Verteile Wert",
Blockly.Msg.ARD_MAP_FROMMIN = "von Minimum"; ARD_MAP_FROMMIN: "von Minimum",
Blockly.Msg.ARD_MAP_FROMMAX = "bis maximum"; ARD_MAP_FROMMAX: "bis maximum",
Blockly.Msg.ARD_MAP_TOMIN = "auf Minimum"; ARD_MAP_TOMIN: "auf Minimum",
Blockly.Msg.ARD_MAP_TOMAX = "bis Maximum"; ARD_MAP_TOMAX: "bis Maximum",
Blockly.Msg.ARD_MAP_TIP = "Verteilt Werte zwischen [0-1024] zu andere."; ARD_MAP_TIP: "Verteilt Werte zwischen [0-1024] zu andere.",
Blockly.Msg.ARD_MAP_VAL = "Wert zu [0-"; ARD_MAP_VAL: "Wert zu [0-",
Blockly.Msg.ARD_NOTONE = "Schalte Ton aus an Pin"; ARD_NOTONE: "Schalte Ton aus an Pin",
Blockly.Msg.ARD_NOTONE_PIN = "keinen Ton an Pin"; ARD_NOTONE_PIN: "keinen Ton an Pin",
Blockly.Msg.ARD_NOTONE_PIN_TIP = "Stoppe die Tonerzeugung an Pin"; ARD_NOTONE_PIN_TIP: "Stoppe die Tonerzeugung an Pin",
Blockly.Msg.ARD_NOTONE_TIP = "Schaltet den Ton am ausgewählten Pin aus"; ARD_NOTONE_TIP: "Schaltet den Ton am ausgewählten Pin aus",
Blockly.Msg.ARD_PIN_WARN1 = "Pin %1 wird benötigt für %2 als Pin %3. Bereitsgenutzt als %4."; ARD_PIN_WARN1: "Pin %1 wird benötigt für %2 als Pin %3. Bereitsgenutzt als %4.",
Blockly.Msg.ARD_PULSETIMEOUT_TIP = "Misst die Laufzeit eines Impulses am ausgewählten Pin, wenn die Zeit ist in Microsekunden."; ARD_PULSETIMEOUT_TIP: "Misst die Laufzeit eines Impulses am ausgewählten Pin, wenn die Zeit ist in Microsekunden.",
Blockly.Msg.ARD_PULSE_READ = "Misst %1 Impuls an Pin #%2"; ARD_PULSE_READ: "Misst %1 Impuls an Pin #%2",
Blockly.Msg.ARD_PULSE_READ_TIMEOUT = "Misst %1 Impuls an Pin #%2 (Unterbrechung nach %3 μs)"; ARD_PULSE_READ_TIMEOUT: "Misst %1 Impuls an Pin #%2 (Unterbrechung nach %3 μs)",
Blockly.Msg.ARD_PULSE_TIP = "Misst die Zeit eines Impulses an dem ausgewählten Pin."; ARD_PULSE_TIP: "Misst die Zeit eines Impulses an dem ausgewählten Pin.",
Blockly.Msg.ARD_SERIAL_BPS = "bps"; ARD_SERIAL_BPS: "bps",
Blockly.Msg.ARD_SERIAL_PRINT = "schreibe"; ARD_SERIAL_PRINT: "schreibe",
Blockly.Msg.ARD_SERIAL_PRINT_NEWLINE = "neue Zeile hinzufügen"; ARD_SERIAL_PRINT_NEWLINE: "neue Zeile hinzufügen",
Blockly.Msg.ARD_SERIAL_PRINT_TIP = "Prints data to the console/serial port as human-readable ASCII text."; // untranslated ARD_SERIAL_PRINT_TIP: "Prints data to the console/serial port as human-readable ASCII text.", // untranslated
Blockly.Msg.ARD_SERIAL_PRINT_WARN = "A setup block for %1 must be added to the workspace to use this block!"; // untranslated ARD_SERIAL_PRINT_WARN: "A setup block for %1 must be added to the workspace to use this block!", // untranslated
Blockly.Msg.ARD_SERIAL_SETUP = "Setup"; ARD_SERIAL_SETUP: "Setup",
Blockly.Msg.ARD_SERIAL_SETUP_TIP = "Selects the speed for a specific Serial peripheral"; // untranslated ARD_SERIAL_SETUP_TIP: "Selects the speed for a specific Serial peripheral", // untranslated
Blockly.Msg.ARD_SERIAL_SPEED = ": Übertragungsgeschwindigkeit zu"; ARD_SERIAL_SPEED: ": Übertragungsgeschwindigkeit zu",
Blockly.Msg.ARD_SERVO_READ = "liest SERVO an PIN#"; ARD_SERVO_READ: "liest SERVO an PIN#",
Blockly.Msg.ARD_SERVO_READ_TIP = "Liest den Winkel des Servomotors aus"; ARD_SERVO_READ_TIP: "Liest den Winkel des Servomotors aus",
Blockly.Msg.ARD_SERVO_WRITE = "setzt SERVO an Pin"; ARD_SERVO_WRITE: "setzt SERVO an Pin",
Blockly.Msg.ARD_SERVO_WRITE_DEG_180 = "Winkel (0~180)"; ARD_SERVO_WRITE_DEG_180: "Winkel (0~180)",
Blockly.Msg.ARD_SERVO_WRITE_TIP = "Set a Servo to an specified angle"; // untranslated ARD_SERVO_WRITE_TIP: "Set a Servo to an specified angle", // untranslated
Blockly.Msg.ARD_SERVO_WRITE_TO = ""; // untranslated ARD_SERVO_WRITE_TO: "", // untranslated
Blockly.Msg.ARD_SETTONE = "Spiele Ton an Pin"; // untranslated ARD_SETTONE: "Spiele Ton an Pin", // untranslated
Blockly.Msg.ARD_SPI_SETUP = "Setup"; ARD_SPI_SETUP: "Setup",
Blockly.Msg.ARD_SPI_SETUP_CONF = "Konfiguration:"; ARD_SPI_SETUP_CONF: "Konfiguration:",
Blockly.Msg.ARD_SPI_SETUP_DIVIDE = "clock divide"; // untranslated ARD_SPI_SETUP_DIVIDE: "clock divide", // untranslated
Blockly.Msg.ARD_SPI_SETUP_LSBFIRST = "LSBFIRST"; // untranslated ARD_SPI_SETUP_LSBFIRST: "LSBFIRST", // untranslated
Blockly.Msg.ARD_SPI_SETUP_MODE = "SPI mode (idle - edge)"; // untranslated ARD_SPI_SETUP_MODE: "SPI mode (idle - edge)", // untranslated
Blockly.Msg.ARD_SPI_SETUP_MODE0 = "0 (LOW - Fallend)"; ARD_SPI_SETUP_MODE0: "0 (LOW - Fallend)",
Blockly.Msg.ARD_SPI_SETUP_MODE1 = "1 (LOW - Steigend)"; ARD_SPI_SETUP_MODE1: "1 (LOW - Steigend)",
Blockly.Msg.ARD_SPI_SETUP_MODE2 = "2 (HIGH - Fallend)"; ARD_SPI_SETUP_MODE2: "2 (HIGH - Fallend)",
Blockly.Msg.ARD_SPI_SETUP_MODE3 = "3 (HIGH - Steigend)"; ARD_SPI_SETUP_MODE3: "3 (HIGH - Steigend)",
Blockly.Msg.ARD_SPI_SETUP_MSBFIRST = "MSBFIRST"; // untranslated ARD_SPI_SETUP_MSBFIRST: "MSBFIRST", // untranslated
Blockly.Msg.ARD_SPI_SETUP_SHIFT = "data shift"; // untranslated ARD_SPI_SETUP_SHIFT: "data shift", // untranslated
Blockly.Msg.ARD_SPI_SETUP_TIP = "Configures the SPI peripheral."; // untranslated ARD_SPI_SETUP_TIP: "Configures the SPI peripheral.", // untranslated
Blockly.Msg.ARD_SPI_TRANSRETURN_TIP = "Send a SPI message to an specified slave device and get data back."; // untranslated ARD_SPI_TRANSRETURN_TIP: "Send a SPI message to an specified slave device and get data back.", // untranslated
Blockly.Msg.ARD_SPI_TRANS_NONE = "none"; // untranslated ARD_SPI_TRANS_NONE: "none", // untranslated
Blockly.Msg.ARD_SPI_TRANS_SLAVE = "to slave pin"; // untranslated ARD_SPI_TRANS_SLAVE: "to slave pin", // untranslated
Blockly.Msg.ARD_SPI_TRANS_TIP = "Send a SPI message to an specified slave device."; // untranslated ARD_SPI_TRANS_TIP: "Send a SPI message to an specified slave device.", // untranslated
Blockly.Msg.ARD_SPI_TRANS_VAL = "transfer"; // untranslated ARD_SPI_TRANS_VAL: "transfer", // untranslated
Blockly.Msg.ARD_SPI_TRANS_WARN1 = "A setup block for %1 must be added to the workspace to use this block!"; // untranslated ARD_SPI_TRANS_WARN1: "A setup block for %1 must be added to the workspace to use this block!", // untranslated
Blockly.Msg.ARD_SPI_TRANS_WARN2 = "Old pin value %1 is no longer available."; // untranslated ARD_SPI_TRANS_WARN2: "Old pin value %1 is no longer available.", // untranslated
Blockly.Msg.ARD_STEPPER_COMPONENT = "stepper"; // untranslated ARD_STEPPER_COMPONENT: "stepper", // untranslated
Blockly.Msg.ARD_STEPPER_DEFAULT_NAME = "MyStepper"; // untranslated ARD_STEPPER_DEFAULT_NAME: "MyStepper", // untranslated
Blockly.Msg.ARD_STEPPER_FOUR_PINS = "4"; // untranslated ARD_STEPPER_FOUR_PINS: "4", // untranslated
Blockly.Msg.ARD_STEPPER_MOTOR = "stepper motor:"; // untranslated ARD_STEPPER_MOTOR: "stepper motor:", // untranslated
Blockly.Msg.ARD_STEPPER_NUMBER_OF_PINS = "Number of pins"; // untranslated ARD_STEPPER_NUMBER_OF_PINS: "Number of pins", // untranslated
Blockly.Msg.ARD_STEPPER_PIN1 = "pin1#"; // untranslated ARD_STEPPER_PIN1: "pin1#", // untranslated
Blockly.Msg.ARD_STEPPER_PIN2 = "pin2#"; // untranslated ARD_STEPPER_PIN2: "pin2#", // untranslated
Blockly.Msg.ARD_STEPPER_PIN3 = "pin3#"; // untranslated ARD_STEPPER_PIN3: "pin3#", // untranslated
Blockly.Msg.ARD_STEPPER_PIN4 = "pin4#"; // untranslated ARD_STEPPER_PIN4: "pin4#", // untranslated
Blockly.Msg.ARD_STEPPER_REVOLVS = "how many steps per revolution"; // untranslated ARD_STEPPER_REVOLVS: "how many steps per revolution", // untranslated
Blockly.Msg.ARD_STEPPER_SETUP = "Setup stepper motor"; // untranslated ARD_STEPPER_SETUP: "Setup stepper motor", // untranslated
Blockly.Msg.ARD_STEPPER_SETUP_TIP = "Configures a stepper motor pinout and other settings."; // untranslated ARD_STEPPER_SETUP_TIP: "Configures a stepper motor pinout and other settings.", // untranslated
Blockly.Msg.ARD_STEPPER_SPEED = "set speed (rpm) to"; // untranslated ARD_STEPPER_SPEED: "set speed (rpm) to", // untranslated
Blockly.Msg.ARD_STEPPER_STEP = "move stepper"; // untranslated ARD_STEPPER_STEP: "move stepper", // untranslated
Blockly.Msg.ARD_STEPPER_STEPS = "steps"; // untranslated ARD_STEPPER_STEPS: "steps", // untranslated
Blockly.Msg.ARD_STEPPER_STEP_TIP = "Turns the stepper motor a specific number of steps."; // untranslated ARD_STEPPER_STEP_TIP: "Turns the stepper motor a specific number of steps.", // untranslated
Blockly.Msg.ARD_STEPPER_TWO_PINS = "2"; // untranslated ARD_STEPPER_TWO_PINS: "2", // untranslated
Blockly.Msg.ARD_TYPE_ARRAY = "Array"; ARD_TYPE_ARRAY: "Array",
Blockly.Msg.ARD_TYPE_BOOL = "Boolean"; ARD_TYPE_BOOL: "Boolean",
Blockly.Msg.ARD_TYPE_CHAR = "Zeichen"; ARD_TYPE_CHAR: "Zeichen",
Blockly.Msg.ARD_TYPE_CHILDBLOCKMISSING = "ChildBlockMissing"; // untranslated ARD_TYPE_CHILDBLOCKMISSING: "ChildBlockMissing", // untranslated
Blockly.Msg.ARD_TYPE_DECIMAL = "Dezimalzahl"; ARD_TYPE_DECIMAL: "Dezimalzahl",
Blockly.Msg.ARD_TYPE_LONG = "große Zahl"; ARD_TYPE_LONG: "große Zahl",
Blockly.Msg.ARD_TYPE_NULL = "Null"; ARD_TYPE_NULL: "Null",
Blockly.Msg.ARD_TYPE_NUMBER = "Zahl"; ARD_TYPE_NUMBER: "Zahl",
Blockly.Msg.ARD_TYPE_SHORT = "kurze Zahl"; ARD_TYPE_SHORT: "kurze Zahl",
Blockly.Msg.ARD_TYPE_TEXT = "Text"; ARD_TYPE_TEXT: "Text",
Blockly.Msg.ARD_TYPE_UNDEF = "Undefiniert"; ARD_TYPE_UNDEF: "Undefiniert",
Blockly.Msg.ARD_VAR_AS = "als"; ARD_VAR_AS: "als",
Blockly.Msg.ARD_VAR_AS_TIP = "Wert einem spezififischen Datentyp zuordnen"; ARD_VAR_AS_TIP: "Wert einem spezififischen Datentyp zuordnen",
Blockly.Msg.ARD_WRITE_TO = "zu"; ARD_WRITE_TO: "zu",
Blockly.Msg.NEW_INSTANCE = "Neue Instanz..."; NEW_INSTANCE: "Neue Instanz...",
Blockly.Msg.NEW_INSTANCE_TITLE = "Neue Instanz mit Name:"; NEW_INSTANCE_TITLE: "Neue Instanz mit Name:",
Blockly.Msg.RENAME_INSTANCE = "Instanz umbenennen..."; RENAME_INSTANCE: "Instanz umbenennen...",
Blockly.Msg.RENAME_INSTANCE_TITLE = "Benenne alle '%1' Instanzen zu:"; RENAME_INSTANCE_TITLE: "Benenne alle '%1' Instanzen zu:",
}

View File

@ -1,49 +1,50 @@
import Blockly from 'blockly' export const LOGIC = {
Blockly.Msg.CONTROLS_IF_ELSEIF_TOOLTIP = "Eine weitere Bedingung hinzufügen."; CONTROLS_IF_ELSEIF_TOOLTIP: "Eine weitere Bedingung hinzufügen.",
Blockly.Msg.CONTROLS_IF_ELSE_TOOLTIP = "Eine sonst-Bedingung hinzufügen, führt eine Anweisung aus, falls keine Bedingung zutrifft."; CONTROLS_IF_ELSE_TOOLTIP: "Eine sonst-Bedingung hinzufügen, führt eine Anweisung aus, falls keine Bedingung zutrifft.",
Blockly.Msg.CONTROLS_IF_HELPURL = "https://github.com/google/blockly/wiki/IfElse"; // untranslated CONTROLS_IF_HELPURL: "https://github.com/google/blockly/wiki/IfElse", // untranslated
Blockly.Msg.CONTROLS_IF_IF_TOOLTIP = "Hinzufügen, entfernen oder sortieren von Sektionen"; CONTROLS_IF_IF_TOOLTIP: "Hinzufügen, entfernen oder sortieren von Sektionen",
Blockly.Msg.CONTROLS_IF_MSG_ELSE = "sonst"; CONTROLS_IF_MSG_ELSE: "sonst",
Blockly.Msg.CONTROLS_IF_MSG_ELSEIF = "sonst wenn"; CONTROLS_IF_MSG_ELSEIF: "sonst wenn",
Blockly.Msg.CONTROLS_IF_MSG_IF = "wenn"; CONTROLS_IF_MSG_IF: "wenn",
Blockly.Msg.CONTROLS_IF_TOOLTIP_1 = "Wenn eine Bedingung wahr (true) ist, dann führe eine Anweisung aus."; CONTROLS_IF_TOOLTIP_1: "Wenn eine Bedingung wahr (true) ist, dann führe eine Anweisung aus.",
Blockly.Msg.CONTROLS_IF_TOOLTIP_2 = "Wenn eine Bedingung wahr (true) ist, dann führe die erste Anweisung aus. Ansonsten führe die zweite Anweisung aus."; CONTROLS_IF_TOOLTIP_2: "Wenn eine Bedingung wahr (true) ist, dann führe die erste Anweisung aus. Ansonsten führe die zweite Anweisung aus.",
Blockly.Msg.CONTROLS_IF_TOOLTIP_3 = "Wenn die erste Bedingung wahr (true) ist, dann führe die erste Anweisung aus. Oder wenn die zweite Bedingung wahr (true) ist, dann führe die zweite Anweisung aus."; CONTROLS_IF_TOOLTIP_3: "Wenn die erste Bedingung wahr (true) ist, dann führe die erste Anweisung aus. Oder wenn die zweite Bedingung wahr (true) ist, dann führe die zweite Anweisung aus.",
Blockly.Msg.CONTROLS_IF_TOOLTIP_4 = "Wenn die erste Bedingung wahr (true) ist, dann führe die erste Anweisung aus. Oder wenn die zweite Bedingung wahr (true) ist, dann führe die zweite Anweisung aus. Falls keine der beiden Bedingungen wahr (true) ist, dann führe die dritte Anweisung aus."; CONTROLS_IF_TOOLTIP_4: "Wenn die erste Bedingung wahr (true) ist, dann führe die erste Anweisung aus. Oder wenn die zweite Bedingung wahr (true) ist, dann führe die zweite Anweisung aus. Falls keine der beiden Bedingungen wahr (true) ist, dann führe die dritte Anweisung aus.",
Blockly.Msg.LOGIC_BOOLEAN_HELPURL = "https://github.com/google/blockly/wiki/Logic#values"; // untranslated LOGIC_BOOLEAN_HELPURL: "https://github.com/google/blockly/wiki/Logic#values", // untranslated
Blockly.Msg.LOGIC_BOOLEAN_TOOLTIP = "Ist entweder wahr (true) oder falsch (false)"; LOGIC_BOOLEAN_TOOLTIP: "Ist entweder wahr (true) oder falsch (false)",
Blockly.Msg.LOGIC_BOOLEAN_TRUE = "wahr"; LOGIC_BOOLEAN_TRUE: "wahr",
Blockly.Msg.LOGIC_COMPARE_HELPURL = "https://de.wikipedia.org/wiki/Vergleich_%28Zahlen%29"; LOGIC_COMPARE_HELPURL: "https://de.wikipedia.org/wiki/Vergleich_%28Zahlen%29",
Blockly.Msg.LOGIC_COMPARE_TOOLTIP_EQ = "Ist wahr (true), wenn beide Werte gleich sind."; LOGIC_COMPARE_TOOLTIP_EQ: "Ist wahr (true), wenn beide Werte gleich sind.",
Blockly.Msg.LOGIC_COMPARE_TOOLTIP_GT = "Ist wahr (true), wenn der erste Wert größer als der zweite Wert ist."; LOGIC_COMPARE_TOOLTIP_GT: "Ist wahr (true), wenn der erste Wert größer als der zweite Wert ist.",
Blockly.Msg.LOGIC_COMPARE_TOOLTIP_GTE = "Ist wahr (true), wenn der erste Wert größer als oder gleich groß wie der zweite Wert ist."; LOGIC_COMPARE_TOOLTIP_GTE: "Ist wahr (true), wenn der erste Wert größer als oder gleich groß wie der zweite Wert ist.",
Blockly.Msg.LOGIC_COMPARE_TOOLTIP_LT = "Ist wahr (true), wenn der erste Wert kleiner als der zweite Wert ist."; LOGIC_COMPARE_TOOLTIP_LT: "Ist wahr (true), wenn der erste Wert kleiner als der zweite Wert ist.",
Blockly.Msg.LOGIC_COMPARE_TOOLTIP_LTE = "Ist wahr (true), wenn der erste Wert kleiner als oder gleich groß wie der zweite Wert ist."; LOGIC_COMPARE_TOOLTIP_LTE: "Ist wahr (true), wenn der erste Wert kleiner als oder gleich groß wie der zweite Wert ist.",
Blockly.Msg.LOGIC_COMPARE_TOOLTIP_NEQ = "Ist wahr (true), wenn beide Werte unterschiedlich sind."; LOGIC_COMPARE_TOOLTIP_NEQ: "Ist wahr (true), wenn beide Werte unterschiedlich sind.",
Blockly.Msg.LOGIC_NEGATE_HELPURL = "https://github.com/google/blockly/wiki/Logic#not"; // untranslated LOGIC_NEGATE_HELPURL: "https://github.com/google/blockly/wiki/Logic#not", // untranslated
Blockly.Msg.LOGIC_NEGATE_TITLE = "nicht %1"; LOGIC_NEGATE_TITLE: "nicht %1",
Blockly.Msg.LOGIC_NEGATE_TOOLTIP = "Ist wahr (true), wenn der Eingabewert falsch (false) ist. Ist falsch (false), wenn der Eingabewert wahr (true) ist."; LOGIC_NEGATE_TOOLTIP: "Ist wahr (true), wenn der Eingabewert falsch (false) ist. Ist falsch (false), wenn der Eingabewert wahr (true) ist.",
Blockly.Msg.LOGIC_NULL = "null"; LOGIC_NULL: "null",
Blockly.Msg.LOGIC_NULL_HELPURL = "https://de.wikipedia.org/wiki/Nullwert"; LOGIC_NULL_HELPURL: "https://de.wikipedia.org/wiki/Nullwert",
Blockly.Msg.LOGIC_NULL_TOOLTIP = "Ist NULL."; LOGIC_NULL_TOOLTIP: "Ist NULL.",
Blockly.Msg.LOGIC_OPERATION_AND = "und"; LOGIC_OPERATION_AND: "und",
Blockly.Msg.LOGIC_OPERATION_HELPURL = "https://github.com/google/blockly/wiki/Logic#logical-operations"; // untranslated LOGIC_OPERATION_HELPURL: "https://github.com/google/blockly/wiki/Logic#logical-operations", // untranslated
Blockly.Msg.LOGIC_OPERATION_OR = "oder"; LOGIC_OPERATION_OR: "oder",
Blockly.Msg.LOGIC_OPERATION_TOOLTIP_AND = "Ist wahr (true), wenn beide Werte wahr (true) sind."; LOGIC_OPERATION_TOOLTIP_AND: "Ist wahr (true), wenn beide Werte wahr (true) sind.",
Blockly.Msg.LOGIC_OPERATION_TOOLTIP_OR = "Ist wahr (true), wenn einer der beiden Werte wahr (true) ist."; LOGIC_OPERATION_TOOLTIP_OR: "Ist wahr (true), wenn einer der beiden Werte wahr (true) ist.",
Blockly.Msg.LOGIC_TERNARY_CONDITION = "teste"; LOGIC_TERNARY_CONDITION: "teste",
Blockly.Msg.LOGIC_TERNARY_HELPURL = "https://de.wikipedia.org/wiki/%3F:#Auswahloperator"; LOGIC_TERNARY_HELPURL: "https://de.wikipedia.org/wiki/%3F:#Auswahloperator",
Blockly.Msg.LOGIC_TERNARY_IF_FALSE = "wenn falsch"; LOGIC_TERNARY_IF_FALSE: "wenn falsch",
Blockly.Msg.LOGIC_TERNARY_IF_TRUE = "wenn wahr"; LOGIC_TERNARY_IF_TRUE: "wenn wahr",
Blockly.Msg.LOGIC_TERNARY_TOOLTIP = "Überprüft eine Bedingung \"teste\". Wenn die Bedingung wahr ist, wird der \"wenn wahr\" Wert zurückgegeben, andernfalls der \"wenn falsch\" Wert"; LOGIC_TERNARY_TOOLTIP: "Überprüft eine Bedingung \"teste\". Wenn die Bedingung wahr ist, wird der \"wenn wahr\" Wert zurückgegeben, andernfalls der \"wenn falsch\" Wert",
/** /**
* Cases * Cases
*/ */
Blockly.Msg.cases_do = "Führe aus"; cases_do: "Führe aus",
Blockly.Msg.cases_condition = "Fall (Variable) = "; cases_condition: "Fall (Variable): ",
Blockly.Msg.cases_switch = "Variable"; cases_switch: "Variable",
Blockly.Msg.cases_add = "Fall"; cases_add: "Fall",
Blockly.Msg.cases_tooltip = "Führt den entsprechenden Fall aus, wenn die Überprüfung der Variable TRUE ergibt. Über das Zahnrad kannst du weitere Fälle hinzufügen. Über den 'Default' fall kannst du bestimmen, was passieren soll wenn keiner der vorher definierten Fälle eingetreten ist." cases_tooltip: "Führt den entsprechenden Fall aus, wenn die Überprüfung der Variable TRUE ergibt. Über das Zahnrad kannst du weitere Fälle hinzufügen. Über den 'Default' fall kannst du bestimmen, was passieren soll wenn keiner der vorher definierten Fälle eingetreten ist.",
}

View File

@ -1,24 +1,25 @@
import Blockly from 'blockly'
Blockly.Msg.CONTROLS_FLOW_STATEMENTS_HELPURL = "https://de.wikipedia.org/wiki/Kontrollstruktur"; export const LOOPS = {
Blockly.Msg.CONTROLS_FLOW_STATEMENTS_OPERATOR_BREAK = "Die Schleife abbrechen"; CONTROLS_FLOW_STATEMENTS_HELPURL: "https://de.wikipedia.org/wiki/Kontrollstruktur",
Blockly.Msg.CONTROLS_FLOW_STATEMENTS_OPERATOR_CONTINUE = "mit der nächsten Iteration der Schleife fortfahren"; CONTROLS_FLOW_STATEMENTS_OPERATOR_BREAK: "Die Schleife abbrechen",
Blockly.Msg.CONTROLS_FLOW_STATEMENTS_TOOLTIP_BREAK = "Die umgebende Schleife beenden."; CONTROLS_FLOW_STATEMENTS_OPERATOR_CONTINUE: "mit der nächsten Iteration der Schleife fortfahren",
Blockly.Msg.CONTROLS_FLOW_STATEMENTS_TOOLTIP_CONTINUE = "Diese Anweisung abbrechen und mit dem nächsten Schleifendurchlauf fortfahren."; CONTROLS_FLOW_STATEMENTS_TOOLTIP_BREAK: "Die umgebende Schleife beenden.",
Blockly.Msg.CONTROLS_FLOW_STATEMENTS_WARNING = "Warnung: Dieser Block sollte nur in einer Schleife verwendet werden."; CONTROLS_FLOW_STATEMENTS_TOOLTIP_CONTINUE: "Diese Anweisung abbrechen und mit dem nächsten Schleifendurchlauf fortfahren.",
Blockly.Msg.CONTROLS_FOREACH_HELPURL = "https://de.wikipedia.org/wiki/For-Schleife"; CONTROLS_FLOW_STATEMENTS_WARNING: "Warnung: Dieser Block sollte nur in einer Schleife verwendet werden.",
Blockly.Msg.CONTROLS_FOREACH_TITLE = "Für Wert %1 aus der Liste %2"; CONTROLS_FOREACH_HELPURL: "https://de.wikipedia.org/wiki/For-Schleife",
Blockly.Msg.CONTROLS_FOREACH_TOOLTIP = "Führe eine Anweisung für jeden Wert in der Liste aus und setzte dabei die Variable \"%1\" auf den aktuellen Listenwert."; CONTROLS_FOREACH_TITLE: "Für Wert %1 aus der Liste %2",
Blockly.Msg.CONTROLS_FOR_HELPURL = "https://de.wikipedia.org/wiki/For-Schleife"; CONTROLS_FOREACH_TOOLTIP: "Führe eine Anweisung für jeden Wert in der Liste aus und setzte dabei die Variable \"%1\" auf den aktuellen Listenwert.",
Blockly.Msg.CONTROLS_FOR_TITLE = "Zähle %1 von %2 bis %3 mit %4"; CONTROLS_FOR_HELPURL: "https://de.wikipedia.org/wiki/For-Schleife",
Blockly.Msg.CONTROLS_FOR_TOOLTIP = "Zähle die Variable \"%1\" von einem Startwert bis zu einem Zielwert und führe für jeden Wert eine Anweisung aus."; CONTROLS_FOR_TITLE: "Zähle %1 von %2 bis %3 mit %4",
CONTROLS_FOR_TOOLTIP: "Zähle die Variable \"%1\" von einem Startwert bis zu einem Zielwert und führe für jeden Wert eine Anweisung aus.",
Blockly.Msg.CONTROLS_REPEAT_HELPURL = "https://de.wikipedia.org/wiki/For-Schleife"; CONTROLS_REPEAT_HELPURL: "https://de.wikipedia.org/wiki/For-Schleife",
Blockly.Msg.CONTROLS_REPEAT_INPUT_DO = "mache"; CONTROLS_REPEAT_INPUT_DO: "mache",
Blockly.Msg.CONTROLS_REPEAT_TITLE = "Wiederhole %1 mal"; CONTROLS_REPEAT_TITLE: "Wiederhole %1 mal",
Blockly.Msg.CONTROLS_REPEAT_TOOLTIP = "Eine Anweisung mehrfach ausführen."; CONTROLS_REPEAT_TOOLTIP: "Eine Anweisung mehrfach ausführen.",
Blockly.Msg.CONTROLS_WHILEUNTIL_HELPURL = "https://de.wikipedia.org/wiki/Schleife_%28Programmierung%29"; CONTROLS_WHILEUNTIL_HELPURL: "https://de.wikipedia.org/wiki/Schleife_%28Programmierung%29",
Blockly.Msg.CONTROLS_WHILEUNTIL_OPERATOR_UNTIL = "Wiederhole bis"; CONTROLS_WHILEUNTIL_OPERATOR_UNTIL: "Wiederhole bis",
Blockly.Msg.CONTROLS_WHILEUNTIL_OPERATOR_WHILE = "Wiederhole solange"; CONTROLS_WHILEUNTIL_OPERATOR_WHILE: "Wiederhole solange",
Blockly.Msg.CONTROLS_WHILEUNTIL_TOOLTIP_UNTIL = "Führe die Anweisung solange aus wie die Bedingung falsch (false) ist."; CONTROLS_WHILEUNTIL_TOOLTIP_UNTIL: "Führe die Anweisung solange aus wie die Bedingung falsch (false) ist.",
Blockly.Msg.CONTROLS_WHILEUNTIL_TOOLTIP_WHILE = "Führe die Anweisung solange aus wie die Bedingung wahr (true) ist."; CONTROLS_WHILEUNTIL_TOOLTIP_WHILE: "Führe die Anweisung solange aus wie die Bedingung wahr (true) ist.",
}

View File

@ -1,85 +1,86 @@
import Blockly from 'blockly'
Blockly.Msg.MATH_ADDITION_SYMBOL = "+"; // untranslated export const MATH = {
Blockly.Msg.MATH_ARITHMETIC_HELPURL = "https://de.wikipedia.org/wiki/Grundrechenart"; MATH_ADDITION_SYMBOL: "+", // untranslated
Blockly.Msg.MATH_ARITHMETIC_TOOLTIP_ADD = "Ist die Summe zweier Werte."; MATH_ARITHMETIC_HELPURL: "https://de.wikipedia.org/wiki/Grundrechenart",
Blockly.Msg.MATH_ARITHMETIC_TOOLTIP_DIVIDE = "Ist der Quotient zweier Werte."; MATH_ARITHMETIC_TOOLTIP_ADD: "Ist die Summe zweier Werte.",
Blockly.Msg.MATH_ARITHMETIC_TOOLTIP_MINUS = "Ist die Differenz zweier Werte."; MATH_ARITHMETIC_TOOLTIP_DIVIDE: "Ist der Quotient zweier Werte.",
Blockly.Msg.MATH_ARITHMETIC_TOOLTIP_MULTIPLY = "Ist das Produkt zweier Werte."; MATH_ARITHMETIC_TOOLTIP_MINUS: "Ist die Differenz zweier Werte.",
Blockly.Msg.MATH_ARITHMETIC_TOOLTIP_POWER = "Ist der erste Wert potenziert mit dem zweiten Wert."; MATH_ARITHMETIC_TOOLTIP_MULTIPLY: "Ist das Produkt zweier Werte.",
Blockly.Msg.MATH_CHANGE_HELPURL = "https://de.wikipedia.org/wiki/Inkrement_und_Dekrement"; MATH_ARITHMETIC_TOOLTIP_POWER: "Ist der erste Wert potenziert mit dem zweiten Wert.",
Blockly.Msg.MATH_CHANGE_TITLE = "erhöhe %1 um %2"; MATH_CHANGE_HELPURL: "https://de.wikipedia.org/wiki/Inkrement_und_Dekrement",
Blockly.Msg.MATH_CHANGE_TOOLTIP = "Addiert einen Wert zur Variable \"%1\" hinzu."; MATH_CHANGE_TITLE: "erhöhe %1 um %2",
Blockly.Msg.MATH_CONSTANT_HELPURL = "https://de.wikipedia.org/wiki/Mathematische_Konstante"; MATH_CHANGE_TOOLTIP: "Addiert einen Wert zur Variable \"%1\" hinzu.",
Blockly.Msg.MATH_CONSTANT_TOOLTIP = "Mathematische Konstanten wie: π (3.141…), e (2.718…), φ (1.618…), sqrt(2) (1.414…), sqrt(½) (0.707…) oder ∞ (unendlich)."; MATH_CONSTANT_HELPURL: "https://de.wikipedia.org/wiki/Mathematische_Konstante",
Blockly.Msg.MATH_CONSTRAIN_HELPURL = "https://en.wikipedia.org/wiki/Clamping_%28graphics%29"; // untranslated MATH_CONSTANT_TOOLTIP: "Mathematische Konstanten wie: π (3.141…), e (2.718…), φ (1.618…), sqrt(2) (1.414…), sqrt(½) (0.707…) oder ∞ (unendlich).",
Blockly.Msg.MATH_CONSTRAIN_TITLE = "begrenze %1 von %2 bis %3"; MATH_CONSTRAIN_HELPURL: "https://en.wikipedia.org/wiki/Clamping_%28graphics%29", // untranslated
Blockly.Msg.MATH_CONSTRAIN_TOOLTIP = "Begrenzt den Wertebereich auf den \"von\"-Wert bis einschließlich zum \"bis\"-Wert. (inklusiv)"; MATH_CONSTRAIN_TITLE: "begrenze %1 von %2 bis %3",
Blockly.Msg.MATH_DIVISION_SYMBOL = "÷"; // untranslated MATH_CONSTRAIN_TOOLTIP: "Begrenzt den Wertebereich auf den \"von\"-Wert bis einschließlich zum \"bis\"-Wert. (inklusiv)",
Blockly.Msg.MATH_IS_DIVISIBLE_BY = "ist teilbar durch"; MATH_DIVISION_SYMBOL: "÷", // untranslated
Blockly.Msg.MATH_IS_EVEN = "ist gerade"; MATH_IS_DIVISIBLE_BY: "ist teilbar durch",
Blockly.Msg.MATH_IS_NEGATIVE = "ist negativ"; MATH_IS_EVEN: "ist gerade",
Blockly.Msg.MATH_IS_ODD = "ist ungerade"; MATH_IS_NEGATIVE: "ist negativ",
Blockly.Msg.MATH_IS_POSITIVE = "ist positiv"; MATH_IS_ODD: "ist ungerade",
Blockly.Msg.MATH_IS_PRIME = "ist eine Primzahl"; MATH_IS_POSITIVE: "ist positiv",
Blockly.Msg.MATH_IS_TOOLTIP = "Überprüft ob eine Zahl gerade, ungerade, eine Primzahl, ganzzahlig, positiv, negativ oder durch eine zweite Zahl teilbar ist. Gibt wahr (true) oder falsch (false) zurück."; MATH_IS_PRIME: "ist eine Primzahl",
Blockly.Msg.MATH_IS_WHOLE = "ist eine ganze Zahl"; MATH_IS_TOOLTIP: "Überprüft ob eine Zahl gerade, ungerade, eine Primzahl, ganzzahlig, positiv, negativ oder durch eine zweite Zahl teilbar ist. Gibt wahr (true) oder falsch (false) zurück.",
Blockly.Msg.MATH_MODULO_HELPURL = "https://de.wikipedia.org/wiki/Modulo"; MATH_IS_WHOLE: "ist eine ganze Zahl",
Blockly.Msg.MATH_MODULO_TITLE = "Rest von %1 ÷ %2"; MATH_MODULO_HELPURL: "https://de.wikipedia.org/wiki/Modulo",
Blockly.Msg.MATH_MODULO_TOOLTIP = "Der Rest nach einer Division."; MATH_MODULO_TITLE: "Rest von %1 ÷ %2",
Blockly.Msg.MATH_MULTIPLICATION_SYMBOL = "×"; MATH_MODULO_TOOLTIP: "Der Rest nach einer Division.",
Blockly.Msg.MATH_NUMBER_HELPURL = "https://de.wikipedia.org/wiki/Zahl"; MATH_MULTIPLICATION_SYMBOL: "×",
Blockly.Msg.MATH_NUMBER_TOOLTIP = "Eine Zahl."; MATH_NUMBER_HELPURL: "https://de.wikipedia.org/wiki/Zahl",
Blockly.Msg.MATH_ONLIST_HELPURL = "http://www.sysplus.ch/einstieg.php?links=menu&seite=4125&grad=Crash&prog=Excel"; MATH_NUMBER_TOOLTIP: "Eine Zahl.",
Blockly.Msg.MATH_ONLIST_OPERATOR_AVERAGE = "Mittelwert einer Liste"; MATH_ONLIST_HELPURL: "http://www.sysplus.ch/einstieg.php?links:menu&seite:4125&grad:Crash&prog:Excel",
Blockly.Msg.MATH_ONLIST_OPERATOR_MAX = "Maximalwert einer Liste"; MATH_ONLIST_OPERATOR_AVERAGE: "Mittelwert einer Liste",
Blockly.Msg.MATH_ONLIST_OPERATOR_MEDIAN = "Median einer Liste"; MATH_ONLIST_OPERATOR_MAX: "Maximalwert einer Liste",
Blockly.Msg.MATH_ONLIST_OPERATOR_MIN = "Minimalwert einer Liste"; MATH_ONLIST_OPERATOR_MEDIAN: "Median einer Liste",
Blockly.Msg.MATH_ONLIST_OPERATOR_MODE = "am häufigsten in Liste"; MATH_ONLIST_OPERATOR_MIN: "Minimalwert einer Liste",
Blockly.Msg.MATH_ONLIST_OPERATOR_RANDOM = "Zufallswert einer Liste"; MATH_ONLIST_OPERATOR_MODE: "am häufigsten in Liste",
Blockly.Msg.MATH_ONLIST_OPERATOR_STD_DEV = "Standardabweichung einer Liste"; MATH_ONLIST_OPERATOR_RANDOM: "Zufallswert einer Liste",
Blockly.Msg.MATH_ONLIST_OPERATOR_SUM = "Summe einer Liste"; MATH_ONLIST_OPERATOR_STD_DEV: "Standardabweichung einer Liste",
Blockly.Msg.MATH_ONLIST_TOOLTIP_AVERAGE = "Ist der Durchschnittswert aller Werte in einer Liste."; MATH_ONLIST_OPERATOR_SUM: "Summe einer Liste",
Blockly.Msg.MATH_ONLIST_TOOLTIP_MAX = "Ist der größte Wert in einer Liste."; MATH_ONLIST_TOOLTIP_AVERAGE: "Ist der Durchschnittswert aller Werte in einer Liste.",
Blockly.Msg.MATH_ONLIST_TOOLTIP_MEDIAN = "Ist der Median aller Werte in einer Liste."; MATH_ONLIST_TOOLTIP_MAX: "Ist der größte Wert in einer Liste.",
Blockly.Msg.MATH_ONLIST_TOOLTIP_MIN = "Ist der kleinste Wert in einer Liste."; MATH_ONLIST_TOOLTIP_MEDIAN: "Ist der Median aller Werte in einer Liste.",
Blockly.Msg.MATH_ONLIST_TOOLTIP_MODE = "Findet den am häufigsten vorkommenden Wert in einer Liste. Falls kein Wert öfter vorkommt als alle anderen, wird die originale Liste zurückgeben"; MATH_ONLIST_TOOLTIP_MIN: "Ist der kleinste Wert in einer Liste.",
Blockly.Msg.MATH_ONLIST_TOOLTIP_RANDOM = "Gebe einen zufälligen Wert aus der Liste zurück."; MATH_ONLIST_TOOLTIP_MODE: "Findet den am häufigsten vorkommenden Wert in einer Liste. Falls kein Wert öfter vorkommt als alle anderen, wird die originale Liste zurückgeben",
Blockly.Msg.MATH_ONLIST_TOOLTIP_STD_DEV = "Ist die standardisierte Standardabweichung aller Werte in der Liste"; MATH_ONLIST_TOOLTIP_RANDOM: "Gebe einen zufälligen Wert aus der Liste zurück.",
Blockly.Msg.MATH_ONLIST_TOOLTIP_SUM = "Ist die Summe aller Werte in einer Liste."; MATH_ONLIST_TOOLTIP_STD_DEV: "Ist die standardisierte Standardabweichung aller Werte in der Liste",
Blockly.Msg.MATH_POWER_SYMBOL = "^"; MATH_ONLIST_TOOLTIP_SUM: "Ist die Summe aller Werte in einer Liste.",
Blockly.Msg.MATH_RANDOM_FLOAT_HELPURL = "https://de.wikipedia.org/wiki/Zufallszahlen"; MATH_POWER_SYMBOL: "^",
Blockly.Msg.MATH_RANDOM_FLOAT_TITLE_RANDOM = "Zufallszahl (0.0 -1.0)"; MATH_RANDOM_FLOAT_HELPURL: "https://de.wikipedia.org/wiki/Zufallszahlen",
Blockly.Msg.MATH_RANDOM_FLOAT_TOOLTIP = "Erzeuge eine Zufallszahl zwischen 0.0 (inklusiv) und 1.0 (exklusiv)."; MATH_RANDOM_FLOAT_TITLE_RANDOM: "Zufallszahl (0.0 -1.0)",
Blockly.Msg.MATH_RANDOM_INT_HELPURL = "https://de.wikipedia.org/wiki/Zufallszahlen"; MATH_RANDOM_FLOAT_TOOLTIP: "Erzeuge eine Zufallszahl zwischen 0.0 (inklusiv) und 1.0 (exklusiv).",
Blockly.Msg.MATH_RANDOM_INT_TITLE = "ganzzahliger Zufallswert zwischen %1 bis %2"; MATH_RANDOM_INT_HELPURL: "https://de.wikipedia.org/wiki/Zufallszahlen",
Blockly.Msg.MATH_RANDOM_INT_TOOLTIP = "Erzeuge einen ganzzahligen Zufallswert zwischen zwei Werten (inklusiv)."; MATH_RANDOM_INT_TITLE: "ganzzahliger Zufallswert zwischen %1 bis %2",
Blockly.Msg.MATH_ROUND_HELPURL = "https://de.wikipedia.org/wiki/Runden"; MATH_RANDOM_INT_TOOLTIP: "Erzeuge einen ganzzahligen Zufallswert zwischen zwei Werten (inklusiv).",
Blockly.Msg.MATH_ROUND_OPERATOR_ROUND = "runden"; MATH_ROUND_HELPURL: "https://de.wikipedia.org/wiki/Runden",
Blockly.Msg.MATH_ROUND_OPERATOR_ROUNDDOWN = "abrunden"; MATH_ROUND_OPERATOR_ROUND: "runden",
Blockly.Msg.MATH_ROUND_OPERATOR_ROUNDUP = "aufrunden"; MATH_ROUND_OPERATOR_ROUNDDOWN: "abrunden",
Blockly.Msg.MATH_ROUND_TOOLTIP = "Eine Zahl auf- oder abrunden."; MATH_ROUND_OPERATOR_ROUNDUP: "aufrunden",
Blockly.Msg.MATH_SINGLE_HELPURL = "https://de.wikipedia.org/wiki/Quadratwurzel"; MATH_ROUND_TOOLTIP: "Eine Zahl auf- oder abrunden.",
Blockly.Msg.MATH_SINGLE_OP_ABSOLUTE = "Absolutwert"; MATH_SINGLE_HELPURL: "https://de.wikipedia.org/wiki/Quadratwurzel",
Blockly.Msg.MATH_SINGLE_OP_ROOT = "Quadratwurzel"; MATH_SINGLE_OP_ABSOLUTE: "Absolutwert",
Blockly.Msg.MATH_SINGLE_TOOLTIP_ABS = "Ist der Absolutwert eines Wertes."; MATH_SINGLE_OP_ROOT: "Quadratwurzel",
Blockly.Msg.MATH_SINGLE_TOOLTIP_EXP = "Ist Wert der Exponentialfunktion eines Wertes."; MATH_SINGLE_TOOLTIP_ABS: "Ist der Absolutwert eines Wertes.",
Blockly.Msg.MATH_SINGLE_TOOLTIP_LN = "Ist der natürliche Logarithmus eines Wertes."; MATH_SINGLE_TOOLTIP_EXP: "Ist Wert der Exponentialfunktion eines Wertes.",
Blockly.Msg.MATH_SINGLE_TOOLTIP_LOG10 = "Ist der dekadische Logarithmus eines Wertes."; MATH_SINGLE_TOOLTIP_LN: "Ist der natürliche Logarithmus eines Wertes.",
Blockly.Msg.MATH_SINGLE_TOOLTIP_NEG = "Negiert einen Wert."; MATH_SINGLE_TOOLTIP_LOG10: "Ist der dekadische Logarithmus eines Wertes.",
Blockly.Msg.MATH_SINGLE_TOOLTIP_POW10 = "Rechnet 10 hoch Eingabewert."; MATH_SINGLE_TOOLTIP_NEG: "Negiert einen Wert.",
Blockly.Msg.MATH_SINGLE_TOOLTIP_ROOT = "Ist die Quadratwurzel eines Wertes."; MATH_SINGLE_TOOLTIP_POW10: "Rechnet 10 hoch Eingabewert.",
Blockly.Msg.MATH_SUBTRACTION_SYMBOL = "-"; MATH_SINGLE_TOOLTIP_ROOT: "Ist die Quadratwurzel eines Wertes.",
Blockly.Msg.MATH_TRIG_ACOS = "acos"; MATH_SUBTRACTION_SYMBOL: "-",
Blockly.Msg.MATH_TRIG_ASIN = "asin"; MATH_TRIG_ACOS: "acos",
Blockly.Msg.MATH_TRIG_ATAN = "atan"; MATH_TRIG_ASIN: "asin",
Blockly.Msg.MATH_TRIG_COS = "cos"; MATH_TRIG_ATAN: "atan",
Blockly.Msg.MATH_TRIG_HELPURL = "https://de.wikipedia.org/wiki/Trigonometrie"; MATH_TRIG_COS: "cos",
Blockly.Msg.MATH_TRIG_SIN = "sin"; MATH_TRIG_HELPURL: "https://de.wikipedia.org/wiki/Trigonometrie",
Blockly.Msg.MATH_TRIG_TAN = "tan"; MATH_TRIG_SIN: "sin",
Blockly.Msg.MATH_TRIG_TOOLTIP_ACOS = "Ist der Arkuskosinus des Eingabewertes."; MATH_TRIG_TAN: "tan",
Blockly.Msg.MATH_TRIG_TOOLTIP_ASIN = "Ist der Arkussinus des Eingabewertes."; MATH_TRIG_TOOLTIP_ACOS: "Ist der Arkuskosinus des Eingabewertes.",
Blockly.Msg.MATH_TRIG_TOOLTIP_ATAN = "Ist der Arkustangens des Eingabewertes."; MATH_TRIG_TOOLTIP_ASIN: "Ist der Arkussinus des Eingabewertes.",
Blockly.Msg.MATH_TRIG_TOOLTIP_COS = "Ist der Kosinus des Winkels."; MATH_TRIG_TOOLTIP_ATAN: "Ist der Arkustangens des Eingabewertes.",
Blockly.Msg.MATH_TRIG_TOOLTIP_SIN = "Ist der Sinus des Winkels."; MATH_TRIG_TOOLTIP_COS: "Ist der Kosinus des Winkels.",
Blockly.Msg.MATH_TRIG_TOOLTIP_TAN = "Ist der Tangens des Winkels."; MATH_TRIG_TOOLTIP_SIN: "Ist der Sinus des Winkels.",
MATH_TRIG_TOOLTIP_TAN: "Ist der Tangens des Winkels.",
}

View File

@ -1,14 +1,15 @@
import Blockly from 'blockly'
/** export const MQTT = {
* MQTT /**
*/ * MQTT
Blockly.Msg.senseBox_mqtt_init = "Verbinde mit MQTT Broker"; */
Blockly.Msg.senseBox_mqtt_server = "Server"; senseBox_mqtt_init: "Verbinde mit MQTT Broker",
Blockly.Msg.senseBox_mqtt_port = "Port"; senseBox_mqtt_server: "Server",
Blockly.Msg.senseBox_mqtt_username = "Benutzername"; senseBox_mqtt_port: "Port",
Blockly.Msg.senseBox_mqtt_password = "Passwort"; senseBox_mqtt_username: "Benutzername",
Blockly.Msg.sensebox_mqtt_subscribe = "Subscribe to Feed" senseBox_mqtt_password: "Passwort",
Blockly.Msg.senseBox_mqtt_publish = "Sende an Feed/Topic"; sensebox_mqtt_subscribe: "Subscribe to Feed",
Blockly.Msg.senseBox_mqtt_init_tooltip = "Initialisiere die Verbindung zu dem MQTT Broker. Verwende diesen Block innerhalb der setup()-Funktion und stelle zuerst eine Verbindung mit dem Wlan Netzwerk her." senseBox_mqtt_publish: "Sende an Feed/Topic",
Blockly.Msg.senseBox_mqtt_publish_tooltip = "Sende etwas an ein 'Topic' deines MQTT Brokers." senseBox_mqtt_init_tooltip: "Initialisiere die Verbindung zu dem MQTT Broker. Verwende diesen Block innerhalb der setup()-Funktion und stelle zuerst eine Verbindung mit dem Wlan Netzwerk her.",
senseBox_mqtt_publish_tooltip: "Sende etwas an ein 'Topic' deines MQTT Brokers.",
}

View File

@ -1,51 +1,52 @@
import Blockly from 'blockly';
/** export const DISPLAY = {
* Display /**
*/ * Display
*/
Blockly.Msg.senseBox_display_beginDisplay = "Display initialisieren"; senseBox_display_beginDisplay: "Display initialisieren",
Blockly.Msg.senseBox_display_beginDisplay_tooltip = `Initialisiert das Display. Dieser Block muss im Setup() verwendet werden. senseBox_display_beginDisplay_tooltip: `Initialisiert das Display. Dieser Block muss im Setup() verwendet werden.
**Anschluss:** I2C **Anschluss:** I2C
` `,
Blockly.Msg.senseBox_display_clearDisplay_tooltip = "Löscht die Anzeige auf dem Display. Sollte immer zu Begin oder am Ende der Endlosschleife aufgerufen werden."; senseBox_display_clearDisplay_tooltip: "Löscht die Anzeige auf dem Display. Sollte immer zu Begin oder am Ende der Endlosschleife aufgerufen werden.",
Blockly.Msg.senseBox_display_clearDisplay = "Display löschen"; senseBox_display_clearDisplay: "Display löschen",
Blockly.Msg.senseBox_display_printDisplay = "Schreibe Text/Zahl"; senseBox_display_printDisplay: "Schreibe Text/Zahl",
Blockly.Msg.senseBox_display_printDisplay_tooltip = "Zeigt eine Zahl/Text auf dem Display an. Über die X- und Y-Koordinaten kann die Position auf dem Display bestimmt werden. Die Schriftgröße lässt sich in ganzzahligen Werten zwischen 1 und 4 einstellen. Das Display hat eine Auflösung von 128x64 Pixeln (X- und Y-Achse)"; senseBox_display_printDisplay_tooltip: "Zeigt eine Zahl/Text auf dem Display an. Über die X- und Y-Koordinaten kann die Position auf dem Display bestimmt werden. Die Schriftgröße lässt sich in ganzzahligen Werten zwischen 1 und 4 einstellen. Das Display hat eine Auflösung von 128x64 Pixeln (X- und Y-Achse)",
Blockly.Msg.senseBox_display_printDisplay_x = "x-Koordinate"; senseBox_display_printDisplay_x: "x-Koordinate",
Blockly.Msg.senseBox_display_printDisplay_y = "y-Koordinate"; senseBox_display_printDisplay_y: "y-Koordinate",
Blockly.Msg.senseBox_display_printDisplay_value = "Wert"; senseBox_display_printDisplay_value: "Wert",
Blockly.Msg.senseBox_display_setSize = "Schriftgröße"; senseBox_display_setSize: "Schriftgröße",
Blockly.Msg.senseBox_display_setSize_tip = "Ändere die Schriftgröße auf einen Wert zwischen 1 und 10."; senseBox_display_setSize_tip: "Ändere die Schriftgröße auf einen Wert zwischen 1 und 10.",
Blockly.Msg.senseBox_display_color = "Schriftfarbe"; senseBox_display_color: "Schriftfarbe",
Blockly.Msg.senseBox_display_white = "Weiß"; senseBox_display_white: "Weiß",
Blockly.Msg.senseBox_display_black = "Schwarz"; senseBox_display_black: "Schwarz",
Blockly.Msg.sensebox_display_show = "Zeige auf dem Display"; sensebox_display_show: "Zeige auf dem Display",
Blockly.Msg.sensebox_display_show_tip = "Zeigt den Nachfolgenden Inhalt auf dem Bildschirm"; sensebox_display_show_tip: "Zeigt den Nachfolgenden Inhalt auf dem Bildschirm",
Blockly.Msg.senseBox_dipslay_plotTitle = "Titel"; senseBox_dipslay_plotTitle: "Titel",
Blockly.Msg.senseBox_display_plotDisplay = "Zeichne Diagramm"; senseBox_display_plotDisplay: "Zeichne Diagramm",
Blockly.Msg.senseBox_display_plotXLabel = "X-Achsen Beschriftung"; senseBox_display_plotXLabel: "X-Achsen Beschriftung",
Blockly.Msg.senseBox_display_plotYLabel = "Y-Achsen Beschriftung"; senseBox_display_plotYLabel: "Y-Achsen Beschriftung",
Blockly.Msg.senseBox_display_plotXRange1 = "X-Wertebereich Anfang"; senseBox_display_plotXRange1: "X-Wertebereich Anfang",
Blockly.Msg.senseBox_display_plotXRange2 = "X-Wertebereich Ende"; senseBox_display_plotXRange2: "X-Wertebereich Ende",
Blockly.Msg.senseBox_display_plotYRange1 = "Y-Wertebereich Anfang"; senseBox_display_plotYRange1: "Y-Wertebereich Anfang",
Blockly.Msg.senseBox_display_plotYRange2 = "Y-Wertebereich Ende"; senseBox_display_plotYRange2: "Y-Wertebereich Ende",
Blockly.Msg.senseBox_display_plotXTick = "X-Linienabstand"; senseBox_display_plotXTick: "X-Linienabstand",
Blockly.Msg.senseBox_display_plotYTick = "Y-Linienabstand"; senseBox_display_plotYTick: "Y-Linienabstand",
Blockly.Msg.senseBox_display_printDisplay_tooltip = "Mit diesem Block können automatisch Diagramme auf dem Display erstellt werden." senseBox_display_printDisplay_tooltip: "Mit diesem Block können automatisch Diagramme auf dem Display erstellt werden.",
Blockly.Msg.senseBox_display_plotTimeFrame = "Zeitabschnitt"; senseBox_display_plotTimeFrame: "Zeitabschnitt",
Blockly.Msg.sensebox_display_fillCircle = "Zeichne Punkt"; sensebox_display_fillCircle: "Zeichne Punkt",
Blockly.Msg.sensebox_display_fillCircle_radius = "Radius"; sensebox_display_fillCircle_radius: "Radius",
Blockly.Msg.senseBox_display_fillCircle_tooltip = "Mit diesem Block kann ein Punkt auf dem Display angezeigt werden. Über die Koordinaten kannst du den Punkt auf dem Display platzieren und mithilfe des Radius die Größe bestimmen." senseBox_display_fillCircle_tooltip: "Mit diesem Block kann ein Punkt auf dem Display angezeigt werden. Über die Koordinaten kannst du den Punkt auf dem Display platzieren und mithilfe des Radius die Größe bestimmen.",
Blockly.Msg.sensebox_display_drawRectangle = "Zeichne Rechteck"; sensebox_display_drawRectangle: "Zeichne Rechteck",
Blockly.Msg.sensebox_display_drawRectangle_width = "Breite"; sensebox_display_drawRectangle_width: "Breite",
Blockly.Msg.sensebox_display_drawRectangle_height = "Höhe"; sensebox_display_drawRectangle_height: "Höhe",
Blockly.Msg.senseBox_display_drawRectangle_tooltip = "Dieser Block zeichnet ein Rechteck auf das Display. Mit den X- und Y-Koordinaten wird die Position der oberen linken Ecke des Rechtecks auf dem Display bestimmt. Die Höhe und Breite wird in Pixeln angegeben und mit der Checkbox 'Ausgefüllt' kann ausgewählt werden ob das Rechteck ausgefüllt oder nur als Rahmen angezeigt wird." senseBox_display_drawRectangle_tooltip: "Dieser Block zeichnet ein Rechteck auf das Display. Mit den X- und Y-Koordinaten wird die Position der oberen linken Ecke des Rechtecks auf dem Display bestimmt. Die Höhe und Breite wird in Pixeln angegeben und mit der Checkbox 'Ausgefüllt' kann ausgewählt werden ob das Rechteck ausgefüllt oder nur als Rahmen angezeigt wird.",
Blockly.Msg.senseBox_display_filled = "Ausgefüllt"; senseBox_display_filled: "Ausgefüllt",
Blockly.Msg.senseBox_display_fastPrint_show = "Zeige Messwerte"; senseBox_display_fastPrint_show: "Zeige Messwerte",
Blockly.Msg.senseBox_display_fastPrint_title = "Titel"; senseBox_display_fastPrint_title: "Titel",
Blockly.Msg.senseBox_display_fastPrint_value = "Messwert"; senseBox_display_fastPrint_value: "Messwert",
Blockly.Msg.senseBox_display_fastPrint_dimension = "Einheit"; senseBox_display_fastPrint_dimension: "Einheit",
Blockly.Msg.sensebox_display_fastPrint_tooltip = "Zeigt zwei Messwerte auf dem Display an. Wähle eine Überschrift für jeden Messwert und gib die Einheit an." sensebox_display_fastPrint_tooltip: "Zeigt zwei Messwerte auf dem Display an. Wähle eine Überschrift für jeden Messwert und gib die Einheit an.",
Blockly.Msg.senseBox_display_helpurl = "https://docs.sensebox.de/blockly/blockly-display/" senseBox_display_helpurl: "https://docs.sensebox.de/blockly/blockly-display/"
}

View File

@ -1,35 +1,36 @@
import Blockly from 'blockly' export const LED = {
/**
* WS2818 RGB LED
*/
senseBox_ws2818_rgb_led: "Setze RGB-LED an",
senseBox_ws2818_rgb_led_init: "RGB LED (WS2818) initialisieren",
senseBox_ws2818_rgb_led_position: "Position",
senseBox_ws2818_rgb_led_brightness: "Helligkeit",
senseBox_ws2818_rgb_led_tooltip: "Verändere mit diesem Block die Farbe deiner RGB-LED. Verbinde einen Block für die Farbe. Wenn mehrere RGB-LEDs miteinander verkettet werden kannst du über die Position bestimmen welche LED angesteuert wird. ",
senseBox_ws2818_rgb_led_init_tooltip: "Schließe die RGB-LED an einen der drei **digital/analog Ports** an. Wenn mehrere RGB-LEDs miteinander verkettet werden kannst du über die Position bestimmen welche LED angesteuert wird. ",
senseBox_ws2818_rgb_led_color: "Farbe",
senseBox_ws2818_rgb_led_number: "Anzahl",
/** /**
* WS2818 RGB LED * Color
*/ */
Blockly.Msg.senseBox_ws2818_rgb_led = "Setze RGB-LED an";
Blockly.Msg.senseBox_ws2818_rgb_led_init = "RGB LED (WS2818) initialisieren";
Blockly.Msg.senseBox_ws2818_rgb_led_position = "Position";
Blockly.Msg.senseBox_ws2818_rgb_led_brightness = "Helligkeit";
Blockly.Msg.senseBox_ws2818_rgb_led_tooltip = "Verändere mit diesem Block die Farbe deiner RGB-LED. Verbinde einen Block für die Farbe. Wenn mehrere RGB-LEDs miteinander verkettet werden kannst du über die Position bestimmen welche LED angesteuert wird. "
Blockly.Msg.senseBox_ws2818_rgb_led_init_tooltip = "Schließe die RGB-LED an einen der drei **digital/analog Ports** an. Wenn mehrere RGB-LEDs miteinander verkettet werden kannst du über die Position bestimmen welche LED angesteuert wird. "
Blockly.Msg.senseBox_ws2818_rgb_led_color = "Farbe"
Blockly.Msg.senseBox_ws2818_rgb_led_number = "Anzahl"
/** COLOUR_BLEND_COLOUR1: "Farbe 1",
* Color COLOUR_BLEND_COLOUR2: "mit Farbe 2",
*/ COLOUR_BLEND_HELPURL: "http://meyerweb.com/eric/tools/color-blend/",
COLOUR_BLEND_RATIO: "im Verhältnis",
COLOUR_BLEND_TITLE: "mische",
COLOUR_BLEND_TOOLTIP: "Vermische 2 Farben mit konfigurierbaren Farbverhältnis (0.0 - 1.0).",
COLOUR_PICKER_HELPURL: "https://de.wikipedia.org/wiki/Farbe",
COLOUR_PICKER_TOOLTIP: "Wähle eine Farbe aus der Palette. Die Farbe wird automatisch in RGB-Werte konvertiert.",
COLOUR_RANDOM_HELPURL: "http://randomcolour.com", // untranslated
COLOUR_RANDOM_TITLE: "zufällige Farbe",
COLOUR_RANDOM_TOOLTIP: "Erstelle eine Farbe nach dem Zufallsprinzip.",
COLOUR_RGB_BLUE: "blau",
COLOUR_RGB_GREEN: "grün",
COLOUR_RGB_HELPURL: "https://de.wikipedia.org/wiki/RGB-Farbraum",
COLOUR_RGB_RED: "rot",
COLOUR_RGB_TITLE: "Farbe mit",
COLOUR_RGB_TOOLTIP: "Erstelle eine Farbe mit selbst definierten Rot-, Grün- und Blauwerten. Alle Werte müssen zwischen 0 und 255 liegen. 0 ist hierbei die geringte Intensität der Farbe 255 die höchste.",
Blockly.Msg.COLOUR_BLEND_COLOUR1 = "Farbe 1"; }
Blockly.Msg.COLOUR_BLEND_COLOUR2 = "mit Farbe 2";
Blockly.Msg.COLOUR_BLEND_HELPURL = "http://meyerweb.com/eric/tools/color-blend/";
Blockly.Msg.COLOUR_BLEND_RATIO = "im Verhältnis";
Blockly.Msg.COLOUR_BLEND_TITLE = "mische";
Blockly.Msg.COLOUR_BLEND_TOOLTIP = "Vermische 2 Farben mit konfigurierbaren Farbverhältnis (0.0 - 1.0).";
Blockly.Msg.COLOUR_PICKER_HELPURL = "https://de.wikipedia.org/wiki/Farbe";
Blockly.Msg.COLOUR_PICKER_TOOLTIP = "Wähle eine Farbe aus der Palette. Die Farbe wird automatisch in RGB-Werte konvertiert.";
Blockly.Msg.COLOUR_RANDOM_HELPURL = "http://randomcolour.com"; // untranslated
Blockly.Msg.COLOUR_RANDOM_TITLE = "zufällige Farbe";
Blockly.Msg.COLOUR_RANDOM_TOOLTIP = "Erstelle eine Farbe nach dem Zufallsprinzip.";
Blockly.Msg.COLOUR_RGB_BLUE = "blau";
Blockly.Msg.COLOUR_RGB_GREEN = "grün";
Blockly.Msg.COLOUR_RGB_HELPURL = "https://de.wikipedia.org/wiki/RGB-Farbraum";
Blockly.Msg.COLOUR_RGB_RED = "rot";
Blockly.Msg.COLOUR_RGB_TITLE = "Farbe mit";
Blockly.Msg.COLOUR_RGB_TOOLTIP = "Erstelle eine Farbe mit selbst definierten Rot-, Grün- und Blauwerten. Alle Werte müssen zwischen 0 und 255 liegen. 0 ist hierbei die geringte Intensität der Farbe 255 die höchste.";

View File

@ -1,45 +1,46 @@
import Blockly from 'blockly'; export const LORA = {
/* /*
* LoRa Blöcke * LoRa Blöcke
*/ */
Blockly.Msg.senseBox_LoRa_connect = "Zu TTN senden"; senseBox_LoRa_connect: "Zu TTN senden",
Blockly.Msg.senseBox_LoRa_device_id = "Device EUI (lsb)"; senseBox_LoRa_device_id: "Device EUI (lsb)",
Blockly.Msg.senseBox_LoRa_app_id = "Application EUI (lsb)"; senseBox_LoRa_app_id: "Application EUI (lsb)",
Blockly.Msg.senseBox_LoRa_app_key = "App Key (msb)"; senseBox_LoRa_app_key: "App Key (msb)",
Blockly.Msg.senseBox_LoRa_nwskey_id = "Network Session Key (msb)"; senseBox_LoRa_nwskey_id: "Network Session Key (msb)",
Blockly.Msg.senseBox_LoRa_appskey_id = "App Session Key (msb)"; senseBox_LoRa_appskey_id: "App Session Key (msb)",
Blockly.Msg.senseBox_LoRa_devaddr_id = "Device Adress"; senseBox_LoRa_devaddr_id: "Device Adress",
Blockly.Msg.senseBox_LoRa_interval = "Intervall in Minuten" senseBox_LoRa_interval: "Intervall in Minuten",
Blockly.Msg.senseBox_measurement = "Messung"; senseBox_measurement: "Messung",
Blockly.Msg.senseBox_measurements = "Messungen"; senseBox_measurements: "Messungen",
Blockly.Msg.senseBox_LoRa_send_message = "Sende als Lora Nachricht"; senseBox_LoRa_send_message: "Sende als Lora Nachricht",
Blockly.Msg.senseBox_LoRa_send_cayenne = "Sende als Cayenne Nachricht"; senseBox_LoRa_send_cayenne: "Sende als Cayenne Nachricht",
Blockly.Msg.senseBox_LoRa_cayenne_temperature = "Temperatur"; senseBox_LoRa_cayenne_temperature: "Temperatur",
Blockly.Msg.senseBox_LoRa_cayenne_channel = "Kanal"; senseBox_LoRa_cayenne_channel: "Kanal",
Blockly.Msg.senseBox_LoRa_cayenne_humidity = "Luftfeuchtigkeit" senseBox_LoRa_cayenne_humidity: "Luftfeuchtigkeit",
Blockly.Msg.senseBox_LoRa_cayenne_pressure = "Luftdruck"; senseBox_LoRa_cayenne_pressure: "Luftdruck",
Blockly.Msg.senseBox_LoRa_cayenne_luminosity = "Helligkeit"; senseBox_LoRa_cayenne_luminosity: "Helligkeit",
Blockly.Msg.senseBox_LoRa_cayenne_analog = "Analoger Wert"; senseBox_LoRa_cayenne_analog: "Analoger Wert",
Blockly.Msg.senseBox_LoRa_cayenne_x = "X Wert"; senseBox_LoRa_cayenne_x: "X Wert",
Blockly.Msg.senseBox_LoRa_cayenne_y = "Y Wert"; senseBox_LoRa_cayenne_y: "Y Wert",
Blockly.Msg.senseBox_LoRa_cayenne_z = "Z Wert"; senseBox_LoRa_cayenne_z: "Z Wert",
Blockly.Msg.senseBox_LoRa_cayenne_lat = "Breitengrad"; senseBox_LoRa_cayenne_lat: "Breitengrad",
Blockly.Msg.senseBox_LoRa_cayenne_lng = "Längengrad"; senseBox_LoRa_cayenne_lng: "Längengrad",
Blockly.Msg.senseBox_LoRa_cayenne_alt = "Höhe"; senseBox_LoRa_cayenne_alt: "Höhe",
Blockly.Msg.senseBox_LoRa_cayenne_tip = "Sende Daten als Cayenne Payload Format" senseBox_LoRa_cayenne_tip: "Sende Daten als Cayenne Payload Format",
Blockly.Msg.senseBox_LoRa_cayenne_gps_tip = "Sende GPS"; senseBox_LoRa_cayenne_gps_tip: "Sende GPS",
Blockly.Msg.senseBox_LoRa_cayenne_temperature_tip = "Sendet Temperaturwert mit einer Nachkommastelle"; senseBox_LoRa_cayenne_temperature_tip: "Sendet Temperaturwert mit einer Nachkommastelle",
Blockly.Msg.senseBox_LoRa_cayenne_pressure_tip = "Sendet Luftdruck mit einer Nachkommastelle"; senseBox_LoRa_cayenne_pressure_tip: "Sendet Luftdruck mit einer Nachkommastelle",
Blockly.Msg.senseBox_LoRa_cayenne_luminosity_tip = "Sendet Helligkeitswert"; senseBox_LoRa_cayenne_luminosity_tip: "Sendet Helligkeitswert",
Blockly.Msg.senseBox_LoRa_cayenne_analog_tip = "Sendet einen Dezimalwert mit einer Nachkommastelle"; senseBox_LoRa_cayenne_analog_tip: "Sendet einen Dezimalwert mit einer Nachkommastelle",
Blockly.Msg.senseBox_LoRa_message_tooltip = "Sende eine Nachricht über LoRa"; senseBox_LoRa_message_tooltip: "Sende eine Nachricht über LoRa",
Blockly.Msg.senseBox_LoRa_sensor_tip = "Sende einen Sensorwert mit einer bestimmten Anzahl an Bytes"; senseBox_LoRa_sensor_tip: "Sende einen Sensorwert mit einer bestimmten Anzahl an Bytes",
Blockly.Msg.senseBox_LoRa_init_abp_tooltip = "Initialisiere die LoRa übertragung. Die Aktivierung erfolgt über ABP. Registriere eine Application auf [thethingsnetwork](https://thethingsnetwork.com) und kopiere den **Network Session Key** und den **App Session Key** im **msb Format** und die **Device ID** im **hex Format**."; senseBox_LoRa_init_abp_tooltip: "Initialisiere die LoRa übertragung. Die Aktivierung erfolgt über ABP. Registriere eine Application auf [thethingsnetwork](https://thethingsnetwork.com) und kopiere den **Network Session Key** und den **App Session Key** im **msb Format** und die **Device ID** im **hex Format**.",
Blockly.Msg.senseBox_LoRa_init_helpurl = "https://docs.sensebox.de/blockly/blockly-web-lora/" senseBox_LoRa_init_helpurl: "https://docs.sensebox.de/blockly/blockly-web-lora/",
Blockly.Msg.senseBox_LoRa_init_otaa_tooltip = "Initialisiere die LoRa übertragung. Die Aktivierung erfolgt über OTAA. Registriere eine Application auf [thethingsnetwork](https://thethingsnetwork.com) und kopiere die **DEVICE EUI** und die **Application EUI** im **lsb Format** den **App Key** im **msb Format**."; senseBox_LoRa_init_otaa_tooltip: "Initialisiere die LoRa übertragung. Die Aktivierung erfolgt über OTAA. Registriere eine Application auf [thethingsnetwork](https://thethingsnetwork.com) und kopiere die **DEVICE EUI** und die **Application EUI** im **lsb Format** den **App Key** im **msb Format**.",
Blockly.Msg.senseBox_LoRa_init_helpurl = "https://docs.sensebox.de/blockly/blockly-web-lora/" senseBox_LoRa_init_helpurl: "https://docs.sensebox.de/blockly/blockly-web-lora/",
}

View File

@ -1,21 +1,18 @@
import Blockly from 'blockly' export const OSEM = {
/** /**
* openSenseMap * openSenseMap
*/ */
Blockly.Msg.senseBox_osem_connection_tip = "stellt eine WLAN verbindung her"; senseBox_osem_connection_tip: "stellt eine WLAN verbindung her",
Blockly.Msg.senseBox_send_to_osem_tip = "sende Messwert an"; senseBox_send_to_osem_tip: "sende Messwert an",
Blockly.Msg.senseBox_send_to_osem = "Sende Messwert an die openSenseMap"; senseBox_send_to_osem: "Sende Messwert an die openSenseMap",
Blockly.Msg.senseBox_osem_connection = "Verbinde mit openSenseMap:"; senseBox_osem_connection: "Verbinde mit openSenseMap:",
Blockly.Msg.senseBox_osem_host = "opensensemap.org"; senseBox_osem_host: "opensensemap.org",
Blockly.Msg.senseBox_osem_host_workshop = "workshop.opensensemap.org"; senseBox_osem_host_workshop: "workshop.opensensemap.org",
Blockly.Msg.senseBox_osem_connection = "Verbinde mit openSenseMap"; senseBox_osem_connection: "Verbinde mit openSenseMap",
Blockly.Msg.senseBox_osem_exposure = "Typ"; senseBox_osem_exposure: "Typ",
Blockly.Msg.senseBox_osem_stationary = "Stationär"; senseBox_osem_stationary: "Stationär",
Blockly.Msg.senseBox_osem_mobile = "Mobil"; senseBox_osem_mobile: "Mobil",
Blockly.Msg.senseBox_osem_access_token = "API Schlüssel"; senseBox_osem_access_token: "API Schlüssel",
senseBox_send_mobile_to_osem: "Sende Messwert und Standort an die openSenseMap",
senseBox_send_mobile_to_osem_tip: "Sende Messwert und Standort an die openSenseMap",
}
Blockly.Msg.senseBox_send_mobile_to_osem = "Sende Messwert und Standort an die openSenseMap";
Blockly.Msg.senseBox_send_mobile_to_osem_tip = "Sende Messwert und Standort an die openSenseMap";

View File

@ -1,12 +1,13 @@
import Blockly from 'blockly'; export const SD = {
/** /**
* SD-Block * SD-Block
*/ */
Blockly.Msg.senseBox_sd_create_file = "Erstelle Datei auf SD-Karte"; senseBox_sd_create_file = "Erstelle Datei auf SD-Karte",
Blockly.Msg.senseBox_sd_write_file = "Schreibe Daten auf SD-Karte"; senseBox_sd_write_file = "Schreibe Daten auf SD-Karte",
Blockly.Msg.senseBox_sd_open_file = "Öffne eine Datei auf der SD-Karte"; senseBox_sd_open_file = "Öffne eine Datei auf der SD-Karte",
Blockly.Msg.senseBox_sd_create_file_tooltip = "Erstellt eine Datei auf der Karte. Stecke das SD-Bee auf den Steckplatz **XBEE2**. Die **maximale** Länge des Dateinamen sind **8 Zeichen**. Die Datei sollte zuerst im *Setup()* erstellt werden" senseBox_sd_create_file_tooltip = "Erstellt eine Datei auf der Karte. Stecke das SD-Bee auf den Steckplatz **XBEE2**. Die **maximale** Länge des Dateinamen sind **8 Zeichen**. Die Datei sollte zuerst im *Setup()* erstellt werden",
Blockly.Msg.senseBox_sd_write_file_tooptip = "Schreibe Daten auf die SD-Karte. Beachte, dass die Datei zuerst geöffnet werden muss."; senseBox_sd_write_file_tooptip = "Schreibe Daten auf die SD-Karte. Beachte, dass die Datei zuerst geöffnet werden muss.",
Blockly.Msg.senseBox_sd_open_file_tooltip = "Öffne die Datei auf der SD-Karte, um Dateien zu speichern. Am Ende der Schleife wird die Datei automatisch wieder geschlossen."; senseBox_sd_open_file_tooltip = "Öffne die Datei auf der SD-Karte, um Dateien zu speichern. Am Ende der Schleife wird die Datei automatisch wieder geschlossen.",
Blockly.Msg.sensebox_sd_filename = "Daten"; sensebox_sd_filename = "Daten",
Blockly.Msg.senseBox_sd_decimals = "Dezimalen"; senseBox_sd_decimals = "Dezimalen",
}

View File

@ -1,183 +1,180 @@
import Blockly from 'blockly'; export const SENSORS = {
/**
* Sensors
* ---------------------------------------------------
*
*/
/** /**
* Sensors * BMP280
* --------------------------------------------------- */
* senseBox_pressure_sensor: "Luftdruck-/Temperatursensor (BMP280)",
*/ senseBox_pressure: "Luftdruck in Pa",
senseBox_pressure_dimension: "Luftdruck in Pa",
/** senseBox_pressure_tip: "Schließe den Sensor an einen der 5 **I2C-Anschlüsse** an. Der Sensor gibt dir den Messwert für den Luftdruck in Pa. Um die korrekte Höhe über NN zu berechnen benötigt der Sensor einen aktuellen Referenzwert.",
* BMP280 senseBox_pressure_referencePressure: "Luftdruck auf NN",
*/ senseBox_pressure_referencePressure_dim: "hPa",
Blockly.Msg.senseBox_pressure_sensor = "Luftdruck-/Temperatursensor (BMP280)"; senseBox_pressure_helpurl: "",
Blockly.Msg.senseBox_pressure = "Luftdruck in Pa";
Blockly.Msg.senseBox_pressure_dimension = "Luftdruck in Pa";
Blockly.Msg.senseBox_pressure_tip = "Schließe den Sensor an einen der 5 **I2C-Anschlüsse** an. Der Sensor gibt dir den Messwert für den Luftdruck in Pa. Um die korrekte Höhe über NN zu berechnen benötigt der Sensor einen aktuellen Referenzwert.";
Blockly.Msg.senseBox_pressure_referencePressure = "Luftdruck auf NN";
Blockly.Msg.senseBox_pressure_referencePressure_dim = "hPa";
Blockly.Msg.senseBox_pressure_helpurl = ""
/** /**
* Mikro * Mikro
*/ */
Blockly.Msg.senseBox_sound = "Mikrofon"; senseBox_sound: "Mikrofon",
Blockly.Msg.senseBox_sound_tip = "Schließe den Sensor über das Breadbord an einen der 3 **analog/digital** Ports an. Gibt den Messwert des Mikrofons in Volt zurück"; senseBox_sound_tip: "Schließe den Sensor über das Breadbord an einen der 3 **analog/digital** Ports an. Gibt den Messwert des Mikrofons in Volt zurück",
Blockly.Msg.senseBox_sound_helpurl = "https://docs.sensebox.de/hardware/sensoren-mikro/" senseBox_sound_helpurl: "https://docs.sensebox.de/hardware/sensoren-mikro/",
/** /**
* Temperature and Humidity Sensor (HDC1080) * Temperature and Humidity Sensor (HDC1080)
*/ */
Blockly.Msg.senseBox_temp = "Temperatur in °C"; senseBox_temp: "Temperatur in °C",
Blockly.Msg.senseBox_temp_hum = "Temperatur-/Luftfeuchtigkeitssensor (HDC1080)"; senseBox_temp_hum: "Temperatur-/Luftfeuchtigkeitssensor (HDC1080)",
Blockly.Msg.senseBox_temp_hum_tooltip = "Dieser Block gibt dir die Messwerte des Temperatur- und Luftfeuchtigkeitssensor zurück. Schließe den Sensor an einen der 5 I2C Anschlüsse an. Messwert wird mit 2 Nachkommastellen ausgegeben."; senseBox_temp_hum_tooltip: "Dieser Block gibt dir die Messwerte des Temperatur- und Luftfeuchtigkeitssensor zurück. Schließe den Sensor an einen der 5 I2C Anschlüsse an. Messwert wird mit 2 Nachkommastellen ausgegeben.",
Blockly.Msg.senseBox_temp_hum_helpurl = "https://docs.sensebox.de/hardware/sensoren-temperatur-luftfeuchte/" senseBox_temp_hum_helpurl: "https://docs.sensebox.de/hardware/sensoren-temperatur-luftfeuchte/",
/** /**
* Ultraschalldistanzsensor * Ultraschalldistanzsensor
*/ */
Blockly.Msg.senseBox_ultrasonic = "Ultraschall-Abstandssensor an Port"; senseBox_ultrasonic: "Ultraschall-Abstandssensor an Port",
Blockly.Msg.senseBox_ultrasonic_trigger = "Trigger" senseBox_ultrasonic_trigger: "Trigger",
Blockly.Msg.senseBox_ultrasonic_echo = "Echo" senseBox_ultrasonic_echo: "Echo",
Blockly.Msg.senseBox_ultrasonic_port_A = "A"; senseBox_ultrasonic_port_A: "A",
Blockly.Msg.senseBox_ultrasonic_port_B = "B"; senseBox_ultrasonic_port_B: "B",
Blockly.Msg.senseBox_ultrasonic_port_C = "C"; senseBox_ultrasonic_port_C: "C",
Blockly.Msg.senseBox_ultrasonic_tooltip = `Misst die Distanz mithilfe von Ultraschall in cm. Schließe den Sensor an einen der drei Digital/Analog Ports an: senseBox_ultrasonic_tooltip: `Misst die Distanz mithilfe von Ultraschall in cm. Schließe den Sensor an einen der drei Digital/Analog Ports an:
- Trigger: Grünes Kabel - Trigger: Grünes Kabel
- Echo: gelbes Kabel`; - Echo: gelbes Kabel`,
Blockly.Msg.senseBox_ultrasonic_helpurl = "https://docs.sensebox.de/hardware/sensoren-distanz/" senseBox_ultrasonic_helpurl: "https://docs.sensebox.de/hardware/sensoren-distanz/",
/**
* UV and Lightsensor
*/
senseBox_value: "Messwert:",
senseBox_uv_light: "Helligkeit-/UV-Sensor",
senseBox_uv_light_tooltip: "Sensor misst UV-Licht oder die Helligkeit. Die Helligkeit wird als **Ganzezahl** in Lux ausgegeben. Die UV-Intensität als **Kommazahl** in µW/cm².",
senseBox_uv: "UV-Intensität in µW/cm²",
senseBox_light: "Beleuchtungsstärke in Lux",
senseBox_uv_light_helpurl: "https://docs.sensebox.de/hardware/sensoren-helligkeit-uv/",
/** /**
* UV and Lightsensor * BMX055
*/ */
Blockly.Msg.senseBox_value = "Messwert:";
Blockly.Msg.senseBox_uv_light = "Helligkeit-/UV-Sensor";
Blockly.Msg.senseBox_uv_light_tooltip = "Sensor misst UV-Licht oder die Helligkeit. Die Helligkeit wird als **Ganzezahl** in Lux ausgegeben. Die UV-Intensität als **Kommazahl** in µW/cm².";
Blockly.Msg.senseBox_uv = "UV-Intensität in µW/cm²";
Blockly.Msg.senseBox_light = "Beleuchtungsstärke in Lux";
Blockly.Msg.senseBox_uv_light_helpurl = "https://docs.sensebox.de/hardware/sensoren-helligkeit-uv/"
/** senseBox_bmx055_compass: "Lage Sensor",
* BMX055 senseBox_bmx055_accelerometer: "Beschleunigungssensor",
*/ senseBox_bmx055_accelerometer_range: "Messbereich",
senseBox_bmx055_accelerometer_range_2g: "2g",
Blockly.Msg.senseBox_bmx055_compass = "Lage Sensor"; senseBox_bmx055_accelerometer_range_4g: "4g",
Blockly.Msg.senseBox_bmx055_accelerometer = "Beschleunigungssensor"; senseBox_bmx055_accelerometer_range_8g: "8g",
Blockly.Msg.senseBox_bmx055_accelerometer_range = "Messbereich"; senseBox_bmx055_accelerometer_range_16g: "16g",
Blockly.Msg.senseBox_bmx055_accelerometer_range_2g = "2g"; senseBox_bmx055_accelerometer_direction: "Richtung",
Blockly.Msg.senseBox_bmx055_accelerometer_range_4g = "4g"; senseBox_bmx055_accelerometer_direction_x: "X-Achse",
Blockly.Msg.senseBox_bmx055_accelerometer_range_8g = "8g"; senseBox_bmx055_accelerometer_direction_y: "Y-Achse",
Blockly.Msg.senseBox_bmx055_accelerometer_range_16g = "16g"; senseBox_bmx055_accelerometer_direction_z: "Z-Achse",
Blockly.Msg.senseBox_bmx055_accelerometer_direction = "Richtung"; senseBox_bmx055_accelerometer_direction_total: "Gesamt",
Blockly.Msg.senseBox_bmx055_accelerometer_direction_x = "X-Achse"; senseBox_bmx055_gyroscope: "Lage Sensor",
Blockly.Msg.senseBox_bmx055_accelerometer_direction_y = "Y-Achse"; senseBox_bmx055_accelerometer_tip: "Lage Sensor",
Blockly.Msg.senseBox_bmx055_accelerometer_direction_z = "Z-Achse"; senseBox_bmx055_compass_tip: "Lage Sensor",
Blockly.Msg.senseBox_bmx055_accelerometer_direction_total = "Gesamt"; senseBox_bmx055_gyroscope_tip: "Lage Sensor",
Blockly.Msg.senseBox_bmx055_gyroscope = "Lage Sensor"; senseBox_bmx055_x: "X-Richtung",
Blockly.Msg.senseBox_bmx055_accelerometer_tip = "Lage Sensor"; senseBox_bmx055_y: "Y-Richtung",
Blockly.Msg.senseBox_bmx055_compass_tip = "Lage Sensor"; senseBox_bmx055_accelerometer_tooltip: `Dieser Block gibt dir den Messwert des Beschleunigungssensors der direkt auf der senseBox MCU aufgelötet ist. Im Dropdown Menü kannst du die Richtung und den Messbereich auswählen.`,
Blockly.Msg.senseBox_bmx055_gyroscope_tip = "Lage Sensor"; senseBox_bmx055_helpurl: "",
Blockly.Msg.senseBox_bmx055_x = "X-Richtung";
Blockly.Msg.senseBox_bmx055_y = "Y-Richtung";
Blockly.Msg.senseBox_bmx055_accelerometer_tooltip = `Dieser Block gibt dir den Messwert des Beschleunigungssensors der direkt auf der senseBox MCU aufgelötet ist. Im Dropdown Menü kannst du die Richtung und den Messbereich auswählen.`
Blockly.Msg.senseBox_bmx055_helpurl = ""
/** /**
* *
* GPS * GPS
*/ */
Blockly.Msg.senseBox_gps_getValues = "GPS Modul"; senseBox_gps_getValues: "GPS Modul",
Blockly.Msg.senseBox_gps_lat = "Breitengrad"; senseBox_gps_lat: "Breitengrad",
Blockly.Msg.senseBox_gps_lng = "Längengrad"; senseBox_gps_lng: "Längengrad",
Blockly.Msg.senseBox_gps_alt = "Höhe über NN in m"; senseBox_gps_alt: "Höhe über NN in m",
Blockly.Msg.senseBox_gps_speed = "Geschwindigkeit in km/h"; senseBox_gps_speed: "Geschwindigkeit in km/h",
Blockly.Msg.senseBox_gps_date = "Datum"; senseBox_gps_date: "Datum",
Blockly.Msg.senseBox_gps_time = "Uhrzeit"; senseBox_gps_time: "Uhrzeit",
Blockly.Msg.senseBox_gps_timeStamp = "Zeitstempel (RFC 3339)"; senseBox_gps_timeStamp: "Zeitstempel (RFC 3339)",
Blockly.Msg.senseBox_gps_tooltip = `Liest das GPS Modul aus und gibt dir die Standortinformationen. Längen- und Breitengrad werden als Kommazahl mit 6 Nachkommastellen ausgegeben. senseBox_gps_tooltip: `Liest das GPS Modul aus und gibt dir die Standortinformationen. Längen- und Breitengrad werden als Kommazahl mit 6 Nachkommastellen ausgegeben.
**Anschluss: I2C** **Anschluss: I2C**
**Beachte:** Das GPS Modul benöigt beim ersten Verwenden relativ lange (ca. 5-10 Minuten) bis es deinen Standort gefunden hat! **Beachte:** Das GPS Modul benöigt beim ersten Verwenden relativ lange (ca. 5-10 Minuten) bis es deinen Standort gefunden hat!
` `,
Blockly.Msg.senseBox_gps_helpurl = "https://docs.sensebox.de/hardware/sensoren-gps/" senseBox_gps_helpurl: "https://docs.sensebox.de/hardware/sensoren-gps/",
/** /**
* Windspeed * Windspeed
*/ */
Blockly.Msg.senseBox_windspeed = "Windgeschwindigkeitssensor"; senseBox_windspeed: "Windgeschwindigkeitssensor",
Blockly.Msg.senseBox_windspeed_tooltip = "" senseBox_windspeed_tooltip: "",
/* /*
* Soundsensor * Soundsensor
*/ */
Blockly.Msg.senseBox_soundsensor_dfrobot = "Soundsensor (DF Robot)"; senseBox_soundsensor_dfrobot: "Soundsensor (DF Robot)",
Blockly.Msg.senseBox_soundsensor_dfrobot_tooltip = "Schließe den Sensor an einen der 3 **digital/analog Ports** an. Der Sensor gibt dir den Messwert in dB mit einer Nachkommastelle" senseBox_soundsensor_dfrobot_tooltip: "Schließe den Sensor an einen der 3 **digital/analog Ports** an. Der Sensor gibt dir den Messwert in dB mit einer Nachkommastelle",
Blockly.Msg.senseBox_soundsensor_dfrobot_helpurl = "https://docs.sensebox.de/hardware/sensoren-lautstaerke/" senseBox_soundsensor_dfrobot_helpurl: "https://docs.sensebox.de/hardware/sensoren-lautstaerke/",
/* /*
* BME680 * BME680
*/ */
Blockly.Msg.senseBox_bme680 = "Umweltsensor (BME680)"; senseBox_bme680: "Umweltsensor (BME680)",
Blockly.Msg.senseBox_bme_iaq = "Innenraumluftqualität (IAQ)"; senseBox_bme_iaq: "Innenraumluftqualität (IAQ)",
Blockly.Msg.senseBox_bme_iaq_accuracy = "Kalibrierungswert"; senseBox_bme_iaq_accuracy: "Kalibrierungswert",
Blockly.Msg.senseBox_bme_co2 = "CO2 Äquivalent"; senseBox_bme_co2: "CO2 Äquivalent",
Blockly.Msg.senseBox_bme_breatheVocEquivalent = "Atemluft VOC Äquivalent"; senseBox_bme_breatheVocEquivalent: "Atemluft VOC Äquivalent",
Blockly.Msg.senseBox_bme_tooltip = `Schließe den Umweltsensor an einen der 5 **I2C-Anschlüsse** an. **Beachte:** Der Sensor benöigt eine gewisse Zeit zum kalibrieren. senseBox_bme_tooltip: `Schließe den Umweltsensor an einen der 5 **I2C-Anschlüsse** an. **Beachte:** Der Sensor benöigt eine gewisse Zeit zum kalibrieren.
Den Status der Kalibrierung kann über den Kalibrierungswert abgelesen werden. Er ist entweder 0, 1, 2 oder 3 und sagt folgendes aus: Den Status der Kalibrierung kann über den Kalibrierungswert abgelesen werden. Er ist entweder 0, 1, 2 oder 3 und sagt folgendes aus:
- IAQ Accuracy = 0 heißt Sensor wird stabilisiert (dauert ca. 25 Minuten) oder dass es eine Zeitüberschreitung gab, - IAQ Accuracy : 0 heißt Sensor wird stabilisiert (dauert ca. 25 Minuten) oder dass es eine Zeitüberschreitung gab,
- IAQ Accuracy = 1 heißt Wert ist ungenau, - IAQ Accuracy : 1 heißt Wert ist ungenau,
- IAQ Accuracy = 2 heißt Sensor wird kalibriert, - IAQ Accuracy : 2 heißt Sensor wird kalibriert,
- IAQ Accuracy = 3 heißt Sensor erfolgreich kalibriert. - IAQ Accuracy : 3 heißt Sensor erfolgreich kalibriert.
Die Messwerte für Temperatur, Luftfeuchtigkeit und Luftdruck können direkt verwendet werden.`; Die Messwerte für Temperatur, Luftfeuchtigkeit und Luftdruck können direkt verwendet werden.`,
Blockly.Msg.senseBox_bme680_helpurl = "https://docs.sensebox.de/hardware/sensoren-umweltsensor/" senseBox_bme680_helpurl: "https://docs.sensebox.de/hardware/sensoren-umweltsensor/",
/** /**
* Truebner SMT50 * Truebner SMT50
*/ */
Blockly.Msg.senseBox_smt50 = "Bodenfeuchte/-temperatur (SMT50)"; senseBox_smt50: "Bodenfeuchte/-temperatur (SMT50)",
Blockly.Msg.senseBox_smt50_helpurl = "https://docs.sensebox.de/hardware/sensoren-truebner/" senseBox_smt50_helpurl: "https://docs.sensebox.de/hardware/sensoren-truebner/",
Blockly.Msg.senseBox_smt50_tooltip = "Schließe den Bodenfeuchtigkeit- und Temperatursensor an einen der 3 digital/analog Ports an und wähle den Port im Block aus. Der Sensor gibt die Bodentemperatur in °C und die Bodenfeuchtigkeit in % aus." senseBox_smt50_tooltip: "Schließe den Bodenfeuchtigkeit- und Temperatursensor an einen der 3 digital/analog Ports an und wähle den Port im Block aus. Der Sensor gibt die Bodentemperatur in °C und die Bodenfeuchtigkeit in % aus.",
/** /**
* SCD30 CO2 Sensor * SCD30 CO2 Sensor
*/ */
Blockly.Msg.senseBox_scd30 = "CO2 Sensor (Sensirion SCD30)"; senseBox_scd30: "CO2 Sensor (Sensirion SCD30)",
Blockly.Msg.senseBox_scd_tooltip = "Schließe den Sensor an einen der 5 **I2C-Anschlüsse** an. Der Sensor gibt dir den Messwert für die CO2-Konzentration in ppm. Der Temperaturmesswert kann aufgrund der Messung direkt am Sensor um einige Grad vom realen Wert abweichen."; senseBox_scd_tooltip: "Schließe den Sensor an einen der 5 **I2C-Anschlüsse** an. Der Sensor gibt dir den Messwert für die CO2-Konzentration in ppm. Der Temperaturmesswert kann aufgrund der Messung direkt am Sensor um einige Grad vom realen Wert abweichen.",
Blockly.Msg.senseBox_scd_co2 = "CO2 in ppm"; senseBox_scd_co2: "CO2 in ppm",
Blockly.Msg.senseBox_scd_helpurl = "https://docs.sensebox.de/hardware/sensoren-co2/" senseBox_scd_helpurl: "https://docs.sensebox.de/hardware/sensoren-co2/",
/** /**
* Feinstaubsensor (SDS011) * Feinstaubsensor (SDS011)
*/ */
Blockly.Msg.senseBox_sds011 = "Feinstaubsensor"; senseBox_sds011: "Feinstaubsensor",
Blockly.Msg.senseBox_sds011_dimension = "in µg/m³ an"; senseBox_sds011_dimension: "in µg/m³ an",
Blockly.Msg.senseBox_sds011_pm25 = "PM2.5"; senseBox_sds011_pm25: "PM2.5",
Blockly.Msg.senseBox_sds011_pm10 = "PM10"; senseBox_sds011_pm10: "PM10",
Blockly.Msg.senseBox_sds011_tooltip = "Dieser Block gibt dir den Messwert des Feinstaubsensor. Schließe den Feinstaubsensor an einen der 2 **Serial/UART** Anschlüssen an. Im Dropdown Menü zwischen PM2.5 und PM10 auswählen. Der Messwert wird dir als **Kommazahl** in µg/m3" senseBox_sds011_tooltip: "Dieser Block gibt dir den Messwert des Feinstaubsensor. Schließe den Feinstaubsensor an einen der 2 **Serial/UART** Anschlüssen an. Im Dropdown Menü zwischen PM2.5 und PM10 auswählen. Der Messwert wird dir als **Kommazahl** in µg/m3",
Blockly.Msg.senseBox_sds011_serial1 = "Serial1"; senseBox_sds011_serial1: "Serial1",
Blockly.Msg.senseBox_sds011_serial2 = "Serial2"; senseBox_sds011_serial2: "Serial2",
Blockly.Msg.senseBox_sds011_helpurl = "https://docs.sensebox.de/hardware/sensoren-feinstaub/" senseBox_sds011_helpurl: "https://docs.sensebox.de/hardware/sensoren-feinstaub/",
/** /**
* Button * Button
*/ */
Blockly.Msg.senseBox_button = "Button"; senseBox_button: "Button",
Blockly.Msg.senseBox_button_isPressed = "ist gedrückt"; senseBox_button_isPressed: "ist gedrückt",
Blockly.Msg.senseBox_button_switch = "als Schalter"; senseBox_button_switch: "als Schalter",
Blockly.Msg.senseBox_button_wasPressed = "wurde gedrückt"; senseBox_button_wasPressed: "wurde gedrückt",
Blockly.Msg.senseBox_button_tooltip = `Dieser Block gibt dir den Status des angeschlossenen Buttons. Im Dropdown Menü können verschiedene Modi für den Button ausgewählt werden. Angesteuert können entweder der on Board Button oder ein Button, der an einen der 6 digitalen Pins angeschlossen ist. verschiedene Modi: senseBox_button_tooltip: `Dieser Block gibt dir den Status des angeschlossenen Buttons. Im Dropdown Menü können verschiedene Modi für den Button ausgewählt werden. Angesteuert können entweder der on Board Button oder ein Button, der an einen der 6 digitalen Pins angeschlossen ist. verschiedene Modi:
- "ist gedrückt": Mit diesem Modus kannst du abfragen ob der Block gerade gedrückt wird. Du erhältst entweder den Wert TRUE oder FALSE. - "ist gedrückt": Mit diesem Modus kannst du abfragen ob der Block gerade gedrückt wird. Du erhältst entweder den Wert TRUE oder FALSE.
- "wurde gedrückt": Mit diesem Modus kannst du abfragen ob der Block gedrückt wurde. Erst wenn der Knopf gedrückt und wieder losgelassen wurde erhältst du TRUE zurück - "wurde gedrückt": Mit diesem Modus kannst du abfragen ob der Block gedrückt wurde. Erst wenn der Knopf gedrückt und wieder losgelassen wurde erhältst du TRUE zurück
- "als Schalter": Wenn du diesen Block verwendest kannst du den Knopf wie ein Lichtschalter verwenden. Der Status wird gespeichert bis der Button erneut gedrückt wird` - "als Schalter": Wenn du diesen Block verwendest kannst du den Knopf wie ein Lichtschalter verwenden. Der Status wird gespeichert bis der Button erneut gedrückt wird`,
Blockly.Msg.senseBox_button_helpurl = "" senseBox_button_helpurl: "",
}

View File

@ -1,14 +1,16 @@
/* export const TELEGRAM = {
* Telegram /*
*/ * Telegram
Blockly.Msg.senseBox_telegram_init = "Telegram Bot initialisieren" */
Blockly.Msg.senseBox_telegram_token = "Token" senseBox_telegram_init: "Telegram Bot initialisieren",
Blockly.Msg.senseBox_telegram_do = "Telegram mache" senseBox_telegram_token: "Token",
Blockly.Msg.senseBox_telegram_do_tooltip = "Füge in diese Schleife die Blöcke ein, die dein Telegram Bot ausführen soll. Beachte hierbei, dass du Aktionen bei einer bestimmten Nachricht ausführen lassen kannst oder auch selbst eine Nachricht versenden werden kann." senseBox_telegram_do: "Telegram mache",
Blockly.Msg.senseBox_telegram_do_on_message = "bei Nachricht" senseBox_telegram_do_tooltip: "Füge in diese Schleife die Blöcke ein, die dein Telegram Bot ausführen soll. Beachte hierbei, dass du Aktionen bei einer bestimmten Nachricht ausführen lassen kannst oder auch selbst eine Nachricht versenden werden kann.",
Blockly.Msg.senseBox_telegram_message = "Nachricht" senseBox_telegram_do_on_message: "bei Nachricht",
Blockly.Msg.senseBox_telegram_message_tooltip = "Führe eine Aktion aus, wenn der Telegram eine *Nachricht* empfangen hat." senseBox_telegram_message: "Nachricht",
Blockly.Msg.senseBox_telegram_send = "Sende Nachricht" senseBox_telegram_message_tooltip: "Führe eine Aktion aus, wenn der Telegram eine *Nachricht* empfangen hat.",
Blockly.Msg.senseBox_telegram_send_tooltip = "Dein Telgram Bot sendet dir eine Nachricht auf dein Handy. Die Nachricht kann zum Beispiel ein Alarm oder auch ein Messwert sein" senseBox_telegram_send: "Sende Nachricht",
Blockly.Msg.senseBox_telegram_init_tooltip = "Initialisiere den Telegram Bot. Verwende diesen Block in der **Setup()-Schleife**. Den Token kannst du dir über den Telegram erstellen." senseBox_telegram_send_tooltip: "Dein Telgram Bot sendet dir eine Nachricht auf dein Handy. Die Nachricht kann zum Beispiel ein Alarm oder auch ein Messwert sein",
Blockly.Msg.senseBox_telegram_helpurl = "https://sensebox.de/projects/de/2019-12-15-telegram-blockly" senseBox_telegram_init_tooltip: "Initialisiere den Telegram Bot. Verwende diesen Block in der **Setup()-Schleife**. Den Token kannst du dir über den Telegram erstellen.",
senseBox_telegram_helpurl: "https://sensebox.de/projects/de/2019-12-15-telegram-blockly",
}

View File

@ -1,10 +1,11 @@
import Blockly from 'blockly' export const WEB = {
/** /**
* WiFi * WiFi
*/ */
Blockly.Msg.senseBox_wifi_connect = "Verbinde mit WLAN"; senseBox_wifi_connect: "Verbinde mit WLAN",
Blockly.Msg.senseBox_wifi_ssid = "Netzwerkname"; senseBox_wifi_ssid: "Netzwerkname",
Blockly.Msg.senseBox_wifi_tooltip = "Stellt eine Verbindung mit einem WLAN-Netzwerk her. Möchtest du dich mit einem ungesicheren Netzwerk (z.B. Freifunk) verbinden lösche das Feld Passwort. Das WiFi-Bee muss auf den Steckplatz **XBEE1** aufgesteckt werden."; senseBox_wifi_tooltip: "Stellt eine Verbindung mit einem WLAN-Netzwerk her. Möchtest du dich mit einem ungesicheren Netzwerk (z.B. Freifunk) verbinden lösche das Feld Passwort. Das WiFi-Bee muss auf den Steckplatz **XBEE1** aufgesteckt werden.",
Blockly.Msg.senseBox_wifi_startap = "Initialisiere WLAN Access Point"; senseBox_wifi_startap: "Initialisiere WLAN Access Point",
Blockly.Msg.senseBox_wifi_startap_tooltip = "Erstellt einen WiFi-Accesspoint zu dem du dich verbinden kannst. Beachte, dass immer nur 1 Gerät gleichzeitig verbunden werden kann."; senseBox_wifi_startap_tooltip: "Erstellt einen WiFi-Accesspoint zu dem du dich verbinden kannst. Beachte, dass immer nur 1 Gerät gleichzeitig verbunden werden kann.",
Blockly.Msg.senseBox_wifi_helpurl = "https://docs.sensebox.de/blockly/blockly-web-wifi/" senseBox_wifi_helpurl: "https://docs.sensebox.de/blockly/blockly-web-wifi/",
}

View File

@ -1,63 +1,65 @@
import Blockly from 'blockly'; export const TEXT = {
Blockly.Msg.TEXT_APPEND_APPENDTEXT = "Text anhängen"; TEXT_APPEND_APPENDTEXT: "Text anhängen",
Blockly.Msg.TEXT_APPEND_HELPURL = "https://github.com/google/blockly/wiki/Text#text-modification"; // untranslated TEXT_APPEND_HELPURL: "https://github.com/google/blockly/wiki/Text#text-modification", // untranslated
Blockly.Msg.TEXT_APPEND_TO = "An"; TEXT_APPEND_TO: "An",
Blockly.Msg.TEXT_APPEND_TOOLTIP = "Text an die Variable \"%1\" anhängen."; TEXT_APPEND_TOOLTIP: "Text an die Variable \"%1\" anhängen.",
Blockly.Msg.TEXT_CHANGECASE_HELPURL = "https://github.com/google/blockly/wiki/Text#adjusting-text-case"; // untranslated TEXT_CHANGECASE_HELPURL: "https://github.com/google/blockly/wiki/Text#adjusting-text-case", // untranslated
Blockly.Msg.TEXT_CHANGECASE_OPERATOR_LOWERCASE = "umwandeln in kleinbuchstaben"; TEXT_CHANGECASE_OPERATOR_LOWERCASE: "umwandeln in kleinbuchstaben",
Blockly.Msg.TEXT_CHANGECASE_OPERATOR_TITLECASE = "umwandeln in Substantive"; TEXT_CHANGECASE_OPERATOR_TITLECASE: "umwandeln in Substantive",
Blockly.Msg.TEXT_CHANGECASE_OPERATOR_UPPERCASE = "umwandeln in GROSSBUCHSTABEN"; TEXT_CHANGECASE_OPERATOR_UPPERCASE: "umwandeln in GROSSBUCHSTABEN",
Blockly.Msg.TEXT_CHANGECASE_TOOLTIP = "Wandelt Schreibweise von Texten um, in Großbuchstaben, Kleinbuchstaben oder den ersten Buchstaben jedes Wortes groß und die anderen klein."; TEXT_CHANGECASE_TOOLTIP: "Wandelt Schreibweise von Texten um, in Großbuchstaben, Kleinbuchstaben oder den ersten Buchstaben jedes Wortes groß und die anderen klein.",
Blockly.Msg.TEXT_CHARAT_FIRST = "Nehme ersten Buchstaben"; TEXT_CHARAT_FIRST: "Nehme ersten Buchstaben",
Blockly.Msg.TEXT_CHARAT_FROM_END = "Nehme #ten Buchstaben von hinten"; TEXT_CHARAT_FROM_END: "Nehme #ten Buchstaben von hinten",
Blockly.Msg.TEXT_CHARAT_FROM_START = "Nehme #ten Buchstaben"; TEXT_CHARAT_FROM_START: "Nehme #ten Buchstaben",
Blockly.Msg.TEXT_CHARAT_HELPURL = "http://publib.boulder.ibm.com/infocenter/lnxpcomp/v8v101/index.jsp?topic=%2Fcom.ibm.xlcpp8l.doc%2Flanguage%2Fref%2Farsubex.htm"; TEXT_CHARAT_HELPURL: "http://publib.boulder.ibm.com/infocenter/lnxpcomp/v8v101/index.jsp?topic:%2Fcom.ibm.xlcpp8l.doc%2Flanguage%2Fref%2Farsubex.htm",
Blockly.Msg.TEXT_CHARAT_INPUT_INTEXT = "vom Text"; TEXT_CHARAT_INPUT_INTEXT: "vom Text",
Blockly.Msg.TEXT_CHARAT_LAST = "Nehme letzten Buchstaben"; TEXT_CHARAT_LAST: "Nehme letzten Buchstaben",
Blockly.Msg.TEXT_CHARAT_RANDOM = "Nehme zufälligen Buchstaben"; TEXT_CHARAT_RANDOM: "Nehme zufälligen Buchstaben",
Blockly.Msg.TEXT_CHARAT_TAIL = ""; TEXT_CHARAT_TAIL: "",
Blockly.Msg.TEXT_CHARAT_TOOLTIP = "Extrahiere einen Buchstaben von einer spezifizierten Position."; TEXT_CHARAT_TOOLTIP: "Extrahiere einen Buchstaben von einer spezifizierten Position.",
Blockly.Msg.TEXT_CREATE_JOIN_ITEM_TOOLTIP = "Ein Element zum Text hinzufügen."; TEXT_CREATE_JOIN_ITEM_TOOLTIP: "Ein Element zum Text hinzufügen.",
Blockly.Msg.TEXT_CREATE_JOIN_TITLE_JOIN = "verbinden"; TEXT_CREATE_JOIN_TITLE_JOIN: "verbinden",
Blockly.Msg.TEXT_CREATE_JOIN_TOOLTIP = "Hinzufügen, entfernen und sortieren von Elementen."; TEXT_CREATE_JOIN_TOOLTIP: "Hinzufügen, entfernen und sortieren von Elementen.",
Blockly.Msg.TEXT_GET_SUBSTRING_END_FROM_END = "bis zum #ten Buchstaben von hinten"; TEXT_GET_SUBSTRING_END_FROM_END: "bis zum #ten Buchstaben von hinten",
Blockly.Msg.TEXT_GET_SUBSTRING_END_FROM_START = "bis zum #ten Buchstaben"; TEXT_GET_SUBSTRING_END_FROM_START: "bis zum #ten Buchstaben",
Blockly.Msg.TEXT_GET_SUBSTRING_END_LAST = "bis zum letzten Buchstaben"; TEXT_GET_SUBSTRING_END_LAST: "bis zum letzten Buchstaben",
Blockly.Msg.TEXT_GET_SUBSTRING_HELPURL = "http://publib.boulder.ibm.com/infocenter/lnxpcomp/v8v101/index.jsp?topic=%2Fcom.ibm.xlcpp8l.doc%2Flanguage%2Fref%2Farsubex.htm"; TEXT_GET_SUBSTRING_HELPURL: "http://publib.boulder.ibm.com/infocenter/lnxpcomp/v8v101/index.jsp?topic:%2Fcom.ibm.xlcpp8l.doc%2Flanguage%2Fref%2Farsubex.htm",
Blockly.Msg.TEXT_GET_SUBSTRING_INPUT_IN_TEXT = "in Text"; TEXT_GET_SUBSTRING_INPUT_IN_TEXT: "in Text",
Blockly.Msg.TEXT_GET_SUBSTRING_START_FIRST = "vom ersten Buchstaben"; TEXT_GET_SUBSTRING_START_FIRST: "vom ersten Buchstaben",
Blockly.Msg.TEXT_GET_SUBSTRING_START_FROM_END = "vom #ten Buchstaben von hinten"; TEXT_GET_SUBSTRING_START_FROM_END: "vom #ten Buchstaben von hinten",
Blockly.Msg.TEXT_GET_SUBSTRING_START_FROM_START = "vom #ten Buchstaben"; TEXT_GET_SUBSTRING_START_FROM_START: "vom #ten Buchstaben",
Blockly.Msg.TEXT_GET_SUBSTRING_TAIL = ""; TEXT_GET_SUBSTRING_TAIL: "",
Blockly.Msg.TEXT_GET_SUBSTRING_TOOLTIP = "Gibt den angegebenen Textabschnitt zurück."; TEXT_GET_SUBSTRING_TOOLTIP: "Gibt den angegebenen Textabschnitt zurück.",
Blockly.Msg.TEXT_INDEXOF_HELPURL = "http://publib.boulder.ibm.com/infocenter/lnxpcomp/v8v101/index.jsp?topic=%2Fcom.ibm.xlcpp8l.doc%2Flanguage%2Fref%2Farsubex.htm"; TEXT_INDEXOF_HELPURL: "http://publib.boulder.ibm.com/infocenter/lnxpcomp/v8v101/index.jsp?topic:%2Fcom.ibm.xlcpp8l.doc%2Flanguage%2Fref%2Farsubex.htm",
Blockly.Msg.TEXT_INDEXOF_INPUT_INTEXT = "im Text"; TEXT_INDEXOF_INPUT_INTEXT: "im Text",
Blockly.Msg.TEXT_INDEXOF_OPERATOR_FIRST = "Suche erstes Auftreten des Begriffs"; TEXT_INDEXOF_OPERATOR_FIRST: "Suche erstes Auftreten des Begriffs",
Blockly.Msg.TEXT_INDEXOF_OPERATOR_LAST = "Suche letztes Auftreten des Begriffs"; TEXT_INDEXOF_OPERATOR_LAST: "Suche letztes Auftreten des Begriffs",
Blockly.Msg.TEXT_INDEXOF_TAIL = ""; TEXT_INDEXOF_TAIL: "",
Blockly.Msg.TEXT_INDEXOF_TOOLTIP = "Findet das erste / letzte Auftreten eines Suchbegriffs in einem Text. Gibt die Position des Begriffs oder 0 zurück."; TEXT_INDEXOF_TOOLTIP: "Findet das erste / letzte Auftreten eines Suchbegriffs in einem Text. Gibt die Position des Begriffs oder 0 zurück.",
Blockly.Msg.TEXT_ISEMPTY_HELPURL = "https://github.com/google/blockly/wiki/Text#checking-for-empty-text"; // untranslated TEXT_ISEMPTY_HELPURL: "https://github.com/google/blockly/wiki/Text#checking-for-empty-text", // untranslated
Blockly.Msg.TEXT_ISEMPTY_TITLE = "%1 ist leer?"; TEXT_ISEMPTY_TITLE: "%1 ist leer?",
Blockly.Msg.TEXT_ISEMPTY_TOOLTIP = "Ist wahr (true), wenn der Text keine Zeichen enthält ist."; TEXT_ISEMPTY_TOOLTIP: "Ist wahr (true), wenn der Text keine Zeichen enthält ist.",
Blockly.Msg.TEXT_JOIN_HELPURL = ""; TEXT_JOIN_HELPURL: "",
Blockly.Msg.TEXT_JOIN_TITLE_CREATEWITH = "Erstelle Text aus"; TEXT_JOIN_TITLE_CREATEWITH: "Erstelle Text aus",
Blockly.Msg.TEXT_JOIN_TOOLTIP = "Erstellt einen Text durch das Verbinden von mehreren Textelementen."; TEXT_JOIN_TOOLTIP: "Erstellt einen Text durch das Verbinden von mehreren Textelementen.",
Blockly.Msg.TEXT_LENGTH_HELPURL = "https://github.com/google/blockly/wiki/Text#text-modification"; // untranslated TEXT_LENGTH_HELPURL: "https://github.com/google/blockly/wiki/Text#text-modification", // untranslated
Blockly.Msg.TEXT_LENGTH_TITLE = "Länge %1"; TEXT_LENGTH_TITLE: "Länge %1",
Blockly.Msg.TEXT_LENGTH_TOOLTIP = "Die Anzahl von Zeichen in einem Text. (inkl. Leerzeichen)"; TEXT_LENGTH_TOOLTIP: "Die Anzahl von Zeichen in einem Text. (inkl. Leerzeichen)",
Blockly.Msg.TEXT_PRINT_HELPURL = "https://github.com/google/blockly/wiki/Text#printing-text"; // untranslated TEXT_PRINT_HELPURL: "https://github.com/google/blockly/wiki/Text#printing-text", // untranslated
Blockly.Msg.TEXT_PRINT_TITLE = "Ausgabe %1"; TEXT_PRINT_TITLE: "Ausgabe %1",
Blockly.Msg.TEXT_PRINT_TOOLTIP = "Gib den Inhalt einer Variable aus."; TEXT_PRINT_TOOLTIP: "Gib den Inhalt einer Variable aus.",
Blockly.Msg.TEXT_PROMPT_HELPURL = "https://github.com/google/blockly/wiki/Text#getting-input-from-the-user"; // untranslated TEXT_PROMPT_HELPURL: "https://github.com/google/blockly/wiki/Text#getting-input-from-the-user", // untranslated
Blockly.Msg.TEXT_PROMPT_TOOLTIP_NUMBER = "Fragt den Benutzer nach einer Zahl."; TEXT_PROMPT_TOOLTIP_NUMBER: "Fragt den Benutzer nach einer Zahl.",
Blockly.Msg.TEXT_PROMPT_TOOLTIP_TEXT = "Fragt den Benutzer nach einem Text."; TEXT_PROMPT_TOOLTIP_TEXT: "Fragt den Benutzer nach einem Text.",
Blockly.Msg.TEXT_PROMPT_TYPE_NUMBER = "Fragt nach Zahl mit Hinweis"; TEXT_PROMPT_TYPE_NUMBER: "Fragt nach Zahl mit Hinweis",
Blockly.Msg.TEXT_PROMPT_TYPE_TEXT = "Fragt nach Text mit Hinweis"; TEXT_PROMPT_TYPE_TEXT: "Fragt nach Text mit Hinweis",
Blockly.Msg.TEXT_TEXT_HELPURL = "https://de.wikipedia.org/wiki/Zeichenkette"; TEXT_TEXT_HELPURL: "https://de.wikipedia.org/wiki/Zeichenkette",
Blockly.Msg.TEXT_TEXT_TOOLTIP = "Ein Buchstabe, Text oder Satz."; TEXT_TEXT_TOOLTIP: "Ein Buchstabe, Text oder Satz.",
Blockly.Msg.TEXT_TRIM_HELPURL = "https://github.com/google/blockly/wiki/Text#trimming-removing-spaces"; // untranslated TEXT_TRIM_HELPURL: "https://github.com/google/blockly/wiki/Text#trimming-removing-spaces", // untranslated
Blockly.Msg.TEXT_TRIM_OPERATOR_BOTH = "entferne Leerzeichen vom Anfang und vom Ende (links und rechts)"; TEXT_TRIM_OPERATOR_BOTH: "entferne Leerzeichen vom Anfang und vom Ende (links und rechts)",
Blockly.Msg.TEXT_TRIM_OPERATOR_LEFT = "entferne Leerzeichen vom Anfang (links)"; TEXT_TRIM_OPERATOR_LEFT: "entferne Leerzeichen vom Anfang (links)",
Blockly.Msg.TEXT_TRIM_OPERATOR_RIGHT = "entferne Leerzeichen vom Ende (rechts)"; TEXT_TRIM_OPERATOR_RIGHT: "entferne Leerzeichen vom Ende (rechts)",
Blockly.Msg.TEXT_TRIM_TOOLTIP = "Entfernt Leerzeichen vom Anfang und / oder Ende eines Textes."; TEXT_TRIM_TOOLTIP: "Entfernt Leerzeichen vom Anfang und / oder Ende eines Textes.",
}

View File

@ -1,20 +1,20 @@
import Blockly from 'blockly'; export const TIME = {
/**
/** * Interval Block
* Interval Block */
*/ senseBox_interval_timer: "Messintervall",
Blockly.Msg.senseBox_interval_timer = "Messintervall"; senseBox_interval: "ms",
Blockly.Msg.senseBox_interval = "ms" senseBox_interval_timer_tip: "Intervall",
Blockly.Msg.senseBox_interval_timer_tip = "Intervall"; ARD_TIME_DELAY: "Warte",
Blockly.Msg.ARD_TIME_DELAY = "Warte"; ARD_TIME_DELAY_MICROS: "Mikrosekunden",
Blockly.Msg.ARD_TIME_DELAY_MICROS = "Mikrosekunden"; ARD_TIME_DELAY_MICRO_TIP: "Warte eine spezifischen Zeit in Microsekunden",
Blockly.Msg.ARD_TIME_DELAY_MICRO_TIP = "Warte eine spezifischen Zeit in Microsekunden"; ARD_TIME_DELAY_TIP: "Warte spezifische Zeit in Millisekunden",
Blockly.Msg.ARD_TIME_DELAY_TIP = "Warte spezifische Zeit in Millisekunden"; ARD_TIME_INF: "Warte für immer (Beende Programm)",
Blockly.Msg.ARD_TIME_INF = "Warte für immer (Beende Programm)"; ARD_TIME_INF_TIP: "Stoppt das Programm.",
Blockly.Msg.ARD_TIME_INF_TIP = "Stoppt das Programm."; ARD_TIME_MICROS: "Bereits vergangen Zeit (Mikrosekunden)",
Blockly.Msg.ARD_TIME_MICROS = "Bereits vergangen Zeit (Mikrosekunden)"; ARD_TIME_MICROS_TIP: "Gibt eine Zahl in Microsekunden zurück, die der Zeitdauer des Aktuellen Programms entspricht. Muss als positiven Integer gespeichert werden", // untranslated
Blockly.Msg.ARD_TIME_MICROS_TIP = "Gibt eine Zahl in Microsekunden zurück, die der Zeitdauer des Aktuellen Programms entspricht. Muss als positiven Integer gespeichert werden"; // untranslated ARD_TIME_MILLIS: "Bereits vergangen Zeit (Millisekunden)",
Blockly.Msg.ARD_TIME_MILLIS = "Bereits vergangen Zeit (Millisekunden)"; ARD_TIME_MILLIS_TIP: "Gibt eine Zahl in Millisekunden zurück, die der Zeitdauer des Aktuellen Programms entspricht. Muss als positiven Integer gespeichert werden", // untranslated
Blockly.Msg.ARD_TIME_MILLIS_TIP = "Gibt eine Zahl in Millisekunden zurück, die der Zeitdauer des Aktuellen Programms entspricht. Muss als positiven Integer gespeichert werden"; // untranslated ARD_TIME_MS: "Millisekunden",
Blockly.Msg.ARD_TIME_MS = "Millisekunden"; }

View File

@ -1,24 +1,22 @@
import Blockly from 'blockly' export const TOURS = {
/**
* Home Tour
*/
hometour_wrapper: "Willkommen zu Blockly für die senseBox. In dieser Tour werde ich dir alle wichtigen Funktionen der Oberfläche zeigen",
hometour_workspaceFunc: "Hier findest du alle Buttons um dein Programm zu übertragen, zu speichern oder zu teilen",
hometour_blocklyWindow: "Dies ist deine Arbeitsfläche. Hier kannst du mithilfe der Blöcke deinen Programmcode erstellen",
hometour_blocklyToolboxDiv: "In der Toolbox befinden sich alle Blöcke. Verbinde diese in der Arbeitsfläche und erstelle dein Programmcode",
hometour_compileBlocks: "Wenn du fertig mit dem Programmieren bist und deinen Programmcode auf die senseBox übertragen möchtest klicke hier um deinen Programmcode zu kompilieren.",
hometour_menuButton: "Im Menü findest du Tutorials und eine Gallery mit verschiedenen Beispiel Programmen. Logge dich über deinen openSenseMap Account ein und du erhälst noch mehr Funktionen",
hometour_showCode: "Über diesen Button kannst du dir den generierten Programmcode anzeigen lassen",
hometour_shareBlocks: "Erstelle über diesen Button einen Kurzlink und teile deine Blöcke mit anderen Nutzer:innen",
/** /**
* Home Tour * Assessment Tour
*/ */
Blockly.Msg.hometour_wrapper = "Willkommen zu Blockly für die senseBox. In dieser Tour werde ich dir alle wichtigen Funktionen der Oberfläche zeigen"
Blockly.Msg.hometour_workspaceFunc = "Hier findest du alle Buttons um dein Programm zu übertragen, zu speichern oder zu teilen"
Blockly.Msg.hometour_blocklyWindow = "Dies ist deine Arbeitsfläche. Hier kannst du mithilfe der Blöcke deinen Programmcode erstellen"
Blockly.Msg.hometour_blocklyToolboxDiv = "In der Toolbox befinden sich alle Blöcke. Verbinde diese in der Arbeitsfläche und erstelle dein Programmcode"
Blockly.Msg.hometour_compileBlocks = "Wenn du fertig mit dem Programmieren bist und deinen Programmcode auf die senseBox übertragen möchtest klicke hier um deinen Programmcode zu kompilieren."
Blockly.Msg.hometour_menuButton = "Im Menü findest du Tutorials und eine Gallery mit verschiedenen Beispiel Programmen. Logge dich über deinen openSenseMap Account ein und du erhälst noch mehr Funktionen"
Blockly.Msg.hometour_showCode = "Über diesen Button kannst du dir den generierten Programmcode anzeigen lassen"
Blockly.Msg.hometour_shareBlocks = "Erstelle über diesen Button einen Kurzlink und teile deine Blöcke mit anderen Nutzer:innen"
assessmenttour_solutionCheck: "Wenn deine Lösung fertig ist klicke hier um diese zu überprüfen",
assessmenttour_assessmentDiv: "Los gehts! Löse die folgende Aufgabe, um das Tutorial abzuschließen.",
/** assessmenttour_injectionDiv: "Erstelle hier deine Lösung. Du kannst alle Blöcke aus der Toolbox verwenden.",
* Assessment Tour }
*/
Blockly.Msg.assessmenttour_solutionCheck = "Wenn deine Lösung fertig ist klicke hier um diese zu überprüfen"
Blockly.Msg.assessmenttour_assessmentDiv = "Los gehts! Löse die folgende Aufgabe, um das Tutorial abzuschließen. "
Blockly.Msg.assessmenttour_injectionDiv = "Erstelle hier deine Lösung. Du kannst alle Blöcke aus der Toolbox verwenden."

View File

@ -1,217 +1,213 @@
import Blockly from 'blockly'; export const TRANSLATIONS = {
Blockly.Msg.AUTH = "Bitte autorisiere diese App zum Aktivieren der Speicherung deiner Arbeit und zum Teilen."; AUTH: "Bitte autorisiere diese App zum Aktivieren der Speicherung deiner Arbeit und zum Teilen.",
Blockly.Msg.CHANGE_VALUE_TITLE = "Wert ändern:"; CHANGE_VALUE_TITLE: "Wert ändern:",
Blockly.Msg.CHAT = "Chatte mit unserem Mitarbeiter durch Eingeben von Text in diesen Kasten!"; CHAT: "Chatte mit unserem Mitarbeiter durch Eingeben von Text in diesen Kasten!",
Blockly.Msg.CLEAN_UP = "Blöcke aufräumen"; CLEAN_UP: "Blöcke aufräumen",
Blockly.Msg.COLLAPSE_ALL = "Alle Blöcke zusammenfalten"; COLLAPSE_ALL: "Alle Blöcke zusammenfalten",
Blockly.Msg.COLLAPSE_BLOCK = "Block zusammenfalten"; COLLAPSE_BLOCK: "Block zusammenfalten",
DELETE_ALL_BLOCKS: "Alle %1 Bausteine löschen?",
DELETE_BLOCK: "Block löschen",
DELETE_X_BLOCKS: "Block %1 löschen",
DISABLE_BLOCK: "Block deaktivieren",
DUPLICATE_BLOCK: "Kopieren",
ENABLE_BLOCK: "Block aktivieren",
EXPAND_ALL: "Alle Blöcke entfalten",
EXPAND_BLOCK: "Block entfalten",
EXTERNAL_INPUTS: "externe Eingänge",
HELP: "Hilfe",
INLINE_INPUTS: "interne Eingänge",
LISTS_CREATE_EMPTY_HELPURL: "https://github.com/google/blockly/wiki/Lists#create-empty-list",
LISTS_CREATE_EMPTY_TITLE: "Erzeuge eine leere Liste",
LISTS_CREATE_EMPTY_TOOLTIP: "Erzeugt eine leere Liste ohne Inhalt.",
LISTS_CREATE_WITH_CONTAINER_TITLE_ADD: "Liste",
LISTS_CREATE_WITH_CONTAINER_TOOLTIP: "Hinzufügen, entfernen und sortieren von Elementen.",
LISTS_CREATE_WITH_HELPURL: "https://github.com/google/blockly/wiki/Lists#create-list-with",
LISTS_CREATE_WITH_INPUT_WITH: "Erzeuge Liste mit",
LISTS_CREATE_WITH_ITEM_TOOLTIP: "Ein Element zur Liste hinzufügen.",
LISTS_CREATE_WITH_TOOLTIP: "Erzeugt eine List mit konfigurierten Elementen.",
LISTS_GET_INDEX_FIRST: "erstes",
LISTS_GET_INDEX_FROM_END: "#tes von hinten",
LISTS_GET_INDEX_FROM_START: "#tes",
LISTS_GET_INDEX_GET: "nimm",
LISTS_GET_INDEX_GET_REMOVE: "nimm und entferne",
LISTS_GET_INDEX_LAST: "letztes",
LISTS_GET_INDEX_RANDOM: "zufälliges",
LISTS_GET_INDEX_REMOVE: "entferne",
LISTS_GET_INDEX_TAIL: "",
LISTS_GET_INDEX_TOOLTIP_GET_FIRST: "Extrahiere das erste Element aus der Liste.",
LISTS_GET_INDEX_TOOLTIP_GET_FROM_END: "Extrahiere das #1te Element aus Ende der Liste.",
LISTS_GET_INDEX_TOOLTIP_GET_FROM_START: "Extrahiere das #1te Element aus der Liste.",
LISTS_GET_INDEX_TOOLTIP_GET_LAST: "Extrahiere das letzte Element aus der Liste.",
LISTS_GET_INDEX_TOOLTIP_GET_RANDOM: "Extrahiere ein zufälliges Element aus der Liste.",
LISTS_GET_INDEX_TOOLTIP_GET_REMOVE_FIRST: "Extrahiere und entfernt das erste Element aus der Liste.",
LISTS_GET_INDEX_TOOLTIP_GET_REMOVE_FROM_END: "Extrahiere und entfernt das #1te Element aus Ende der Liste.",
LISTS_GET_INDEX_TOOLTIP_GET_REMOVE_FROM_START: "Extrahiere und entfernt das #1te Element aus der Liste.",
LISTS_GET_INDEX_TOOLTIP_GET_REMOVE_LAST: "Extrahiere und entfernt das letzte Element aus der Liste.",
LISTS_GET_INDEX_TOOLTIP_GET_REMOVE_RANDOM: "Extrahiere und entfernt ein zufälliges Element aus der Liste.",
LISTS_GET_INDEX_TOOLTIP_REMOVE_FIRST: "Entfernt das erste Element von der Liste.",
LISTS_GET_INDEX_TOOLTIP_REMOVE_FROM_END: "Entfernt das #1te Element von Ende der Liste.",
LISTS_GET_INDEX_TOOLTIP_REMOVE_FROM_START: "Entfernt das #1te Element von der Liste.",
LISTS_GET_INDEX_TOOLTIP_REMOVE_LAST: "Entfernt das letzte Element von der Liste.",
LISTS_GET_INDEX_TOOLTIP_REMOVE_RANDOM: "Entfernt ein zufälliges Element von der Liste.",
LISTS_GET_SUBLIST_END_FROM_END: "bis zu # von hinten",
LISTS_GET_SUBLIST_END_FROM_START: "bis zu #",
LISTS_GET_SUBLIST_END_LAST: "bis zum Ende",
LISTS_GET_SUBLIST_HELPURL: "http://publib.boulder.ibm.com/infocenter/lnxpcomp/v8v101/index.jsp?topic:%2Fcom.ibm.xlcpp8l.doc%2Flanguage%2Fref%2Farsubex.htm",
LISTS_GET_SUBLIST_START_FIRST: "erhalte Unterliste vom Anfang",
LISTS_GET_SUBLIST_START_FROM_END: "erhalte Unterliste von # von hinten",
LISTS_GET_SUBLIST_START_FROM_START: "erhalte Unterliste von #",
LISTS_GET_SUBLIST_TAIL: "",
LISTS_GET_SUBLIST_TOOLTIP: "Erstellt eine Kopie mit dem angegebenen Abschnitt der Liste.",
LISTS_INDEX_OF_FIRST: "suche erstes Auftreten von",
LISTS_INDEX_OF_HELPURL: "http://publib.boulder.ibm.com/infocenter/lnxpcomp/v8v101/index.jsp?topic:%2Fcom.ibm.xlcpp8l.doc%2Flanguage%2Fref%2Farsubex.htm",
LISTS_INDEX_OF_LAST: "suche letztes Auftreten von",
LISTS_INDEX_OF_TOOLTIP: "Sucht die Position (index) eines Elementes in der Liste. Gibt 0 zurück, falls kein Element gefunden wurde.",
LISTS_INLIST: "von der Liste",
LISTS_ISEMPTY_HELPURL: "https://github.com/google/blockly/wiki/Lists#is-empty", // untranslated
LISTS_ISEMPTY_TITLE: "%1 ist leer?",
LISTS_ISEMPTY_TOOLTIP: "Ist wahr (true), wenn die Liste leer ist.",
LISTS_LENGTH_HELPURL: "https://github.com/google/blockly/wiki/Lists#length-of", // untranslated
LISTS_LENGTH_TITLE: "Länge von %1",
LISTS_LENGTH_TOOLTIP: "Die Anzahl von Elementen in der Liste.",
LISTS_REPEAT_HELPURL: "http://publib.boulder.ibm.com/infocenter/lnxpcomp/v8v101/index.jsp?topic:%2Fcom.ibm.xlcpp8l.doc%2Flanguage%2Fref%2Farsubex.htm",
LISTS_REPEAT_TITLE: "Erzeuge Liste mit Element %1 wiederhole es %2 mal",
LISTS_REPEAT_TOOLTIP: "Erzeugt eine Liste mit einer variablen Anzahl von Elementen",
LISTS_SET_INDEX_HELPURL: "http://publib.boulder.ibm.com/infocenter/lnxpcomp/v8v101/index.jsp?topic:%2Fcom.ibm.xlcpp8l.doc%2Flanguage%2Fref%2Farsubex.htm",
LISTS_SET_INDEX_INPUT_TO: "ein",
LISTS_SET_INDEX_INSERT: "füge",
LISTS_SET_INDEX_SET: "setze",
LISTS_SET_INDEX_TOOLTIP_INSERT_FIRST: "Fügt das Element an den Anfang der Liste an.",
LISTS_SET_INDEX_TOOLTIP_INSERT_FROM_END: "Fügt das Element an der angegebenen Position in der Liste ein. #1 ist das letzte Element.",
LISTS_SET_INDEX_TOOLTIP_INSERT_FROM_START: "Fügt das Element an der angegebenen Position in der Liste ein. #1 ist die erste Element.",
LISTS_SET_INDEX_TOOLTIP_INSERT_LAST: "Fügt das Element ans Ende der Liste an.",
LISTS_SET_INDEX_TOOLTIP_INSERT_RANDOM: "Fügt das Element zufällig in die Liste ein.",
LISTS_SET_INDEX_TOOLTIP_SET_FIRST: "Setzt das erste Element in der Liste.",
LISTS_SET_INDEX_TOOLTIP_SET_FROM_END: "Setzt das Element an der angegebenen Position in der Liste. #1 ist das letzte Element.",
LISTS_SET_INDEX_TOOLTIP_SET_FROM_START: "Setzte das Element an der angegebenen Position in der Liste. #1 ist das erste Element.",
LISTS_SET_INDEX_TOOLTIP_SET_LAST: "Setzt das letzte Element in der Liste.",
LISTS_SET_INDEX_TOOLTIP_SET_RANDOM: "Setzt ein zufälliges Element in der Liste.",
LISTS_SORT_HELPURL: "https://github.com/google/blockly/wiki/Lists#sorting-a-list",
LISTS_SORT_ORDER_ASCENDING: "aufsteigend",
LISTS_SORT_ORDER_DESCENDING: "absteigend",
LISTS_SORT_TITLE: "%1 %2 %3 sortieren",
LISTS_SORT_TOOLTIP: "Eine Kopie einer Liste sortieren.",
LISTS_SORT_TYPE_IGNORECASE: "alphabetisch, Schreibung ignorieren",
LISTS_SORT_TYPE_NUMERIC: "numerisch",
LISTS_SORT_TYPE_TEXT: "alphabetisch",
LISTS_SPLIT_HELPURL: "https://github.com/google/blockly/wiki/Lists#splitting-strings-and-joining-lists",
LISTS_SPLIT_LIST_FROM_TEXT: "Liste aus Text erstellen",
LISTS_SPLIT_TEXT_FROM_LIST: "Text aus Liste erstellen",
LISTS_SPLIT_TOOLTIP_JOIN: "Liste mit Texten in einen Text vereinen, getrennt durch ein Trennzeichen.",
LISTS_SPLIT_TOOLTIP_SPLIT: "Text in eine Liste mit Texten aufteilen, unterbrochen bei jedem Trennzeichen.",
LISTS_SPLIT_WITH_DELIMITER: "mit Trennzeichen",
LOGIC_BOOLEAN_FALSE: "falsch",
ME: "Ich",
NEW_VARIABLE: "Neue Variable...",
NEW_VARIABLE_TITLE: "Name der neuen Variable:",
ORDINAL_NUMBER_SUFFIX: "",
PROCEDURES_ALLOW_STATEMENTS: "Aussagen erlauben",
PROCEDURES_BEFORE_PARAMS: "mit:",
PROCEDURES_CALLNORETURN_HELPURL: "https://de.wikipedia.org/wiki/Prozedur_%28Programmierung%29",
PROCEDURES_CALLNORETURN_TOOLTIP: "Rufe einen Funktionsblock ohne Rückgabewert auf.",
PROCEDURES_CALLRETURN_HELPURL: "https://de.wikipedia.org/wiki/Prozedur_%28Programmierung%29",
PROCEDURES_CALLRETURN_TOOLTIP: "Rufe einen Funktionsblock mit Rückgabewert auf.",
PROCEDURES_CALL: "Rufe",
PROCEDURES_CALL_END: "auf",
PROCEDURES_DEFNORETURN: "Erstelle Funktion",
PROCEDURES_BEFORE_PARAMS: "mit Eingabeparameter:",
PROCEDURES_DEFRETURN_RETURN_TYPE: "Rückgabetype",
PROCEDURES_CALL_BEFORE_PARAMS: "mit:",
PROCEDURES_CREATE_DO: "Erzeuge \"Aufruf %1\"",
PROCEDURES_DEFNORETURN_COMMENT: "Beschreibe diese Funktion …",
PROCEDURES_DEFNORETURN_DO: "",
PROCEDURES_DEFNORETURN_HELPURL: "https://de.wikipedia.org/wiki/Prozedur_%28Programmierung%29",
PROCEDURES_DEFNORETURN_PROCEDURE: "Funktionsblock",
PROCEDURES_DEFNORETURN_TITLE: "zu",
PROCEDURES_DEFNORETURN_TOOLTIP: "Ein Funktionsblock ohne Rückgabewert.",
PROCEDURES_DEFRETURN_HELPURL: "https://de.wikipedia.org/wiki/Prozedur_%28Programmierung%29",
PROCEDURES_DEFRETURN_RETURN: "gebe zurück",
PROCEDURES_DEFRETURN_TOOLTIP: "Ein Funktionsblock mit Rückgabewert.",
PROCEDURES_DEF_DUPLICATE_WARNING: "Warnung: dieser Funktionsblock hat zwei gleich benannte Parameter.",
PROCEDURES_HIGHLIGHT_DEF: "Markiere Funktionsblock",
PROCEDURES_IFRETURN_HELPURL: "http://c2.com/cgi/wiki?GuardClause",
PROCEDURES_IFRETURN_TOOLTIP: "Wenn der erste Wert wahr (true) ist, Gebe den zweiten Wert zurück.",
PROCEDURES_IFRETURN_WARNING: "Warnung: Dieser Block darf nur innerhalb eines Funktionsblock genutzt werden.",
PROCEDURES_MUTATORARG_TITLE: "Variable:",
PROCEDURES_MUTATORARG_TOOLTIP: "Eine Eingabe zur Funktion hinzufügen.",
PROCEDURES_MUTATORCONTAINER_TITLE: "Parameter",
PROCEDURES_MUTATORCONTAINER_TOOLTIP: "Die Eingaben zu dieser Funktion hinzufügen, entfernen oder neu anordnen.",
REDO: "Wiederholen",
REMOVE_COMMENT: "Kommentar entfernen",
RENAME_VARIABLE: "Variable umbenennen...",
RENAME_VARIABLE_TITLE: "Alle \"%1\" Variablen umbenennen in:",
Blockly.Msg.DELETE_ALL_BLOCKS = "Alle %1 Bausteine löschen?"; TODAY: "Heute",
Blockly.Msg.DELETE_BLOCK = "Block löschen"; UNDO: "Rückgängig",
Blockly.Msg.DELETE_X_BLOCKS = "Block %1 löschen"; VARIABLES_DEFAULT_NAME: "Element",
Blockly.Msg.DISABLE_BLOCK = "Block deaktivieren"; VARIABLES_GET_CREATE_SET: "Erzeuge \"Schreibe %1\"",
Blockly.Msg.DUPLICATE_BLOCK = "Kopieren"; VARIABLES_GET_HELPURL: "https://de.wikipedia.org/wiki/Variable_%28Programmierung%29",
Blockly.Msg.ENABLE_BLOCK = "Block aktivieren"; VARIABLES_GET_TOOLTIP: "Gibt den Wert der Variable zurück.",
Blockly.Msg.EXPAND_ALL = "Alle Blöcke entfalten"; VARIABLES_SET: "Schreibe %1 %2",
Blockly.Msg.EXPAND_BLOCK = "Block entfalten"; VARIABLES_SET_CREATE_GET: "Erzeuge \"Lese %1\"",
Blockly.Msg.EXTERNAL_INPUTS = "externe Eingänge"; VARIABLES_SET_HELPURL: "https://de.wikipedia.org/wiki/Variable_%28Programmierung%29",
Blockly.Msg.HELP = "Hilfe"; VARIABLES_SET_TOOLTIP: "Setzt den Wert einer Variable.",
Blockly.Msg.INLINE_INPUTS = "interne Eingänge"; MATH_CHANGE_TITLE_ITEM: "Element",
Blockly.Msg.LISTS_CREATE_EMPTY_HELPURL = "https://github.com/google/blockly/wiki/Lists#create-empty-list"; PROCEDURES_DEFRETURN_TITLE: "zu",
Blockly.Msg.LISTS_CREATE_EMPTY_TITLE = "Erzeuge eine leere Liste"; CONTROLS_IF_IF_TITLE_IF: "if",
Blockly.Msg.LISTS_CREATE_EMPTY_TOOLTIP = "Erzeugt eine leere Liste ohne Inhalt."; CONTROLS_WHILEUNTIL_INPUT_DO: "mache",
Blockly.Msg.LISTS_CREATE_WITH_CONTAINER_TITLE_ADD = "Liste"; CONTROLS_IF_MSG_THEN: "mache",
Blockly.Msg.LISTS_CREATE_WITH_CONTAINER_TOOLTIP = "Hinzufügen, entfernen und sortieren von Elementen."; CONTROLS_IF_ELSE_TITLE_ELSE: "sonst",
Blockly.Msg.LISTS_CREATE_WITH_HELPURL = "https://github.com/google/blockly/wiki/Lists#create-list-with"; PROCEDURES_DEFRETURN_PROCEDURE: "Funktionsblock",
Blockly.Msg.LISTS_CREATE_WITH_INPUT_WITH = "Erzeuge Liste mit"; LISTS_GET_SUBLIST_INPUT_IN_LIST: "in der Liste",
Blockly.Msg.LISTS_CREATE_WITH_ITEM_TOOLTIP = "Ein Element zur Liste hinzufügen."; LISTS_GET_INDEX_INPUT_IN_LIST: "in der Liste",
Blockly.Msg.LISTS_CREATE_WITH_TOOLTIP = "Erzeugt eine List mit konfigurierten Elementen."; PROCEDURES_DEFRETURN_DO: "",
Blockly.Msg.LISTS_GET_INDEX_FIRST = "erstes"; CONTROLS_IF_ELSEIF_TITLE_ELSEIF: "sonst wenn",
Blockly.Msg.LISTS_GET_INDEX_FROM_END = "#tes von hinten"; LISTS_GET_INDEX_HELPURL: "https://github.com/google/blockly/wiki/Lists#getting-items-from-a-list",
Blockly.Msg.LISTS_GET_INDEX_FROM_START = "#tes"; CONTROLS_FOREACH_INPUT_DO: "mache",
Blockly.Msg.LISTS_GET_INDEX_GET = "nimm"; LISTS_SET_INDEX_INPUT_IN_LIST: "in der Liste",
Blockly.Msg.LISTS_GET_INDEX_GET_REMOVE = "nimm und entferne"; CONTROLS_FOR_INPUT_DO: "mache",
Blockly.Msg.LISTS_GET_INDEX_LAST = "letztes"; LISTS_CREATE_WITH_ITEM_TITLE: "item",
Blockly.Msg.LISTS_GET_INDEX_RANDOM = "zufälliges"; TEXT_APPEND_VARIABLE: "item",
Blockly.Msg.LISTS_GET_INDEX_REMOVE = "entferne"; TEXT_CREATE_JOIN_ITEM_TITLE_ITEM: "item",
Blockly.Msg.LISTS_GET_INDEX_TAIL = ""; LISTS_INDEX_OF_INPUT_IN_LIST: "von der Liste",
Blockly.Msg.LISTS_GET_INDEX_TOOLTIP_GET_FIRST = "Extrahiere das erste Element aus der Liste."; PROCEDURES_DEFRETURN_COMMENT: "Beschreibe diese Funktion …",
Blockly.Msg.LISTS_GET_INDEX_TOOLTIP_GET_FROM_END = "Extrahiere das #1te Element aus Ende der Liste.";
Blockly.Msg.LISTS_GET_INDEX_TOOLTIP_GET_FROM_START = "Extrahiere das #1te Element aus der Liste.";
Blockly.Msg.LISTS_GET_INDEX_TOOLTIP_GET_LAST = "Extrahiere das letzte Element aus der Liste.";
Blockly.Msg.LISTS_GET_INDEX_TOOLTIP_GET_RANDOM = "Extrahiere ein zufälliges Element aus der Liste.";
Blockly.Msg.LISTS_GET_INDEX_TOOLTIP_GET_REMOVE_FIRST = "Extrahiere und entfernt das erste Element aus der Liste.";
Blockly.Msg.LISTS_GET_INDEX_TOOLTIP_GET_REMOVE_FROM_END = "Extrahiere und entfernt das #1te Element aus Ende der Liste.";
Blockly.Msg.LISTS_GET_INDEX_TOOLTIP_GET_REMOVE_FROM_START = "Extrahiere und entfernt das #1te Element aus der Liste.";
Blockly.Msg.LISTS_GET_INDEX_TOOLTIP_GET_REMOVE_LAST = "Extrahiere und entfernt das letzte Element aus der Liste.";
Blockly.Msg.LISTS_GET_INDEX_TOOLTIP_GET_REMOVE_RANDOM = "Extrahiere und entfernt ein zufälliges Element aus der Liste.";
Blockly.Msg.LISTS_GET_INDEX_TOOLTIP_REMOVE_FIRST = "Entfernt das erste Element von der Liste.";
Blockly.Msg.LISTS_GET_INDEX_TOOLTIP_REMOVE_FROM_END = "Entfernt das #1te Element von Ende der Liste.";
Blockly.Msg.LISTS_GET_INDEX_TOOLTIP_REMOVE_FROM_START = "Entfernt das #1te Element von der Liste.";
Blockly.Msg.LISTS_GET_INDEX_TOOLTIP_REMOVE_LAST = "Entfernt das letzte Element von der Liste.";
Blockly.Msg.LISTS_GET_INDEX_TOOLTIP_REMOVE_RANDOM = "Entfernt ein zufälliges Element von der Liste.";
Blockly.Msg.LISTS_GET_SUBLIST_END_FROM_END = "bis zu # von hinten";
Blockly.Msg.LISTS_GET_SUBLIST_END_FROM_START = "bis zu #";
Blockly.Msg.LISTS_GET_SUBLIST_END_LAST = "bis zum Ende";
Blockly.Msg.LISTS_GET_SUBLIST_HELPURL = "http://publib.boulder.ibm.com/infocenter/lnxpcomp/v8v101/index.jsp?topic=%2Fcom.ibm.xlcpp8l.doc%2Flanguage%2Fref%2Farsubex.htm";
Blockly.Msg.LISTS_GET_SUBLIST_START_FIRST = "erhalte Unterliste vom Anfang";
Blockly.Msg.LISTS_GET_SUBLIST_START_FROM_END = "erhalte Unterliste von # von hinten";
Blockly.Msg.LISTS_GET_SUBLIST_START_FROM_START = "erhalte Unterliste von #";
Blockly.Msg.LISTS_GET_SUBLIST_TAIL = "";
Blockly.Msg.LISTS_GET_SUBLIST_TOOLTIP = "Erstellt eine Kopie mit dem angegebenen Abschnitt der Liste.";
Blockly.Msg.LISTS_INDEX_OF_FIRST = "suche erstes Auftreten von";
Blockly.Msg.LISTS_INDEX_OF_HELPURL = "http://publib.boulder.ibm.com/infocenter/lnxpcomp/v8v101/index.jsp?topic=%2Fcom.ibm.xlcpp8l.doc%2Flanguage%2Fref%2Farsubex.htm";
Blockly.Msg.LISTS_INDEX_OF_LAST = "suche letztes Auftreten von";
Blockly.Msg.LISTS_INDEX_OF_TOOLTIP = "Sucht die Position (index) eines Elementes in der Liste. Gibt 0 zurück, falls kein Element gefunden wurde.";
Blockly.Msg.LISTS_INLIST = "von der Liste";
Blockly.Msg.LISTS_ISEMPTY_HELPURL = "https://github.com/google/blockly/wiki/Lists#is-empty"; // untranslated
Blockly.Msg.LISTS_ISEMPTY_TITLE = "%1 ist leer?";
Blockly.Msg.LISTS_ISEMPTY_TOOLTIP = "Ist wahr (true), wenn die Liste leer ist.";
Blockly.Msg.LISTS_LENGTH_HELPURL = "https://github.com/google/blockly/wiki/Lists#length-of"; // untranslated
Blockly.Msg.LISTS_LENGTH_TITLE = "Länge von %1";
Blockly.Msg.LISTS_LENGTH_TOOLTIP = "Die Anzahl von Elementen in der Liste.";
Blockly.Msg.LISTS_REPEAT_HELPURL = "http://publib.boulder.ibm.com/infocenter/lnxpcomp/v8v101/index.jsp?topic=%2Fcom.ibm.xlcpp8l.doc%2Flanguage%2Fref%2Farsubex.htm";
Blockly.Msg.LISTS_REPEAT_TITLE = "Erzeuge Liste mit Element %1 wiederhole es %2 mal";
Blockly.Msg.LISTS_REPEAT_TOOLTIP = "Erzeugt eine Liste mit einer variablen Anzahl von Elementen";
Blockly.Msg.LISTS_SET_INDEX_HELPURL = "http://publib.boulder.ibm.com/infocenter/lnxpcomp/v8v101/index.jsp?topic=%2Fcom.ibm.xlcpp8l.doc%2Flanguage%2Fref%2Farsubex.htm";
Blockly.Msg.LISTS_SET_INDEX_INPUT_TO = "ein";
Blockly.Msg.LISTS_SET_INDEX_INSERT = "füge";
Blockly.Msg.LISTS_SET_INDEX_SET = "setze";
Blockly.Msg.LISTS_SET_INDEX_TOOLTIP_INSERT_FIRST = "Fügt das Element an den Anfang der Liste an.";
Blockly.Msg.LISTS_SET_INDEX_TOOLTIP_INSERT_FROM_END = "Fügt das Element an der angegebenen Position in der Liste ein. #1 ist das letzte Element.";
Blockly.Msg.LISTS_SET_INDEX_TOOLTIP_INSERT_FROM_START = "Fügt das Element an der angegebenen Position in der Liste ein. #1 ist die erste Element.";
Blockly.Msg.LISTS_SET_INDEX_TOOLTIP_INSERT_LAST = "Fügt das Element ans Ende der Liste an.";
Blockly.Msg.LISTS_SET_INDEX_TOOLTIP_INSERT_RANDOM = "Fügt das Element zufällig in die Liste ein.";
Blockly.Msg.LISTS_SET_INDEX_TOOLTIP_SET_FIRST = "Setzt das erste Element in der Liste.";
Blockly.Msg.LISTS_SET_INDEX_TOOLTIP_SET_FROM_END = "Setzt das Element an der angegebenen Position in der Liste. #1 ist das letzte Element.";
Blockly.Msg.LISTS_SET_INDEX_TOOLTIP_SET_FROM_START = "Setzte das Element an der angegebenen Position in der Liste. #1 ist das erste Element.";
Blockly.Msg.LISTS_SET_INDEX_TOOLTIP_SET_LAST = "Setzt das letzte Element in der Liste.";
Blockly.Msg.LISTS_SET_INDEX_TOOLTIP_SET_RANDOM = "Setzt ein zufälliges Element in der Liste.";
Blockly.Msg.LISTS_SORT_HELPURL = "https://github.com/google/blockly/wiki/Lists#sorting-a-list";
Blockly.Msg.LISTS_SORT_ORDER_ASCENDING = "aufsteigend";
Blockly.Msg.LISTS_SORT_ORDER_DESCENDING = "absteigend";
Blockly.Msg.LISTS_SORT_TITLE = "%1 %2 %3 sortieren";
Blockly.Msg.LISTS_SORT_TOOLTIP = "Eine Kopie einer Liste sortieren.";
Blockly.Msg.LISTS_SORT_TYPE_IGNORECASE = "alphabetisch, Schreibung ignorieren";
Blockly.Msg.LISTS_SORT_TYPE_NUMERIC = "numerisch";
Blockly.Msg.LISTS_SORT_TYPE_TEXT = "alphabetisch";
Blockly.Msg.LISTS_SPLIT_HELPURL = "https://github.com/google/blockly/wiki/Lists#splitting-strings-and-joining-lists";
Blockly.Msg.LISTS_SPLIT_LIST_FROM_TEXT = "Liste aus Text erstellen";
Blockly.Msg.LISTS_SPLIT_TEXT_FROM_LIST = "Text aus Liste erstellen";
Blockly.Msg.LISTS_SPLIT_TOOLTIP_JOIN = "Liste mit Texten in einen Text vereinen, getrennt durch ein Trennzeichen.";
Blockly.Msg.LISTS_SPLIT_TOOLTIP_SPLIT = "Text in eine Liste mit Texten aufteilen, unterbrochen bei jedem Trennzeichen.";
Blockly.Msg.LISTS_SPLIT_WITH_DELIMITER = "mit Trennzeichen";
Blockly.Msg.LOGIC_BOOLEAN_FALSE = "falsch";
Blockly.Msg.ME = "Ich"; /*senseBox Blockly Translations*/
Blockly.Msg.NEW_VARIABLE = "Neue Variable...";
Blockly.Msg.NEW_VARIABLE_TITLE = "Name der neuen Variable:";
Blockly.Msg.ORDINAL_NUMBER_SUFFIX = "";
Blockly.Msg.PROCEDURES_ALLOW_STATEMENTS = "Aussagen erlauben";
Blockly.Msg.PROCEDURES_BEFORE_PARAMS = "mit:";
Blockly.Msg.PROCEDURES_CALLNORETURN_HELPURL = "https://de.wikipedia.org/wiki/Prozedur_%28Programmierung%29";
Blockly.Msg.PROCEDURES_CALLNORETURN_TOOLTIP = "Rufe einen Funktionsblock ohne Rückgabewert auf.";
Blockly.Msg.PROCEDURES_CALLRETURN_HELPURL = "https://de.wikipedia.org/wiki/Prozedur_%28Programmierung%29";
Blockly.Msg.PROCEDURES_CALLRETURN_TOOLTIP = "Rufe einen Funktionsblock mit Rückgabewert auf.";
Blockly.Msg.PROCEDURES_CALL = "Rufe";
Blockly.Msg.PROCEDURES_CALL_END = "auf";
Blockly.Msg.PROCEDURES_DEFNORETURN = "Erstelle Funktion";
Blockly.Msg.PROCEDURES_BEFORE_PARAMS = "mit Eingabeparameter:";
Blockly.Msg.PROCEDURES_DEFRETURN_RETURN_TYPE = "Rückgabetype";
Blockly.Msg.PROCEDURES_CALL_BEFORE_PARAMS = "mit:";
Blockly.Msg.PROCEDURES_CREATE_DO = "Erzeuge \"Aufruf %1\"";
Blockly.Msg.PROCEDURES_DEFNORETURN_COMMENT = "Beschreibe diese Funktion …";
Blockly.Msg.PROCEDURES_DEFNORETURN_DO = "";
Blockly.Msg.PROCEDURES_DEFNORETURN_HELPURL = "https://de.wikipedia.org/wiki/Prozedur_%28Programmierung%29";
Blockly.Msg.PROCEDURES_DEFNORETURN_PROCEDURE = "Funktionsblock";
Blockly.Msg.PROCEDURES_DEFNORETURN_TITLE = "zu";
Blockly.Msg.PROCEDURES_DEFNORETURN_TOOLTIP = "Ein Funktionsblock ohne Rückgabewert.";
Blockly.Msg.PROCEDURES_DEFRETURN_HELPURL = "https://de.wikipedia.org/wiki/Prozedur_%28Programmierung%29";
Blockly.Msg.PROCEDURES_DEFRETURN_RETURN = "gebe zurück";
Blockly.Msg.PROCEDURES_DEFRETURN_TOOLTIP = "Ein Funktionsblock mit Rückgabewert.";
Blockly.Msg.PROCEDURES_DEF_DUPLICATE_WARNING = "Warnung: dieser Funktionsblock hat zwei gleich benannte Parameter.";
Blockly.Msg.PROCEDURES_HIGHLIGHT_DEF = "Markiere Funktionsblock";
Blockly.Msg.PROCEDURES_IFRETURN_HELPURL = "http://c2.com/cgi/wiki?GuardClause";
Blockly.Msg.PROCEDURES_IFRETURN_TOOLTIP = "Wenn der erste Wert wahr (true) ist, Gebe den zweiten Wert zurück.";
Blockly.Msg.PROCEDURES_IFRETURN_WARNING = "Warnung: Dieser Block darf nur innerhalb eines Funktionsblock genutzt werden.";
Blockly.Msg.PROCEDURES_MUTATORARG_TITLE = "Variable:";
Blockly.Msg.PROCEDURES_MUTATORARG_TOOLTIP = "Eine Eingabe zur Funktion hinzufügen.";
Blockly.Msg.PROCEDURES_MUTATORCONTAINER_TITLE = "Parameter";
Blockly.Msg.PROCEDURES_MUTATORCONTAINER_TOOLTIP = "Die Eingaben zu dieser Funktion hinzufügen, entfernen oder neu anordnen.";
Blockly.Msg.REDO = "Wiederholen";
Blockly.Msg.REMOVE_COMMENT = "Kommentar entfernen";
Blockly.Msg.RENAME_VARIABLE = "Variable umbenennen...";
Blockly.Msg.RENAME_VARIABLE_TITLE = "Alle \"%1\" Variablen umbenennen in:";
Blockly.Msg.TODAY = "Heute";
Blockly.Msg.UNDO = "Rückgängig";
Blockly.Msg.VARIABLES_DEFAULT_NAME = "Element";
Blockly.Msg.VARIABLES_GET_CREATE_SET = "Erzeuge \"Schreibe %1\"";
Blockly.Msg.VARIABLES_GET_HELPURL = "https://de.wikipedia.org/wiki/Variable_%28Programmierung%29";
Blockly.Msg.VARIABLES_GET_TOOLTIP = "Gibt den Wert der Variable zurück.";
Blockly.Msg.VARIABLES_SET = "Schreibe %1 %2";
Blockly.Msg.VARIABLES_SET_CREATE_GET = "Erzeuge \"Lese %1\"";
Blockly.Msg.VARIABLES_SET_HELPURL = "https://de.wikipedia.org/wiki/Variable_%28Programmierung%29";
Blockly.Msg.VARIABLES_SET_TOOLTIP = "Setzt den Wert einer Variable.";
Blockly.Msg.MATH_CHANGE_TITLE_ITEM = Blockly.Msg.VARIABLES_DEFAULT_NAME;
Blockly.Msg.PROCEDURES_DEFRETURN_TITLE = Blockly.Msg.PROCEDURES_DEFNORETURN_TITLE;
Blockly.Msg.CONTROLS_IF_IF_TITLE_IF = Blockly.Msg.CONTROLS_IF_MSG_IF;
Blockly.Msg.CONTROLS_WHILEUNTIL_INPUT_DO = Blockly.Msg.CONTROLS_REPEAT_INPUT_DO;
Blockly.Msg.CONTROLS_IF_MSG_THEN = Blockly.Msg.CONTROLS_REPEAT_INPUT_DO;
Blockly.Msg.CONTROLS_IF_ELSE_TITLE_ELSE = Blockly.Msg.CONTROLS_IF_MSG_ELSE;
Blockly.Msg.PROCEDURES_DEFRETURN_PROCEDURE = Blockly.Msg.PROCEDURES_DEFNORETURN_PROCEDURE;
Blockly.Msg.LISTS_GET_SUBLIST_INPUT_IN_LIST = Blockly.Msg.LISTS_INLIST;
Blockly.Msg.LISTS_GET_INDEX_INPUT_IN_LIST = Blockly.Msg.LISTS_INLIST;
Blockly.Msg.PROCEDURES_DEFRETURN_DO = Blockly.Msg.PROCEDURES_DEFNORETURN_DO;
Blockly.Msg.CONTROLS_IF_ELSEIF_TITLE_ELSEIF = Blockly.Msg.CONTROLS_IF_MSG_ELSEIF;
Blockly.Msg.LISTS_GET_INDEX_HELPURL = Blockly.Msg.LISTS_INDEX_OF_HELPURL;
Blockly.Msg.CONTROLS_FOREACH_INPUT_DO = Blockly.Msg.CONTROLS_REPEAT_INPUT_DO;
Blockly.Msg.LISTS_SET_INDEX_INPUT_IN_LIST = Blockly.Msg.LISTS_INLIST;
Blockly.Msg.CONTROLS_FOR_INPUT_DO = Blockly.Msg.CONTROLS_REPEAT_INPUT_DO;
Blockly.Msg.LISTS_CREATE_WITH_ITEM_TITLE = Blockly.Msg.VARIABLES_DEFAULT_NAME;
Blockly.Msg.TEXT_APPEND_VARIABLE = Blockly.Msg.VARIABLES_DEFAULT_NAME;
Blockly.Msg.TEXT_CREATE_JOIN_ITEM_TITLE_ITEM = Blockly.Msg.VARIABLES_DEFAULT_NAME;
Blockly.Msg.LISTS_INDEX_OF_INPUT_IN_LIST = Blockly.Msg.LISTS_INLIST;
Blockly.Msg.PROCEDURES_DEFRETURN_COMMENT = Blockly.Msg.PROCEDURES_DEFNORETURN_COMMENT;
/*senseBox Blockly Translations*/
Blockly.Msg.senseBox_basic_blue = "Blau";
Blockly.Msg.senseBox_basic_green = "Grün";
Blockly.Msg.senseBox_basic_red = "Rot";
Blockly.Msg.senseBox_basic_state = "Status";
Blockly.Msg.senseBox_off = "Aus";
Blockly.Msg.senseBox_on = "Ein";
Blockly.Msg.senseBox_sensor = "Sensoren"
Blockly.Msg.senseBox_output_filename = "Daten";
Blockly.Msg.senseBox_output_format = "Format:";
Blockly.Msg.senseBox_output_linebreak = "Zeilenumbruch";
Blockly.Msg.senseBox_output_networkid = "NetzwerkID";
Blockly.Msg.senseBox_output_password = "Passwort";
Blockly.Msg.senseBox_output_safetosd = "Auf SD Karte speichern";
Blockly.Msg.senseBox_output_safetosd_tip = "Speichert Messwerte auf SD Karte"
Blockly.Msg.senseBox_output_serialprint = "Auf Kommandozeile ausgeben";
Blockly.Msg.senseBox_serial_tip = "Gibt Messwerte oder Daten auf dem Seriellen Monitor der Arduino IDE aus. Praktisch um ohne Display zu arbeiten";
Blockly.Msg.senseBox_output_timestamp = "Zeitstempel";
Blockly.Msg.senseBox_led = "LED an digitalen";
Blockly.Msg.senseBox_led_tip = "Einfache LED. Beim Anschluss sollte immer ein Vorwiderstand verwendet werden";
Blockly.Msg.senseBox_piezo = "Piezo an digital";
Blockly.Msg.senseBox_piezo_tip = "Piezo an digital PIN. Beim Anschluss sollte immer ein Vorwiderstand verwendet werden";
Blockly.Msg.senseBox_foto = "Fotowiderstand";
Blockly.Msg.senseBox_foto_tip = "Fotowiderstand";
Blockly.Msg.senseBox_hum = "Luftfeuchtigkeit in %";
Blockly.Msg.senseBox_hum_tip = "Luftfeuchtigkeit";
Blockly.Msg.senseBox_ir = "Infrarot Abstandssensor";
Blockly.Msg.senseBox_ir_tip = "Infrarot Abstandssensor";
Blockly.Msg.senseBox_lux = "Helligkeitssensor";
Blockly.Msg.senseBox_lux_tip = "Helligkeitssensor";
Blockly.Msg.senseBox_poti = "Potenziometer";
Blockly.Msg.senseBox_poti_tip = "Potenziometer";
Blockly.Msg.senseBox_soil = "Bodenfeuchte";
Blockly.Msg.senseBox_watertemperature = "Wassertemperatur"
senseBox_basic_blue: "Blau",
senseBox_basic_green: "Grün",
senseBox_basic_red: "Rot",
senseBox_basic_state: "Status",
senseBox_off: "Aus",
senseBox_on: "Ein",
senseBox_sensor: "Sensoren",
senseBox_output_filename: "Daten",
senseBox_output_format: "Format:",
senseBox_output_linebreak: "Zeilenumbruch",
senseBox_output_networkid: "NetzwerkID",
senseBox_output_password: "Passwort",
senseBox_output_safetosd: "Auf SD Karte speichern",
senseBox_output_safetosd_tip: "Speichert Messwerte auf SD Karte",
senseBox_output_serialprint: "Auf Kommandozeile ausgeben",
senseBox_serial_tip: "Gibt Messwerte oder Daten auf dem Seriellen Monitor der Arduino IDE aus. Praktisch um ohne Display zu arbeiten",
senseBox_output_timestamp: "Zeitstempel",
senseBox_led: "LED an digitalen",
senseBox_led_tip: "Einfache LED. Beim Anschluss sollte immer ein Vorwiderstand verwendet werden",
senseBox_piezo: "Piezo an digital",
senseBox_piezo_tip: "Piezo an digital PIN. Beim Anschluss sollte immer ein Vorwiderstand verwendet werden",
senseBox_foto: "Fotowiderstand",
senseBox_foto_tip: "Fotowiderstand",
senseBox_hum: "Luftfeuchtigkeit in %",
senseBox_hum_tip: "Luftfeuchtigkeit",
senseBox_ir: "Infrarot Abstandssensor",
senseBox_ir_tip: "Infrarot Abstandssensor",
senseBox_lux: "Helligkeitssensor",
senseBox_lux_tip: "Helligkeitssensor",
senseBox_poti: "Potenziometer",
senseBox_poti_tip: "Potenziometer",
senseBox_soil: "Bodenfeuchte",
senseBox_watertemperature: "Wassertemperatur",
}

View File

@ -1,226 +1,222 @@
import Blockly from 'blockly'
export const UI = {
/**
* Toolbox
*/
toolbox_sensors: "Sensoren",
toolbox_logic: "Logik",
toolbox_loops: "Schleifen",
toolbox_math: "Mathematik",
toolbox_io: "Eingang/Ausgang",
toolbox_time: "Zeit",
toolbox_functions: "Funktionen",
toolbox_variables: "Variablen",
/**
* Tooltips
*
*/
tooltip_compile_code: "Code kompilieren",
tooltip_save_blocks: "Blöcke speichern",
tooltip_open_blocks: "Blöcke öffnen",
tooltip_screenshot: "Screenshot erstellen",
tooltip_clear_workspace: "Workspace zurücksetzen",
tooltip_share_blocks: "Blöcke teilen",
tooltip_show_code: "Code anzeigen",
tooltip_hide_code: "Code ausblenden",
tooltip_delete_project: "Projekt löschen",
tooltip_project_name: "Name des Projektes",
tooltip_download_project: "Projekt herunterladen",
tooltip_open_project: "Projekt öffnen",
tooltip_update_project: "Projekt aktualisieren",
tooltip_save_project: "Projekt speichern",
tooltip_create_project: "Projekt erstellen",
tooltip_share_project: "Projekt teilen",
tooltip_reset_workspace: "Workspace zurücksetzen",
tooltip_copy_link: "Link kopieren",
tooltip_trashcan_hide: 'gelöschte Blöcke ausblenden',
tooltip_trashcan_delete: 'Blöcke endgültig löschen',
tooltip_project_title: "Titel des Projektes",
tooltip_check_solution: "Lösung kontrollieren",
/**
* Messages
*
*/
messages_delete_project_failed: "Fehler beim Löschen des Projektes. Versuche es noch einmal.",
messages_reset_workspace_success: "Das Projekt wurde erfolgreich zurückgesetzt",
messages_PROJECT_UPDATE_SUCCESS: "Das Projekt wurde erfolgreich aktualisiert.",
messages_GALLERY_UPDATE_SUCCESS: "Das Galerie-Projekt wurde erfolgreich aktualisiert.",
messages_PROJECT_UPDATE_FAIL: "Fehler beim Aktualisieren des Projektes. Versuche es noch einmal.",
messages_GALLERY_UPDATE_FAIL: "Fehler beim Aktualisieren des Galerie-Projektes. Versuche es noch einmal.",
messages_gallery_save_fail_1: "Fehler beim Speichern des ",
messages_gallery_save_fail_2: "Projektes. Versuche es noch einmal.",
messages_SHARE_SUCCESS: 'Programm teilen',
messages_SHARE_FAIL: "Fehler beim Erstellen eines Links zum Teilen deines Programmes. Versuche es noch einmal.",
messages_copylink_success: 'Link erfolgreich in Zwischenablage gespeichert.',
messages_rename_success_01: 'Das Projekt wurde erfolgreich in ',
messages_rename_success_02: 'umbenannt.',
messages_newblockly_head: "Willkommen zur neuen Version Blockly für die senseBox",
messages_newblockly_text: "Die neue Blockly-Version befindet sich derzeit in der Testphase. Wenn Sie einen Fehler finden, melden Sie diesen bitte in unserem [Forum](https://forum.sensebox.de/t/neue-blockly-version-beta-test-und-feedback/1176). Eine Übersicht über alle neuen Funktionen finden Sie [hier](/news)",
messages_GET_TUTORIAL_FAIL: 'Zurück zur Tutorials-Übersicht',
messages_LOGIN_FAIL: 'Der Benutzername oder das Passwort ist nicht korrekt.',
/**
* Share Dialog
*/
sharedialog_headline: "Dein Link wurde erstellt.",
sharedialog_text: "Über den folgenden Link kannst du dein Programm teilen.",
/**
* Project rename Dialog
*/
renamedialog_headline: "Projekt benennen",
renamedialog_text: "Bitte gib einen Namen für das Projekt ein und bestätige diesen mit einem Klick auf 'Bestätigen'.",
/**
* Compile Dialog
*
*/
compiledialog_headline: "Fehler",
compiledialog_text: "Beim kompilieren ist ein Fehler aufgetreten. Überprüfe deine Blöcke und versuche es erneut",
/**
* Buttons
*
*/
button_cancel: "Abbrechen",
button_close: "Schließen",
button_accept: "Bestätigen",
button_compile: "Kompilieren",
button_create_variableCreate: "Erstelle Variable",
button_back: "Zurück",
button_next: "nächster Schritt",
button_tutorial_overview: "Tutorial Übersicht",
button_login: "Anmelden",
/**
*
*/
filename: "Dateiname",
projectname: "Projektname",
/**
* Settings
*/
settings_head: "Einstellungen",
settings_language: "Sprache",
settings_language_text: "Auswahl der Sprache gilt für die gesamte Anwendung. Es kann zwischen Deutsch und Englisch unterschieden werden.",
settings_language_de: "Deutsch",
settings_language_en: "Englisch",
settings_renderer: "Renderer",
settings_renderer_text: "Der eingestellte Renderer bestimmt das Aussehen der Blöcke. Es kann zwischen 'Geras' und 'Zelos' unterschieden werden, wobei 'Zelos' insbesondere für eine Touch-Anwendung geeignet ist.",
settings_statistics: "Statistiken",
settings_statistics_text: "Die Anzeige von Statistiken zur Nutzung der Blöcke oberhalb der Arbeitsfläche kann ein- oder ausgeblendet werden.",
settings_statistics_on: "An",
settings_statistics_off: "Aus",
/**
* 404
*/
notfound_head: "Die von Ihnen angeforderte Seite kann nicht gefunden werden.",
notfound_text: "Die gesuchte Seite wurde möglicherweise entfernt, ihr Name wurde geändert oder sie ist vorübergehend nicht verfügbar.",
/** /**
* Toolbox * Labels
*/ */
Blockly.Msg.toolbox_sensors = "Sensoren";
Blockly.Msg.toolbox_logic = "Logik";
Blockly.Msg.toolbox_loops = "Schleifen";
Blockly.Msg.toolbox_math = "Mathematik";
Blockly.Msg.toolbox_io = "Eingang/Ausgang";
Blockly.Msg.toolbox_time = "Zeit";
Blockly.Msg.toolbox_functions = "Funktionen";
Blockly.Msg.toolbox_variables = "Variablen";
/** labels_donotshowagain: 'Dialog nicht mehr anzeigen',
* Tooltips labels_here: "hier",
* labels_username: 'E-Mail oder Nutzername',
*/ labels_password: "Passwort",
Blockly.Msg.tooltip_compile_code = "Code kompilieren" /**
Blockly.Msg.tooltip_save_blocks = "Blöcke speichern"; * Badges
Blockly.Msg.tooltip_open_blocks = "Blöcke öffnen"; */
Blockly.Msg.tooltip_screenshot = "Screenshot erstellen";
Blockly.Msg.tooltip_clear_workspace = "Workspace zurücksetzen";
Blockly.Msg.tooltip_share_blocks = "Blöcke teilen";
Blockly.Msg.tooltip_show_code = "Code anzeigen";
Blockly.Msg.tooltip_hide_code = "Code ausblenden"
Blockly.Msg.tooltip_delete_project = "Projekt löschen"
Blockly.Msg.tooltip_project_name = "Name des Projektes"
Blockly.Msg.tooltip_download_project = "Projekt herunterladen"
Blockly.Msg.tooltip_open_project = "Projekt öffnen"
Blockly.Msg.tooltip_update_project = "Projekt aktualisieren"
Blockly.Msg.tooltip_save_project = "Projekt speichern"
Blockly.Msg.tooltip_create_project = "Projekt erstellen"
Blockly.Msg.tooltip_share_project = "Projekt teilen"
Blockly.Msg.tooltip_reset_workspace = "Workspace zurücksetzen"
Blockly.Msg.tooltip_copy_link = "Link kopieren"
Blockly.Msg.tooltip_trashcan_hide = 'gelöschte Blöcke ausblenden'
Blockly.Msg.tooltip_trashcan_delete = 'Blöcke endgültig löschen'
Blockly.Msg.tooltip_project_title = "Titel des Projektes"
Blockly.Msg.tooltip_check_solution = "Lösung kontrollieren"
/** badges_explaination: "Eine Übersicht über alle erhaltenen Badges im Kontext Blockly for senseBox findest du ",
* Messages badges_ASSIGNE_BADGE_SUCCESS_01: "Herzlichen Glückwunsch! Du hast den Badge ",
* badges_ASSIGNE_BADGE_SUCCESS_02: " erhalten.",
*/ /**
* Tutorials
*/
Blockly.Msg.messages_delete_project_failed = "Fehler beim Löschen des Projektes. Versuche es noch einmal." tutorials_assessment_task: "Aufgabe",
Blockly.Msg.messages_reset_workspace_success = "Das Projekt wurde erfolgreich zurückgesetzt" tutorials_hardware_head: "Für die Umsetzung benötigst du folgende Hardware:",
Blockly.Msg.messages_PROJECT_UPDATE_SUCCESS = "Das Projekt wurde erfolgreich aktualisiert." tutorials_hardware_moreInformation: "Weitere Informationen zur Hardware-Komponente findest du",
Blockly.Msg.messages_GALLERY_UPDATE_SUCCESS = "Das Galerie-Projekt wurde erfolgreich aktualisiert." tutorials_hardware_here: "hier",
Blockly.Msg.messages_PROJECT_UPDATE_FAIL = "Fehler beim Aktualisieren des Projektes. Versuche es noch einmal." tutorials_requirements: "Bevor du mit diesem Tutorial fortfährst solltest du folgende Tutorials erfolgreich abgeschlossen haben:",
Blockly.Msg.messages_GALLERY_UPDATE_FAIL = "Fehler beim Aktualisieren des Galerie-Projektes. Versuche es noch einmal."
Blockly.Msg.messages_gallery_save_fail_1 = "Fehler beim Speichern des "
Blockly.Msg.messages_gallery_save_fail_2 = "Projektes. Versuche es noch einmal."
Blockly.Msg.messages_SHARE_SUCCESS = 'Programm teilen'
Blockly.Msg.messages_SHARE_FAIL = "Fehler beim Erstellen eines Links zum Teilen deines Programmes. Versuche es noch einmal."
Blockly.Msg.messages_copylink_success = 'Link erfolgreich in Zwischenablage gespeichert.'
Blockly.Msg.messages_rename_success_01 = 'Das Projekt wurde erfolgreich in '
Blockly.Msg.messages_rename_success_02 = 'umbenannt.'
Blockly.Msg.messages_newblockly_head = "Willkommen zur neuen Version Blockly für die senseBox"
Blockly.Msg.messages_newblockly_text = "Die neue Blockly Version befindet sich zurzeit in der Testphase. Alle Neuigkeiten findet ihr hier: "
Blockly.Msg.messages_GET_TUTORIAL_FAIL = 'Zurück zur Tutorials-Übersicht'
Blockly.Msg.messages_LOGIN_FAIL = 'Der Benutzername oder das Passwort ist nicht korrekt.'
/**
* Share Dialog
*/
Blockly.Msg.sharedialog_headline = "Dein Link wurde erstellt.";
Blockly.Msg.sharedialog_text = "Über den folgenden Link kannst du dein Programm teilen.";
/**
* Project rename Dialog
*/
Blockly.Msg.renamedialog_headline = "Projekt benennen";
Blockly.Msg.renamedialog_text = "Bitte gib einen Namen für das Projekt ein und bestätige diesen mit einem Klick auf 'Bestätigen'."
/**
* Compile Dialog
*
*/
Blockly.Msg.compiledialog_headline = "Fehler"
Blockly.Msg.compiledialog_text = "Beim kompilieren ist ein Fehler aufgetreten. Überprüfe deine Blöcke und versuche es erneut"
/**
* Buttons
*
*/
Blockly.Msg.button_cancel = "Abbrechen";
Blockly.Msg.button_close = "Schließen";
Blockly.Msg.button_accept = "Bestätigen";
Blockly.Msg.button_compile = "Kompilieren";
Blockly.Msg.button_create_variableCreate = "Erstelle Variable";
Blockly.Msg.button_back = "Zurück"
Blockly.Msg.button_next = "nächster Schritt"
Blockly.Msg.button_tutorial_overview = "Tutorial Übersicht"
Blockly.Msg.button_login = "Anmelden"
/**
*
*/
Blockly.Msg.filename = "Dateiname";
Blockly.Msg.projectname = "Projektname";
/**
* Settings
*/
Blockly.Msg.settings_head = "Einstellungen"
Blockly.Msg.settings_language = "Sprache"
Blockly.Msg.settings_language_text = "Auswahl der Sprache gilt für die gesamte Anwendung. Es kann zwischen Deutsch und Englisch unterschieden werden."
Blockly.Msg.settings_language_de = "Deutsch"
Blockly.Msg.settings_language_en = "Englisch"
Blockly.Msg.settings_renderer = "Renderer"
Blockly.Msg.settings_renderer_text = "Der eingestellte Renderer bestimmt das Aussehen der Blöcke. Es kann zwischen 'Geras' und 'Zelos' unterschieden werden, wobei 'Zelos' insbesondere für eine Touch-Anwendung geeignet ist."
Blockly.Msg.settings_statistics = "Statistiken"
Blockly.Msg.settings_statistics_text = "Die Anzeige von Statistiken zur Nutzung der Blöcke oberhalb der Arbeitsfläche kann ein- oder ausgeblendet werden."
Blockly.Msg.settings_statistics_on = "An"
Blockly.Msg.settings_statistics_off = "Aus"
/**
* 404
*/
Blockly.Msg.notfound_head = "Die von Ihnen angeforderte Seite kann nicht gefunden werden."
Blockly.Msg.notfound_text = "Die gesuchte Seite wurde möglicherweise entfernt, ihr Name wurde geändert oder sie ist vorübergehend nicht verfügbar."
/** /**
* Labels * Tutorial Builder
*/ */
Blockly.Msg.labels_donotshowagain = 'Dialog nicht mehr anzeigen' builder_solution: "Lösung",
Blockly.Msg.labels_here = "hier" builder_solution_submit: "Lösung einreichen",
Blockly.Msg.labels_username = 'E-Mail oder Nutzername' builder_example_submit: "Beispiel einreichen",
Blockly.Msg.labels_password = "Passwort" builder_comment: "Anmerkung: Man kann den initialen Setup()- bzw. Endlosschleifen()-Block löschen. Zusätzlich ist es möglich u.a. nur einen beliebigen Block auszuwählen, ohne dass dieser als deaktiviert dargestellt wird.",
builder_hardware_order: "Beachte, dass die Reihenfolge des Auswählens maßgebend ist.",
builder_hardware_helper: "Wähle mindestens eine Hardware-Komponente aus.",
builder_requirements_head: "Voraussetzungen",
builder_requirements_order: "Beachte, dass die Reihenfolge des Anhakens maßgebend ist.",
/** /**
* Badges * Login
*/ */
Blockly.Msg.badges_explaination = "Eine Übersicht über alle erhaltenen Badges im Kontext Blockly for senseBox findest du "
Blockly.Msg.badges_ASSIGNE_BADGE_SUCCESS_01 = "Herzlichen Glückwunsch! Du hast den Badge "
Blockly.Msg.badges_ASSIGNE_BADGE_SUCCESS_02 = " erhalten."
/**
* Tutorials
*/
Blockly.Msg.tutorials_assessment_task = "Aufgabe"
Blockly.Msg.tutorials_hardware_head = "Für die Umsetzung benötigst du folgende Hardware:"
Blockly.Msg.tutorials_hardware_moreInformation = "Weitere Informationen zur Hardware-Komponente findest du"
Blockly.Msg.tutorials_hardware_here = "hier";
Blockly.Msg.tutorials_requirements = "Bevor du mit diesem Tutorial fortfährst solltest du folgende Tutorials erfolgreich abgeschlossen haben:"
/** login_head: "Anmelden",
* Tutorial Builder login_osem_account_01: "Du benötigst einen ",
*/ login_osem_account_02: "Account um dich einzuloggen",
login_lostpassword: "Du hast dein Passwort vergessen?",
login_createaccount: "Falls du noch keinen Account hast erstellen einen auf ",
/**
* Navbar
*/
Blockly.Msg.builder_solution = "Lösung" navbar_tutorials: "Tutorials",
Blockly.Msg.builder_solution_submit = "Lösung einreichen" navbar_tutorialbuilder: "Tutorial erstellen",
Blockly.Msg.builder_example_submit = "Beispiel einreichen" navbar_gallery: "Gallerie",
Blockly.Msg.builder_comment = "Anmerkung: Man kann den initialen Setup()- bzw. Endlosschleifen()-Block löschen. Zusätzlich ist es möglich u.a. nur einen beliebigen Block auszuwählen, ohne dass dieser als deaktiviert dargestellt wird." navbar_projects: "Projekte",
Blockly.Msg.builder_hardware_order = "Beachte, dass die Reihenfolge des Auswählens maßgebend ist."
Blockly.Msg.builder_hardware_helper = "Wähle mindestens eine Hardware-Komponente aus."
Blockly.Msg.builder_requirements_head = "Voraussetzungen"
Blockly.Msg.builder_requirements_order = "Beachte, dass die Reihenfolge des Anhakens maßgebend ist."
/** navbar_menu: "Menü",
* Login navbar_login: "Einloggen",
*/ navbar_mybadges: "myBadges",
navbar_account: "Konto",
navbar_logout: "Abmelden",
navbar_settings: "Einstellungen",
/**
* Codeviewer
*/
Blockly.Msg.login_head = "Anmelden" codeviewer_arduino: "Arduino Quellcode",
Blockly.Msg.login_osem_account_01 = "Du benötigst einen " codeviewer_xml: "XML Blöcke",
Blockly.Msg.login_osem_account_02 = "Account um dich einzuloggen"
Blockly.Msg.login_lostpassword = "Du hast dein Passwort vergessen?"
Blockly.Msg.login_createaccount = "Falls du noch keinen Account hast erstellen einen auf "
/**
* Navbar
*/
Blockly.Msg.navbar_tutorials = "Tutorials"
Blockly.Msg.navbar_tutorialbuilder = "Tutorial erstellen"
Blockly.Msg.navbar_gallery = "Gallerie"
Blockly.Msg.navbar_projects = "Projekte"
Blockly.Msg.navbar_menu = "Menü"
Blockly.Msg.navbar_login = "Einloggen"
Blockly.Msg.navbar_mybadges = "myBadges"
Blockly.Msg.navbar_account = "Konto"
Blockly.Msg.navbar_logout = "Abmelden"
Blockly.Msg.navbar_settings = "Einstellungen"
/**
* Codeviewer
*/
Blockly.Msg.codeviewer_arduino = "Arduino Quellcode"
Blockly.Msg.codeviewer_xml = "XML Blöcke"
/** /**
* Overlay * Overlay
*/ */
Blockly.Msg.compile_overlay_head = "Dein Programm wird nun kompiliert und heruntergeladen"
Blockly.Msg.compile_overlay_text = "Kopiere es anschließend auf deine senseBox MCU"
Blockly.Msg.compile_overlay_help = "Benötigst du mehr Hilfe? Dann schaue hier: "
/**
* Tooltip Viewer
*/
Blockly.Msg.tooltip_viewer = "Hilfe"
Blockly.Msg.tooltip_moreInformation = "Mehr Informationen findest du "
Blockly.Msg.tooltip_hint = "Wähle einen Block aus um dir die Hilfe anzeigen zu lassen"
compile_overlay_head: "Dein Programm wird nun kompiliert und heruntergeladen",
compile_overlay_text: "Kopiere es anschließend auf deine senseBox MCU",
compile_overlay_help: "Benötigst du mehr Hilfe? Dann schaue hier: ",
/**
* Tooltip Viewer
*/
tooltip_viewer: "Hilfe",
tooltip_moreInformation: "Mehr Informationen findest du ",
tooltip_hint: "Wähle einen Block aus um dir die Hilfe anzeigen zu lassen",
}

View File

@ -1,15 +1,12 @@
import Blockly from 'blockly'; export const VARIABLES = {
/**
/** * Typed Variable Modal
* Typed Variable Modal *
* */
*/ TYPED_VAR_MODAL_CONFIRM_BUTTON: "Ok",
TYPED_VAR_MODAL_VARIABLE_NAME_LABEL: "Variablen Name: ",
TYPED_VAR_MODAL_TYPES_LABEL: "Variable Typen",
Blockly.Msg.TYPED_VAR_MODAL_CONFIRM_BUTTON = "Ok"; TYPED_VAR_MODAL_CANCEL_BUTTON: "Abbrechen",
Blockly.Msg.TYPED_VAR_MODAL_VARIABLE_NAME_LABEL = "Variablen Name: "; TYPED_VAR_MODAL_TITLE: "Erstelle Variable",
Blockly.Msg.TYPED_VAR_MODAL_TYPES_LABEL = "Variable Typen"; TYPED_VAR_MODAL_INVALID_NAME: "Der Name ist ungültig, bitte versuche einen anderen.",
Blockly.Msg.TYPED_VAR_MODAL_CANCEL_BUTTON = "Abbrechen"; }
Blockly.Msg.TYPED_VAR_MODAL_TITLE = "Erstelle Variable";
Blockly.Msg.TYPED_VAR_MODAL_INVALID_NAME = "Der Name ist ungültig, bitte versuche einen anderen."

View File

@ -1,37 +1,38 @@
import Blockly from 'blockly' export const WEBSERVER = {
/** /**
* Webserver * Webserver
*/ */
Blockly.Msg.senseBox_ip_address = "IP-Adresse"; senseBox_ip_address: "IP-Adresse",
Blockly.Msg.senseBox_ip_address_tip = "Gibt die IP-Adresse als Zeichenkette zurück."; senseBox_ip_address_tip: "Gibt die IP-Adresse als Zeichenkette zurück.",
Blockly.Msg.senseBox_init_http_server_tip = "Initialisiert einen http-Server auf dem angegebenen Port"; senseBox_init_http_server_tip: "Initialisiert einen http-Server auf dem angegebenen Port",
Blockly.Msg.senseBox_init_http_server = "HTTP-Server initialisieren"; senseBox_init_http_server: "HTTP-Server initialisieren",
Blockly.Msg.senseBox_http_on_client_connect = "Wenn Client verbunden ist:"; senseBox_http_on_client_connect: "Wenn Client verbunden ist:",
Blockly.Msg.senseBox_http_on_client_connect_tip = "Überprüft, ob ein Client verbunden ist und führt in diesem Fall die angegebene Anweisung aus"; senseBox_http_on_client_connect_tip: "Überprüft, ob ein Client verbunden ist und führt in diesem Fall die angegebene Anweisung aus",
Blockly.Msg.senseBox_http_method = "Methode"; senseBox_http_method: "Methode",
Blockly.Msg.senseBox_http_method_tip = "Methode des aktuellen HTTP-Requests"; senseBox_http_method_tip: "Methode des aktuellen HTTP-Requests",
Blockly.Msg.senseBox_http_uri = "URI"; senseBox_http_uri: "URI",
Blockly.Msg.senseBox_http_uri_tip = "URI der angeforderten Ressource der aktuellen HTTP-Anfrage"; senseBox_http_uri_tip: "URI der angeforderten Ressource der aktuellen HTTP-Anfrage",
Blockly.Msg.senseBox_http_user_agent = "User-Agent"; senseBox_http_user_agent: "User-Agent",
Blockly.Msg.senseBox_http_user_agent_tip = "Der Benutzer-Agent sendet zusammen mit der aktuellen HTTP-Anfrage"; senseBox_http_user_agent_tip: "Der Benutzer-Agent sendet zusammen mit der aktuellen HTTP-Anfrage",
Blockly.Msg.senseBox_http_protocol_version = "HTTP Version"; senseBox_http_protocol_version: "HTTP Version",
Blockly.Msg.senseBox_http_protocol_version_tip = "The HTTP Version of the current HTTP request"; senseBox_http_protocol_version_tip: "The HTTP Version of the current HTTP request",
Blockly.Msg.senseBox_http_success_tip = "Senden einer erfolgreichen HTTP-Antwort mit Inhalt"; senseBox_http_success_tip: "Senden einer erfolgreichen HTTP-Antwort mit Inhalt",
Blockly.Msg.senseBox_http_not_found_tip = "Senden einer vordefinierten 404 HTTP-Antwort."; senseBox_http_not_found_tip: "Senden einer vordefinierten 404 HTTP-Antwort.",
Blockly.Msg.senseBox_http_success = "Erfolgreiche"; senseBox_http_success: "Erfolgreiche",
Blockly.Msg.senseBox_http_success_l2 = "HTTP-Antwort"; senseBox_http_success_l2: "HTTP-Antwort",
Blockly.Msg.senseBox_http_success_buildhtml = "HTML:" senseBox_http_success_buildhtml: "HTML:",
Blockly.Msg.senseBox_http_not_found = "404 Fehler"; senseBox_http_not_found: "404 Fehler",
Blockly.Msg.senseBox_html_document = "HTML"; senseBox_html_document: "HTML",
Blockly.Msg.senseBox_html_header = "<head>"; senseBox_html_header: "<head>",
Blockly.Msg.senseBox_html_header_end = "</head>"; senseBox_html_header_end: "</head>",
Blockly.Msg.senseBox_html_body = "<body>"; senseBox_html_body: "<body>",
Blockly.Msg.senseBox_html_body_end = "</body>"; senseBox_html_body_end: "</body>",
Blockly.Msg.senseBox_html_general_tag_tip = "Ein allgemeiner HTML-Tag-Baustein."; senseBox_html_general_tag_tip: "Ein allgemeiner HTML-Tag-Baustein.",
Blockly.Msg.senseBox_html_document_tip = "Ein Block zum Erzeugen eines HTML-Dokuments..."; senseBox_html_document_tip: "Ein Block zum Erzeugen eines HTML-Dokuments...",
Blockly.Msg.senseBox_tag_first_mutator_tip = "Mögliche Erweiterungen zu diesem Block..."; senseBox_tag_first_mutator_tip: "Mögliche Erweiterungen zu diesem Block...",
Blockly.Msg.senseBox_tag_optional_mutator_tip = "Mehr Tags zum Block hinzufügen"; senseBox_tag_optional_mutator_tip: "Mehr Tags zum Block hinzufügen",
Blockly.Msg.senseBox_sd_web_readHTML = "Lese HTML von SD Karte"; senseBox_sd_web_readHTML: "Lese HTML von SD Karte",
Blockly.Msg.sensebox_web_readHTML_filename = "Datei:"; sensebox_web_readHTML_filename: "Datei:",
}

File diff suppressed because it is too large Load Diff

View File

@ -1,23 +1,41 @@
export const En = [ import { AUDIO } from './en/audio';
require('./en/audio'), import { FAQ } from './en/faq';
require('./en/faq'), import { IO } from './en/io';
require('./en/io'), import { LOGIC } from './en/logic';
require('./en/logic'), import { LOOPS } from './en/loops';
require('./en/loops'), import { MATH } from './en/math';
require('./en/math'), import { MQTT } from './en/mqtt';
require('./en/mqtt'), import { DISPLAY } from './en/sensebox-display';
require('./en/sensebox-display'), import { LED } from './en/sensebox-led';
require('./en/sensebox-led'), import { LORA } from './en/sensebox-lora';
require('./en/sensebox-lora'), import { TELEGRAM } from './en/sensebox-telegram';
require('./en/sensebox-osem'), import { WEB } from './en/sensebox-web';
require('./en/sensebox-sd'), import { TEXT } from './en/text';
require('./en/sensebox-sensors'), import { TIME } from './en/time';
require('./en/sensebox-web'), import { TOURS } from './en/tours';
require('./en/text'), import { TRANSLATIONS } from './en/translations';
require('./en/time'), import { UI } from './en/ui';
require('./en/tours'), import { VARIABLES } from './en/variables';
require('./en/translations'), import { WEBSERVER } from './en/webserver';
require('./en/ui'),
require('./en/variables'), export const En = {
require('./en/webserver') ...AUDIO,
] ...FAQ,
...IO,
...LOGIC,
...LOOPS,
...MATH,
...MQTT,
...DISPLAY,
...LED,
...LORA,
...TELEGRAM,
...WEB,
...TEXT,
...TIME,
...TOURS,
...TRANSLATIONS,
...UI,
...VARIABLES,
...WEBSERVER
}

View File

@ -1,8 +1,9 @@
import Blockly from 'blockly'; export const AUDIO = {
Blockly.Msg.ARD_TONEFREQ = "at frequency"; ARD_TONEFREQ: "at frequency",
Blockly.Msg.ARD_TONE_FREQ = "frequency"; ARD_TONE_FREQ: "frequency",
Blockly.Msg.ARD_TONE_PIN = "Tone PIN#"; ARD_TONE_PIN: "Tone PIN#",
Blockly.Msg.ARD_TONE_PIN_TIP = "Generate audio tones on a pin"; ARD_TONE_PIN_TIP: "Generate audio tones on a pin",
Blockly.Msg.ARD_TONE_TIP = "Sets tone on pin to specified frequency within range 31 - 65535 Hz"; ARD_TONE_TIP: "Sets tone on pin to specified frequency within range 31 - 65535 Hz",
Blockly.Msg.ARD_TONE_WARNING = "Frequency must be in range 31 - 65535"; ARD_TONE_WARNING: "Frequency must be in range 31 - 65535",
}

View File

@ -1,11 +1,11 @@
import Blockly from 'blockly' export const FAQ = {
/** /**
* FAQ * FAQ
*/ */
Blockly.Msg.faq_q1_question = `How can I copy my program to the senseBox?` faq_q1_question: `How can I copy my program to the senseBox?`,
Blockly.Msg.faq_q1_answer = `To copy programs to the senseBox, connect it to the computer with the Micro USB cable. Then double click on the red reset button on the senseBox MCU. The senseBox will now be recognized as a removable disk on your computer and the previously created programs can be copied via drag & drop. After each change of the program code the program must be recompiled and transferred again. faq_q1_answer: `To copy programs to the senseBox, connect it to the computer with the Micro USB cable. Then double click on the red reset button on the senseBox MCU. The senseBox will now be recognized as a removable disk on your computer and the previously created programs can be copied via drag & drop. After each change of the program code the program must be recompiled and transferred again.
#### Activate learning mode of the MCU #### Activate learning mode of the MCU
<iframe width="560" height="315" src="https://www.youtube.com/embed/jzlOJ7Zuqqw" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe> <iframe width="560" height="315" src="https://www.youtube.com/embed/jzlOJ7Zuqqw" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe>
@ -13,15 +13,17 @@ Blockly.Msg.faq_q1_answer = `To copy programs to the senseBox, connect it to the
Copying programs under MacOS does not work via the Finder, but there are still two different ways to copy the programs: Copying programs under MacOS does not work via the Finder, but there are still two different ways to copy the programs:
- [senseBox Copy Tool](https://sensebox.de/docs/senseBox_Sketch_Uploader_DE.zip) - [senseBox Copy Tool](https://sensebox.de/docs/senseBox_Sketch_Uploader_DE.zip)
- [muCommander](https://www.mucommander.com/) - [muCommander](https://www.mucommander.com/)
` `,
Blockly.Msg.faq_q2_question = `With which senseBox is the programming environment compatible?` faq_q2_question: `With which senseBox is the programming environment compatible?`,
Blockly.Msg.faq_q2_answer = ` faq_q2_answer: `
Basically the programming environment can be used with any senseBox with senseBox MCU. Basically the programming environment can be used with any senseBox with senseBox MCU.
` `,
Blockly.Msg.faq_q3_question = `I found an error or something is not working. Where can I report it?` faq_q3_question: `I found an error or something is not working. Where can I report it?`,
Blockly.Msg.faq_q3_answer = ` faq_q3_answer: `
The best way to do this is to create an issue on [Github](https://github.com/sensebox/React-Ardublockly/issues). Alternatively you can send us an email to info(at)sensebox.de The best way to do this is to create an issue on [Github](https://github.com/sensebox/React-Ardublockly/issues). Alternatively you can send us an email to info(at)sensebox.de
` `,
}

View File

@ -1,106 +1,107 @@
import Blockly from 'blockly' export const IO = {
Blockly.Msg.ARD_ANALOGREAD = "read analog pin#"; ARD_ANALOGREAD: "read analog pin#",
Blockly.Msg.ARD_ANALOGREAD_TIP = "Return value between 0 and 1024"; ARD_ANALOGREAD_TIP: "Return value between 0 and 1024",
Blockly.Msg.ARD_ANALOGWRITE = "set analog pin#"; ARD_ANALOGWRITE: "set analog pin#",
Blockly.Msg.ARD_ANALOGWRITE_TIP = "Write analog value between 0 and 255 to a specific PWM Port"; ARD_ANALOGWRITE_TIP: "Write analog value between 0 and 255 to a specific PWM Port",
Blockly.Msg.ARD_BUILTIN_LED = "set built-in LED"; ARD_BUILTIN_LED: "set built-in LED",
Blockly.Msg.ARD_BUILTIN_LED_TIP = "Light on or off for the built-in LED of the Arduino"; ARD_BUILTIN_LED_TIP: "Light on or off for the built-in LED of the Arduino",
Blockly.Msg.ARD_COMPONENT_WARN1 = "A %1 configuration block with the same %2 name must be added to use this block!"; ARD_COMPONENT_WARN1: "A %1 configuration block with the same %2 name must be added to use this block!",
Blockly.Msg.ARD_DEFINE = "Define"; ARD_DEFINE: "Define",
Blockly.Msg.ARD_DIGITALREAD = "read digital pin#"; ARD_DIGITALREAD: "read digital pin#",
Blockly.Msg.ARD_DIGITALREAD_TIP = "Read digital value on a pin: HIGH or LOW"; ARD_DIGITALREAD_TIP: "Read digital value on a pin: HIGH or LOW",
Blockly.Msg.ARD_DIGITALWRITE = "set digitial pin#"; ARD_DIGITALWRITE: "set digitial pin#",
Blockly.Msg.ARD_DIGITALWRITE_TIP = "Write digital value HIGH or LOW to a specific Port"; ARD_DIGITALWRITE_TIP: "Write digital value HIGH or LOW to a specific Port",
Blockly.Msg.ARD_FUN_RUN_LOOP = "Arduino loop forever:"; ARD_FUN_RUN_LOOP: "Arduino loop forever:",
Blockly.Msg.ARD_FUN_RUN_SETUP = "Arduino run first:"; ARD_FUN_RUN_SETUP: "Arduino run first:",
Blockly.Msg.ARD_FUN_RUN_TIP = "Defines the Arduino setup() and loop() functions."; ARD_FUN_RUN_TIP: "Defines the Arduino setup() and loop() functions.",
Blockly.Msg.ARD_HIGH = "HIGH"; ARD_HIGH: "HIGH",
Blockly.Msg.ARD_HIGHLOW_TIP = "Set a pin state logic High or Low."; ARD_HIGHLOW_TIP: "Set a pin state logic High or Low.",
Blockly.Msg.ARD_LOW = "LOW"; ARD_LOW: "LOW",
Blockly.Msg.ARD_MAP = "Map Value"; ARD_MAP: "Map Value",
Blockly.Msg.ARD_MAP_FROMMAX = "from Max"; ARD_MAP_FROMMAX: "from Max",
Blockly.Msg.ARD_MAP_FROMMIN = "from Min"; ARD_MAP_FROMMIN: "from Min",
Blockly.Msg.ARD_MAP_TIP = "Re-maps a number from [0-1024] to another."; ARD_MAP_TIP: "Re-maps a number from [0-1024] to another.",
Blockly.Msg.ARD_MAP_TOMAX = "to Max"; ARD_MAP_TOMAX: "to Max",
Blockly.Msg.ARD_MAP_TOMIN = "to Min"; ARD_MAP_TOMIN: "to Min",
Blockly.Msg.ARD_MAP_VAL = "value to [0-"; ARD_MAP_VAL: "value to [0-",
Blockly.Msg.ARD_NOTONE = "Turn off tone on pin #"; ARD_NOTONE: "Turn off tone on pin #",
Blockly.Msg.ARD_NOTONE_PIN = "No tone PIN#"; ARD_NOTONE_PIN: "No tone PIN#",
Blockly.Msg.ARD_NOTONE_PIN_TIP = "Stop generating a tone on a pin"; ARD_NOTONE_PIN_TIP: "Stop generating a tone on a pin",
Blockly.Msg.ARD_NOTONE_TIP = "Turns the tone off on the selected pin"; ARD_NOTONE_TIP: "Turns the tone off on the selected pin",
Blockly.Msg.ARD_PIN_WARN1 = "Pin %1 is needed for %2 as pin %3. Already used as %4."; ARD_PIN_WARN1: "Pin %1 is needed for %2 as pin %3. Already used as %4.",
Blockly.Msg.ARD_PULSETIMEOUT_TIP = "Measures the duration of a pulse on the selected pin, if it is within the time-out in microseconds."; ARD_PULSETIMEOUT_TIP: "Measures the duration of a pulse on the selected pin, if it is within the time-out in microseconds.",
Blockly.Msg.ARD_PULSE_READ = "measure %1 pulse on pin #%2"; ARD_PULSE_READ: "measure %1 pulse on pin #%2",
Blockly.Msg.ARD_PULSE_READ_TIMEOUT = "measure %1 pulse on pin #%2 (timeout after %3 μs)"; ARD_PULSE_READ_TIMEOUT: "measure %1 pulse on pin #%2 (timeout after %3 μs)",
Blockly.Msg.ARD_PULSE_TIP = "Measures the duration of a pulse on the selected pin."; ARD_PULSE_TIP: "Measures the duration of a pulse on the selected pin.",
Blockly.Msg.ARD_SERIAL_BPS = "bps"; ARD_SERIAL_BPS: "bps",
Blockly.Msg.ARD_SERIAL_PRINT = "print"; ARD_SERIAL_PRINT: "print",
Blockly.Msg.ARD_SERIAL_PRINT_NEWLINE = "add new line"; ARD_SERIAL_PRINT_NEWLINE: "add new line",
Blockly.Msg.ARD_SERIAL_PRINT_TIP = "Prints data to the console/serial port as human-readable ASCII text."; ARD_SERIAL_PRINT_TIP: "Prints data to the console/serial port as human-readable ASCII text.",
Blockly.Msg.ARD_SERIAL_PRINT_WARN = "A setup block for %1 must be added to the workspace to use this block!"; ARD_SERIAL_PRINT_WARN: "A setup block for %1 must be added to the workspace to use this block!",
Blockly.Msg.ARD_SERIAL_SETUP = "Setup"; ARD_SERIAL_SETUP: "Setup",
Blockly.Msg.ARD_SERIAL_SETUP_TIP = "Selects the speed for a specific Serial peripheral"; ARD_SERIAL_SETUP_TIP: "Selects the speed for a specific Serial peripheral",
Blockly.Msg.ARD_SERIAL_SPEED = ": speed to"; ARD_SERIAL_SPEED: ": speed to",
Blockly.Msg.ARD_SERVO_READ = "read SERVO from PIN#"; ARD_SERVO_READ: "read SERVO from PIN#",
Blockly.Msg.ARD_SERVO_READ_TIP = "Read a Servo angle"; ARD_SERVO_READ_TIP: "Read a Servo angle",
Blockly.Msg.ARD_SERVO_WRITE = "set SERVO from Pin"; ARD_SERVO_WRITE: "set SERVO from Pin",
Blockly.Msg.ARD_SERVO_WRITE_DEG_180 = "Degrees (0~180)"; ARD_SERVO_WRITE_DEG_180: "Degrees (0~180)",
Blockly.Msg.ARD_SERVO_WRITE_TIP = "Set a Servo to an specified angle"; ARD_SERVO_WRITE_TIP: "Set a Servo to an specified angle",
Blockly.Msg.ARD_SERVO_WRITE_TO = "to"; ARD_SERVO_WRITE_TO: "to",
Blockly.Msg.ARD_SETTONE = "Set tone on pin #"; ARD_SETTONE: "Set tone on pin #",
Blockly.Msg.ARD_SPI_SETUP = "Setup"; ARD_SPI_SETUP: "Setup",
Blockly.Msg.ARD_SPI_SETUP_CONF = "configuration:"; ARD_SPI_SETUP_CONF: "configuration:",
Blockly.Msg.ARD_SPI_SETUP_DIVIDE = "clock divide"; ARD_SPI_SETUP_DIVIDE: "clock divide",
Blockly.Msg.ARD_SPI_SETUP_LSBFIRST = "LSBFIRST"; ARD_SPI_SETUP_LSBFIRST: "LSBFIRST",
Blockly.Msg.ARD_SPI_SETUP_MODE = "SPI mode (idle - edge)"; ARD_SPI_SETUP_MODE: "SPI mode (idle - edge)",
Blockly.Msg.ARD_SPI_SETUP_MODE0 = "0 (Low - Falling)"; ARD_SPI_SETUP_MODE0: "0 (Low - Falling)",
Blockly.Msg.ARD_SPI_SETUP_MODE1 = "1 (Low - Rising)"; ARD_SPI_SETUP_MODE1: "1 (Low - Rising)",
Blockly.Msg.ARD_SPI_SETUP_MODE2 = "2 (High - Falling)"; ARD_SPI_SETUP_MODE2: "2 (High - Falling)",
Blockly.Msg.ARD_SPI_SETUP_MODE3 = "3 (High - Rising)"; ARD_SPI_SETUP_MODE3: "3 (High - Rising)",
Blockly.Msg.ARD_SPI_SETUP_MSBFIRST = "MSBFIRST"; ARD_SPI_SETUP_MSBFIRST: "MSBFIRST",
Blockly.Msg.ARD_SPI_SETUP_SHIFT = "data shift"; ARD_SPI_SETUP_SHIFT: "data shift",
Blockly.Msg.ARD_SPI_SETUP_TIP = "Configures the SPI peripheral."; ARD_SPI_SETUP_TIP: "Configures the SPI peripheral.",
Blockly.Msg.ARD_SPI_TRANSRETURN_TIP = "Send a SPI message to an specified slave device and get data back."; ARD_SPI_TRANSRETURN_TIP: "Send a SPI message to an specified slave device and get data back.",
Blockly.Msg.ARD_SPI_TRANS_NONE = "none"; ARD_SPI_TRANS_NONE: "none",
Blockly.Msg.ARD_SPI_TRANS_SLAVE = "to slave pin"; ARD_SPI_TRANS_SLAVE: "to slave pin",
Blockly.Msg.ARD_SPI_TRANS_TIP = "Send a SPI message to an specified slave device."; ARD_SPI_TRANS_TIP: "Send a SPI message to an specified slave device.",
Blockly.Msg.ARD_SPI_TRANS_VAL = "transfer"; ARD_SPI_TRANS_VAL: "transfer",
Blockly.Msg.ARD_SPI_TRANS_WARN1 = "A setup block for %1 must be added to the workspace to use this block!"; ARD_SPI_TRANS_WARN1: "A setup block for %1 must be added to the workspace to use this block!",
Blockly.Msg.ARD_SPI_TRANS_WARN2 = "Old pin value %1 is no longer available."; ARD_SPI_TRANS_WARN2: "Old pin value %1 is no longer available.",
Blockly.Msg.ARD_STEPPER_COMPONENT = "stepper"; ARD_STEPPER_COMPONENT: "stepper",
Blockly.Msg.ARD_STEPPER_DEFAULT_NAME = "MyStepper"; ARD_STEPPER_DEFAULT_NAME: "MyStepper",
Blockly.Msg.ARD_STEPPER_FOUR_PINS = "4"; ARD_STEPPER_FOUR_PINS: "4",
Blockly.Msg.ARD_STEPPER_MOTOR = "stepper motor:"; ARD_STEPPER_MOTOR: "stepper motor:",
Blockly.Msg.ARD_STEPPER_NUMBER_OF_PINS = "Number of pins"; ARD_STEPPER_NUMBER_OF_PINS: "Number of pins",
Blockly.Msg.ARD_STEPPER_PIN1 = "pin1#"; ARD_STEPPER_PIN1: "pin1#",
Blockly.Msg.ARD_STEPPER_PIN2 = "pin2#"; ARD_STEPPER_PIN2: "pin2#",
Blockly.Msg.ARD_STEPPER_PIN3 = "pin3#"; ARD_STEPPER_PIN3: "pin3#",
Blockly.Msg.ARD_STEPPER_PIN4 = "pin4#"; ARD_STEPPER_PIN4: "pin4#",
Blockly.Msg.ARD_STEPPER_REVOLVS = "how many steps per revolution"; ARD_STEPPER_REVOLVS: "how many steps per revolution",
Blockly.Msg.ARD_STEPPER_SETUP = "Setup stepper motor"; ARD_STEPPER_SETUP: "Setup stepper motor",
Blockly.Msg.ARD_STEPPER_SETUP_TIP = "Configures a stepper motor pinout and other settings."; ARD_STEPPER_SETUP_TIP: "Configures a stepper motor pinout and other settings.",
Blockly.Msg.ARD_STEPPER_SPEED = "set speed (rpm) to"; ARD_STEPPER_SPEED: "set speed (rpm) to",
Blockly.Msg.ARD_STEPPER_STEP = "move stepper"; ARD_STEPPER_STEP: "move stepper",
Blockly.Msg.ARD_STEPPER_STEPS = "steps"; ARD_STEPPER_STEPS: "steps",
Blockly.Msg.ARD_STEPPER_STEP_TIP = "Turns the stepper motor a specific number of steps."; ARD_STEPPER_STEP_TIP: "Turns the stepper motor a specific number of steps.",
Blockly.Msg.ARD_STEPPER_TWO_PINS = "2"; ARD_STEPPER_TWO_PINS: "2",
Blockly.Msg.ARD_TYPE_ARRAY = "Array"; ARD_TYPE_ARRAY: "Array",
Blockly.Msg.ARD_TYPE_BOOL = "Boolean"; ARD_TYPE_BOOL: "Boolean",
Blockly.Msg.ARD_TYPE_CHAR = "Character"; ARD_TYPE_CHAR: "Character",
Blockly.Msg.ARD_TYPE_CHILDBLOCKMISSING = "ChildBlockMissing"; ARD_TYPE_CHILDBLOCKMISSING: "ChildBlockMissing",
Blockly.Msg.ARD_TYPE_DECIMAL = "Decimal"; ARD_TYPE_DECIMAL: "Decimal",
Blockly.Msg.ARD_TYPE_LONG = "Large Number"; ARD_TYPE_LONG: "Large Number",
Blockly.Msg.ARD_TYPE_NULL = "Null"; ARD_TYPE_NULL: "Null",
Blockly.Msg.ARD_TYPE_NUMBER = "Number"; ARD_TYPE_NUMBER: "Number",
Blockly.Msg.ARD_TYPE_SHORT = "Short Number"; ARD_TYPE_SHORT: "Short Number",
Blockly.Msg.ARD_TYPE_TEXT = "Text"; ARD_TYPE_TEXT: "Text",
Blockly.Msg.ARD_TYPE_UNDEF = "Undefined"; ARD_TYPE_UNDEF: "Undefined",
Blockly.Msg.ARD_VAR_AS = "as"; ARD_VAR_AS: "as",
Blockly.Msg.ARD_VAR_AS_TIP = "Sets a value to a specific type"; ARD_VAR_AS_TIP: "Sets a value to a specific type",
Blockly.Msg.ARD_WRITE_TO = "to"; ARD_WRITE_TO: "to",
Blockly.Msg.NEW_INSTANCE = "New instance..."; NEW_INSTANCE: "New instance...",
Blockly.Msg.NEW_INSTANCE_TITLE = "New instance name:"; NEW_INSTANCE_TITLE: "New instance name:",
Blockly.Msg.RENAME_INSTANCE = "Rename instance..."; RENAME_INSTANCE: "Rename instance...",
Blockly.Msg.RENAME_INSTANCE_TITLE = "Rename all '%1' instances to:"; RENAME_INSTANCE_TITLE: "Rename all '%1' instances to:",
}

View File

@ -1,47 +1,49 @@
import Blockly from 'blockly' export const LOGIC = {
Blockly.Msg.CONTROLS_IF_ELSEIF_TOOLTIP = "Add a condition to the if block."; CONTROLS_IF_ELSEIF_TOOLTIP: "Add a condition to the if block.",
Blockly.Msg.CONTROLS_IF_ELSE_TOOLTIP = "Add a final, catch-all condition to the if block."; CONTROLS_IF_ELSE_TOOLTIP: "Add a final, catch-all condition to the if block.",
Blockly.Msg.CONTROLS_IF_HELPURL = "https://github.com/google/blockly/wiki/IfElse"; CONTROLS_IF_HELPURL: "https://github.com/google/blockly/wiki/IfElse",
Blockly.Msg.CONTROLS_IF_IF_TOOLTIP = "Add, remove, or reorder sections to reconfigure this if block."; CONTROLS_IF_IF_TOOLTIP: "Add, remove, or reorder sections to reconfigure this if block.",
Blockly.Msg.CONTROLS_IF_MSG_ELSE = "else"; CONTROLS_IF_MSG_ELSE: "else",
Blockly.Msg.CONTROLS_IF_MSG_ELSEIF = "else if"; CONTROLS_IF_MSG_ELSEIF: "else if",
Blockly.Msg.CONTROLS_IF_MSG_IF = "if"; CONTROLS_IF_MSG_IF: "if",
Blockly.Msg.CONTROLS_IF_TOOLTIP_1 = "If a value is true, then do some statements."; CONTROLS_IF_TOOLTIP_1: "If a value is true, then do some statements.",
Blockly.Msg.CONTROLS_IF_TOOLTIP_2 = "If a value is true, then do the first block of statements. Otherwise, do the second block of statements."; CONTROLS_IF_TOOLTIP_2: "If a value is true, then do the first block of statements. Otherwise, do the second block of statements.",
Blockly.Msg.CONTROLS_IF_TOOLTIP_3 = "If the first value is true, then do the first block of statements. Otherwise, if the second value is true, do the second block of statements."; CONTROLS_IF_TOOLTIP_3: "If the first value is true, then do the first block of statements. Otherwise, if the second value is true, do the second block of statements.",
Blockly.Msg.CONTROLS_IF_TOOLTIP_4 = "If the first value is true, then do the first block of statements. Otherwise, if the second value is true, do the second block of statements. If none of the values are true, do the last block of statements."; CONTROLS_IF_TOOLTIP_4: "If the first value is true, then do the first block of statements. Otherwise, if the second value is true, do the second block of statements. If none of the values are true, do the last block of statements.",
Blockly.Msg.LOGIC_BOOLEAN_FALSE = "false"; LOGIC_BOOLEAN_FALSE: "false",
Blockly.Msg.LOGIC_BOOLEAN_HELPURL = "https://github.com/google/blockly/wiki/Logic#values"; LOGIC_BOOLEAN_HELPURL: "https://github.com/google/blockly/wiki/Logic#values",
Blockly.Msg.LOGIC_BOOLEAN_TOOLTIP = "Returns either true or false."; LOGIC_BOOLEAN_TOOLTIP: "Returns either true or false.",
Blockly.Msg.LOGIC_BOOLEAN_TRUE = "true"; LOGIC_BOOLEAN_TRUE: "true",
Blockly.Msg.LOGIC_COMPARE_HELPURL = "https://en.wikipedia.org/wiki/Inequality_(mathematics)"; LOGIC_COMPARE_HELPURL: "https://en.wikipedia.org/wiki/Inequality_(mathematics)",
Blockly.Msg.LOGIC_COMPARE_TOOLTIP_EQ = "Return true if both inputs equal each other."; LOGIC_COMPARE_TOOLTIP_EQ: "Return true if both inputs equal each other.",
Blockly.Msg.LOGIC_COMPARE_TOOLTIP_GT = "Return true if the first input is greater than the second input."; LOGIC_COMPARE_TOOLTIP_GT: "Return true if the first input is greater than the second input.",
Blockly.Msg.LOGIC_COMPARE_TOOLTIP_GTE = "Return true if the first input is greater than or equal to the second input."; LOGIC_COMPARE_TOOLTIP_GTE: "Return true if the first input is greater than or equal to the second input.",
Blockly.Msg.LOGIC_COMPARE_TOOLTIP_LT = "Return true if the first input is smaller than the second input."; LOGIC_COMPARE_TOOLTIP_LT: "Return true if the first input is smaller than the second input.",
Blockly.Msg.LOGIC_COMPARE_TOOLTIP_LTE = "Return true if the first input is smaller than or equal to the second input."; LOGIC_COMPARE_TOOLTIP_LTE: "Return true if the first input is smaller than or equal to the second input.",
Blockly.Msg.LOGIC_COMPARE_TOOLTIP_NEQ = "Return true if both inputs are not equal to each other."; LOGIC_COMPARE_TOOLTIP_NEQ: "Return true if both inputs are not equal to each other.",
Blockly.Msg.LOGIC_NEGATE_HELPURL = "https://github.com/google/blockly/wiki/Logic#not"; LOGIC_NEGATE_HELPURL: "https://github.com/google/blockly/wiki/Logic#not",
Blockly.Msg.LOGIC_NEGATE_TITLE = "not %1"; LOGIC_NEGATE_TITLE: "not %1",
Blockly.Msg.LOGIC_NEGATE_TOOLTIP = "Returns true if the input is false. Returns false if the input is true."; LOGIC_NEGATE_TOOLTIP: "Returns true if the input is false. Returns false if the input is true.",
Blockly.Msg.LOGIC_NULL = "null"; LOGIC_NULL: "null",
Blockly.Msg.LOGIC_NULL_HELPURL = "https://en.wikipedia.org/wiki/Nullable_type"; LOGIC_NULL_HELPURL: "https://en.wikipedia.org/wiki/Nullable_type",
Blockly.Msg.LOGIC_NULL_TOOLTIP = "Returns null."; LOGIC_NULL_TOOLTIP: "Returns null.",
Blockly.Msg.LOGIC_OPERATION_AND = "and"; LOGIC_OPERATION_AND: "and",
Blockly.Msg.LOGIC_OPERATION_HELPURL = "https://github.com/google/blockly/wiki/Logic#logical-operations"; LOGIC_OPERATION_HELPURL: "https://github.com/google/blockly/wiki/Logic#logical-operations",
Blockly.Msg.LOGIC_OPERATION_OR = "or"; LOGIC_OPERATION_OR: "or",
Blockly.Msg.LOGIC_OPERATION_TOOLTIP_AND = "Return true if both inputs are true."; LOGIC_OPERATION_TOOLTIP_AND: "Return true if both inputs are true.",
Blockly.Msg.LOGIC_OPERATION_TOOLTIP_OR = "Return true if at least one of the inputs is true."; LOGIC_OPERATION_TOOLTIP_OR: "Return true if at least one of the inputs is true.",
Blockly.Msg.LOGIC_TERNARY_CONDITION = "test"; LOGIC_TERNARY_CONDITION: "test",
Blockly.Msg.LOGIC_TERNARY_HELPURL = "https://en.wikipedia.org/wiki/%3F:"; LOGIC_TERNARY_HELPURL: "https://en.wikipedia.org/wiki/%3F:",
Blockly.Msg.LOGIC_TERNARY_IF_FALSE = "if false"; LOGIC_TERNARY_IF_FALSE: "if false",
Blockly.Msg.LOGIC_TERNARY_IF_TRUE = "if true"; LOGIC_TERNARY_IF_TRUE: "if true",
Blockly.Msg.LOGIC_TERNARY_TOOLTIP = "Check the condition in 'test'. If the condition is true, returns the 'if true' value; otherwise returns the 'if false' value."; LOGIC_TERNARY_TOOLTIP: "Check the condition in 'test'. If the condition is true, returns the 'if true' value, otherwise returns the 'if false' value.",
Blockly.Msg.cases_add = "Case"; cases_add: "Case",
Blockly.Msg.cases_condition = "Case (Variable) = "; cases_condition: "Case (Variable) : ",
Blockly.Msg.cases_do = "Do"; cases_do: "Do",
Blockly.Msg.cases_switch = "Variable"; cases_switch: "Variable",
Blockly.Msg.cases_tooltip = "Does something if the condition is true. If there isn't a matching case the default function will be executed.'" cases_tooltip: "Does something if the condition is true. If there isn't a matching case the default function will be executed.",
}

View File

@ -1,22 +1,24 @@
import Blockly from 'blockly' export const LOOPS = {
Blockly.Msg.CONTROLS_FLOW_STATEMENTS_HELPURL = "https://github.com/google/blockly/wiki/Loops#loop-termination-blocks";
Blockly.Msg.CONTROLS_FLOW_STATEMENTS_OPERATOR_BREAK = "break out of loop"; CONTROLS_FLOW_STATEMENTS_HELPURL: "https://github.com/google/blockly/wiki/Loops#loop-termination-blocks",
Blockly.Msg.CONTROLS_FLOW_STATEMENTS_OPERATOR_CONTINUE = "continue with next iteration of loop"; CONTROLS_FLOW_STATEMENTS_OPERATOR_BREAK: "break out of loop",
Blockly.Msg.CONTROLS_FLOW_STATEMENTS_TOOLTIP_BREAK = "Break out of the containing loop."; CONTROLS_FLOW_STATEMENTS_OPERATOR_CONTINUE: "continue with next iteration of loop",
Blockly.Msg.CONTROLS_FLOW_STATEMENTS_TOOLTIP_CONTINUE = "Skip the rest of this loop, and continue with the next iteration."; CONTROLS_FLOW_STATEMENTS_TOOLTIP_BREAK: "Break out of the containing loop.",
Blockly.Msg.CONTROLS_FLOW_STATEMENTS_WARNING = "Warning: This block may only be used within a loop."; CONTROLS_FLOW_STATEMENTS_TOOLTIP_CONTINUE: "Skip the rest of this loop, and continue with the next iteration.",
Blockly.Msg.CONTROLS_FOREACH_HELPURL = "https://github.com/google/blockly/wiki/Loops#for-each"; CONTROLS_FLOW_STATEMENTS_WARNING: "Warning: This block may only be used within a loop.",
Blockly.Msg.CONTROLS_FOREACH_TITLE = "for each item %1 in list %2"; CONTROLS_FOREACH_HELPURL: "https://github.com/google/blockly/wiki/Loops#for-each",
Blockly.Msg.CONTROLS_FOREACH_TOOLTIP = "For each item in a list, set the variable '%1' to the item, and then do some statements."; CONTROLS_FOREACH_TITLE: "for each item %1 in list %2",
Blockly.Msg.CONTROLS_FOR_HELPURL = "https://github.com/google/blockly/wiki/Loops#count-with"; CONTROLS_FOREACH_TOOLTIP: "For each item in a list, set the variable '%1' to the item, and then do some statements.",
Blockly.Msg.CONTROLS_FOR_TITLE = "count with %1 from %2 to %3 by %4"; CONTROLS_FOR_HELPURL: "https://github.com/google/blockly/wiki/Loops#count-with",
Blockly.Msg.CONTROLS_FOR_TOOLTIP = "Have the variable '%1' take on the values from the start number to the end number, counting by the specified interval, and do the specified blocks."; CONTROLS_FOR_TITLE: "count with %1 from %2 to %3 by %4",
Blockly.Msg.CONTROLS_REPEAT_HELPURL = "https://en.wikipedia.org/wiki/For_loop"; CONTROLS_FOR_TOOLTIP: "Have the variable '%1' take on the values from the start number to the end number, counting by the specified interval, and do the specified blocks.",
Blockly.Msg.CONTROLS_REPEAT_INPUT_DO = "do"; CONTROLS_REPEAT_HELPURL: "https://en.wikipedia.org/wiki/For_loop",
Blockly.Msg.CONTROLS_REPEAT_TITLE = "repeat %1 times"; CONTROLS_REPEAT_INPUT_DO: "do",
Blockly.Msg.CONTROLS_REPEAT_TOOLTIP = "Do some statements several times."; CONTROLS_REPEAT_TITLE: "repeat %1 times",
Blockly.Msg.CONTROLS_WHILEUNTIL_HELPURL = "https://github.com/google/blockly/wiki/Loops#repeat"; CONTROLS_REPEAT_TOOLTIP: "Do some statements several times.",
Blockly.Msg.CONTROLS_WHILEUNTIL_OPERATOR_UNTIL = "repeat until"; CONTROLS_WHILEUNTIL_HELPURL: "https://github.com/google/blockly/wiki/Loops#repeat",
Blockly.Msg.CONTROLS_WHILEUNTIL_OPERATOR_WHILE = "repeat while"; CONTROLS_WHILEUNTIL_OPERATOR_UNTIL: "repeat until",
Blockly.Msg.CONTROLS_WHILEUNTIL_TOOLTIP_UNTIL = "While a value is false, then do some statements."; CONTROLS_WHILEUNTIL_OPERATOR_WHILE: "repeat while",
Blockly.Msg.CONTROLS_WHILEUNTIL_TOOLTIP_WHILE = "While a value is true, then do some statements."; CONTROLS_WHILEUNTIL_TOOLTIP_UNTIL: "While a value is false, then do some statements.",
CONTROLS_WHILEUNTIL_TOOLTIP_WHILE: "While a value is true, then do some statements.",
}

View File

@ -1,85 +1,87 @@
import Blockly from 'blockly' export const MATH = {
Blockly.Msg.MATH_ADDITION_SYMBOL = "+"; MATH_ADDITION_SYMBOL: "+",
Blockly.Msg.MATH_ARITHMETIC_HELPURL = "https://en.wikipedia.org/wiki/Arithmetic"; MATH_ARITHMETIC_HELPURL: "https://en.wikipedia.org/wiki/Arithmetic",
Blockly.Msg.MATH_ARITHMETIC_TOOLTIP_ADD = "Return the sum of the two numbers."; MATH_ARITHMETIC_TOOLTIP_ADD: "Return the sum of the two numbers.",
Blockly.Msg.MATH_ARITHMETIC_TOOLTIP_DIVIDE = "Return the quotient of the two numbers."; MATH_ARITHMETIC_TOOLTIP_DIVIDE: "Return the quotient of the two numbers.",
Blockly.Msg.MATH_ARITHMETIC_TOOLTIP_MINUS = "Return the difference of the two numbers."; MATH_ARITHMETIC_TOOLTIP_MINUS: "Return the difference of the two numbers.",
Blockly.Msg.MATH_ARITHMETIC_TOOLTIP_MULTIPLY = "Return the product of the two numbers."; MATH_ARITHMETIC_TOOLTIP_MULTIPLY: "Return the product of the two numbers.",
Blockly.Msg.MATH_ARITHMETIC_TOOLTIP_POWER = "Return the first number raised to the power of the second number."; MATH_ARITHMETIC_TOOLTIP_POWER: "Return the first number raised to the power of the second number.",
Blockly.Msg.MATH_CHANGE_HELPURL = "https://en.wikipedia.org/wiki/Programming_idiom#Incrementing_a_counter"; MATH_CHANGE_HELPURL: "https://en.wikipedia.org/wiki/Programming_idiom#Incrementing_a_counter",
Blockly.Msg.MATH_CHANGE_TITLE = "change %1 by %2"; MATH_CHANGE_TITLE: "change %1 by %2",
Blockly.Msg.MATH_CHANGE_TOOLTIP = "Add a number to variable '%1'."; MATH_CHANGE_TOOLTIP: "Add a number to variable '%1'.",
Blockly.Msg.MATH_CONSTANT_HELPURL = "https://en.wikipedia.org/wiki/Mathematical_constant"; MATH_CONSTANT_HELPURL: "https://en.wikipedia.org/wiki/Mathematical_constant",
Blockly.Msg.MATH_CONSTANT_TOOLTIP = "Return one of the common constants: π (3.141…), e (2.718…), φ (1.618…), sqrt(2) (1.414…), sqrt(½) (0.707…), or ∞ (infinity)."; MATH_CONSTANT_TOOLTIP: "Return one of the common constants: π (3.141…), e (2.718…), φ (1.618…), sqrt(2) (1.414…), sqrt(½) (0.707…), or ∞ (infinity).",
Blockly.Msg.MATH_CONSTRAIN_HELPURL = "https://en.wikipedia.org/wiki/Clamping_%28graphics%29"; MATH_CONSTRAIN_HELPURL: "https://en.wikipedia.org/wiki/Clamping_%28graphics%29",
Blockly.Msg.MATH_CONSTRAIN_TITLE = "constrain %1 low %2 high %3"; MATH_CONSTRAIN_TITLE: "constrain %1 low %2 high %3",
Blockly.Msg.MATH_CONSTRAIN_TOOLTIP = "Constrain a number to be between the specified limits (inclusive)."; MATH_CONSTRAIN_TOOLTIP: "Constrain a number to be between the specified limits (inclusive).",
Blockly.Msg.MATH_DIVISION_SYMBOL = "÷"; MATH_DIVISION_SYMBOL: "÷",
Blockly.Msg.MATH_IS_DIVISIBLE_BY = "is divisible by"; MATH_IS_DIVISIBLE_BY: "is divisible by",
Blockly.Msg.MATH_IS_EVEN = "is even"; MATH_IS_EVEN: "is even",
Blockly.Msg.MATH_IS_NEGATIVE = "is negative"; MATH_IS_NEGATIVE: "is negative",
Blockly.Msg.MATH_IS_ODD = "is odd"; MATH_IS_ODD: "is odd",
Blockly.Msg.MATH_IS_POSITIVE = "is positive"; MATH_IS_POSITIVE: "is positive",
Blockly.Msg.MATH_IS_PRIME = "is prime"; MATH_IS_PRIME: "is prime",
Blockly.Msg.MATH_IS_TOOLTIP = "Check if a number is an even, odd, prime, whole, positive, negative, or if it is divisible by certain number. Returns true or false."; MATH_IS_TOOLTIP: "Check if a number is an even, odd, prime, whole, positive, negative, or if it is divisible by certain number. Returns true or false.",
Blockly.Msg.MATH_IS_WHOLE = "is whole"; MATH_IS_WHOLE: "is whole",
Blockly.Msg.MATH_MODULO_HELPURL = "https://en.wikipedia.org/wiki/Modulo_operation"; MATH_MODULO_HELPURL: "https://en.wikipedia.org/wiki/Modulo_operation",
Blockly.Msg.MATH_MODULO_TITLE = "remainder of %1 ÷ %2"; MATH_MODULO_TITLE: "remainder of %1 ÷ %2",
Blockly.Msg.MATH_MODULO_TOOLTIP = "Return the remainder from dividing the two numbers."; MATH_MODULO_TOOLTIP: "Return the remainder from dividing the two numbers.",
Blockly.Msg.MATH_MULTIPLICATION_SYMBOL = "×"; MATH_MULTIPLICATION_SYMBOL: "×",
Blockly.Msg.MATH_NUMBER_HELPURL = "https://en.wikipedia.org/wiki/Number"; MATH_NUMBER_HELPURL: "https://en.wikipedia.org/wiki/Number",
Blockly.Msg.MATH_NUMBER_TOOLTIP = "A number."; MATH_NUMBER_TOOLTIP: "A number.",
Blockly.Msg.MATH_ONLIST_HELPURL = ""; MATH_ONLIST_HELPURL: "",
Blockly.Msg.MATH_ONLIST_OPERATOR_AVERAGE = "average of list"; MATH_ONLIST_OPERATOR_AVERAGE: "average of list",
Blockly.Msg.MATH_ONLIST_OPERATOR_MAX = "max of list"; MATH_ONLIST_OPERATOR_MAX: "max of list",
Blockly.Msg.MATH_ONLIST_OPERATOR_MEDIAN = "median of list"; MATH_ONLIST_OPERATOR_MEDIAN: "median of list",
Blockly.Msg.MATH_ONLIST_OPERATOR_MIN = "min of list"; MATH_ONLIST_OPERATOR_MIN: "min of list",
Blockly.Msg.MATH_ONLIST_OPERATOR_MODE = "modes of list"; MATH_ONLIST_OPERATOR_MODE: "modes of list",
Blockly.Msg.MATH_ONLIST_OPERATOR_RANDOM = "random item of list"; MATH_ONLIST_OPERATOR_RANDOM: "random item of list",
Blockly.Msg.MATH_ONLIST_OPERATOR_STD_DEV = "standard deviation of list"; MATH_ONLIST_OPERATOR_STD_DEV: "standard deviation of list",
Blockly.Msg.MATH_ONLIST_OPERATOR_SUM = "sum of list"; MATH_ONLIST_OPERATOR_SUM: "sum of list",
Blockly.Msg.MATH_ONLIST_TOOLTIP_AVERAGE = "Return the average (arithmetic mean) of the numeric values in the list."; MATH_ONLIST_TOOLTIP_AVERAGE: "Return the average (arithmetic mean) of the numeric values in the list.",
Blockly.Msg.MATH_ONLIST_TOOLTIP_MAX = "Return the largest number in the list."; MATH_ONLIST_TOOLTIP_MAX: "Return the largest number in the list.",
Blockly.Msg.MATH_ONLIST_TOOLTIP_MEDIAN = "Return the median number in the list."; MATH_ONLIST_TOOLTIP_MEDIAN: "Return the median number in the list.",
Blockly.Msg.MATH_ONLIST_TOOLTIP_MIN = "Return the smallest number in the list."; MATH_ONLIST_TOOLTIP_MIN: "Return the smallest number in the list.",
Blockly.Msg.MATH_ONLIST_TOOLTIP_MODE = "Return a list of the most common item(s) in the list."; MATH_ONLIST_TOOLTIP_MODE: "Return a list of the most common item(s) in the list.",
Blockly.Msg.MATH_ONLIST_TOOLTIP_RANDOM = "Return a random element from the list."; MATH_ONLIST_TOOLTIP_RANDOM: "Return a random element from the list.",
Blockly.Msg.MATH_ONLIST_TOOLTIP_STD_DEV = "Return the standard deviation of the list."; MATH_ONLIST_TOOLTIP_STD_DEV: "Return the standard deviation of the list.",
Blockly.Msg.MATH_ONLIST_TOOLTIP_SUM = "Return the sum of all the numbers in the list."; MATH_ONLIST_TOOLTIP_SUM: "Return the sum of all the numbers in the list.",
Blockly.Msg.MATH_POWER_SYMBOL = "^"; MATH_POWER_SYMBOL: "^",
Blockly.Msg.MATH_RANDOM_FLOAT_HELPURL = "https://en.wikipedia.org/wiki/Random_number_generation"; MATH_RANDOM_FLOAT_HELPURL: "https://en.wikipedia.org/wiki/Random_number_generation",
Blockly.Msg.MATH_RANDOM_FLOAT_TITLE_RANDOM = "random fraction"; MATH_RANDOM_FLOAT_TITLE_RANDOM: "random fraction",
Blockly.Msg.MATH_RANDOM_FLOAT_TOOLTIP = "Return a random fraction between 0.0 (inclusive) and 1.0 (exclusive)."; MATH_RANDOM_FLOAT_TOOLTIP: "Return a random fraction between 0.0 (inclusive) and 1.0 (exclusive).",
Blockly.Msg.MATH_RANDOM_INT_HELPURL = "https://en.wikipedia.org/wiki/Random_number_generation"; MATH_RANDOM_INT_HELPURL: "https://en.wikipedia.org/wiki/Random_number_generation",
Blockly.Msg.MATH_RANDOM_INT_TITLE = "random integer from %1 to %2"; MATH_RANDOM_INT_TITLE: "random integer from %1 to %2",
Blockly.Msg.MATH_RANDOM_INT_TOOLTIP = "Return a random integer between the two specified limits, inclusive."; MATH_RANDOM_INT_TOOLTIP: "Return a random integer between the two specified limits, inclusive.",
Blockly.Msg.MATH_ROUND_HELPURL = "https://en.wikipedia.org/wiki/Rounding"; MATH_ROUND_HELPURL: "https://en.wikipedia.org/wiki/Rounding",
Blockly.Msg.MATH_ROUND_OPERATOR_ROUND = "round"; MATH_ROUND_OPERATOR_ROUND: "round",
Blockly.Msg.MATH_ROUND_OPERATOR_ROUNDDOWN = "round down"; MATH_ROUND_OPERATOR_ROUNDDOWN: "round down",
Blockly.Msg.MATH_ROUND_OPERATOR_ROUNDUP = "round up"; MATH_ROUND_OPERATOR_ROUNDUP: "round up",
Blockly.Msg.MATH_ROUND_TOOLTIP = "Round a number up or down."; MATH_ROUND_TOOLTIP: "Round a number up or down.",
Blockly.Msg.MATH_SINGLE_HELPURL = "https://en.wikipedia.org/wiki/Square_root"; MATH_SINGLE_HELPURL: "https://en.wikipedia.org/wiki/Square_root",
Blockly.Msg.MATH_SINGLE_OP_ABSOLUTE = "absolute"; MATH_SINGLE_OP_ABSOLUTE: "absolute",
Blockly.Msg.MATH_SINGLE_OP_ROOT = "square root"; MATH_SINGLE_OP_ROOT: "square root",
Blockly.Msg.MATH_SINGLE_TOOLTIP_ABS = "Return the absolute value of a number."; MATH_SINGLE_TOOLTIP_ABS: "Return the absolute value of a number.",
Blockly.Msg.MATH_SINGLE_TOOLTIP_EXP = "Return e to the power of a number."; MATH_SINGLE_TOOLTIP_EXP: "Return e to the power of a number.",
Blockly.Msg.MATH_SINGLE_TOOLTIP_LN = "Return the natural logarithm of a number."; MATH_SINGLE_TOOLTIP_LN: "Return the natural logarithm of a number.",
Blockly.Msg.MATH_SINGLE_TOOLTIP_LOG10 = "Return the base 10 logarithm of a number."; MATH_SINGLE_TOOLTIP_LOG10: "Return the base 10 logarithm of a number.",
Blockly.Msg.MATH_SINGLE_TOOLTIP_NEG = "Return the negation of a number."; MATH_SINGLE_TOOLTIP_NEG: "Return the negation of a number.",
Blockly.Msg.MATH_SINGLE_TOOLTIP_POW10 = "Return 10 to the power of a number."; MATH_SINGLE_TOOLTIP_POW10: "Return 10 to the power of a number.",
Blockly.Msg.MATH_SINGLE_TOOLTIP_ROOT = "Return the square root of a number."; MATH_SINGLE_TOOLTIP_ROOT: "Return the square root of a number.",
Blockly.Msg.MATH_SUBTRACTION_SYMBOL = "-"; MATH_SUBTRACTION_SYMBOL: "-",
Blockly.Msg.MATH_TRIG_ACOS = "acos"; MATH_TRIG_ACOS: "acos",
Blockly.Msg.MATH_TRIG_ASIN = "asin"; MATH_TRIG_ASIN: "asin",
Blockly.Msg.MATH_TRIG_ATAN = "atan"; MATH_TRIG_ATAN: "atan",
Blockly.Msg.MATH_TRIG_COS = "cos"; MATH_TRIG_COS: "cos",
Blockly.Msg.MATH_TRIG_HELPURL = "https://en.wikipedia.org/wiki/Trigonometric_functions"; MATH_TRIG_HELPURL: "https://en.wikipedia.org/wiki/Trigonometric_functions",
Blockly.Msg.MATH_TRIG_SIN = "sin"; MATH_TRIG_SIN: "sin",
Blockly.Msg.MATH_TRIG_TAN = "tan"; MATH_TRIG_TAN: "tan",
Blockly.Msg.MATH_TRIG_TOOLTIP_ACOS = "Return the arccosine of a number."; MATH_TRIG_TOOLTIP_ACOS: "Return the arccosine of a number.",
Blockly.Msg.MATH_TRIG_TOOLTIP_ASIN = "Return the arcsine of a number."; MATH_TRIG_TOOLTIP_ASIN: "Return the arcsine of a number.",
Blockly.Msg.MATH_TRIG_TOOLTIP_ATAN = "Return the arctangent of a number."; MATH_TRIG_TOOLTIP_ATAN: "Return the arctangent of a number.",
Blockly.Msg.MATH_TRIG_TOOLTIP_COS = "Return the cosine of a degree (not radian)."; MATH_TRIG_TOOLTIP_COS: "Return the cosine of a degree (not radian).",
Blockly.Msg.MATH_TRIG_TOOLTIP_SIN = "Return the sine of a degree (not radian)."; MATH_TRIG_TOOLTIP_SIN: "Return the sine of a degree (not radian).",
Blockly.Msg.MATH_TRIG_TOOLTIP_TAN = "Return the tangent of a degree (not radian)."; MATH_TRIG_TOOLTIP_TAN: "Return the tangent of a degree (not radian).",
}

View File

@ -1,15 +1,16 @@
import Blockly from 'blockly' export const MQTT = {
/*** /***
* MQTT * MQTT
*/ */
Blockly.Msg.senseBox_mqtt_init = "Connect to MQTT Broker"; senseBox_mqtt_init: "Connect to MQTT Broker",
Blockly.Msg.senseBox_mqtt_server = "Server"; senseBox_mqtt_server: "Server",
Blockly.Msg.senseBox_mqtt_port = "Port"; senseBox_mqtt_port: "Port",
Blockly.Msg.senseBox_mqtt_username = "Username"; senseBox_mqtt_username: "Username",
Blockly.Msg.senseBox_mqtt_password = "Password"; senseBox_mqtt_password: "Password",
Blockly.Msg.sensebox_mqtt_subscribe = "Subscribe to Feed" sensebox_mqtt_subscribe: "Subscribe to Feed",
Blockly.Msg.senseBox_mqtt_publish = "Publish to Feed/Topic"; senseBox_mqtt_publish: "Publish to Feed/Topic",
Blockly.Msg.senseBox_mqtt_init_tooltip = "Initialise a connection to a MQTT Broker. Use this Block inside the setup()-function and make sure to connect to your wifi first." senseBox_mqtt_init_tooltip: "Initialise a connection to a MQTT Broker. Use this Block inside the setup()-function and make sure to connect to your wifi first.",
Blockly.Msg.senseBox_mqtt_publish_tooltip = "Publish something to a specific topic to your MQTT Broker. " senseBox_mqtt_publish_tooltip: "Publish something to a specific topic to your MQTT Broker.",
}

View File

@ -1,55 +1,51 @@
import Blockly from 'blockly'; export const DISPLAY = {
/**
* Display
*/
Blockly.Msg.senseBox_display_beginDisplay = "Initialize Display";
Blockly.Msg.senseBox_display_beginDisplay_tooltip = `Connect the Display to one of the five **I2C-Ports**. Use this Block inside the setup()-function.`
Blockly.Msg.senseBox_display_clearDisplay_tooltip = "Löscht die Anzeige auf dem Display. Sollte immer zu Begin oder am Ende der Endlosschleife aufgerufen werden.";
Blockly.Msg.senseBox_display_clearDisplay = "Clear Display";
Blockly.Msg.senseBox_display_printDisplay = "Show Text/Number";
Blockly.Msg.senseBox_display_printDisplay_tooltip = "Shows a number/text on the display. The position on the display can be determined via the X and Y coordinates. The font size can be set in integer values between 1 and 4. The display has a resolution of 128x64 pixels (X and Y axis).";
Blockly.Msg.senseBox_display_printDisplay_x = "x-Coordinates";
Blockly.Msg.senseBox_display_printDisplay_y = "y-Coordinates";
Blockly.Msg.senseBox_display_printDisplay_value = "Value";
Blockly.Msg.senseBox_display_setSize = "Fontsize";
Blockly.Msg.senseBox_display_setSize_tip = "Change the fontsize with a value between 1 and 4";
Blockly.Msg.senseBox_display_color = "Font color";
Blockly.Msg.senseBox_display_white = "White";
Blockly.Msg.senseBox_display_black = "Black";
Blockly.Msg.sensebox_display_show = "Print on display";
Blockly.Msg.sensebox_display_show_tip = "Show the following content on the Display";
Blockly.Msg.senseBox_dipslay_plotTitle = "Title";
Blockly.Msg.senseBox_display_plotDisplay = "Plot Diagram";
Blockly.Msg.senseBox_display_plotXLabel = "X-Axis Label";
Blockly.Msg.senseBox_display_plotYLabel = "Y-Axis Label";
Blockly.Msg.senseBox_display_plotXRange1 = "X-Range Begin";
Blockly.Msg.senseBox_display_plotXRange2 = "X-Range End";
Blockly.Msg.senseBox_display_plotYRange1 = "Y-Range Begin";
Blockly.Msg.senseBox_display_plotYRange2 = "Y-Range End";
Blockly.Msg.senseBox_display_plotXTick = "X-Linienabstand";
Blockly.Msg.senseBox_display_plotYTick = "Y-Tick";
Blockly.Msg.senseBox_display_plotXTick = "X-Tick";
Blockly.Msg.senseBox_display_printDisplay_tooltip = "Use this Block to plot values on the OLED Display"
Blockly.Msg.senseBox_display_plotTimeFrame = "TimeFrame";
Blockly.Msg.sensebox_display_fillCircle = "Draw Point";
Blockly.Msg.sensebox_display_fillCircle_radius = "Radius";
Blockly.Msg.senseBox_display_fillCircle_tooltip = "This block can be used to show a point on the display. You can use the coordinates to place the point on the display and use the radius to determine the size."
Blockly.Msg.sensebox_display_drawRectangle = "Draw Rectangle";
Blockly.Msg.sensebox_display_drawRectangle_width = "Width";
Blockly.Msg.sensebox_display_drawRectangle_height = "Height";
Blockly.Msg.senseBox_display_drawRectangle_tooltip = "This block draws a rectangle on the display. The X and Y coordinates are used to determine the position of the top left corner of the rectangle on the display. The height and width are specified in pixels and the 'Filled' checkbox can be used to select whether the rectangle is filled or just displayed as a frame."
Blockly.Msg.senseBox_display_filled = "filled";
Blockly.Msg.senseBox_display_fastPrint_show = "Show Measurements";
Blockly.Msg.senseBox_display_fastPrint_title = "Title";
Blockly.Msg.senseBox_display_fastPrint_value = "Value";
Blockly.Msg.senseBox_display_fastPrint_dimension = "Unit";
Blockly.Msg.sensebox_display_fastPrint_tooltip = "Show two measurements with title and dimension on the display"
Blockly.Msg.senseBox_display_helpurl = "https://en.docs.sensebox.de/blockly/blockly-display/"
/**
* Display
*/
senseBox_display_beginDisplay: "Initialize Display",
senseBox_display_beginDisplay_tooltip: `Connect the Display to one of the five **I2C-Ports**. Use this Block inside the setup()-function.`,
senseBox_display_clearDisplay_tooltip: "Löscht die Anzeige auf dem Display. Sollte immer zu Begin oder am Ende der Endlosschleife aufgerufen werden.",
senseBox_display_clearDisplay: "Clear Display",
senseBox_display_printDisplay: "Show Text/Number",
senseBox_display_printDisplay_tooltip: "Shows a number/text on the display. The position on the display can be determined via the X and Y coordinates. The font size can be set in integer values between 1 and 4. The display has a resolution of 128x64 pixels (X and Y axis).",
senseBox_display_printDisplay_x: "x-Coordinates",
senseBox_display_printDisplay_y: "y-Coordinates",
senseBox_display_printDisplay_value: "Value",
senseBox_display_setSize: "Fontsize",
senseBox_display_setSize_tip: "Change the fontsize with a value between 1 and 4",
senseBox_display_color: "Font color",
senseBox_display_white: "White",
senseBox_display_black: "Black",
sensebox_display_show: "Print on display",
sensebox_display_show_tip: "Show the following content on the Display",
senseBox_dipslay_plotTitle: "Title",
senseBox_display_plotDisplay: "Plot Diagram",
senseBox_display_plotXLabel: "X-Axis Label",
senseBox_display_plotYLabel: "Y-Axis Label",
senseBox_display_plotXRange1: "X-Range Begin",
senseBox_display_plotXRange2: "X-Range End",
senseBox_display_plotYRange1: "Y-Range Begin",
senseBox_display_plotYRange2: "Y-Range End",
senseBox_display_plotXTick: "X-Linienabstand",
senseBox_display_plotYTick: "Y-Tick",
senseBox_display_plotXTick: "X-Tick",
senseBox_display_printDisplay_tooltip: "Use this Block to plot values on the OLED Display",
senseBox_display_plotTimeFrame: "TimeFrame",
sensebox_display_fillCircle: "Draw Point",
sensebox_display_fillCircle_radius: "Radius",
senseBox_display_fillCircle_tooltip: "This block can be used to show a point on the display. You can use the coordinates to place the point on the display and use the radius to determine the size.",
sensebox_display_drawRectangle: "Draw Rectangle",
sensebox_display_drawRectangle_width: "Width",
sensebox_display_drawRectangle_height: "Height",
senseBox_display_drawRectangle_tooltip: "This block draws a rectangle on the display. The X and Y coordinates are used to determine the position of the top left corner of the rectangle on the display. The height and width are specified in pixels and the 'Filled' checkbox can be used to select whether the rectangle is filled or just displayed as a frame.",
senseBox_display_filled: "filled",
senseBox_display_fastPrint_show: "Show Measurements",
senseBox_display_fastPrint_title: "Title",
senseBox_display_fastPrint_value: "Value",
senseBox_display_fastPrint_dimension: "Unit",
sensebox_display_fastPrint_tooltip: "Show two measurements with title and dimension on the display",
senseBox_display_helpurl: "https://en.docs.sensebox.de/blockly/blockly-display/"
}

View File

@ -1,43 +1,45 @@
import Blockly from 'blockly' export const LED = {
Blockly.Msg.senseBox_led = "LED connected to digital"; senseBox_led: "LED connected to digital",
Blockly.Msg.senseBox_led_tip = "simple LED. Don't forget the resistor"; senseBox_led_tip: "simple LED. Don't forget the resistor",
Blockly.Msg.senseBox_rgb_led = "RGB-LED"; senseBox_rgb_led: "RGB-LED",
Blockly.Msg.senseBox_rgb_led_tip = "RGB-LED"; senseBox_rgb_led_tip: "RGB-LED",
/** /**
* WS2818 RGB LED * WS2818 RGB LED
*/ */
Blockly.Msg.senseBox_ws2818_rgb_led = "Set RGB-LED at"; senseBox_ws2818_rgb_led: "Set RGB-LED at",
Blockly.Msg.senseBox_ws2818_rgb_led_init = "Initialise RGB LED (WS2818)"; senseBox_ws2818_rgb_led_init: "Initialise RGB LED (WS2818)",
Blockly.Msg.senseBox_ws2818_rgb_led_position = "Position"; senseBox_ws2818_rgb_led_position: "Position",
Blockly.Msg.senseBox_ws2818_rgb_led_brightness = "Brightness"; senseBox_ws2818_rgb_led_brightness: "Brightness",
Blockly.Msg.senseBox_ws2818_rgb_led_tooltip = "Change the color of your RGB LED with this block. Link a block for the color. If multiple RGB LEDs are chained together you can use the position to determine which LED is controlled. " senseBox_ws2818_rgb_led_tooltip: "Change the color of your RGB LED with this block. Link a block for the color. If multiple RGB LEDs are chained together you can use the position to determine which LED is controlled.",
Blockly.Msg.senseBox_ws2818_rgb_led_init_tooltip = "Connect the RGB LED to one of the three **digital/analog ports**. If multiple RGB LEDs are daisy-chained together you can determine which LED is controlled by position. " senseBox_ws2818_rgb_led_init_tooltip: "Connect the RGB LED to one of the three **digital/analog ports**. If multiple RGB LEDs are daisy-chained together you can determine which LED is controlled by position.",
Blockly.Msg.senseBox_ws2818_rgb_led_color = "Color" senseBox_ws2818_rgb_led_color: "Color",
Blockly.Msg.senseBox_ws2818_rgb_led_number = "Number" senseBox_ws2818_rgb_led_number: "Number",
/** /**
* Color * Color
*/ */
Blockly.Msg.COLOUR_BLEND_COLOUR1 = "colour 1"; COLOUR_BLEND_COLOUR1: "colour 1",
Blockly.Msg.COLOUR_BLEND_COLOUR2 = "colour 2"; COLOUR_BLEND_COLOUR2: "colour 2",
Blockly.Msg.COLOUR_BLEND_HELPURL = "http://meyerweb.com/eric/tools/color-blend/"; COLOUR_BLEND_HELPURL: "http://meyerweb.com/eric/tools/color-blend/",
Blockly.Msg.COLOUR_BLEND_RATIO = "ratio"; COLOUR_BLEND_RATIO: "ratio",
Blockly.Msg.COLOUR_BLEND_TITLE = "blend"; COLOUR_BLEND_TITLE: "blend",
Blockly.Msg.COLOUR_BLEND_TOOLTIP = "Blends two colours together with a given ratio (0.0 - 1.0)."; COLOUR_BLEND_TOOLTIP: "Blends two colours together with a given ratio (0.0 - 1.0).",
Blockly.Msg.COLOUR_PICKER_HELPURL = "https://en.wikipedia.org/wiki/Color"; COLOUR_PICKER_HELPURL: "https://en.wikipedia.org/wiki/Color",
Blockly.Msg.COLOUR_PICKER_TOOLTIP = "Choose a colour from the palette."; COLOUR_PICKER_TOOLTIP: "Choose a colour from the palette.",
Blockly.Msg.COLOUR_RANDOM_HELPURL = "http://randomcolour.com"; COLOUR_RANDOM_HELPURL: "http://randomcolour.com",
Blockly.Msg.COLOUR_RANDOM_TITLE = "random colour"; COLOUR_RANDOM_TITLE: "random colour",
Blockly.Msg.COLOUR_RANDOM_TOOLTIP = "Choose a colour at random."; COLOUR_RANDOM_TOOLTIP: "Choose a colour at random.",
Blockly.Msg.COLOUR_RGB_BLUE = "blue"; COLOUR_RGB_BLUE: "blue",
Blockly.Msg.COLOUR_RGB_GREEN = "green"; COLOUR_RGB_GREEN: "green",
Blockly.Msg.COLOUR_RGB_HELPURL = "http://www.december.com/html/spec/colorper.html"; COLOUR_RGB_HELPURL: "http://www.december.com/html/spec/colorper.html",
Blockly.Msg.COLOUR_RGB_RED = "red"; COLOUR_RGB_RED: "red",
Blockly.Msg.COLOUR_RGB_TITLE = "colour with"; COLOUR_RGB_TITLE: "colour with",
Blockly.Msg.COLOUR_RGB_TOOLTIP = "Create a colour with the specified amount of red, green, and blue. All values must be between 0 and 255."; COLOUR_RGB_TOOLTIP: "Create a colour with the specified amount of red, green, and blue. All values must be between 0 and 255.",
}

View File

@ -1,52 +1,52 @@
import Blockly from 'blockly'; export const LORA = {
/* /*
* LoRa Blöcke * LoRa Blöcke
*/ */
Blockly.Msg.senseBox_LoRa_connect = "Send to TTN"; senseBox_LoRa_connect: "Send to TTN",
Blockly.Msg.senseBox_LoRa_device_id = "Device EUI (lsb)"; senseBox_LoRa_device_id: "Device EUI (lsb)",
Blockly.Msg.senseBox_LoRa_app_id = "Application EUI (lsb)"; senseBox_LoRa_app_id: "Application EUI (lsb)",
Blockly.Msg.senseBox_LoRa_app_key = "App Key (msb)"; senseBox_LoRa_app_key: "App Key (msb)",
Blockly.Msg.senseBox_LoRa_nwskey_id = "Network Session Key (msb)"; senseBox_LoRa_nwskey_id: "Network Session Key (msb)",
Blockly.Msg.senseBox_LoRa_appskey_id = "App Session Key (msb)"; senseBox_LoRa_appskey_id: "App Session Key (msb)",
Blockly.Msg.senseBox_LoRa_devaddr_id = "Device Adress"; senseBox_LoRa_devaddr_id: "Device Adress",
Blockly.Msg.senseBox_LoRa_interval = "Transmission interval in minutes"; senseBox_LoRa_interval: "Transmission interval in minutes",
Blockly.Msg.senseBox_measurement = "Messung"; senseBox_measurement: "Messung",
Blockly.Msg.senseBox_measurements = "Messungen"; senseBox_measurements: "Messungen",
Blockly.Msg.senseBox_LoRa_send_message = "Send as Lora Message"; senseBox_LoRa_send_message: "Send as Lora Message",
Blockly.Msg.senseBox_LoRa_send_cayenne = "Send as Cayenne Payload"; senseBox_LoRa_send_cayenne: "Send as Cayenne Payload",
Blockly.Msg.senseBox_LoRa_cayenne_temperature = "Temperature"; senseBox_LoRa_cayenne_temperature: "Temperature",
Blockly.Msg.senseBox_LoRa_cayenne_channel = "Channel"; senseBox_LoRa_cayenne_channel: "Channel",
Blockly.Msg.senseBox_LoRa_cayenne_humidity = "Humidity" senseBox_LoRa_cayenne_humidity: "Humidity",
Blockly.Msg.senseBox_LoRa_cayenne_pressure = "Pressure"; senseBox_LoRa_cayenne_pressure: "Pressure",
Blockly.Msg.senseBox_LoRa_cayenne_luminosity = "Luminosity"; senseBox_LoRa_cayenne_luminosity: "Luminosity",
Blockly.Msg.senseBox_LoRa_cayenne_analog = "Analog Value"; senseBox_LoRa_cayenne_analog: "Analog Value",
Blockly.Msg.senseBox_LoRa_cayenne_x = "X Value"; senseBox_LoRa_cayenne_x: "X Value",
Blockly.Msg.senseBox_LoRa_cayenne_y = "Y Value"; senseBox_LoRa_cayenne_y: "Y Value",
Blockly.Msg.senseBox_LoRa_cayenne_z = "Z Value"; senseBox_LoRa_cayenne_z: "Z Value",
Blockly.Msg.senseBox_LoRa_cayenne_lat = "Latitude"; senseBox_LoRa_cayenne_lat: "Latitude",
Blockly.Msg.senseBox_LoRa_cayenne_lng = "Longitude"; senseBox_LoRa_cayenne_lng: "Longitude",
Blockly.Msg.senseBox_LoRa_cayenne_alt = "Altitude"; senseBox_LoRa_cayenne_alt: "Altitude",
Blockly.Msg.senseBox_LoRa_cayenne_humidity_tip = "Send temperature with one decimal"; senseBox_LoRa_cayenne_humidity_tip: "Send temperature with one decimal",
Blockly.Msg.senseBox_LoRa_cayenne_tip = "Send Data as Cayenne Payload Format"; senseBox_LoRa_cayenne_tip: "Send Data as Cayenne Payload Format",
Blockly.Msg.senseBox_LoRa_cayenne_gps_tip = "Send GPS Data"; senseBox_LoRa_cayenne_gps_tip: "Send GPS Data",
Blockly.Msg.senseBox_LoRa_cayenne_temperature_tip = "Send temperature with one decimal"; senseBox_LoRa_cayenne_temperature_tip: "Send temperature with one decimal",
Blockly.Msg.senseBox_LoRa_cayenne_pressure_tip = "Send pressure with one decimal"; senseBox_LoRa_cayenne_pressure_tip: "Send pressure with one decimal",
Blockly.Msg.senseBox_LoRa_cayenne_luminosity_tip = "Send luminosity without any decimals"; senseBox_LoRa_cayenne_luminosity_tip: "Send luminosity without any decimals",
Blockly.Msg.senseBox_LoRa_cayenne_analog_tip = "Send a value with one decimal"; senseBox_LoRa_cayenne_analog_tip: "Send a value with one decimal",
Blockly.Msg.senseBox_LoRa_message_tooltip = "Send a message with LoRa";
Blockly.Msg.senseBox_LoRa_sensor_tip = "Send a value with a specific number of bytes";
Blockly.Msg.senseBox_LoRa_init_abp_tooltip = "Initialize the LoRa transmission. The activation is done via ABP. Register an application on [thethingsnetwork](https://thethingsnetwork.com) and copy the **Network Session Key** and the **App Session Key** in **msb format** and the **Device ID** in **hex format**.";
Blockly.Msg.senseBox_LoRa_init_helpurl = "https://en.docs.sensebox.de/blockly/blockly-web-lora/"
Blockly.Msg.senseBox_LoRa_init_otaa_tooltip = "Initialize the LoRa transmission. The activation is done via OTAA. Register an application on [thethingsnetwork](https://thethingsnetwork.com) and copy the **DEVICE EUI** and the **Application EUI** in **lsb format** the **App Key** in **msb format**.";
Blockly.Msg.senseBox_LoRa_init_helpurl = "https://en.docs.sensebox.de/blockly/blockly-web-lora/"
senseBox_LoRa_message_tooltip: "Send a message with LoRa",
senseBox_LoRa_sensor_tip: "Send a value with a specific number of bytes",
senseBox_LoRa_init_abp_tooltip: "Initialize the LoRa transmission. The activation is done via ABP. Register an application on [thethingsnetwork](https://thethingsnetwork.com) and copy the **Network Session Key** and the **App Session Key** in **msb format** and the **Device ID** in **hex format**.",
senseBox_LoRa_init_helpurl: "https://en.docs.sensebox.de/blockly/blockly-web-lora/",
senseBox_LoRa_init_otaa_tooltip: "Initialize the LoRa transmission. The activation is done via OTAA. Register an application on [thethingsnetwork](https://thethingsnetwork.com) and copy the **DEVICE EUI** and the **Application EUI** in **lsb format** the **App Key** in **msb format**.",
senseBox_LoRa_init_helpurl: "https://en.docs.sensebox.de/blockly/blockly-web-lora/",
}

View File

@ -1,22 +1,20 @@
import Blockly from 'blockly' export const OSEM = {
/** /**
* openSenseMap * openSenseMap
*/ */
Blockly.Msg.senseBox_osem_connection_tip = "connect to the openSenseMap";
Blockly.Msg.senseBox_send_to_osem_tip = "sends the measurement to openSenseMap. Make shure to enter the correct BoxID and SensorID";
Blockly.Msg.senseBox_send_to_osem = "Send measurement to openSenseMap";
Blockly.Msg.senseBox_osem_connection = "Connect to openSenseMap";
Blockly.Msg.senseBox_osem_host = "opensensemap.org";
Blockly.Msg.senseBox_osem_host_workshop = "workshop.opensensemap.org";
Blockly.Msg.senseBox_osem_exposure = "Type";
Blockly.Msg.senseBox_osem_stationary = "Stationary";
Blockly.Msg.senseBox_osem_mobile = "Mobile";
Blockly.Msg.senseBox_osem_access_token = "API Key";
Blockly.Msg.senseBox_send_mobile_to_osem = "Send measurement and location to openSenseMap";
Blockly.Msg.senseBox_send_mobile_to_osem_tip = "Send Value and Location to openSenseMap";
senseBox_osem_connection_tip: "connect to the openSenseMap",
senseBox_send_to_osem_tip: "sends the measurement to openSenseMap. Make shure to enter the correct BoxID and SensorID",
senseBox_send_to_osem: "Send measurement to openSenseMap",
senseBox_osem_connection: "Connect to openSenseMap",
senseBox_osem_host: "opensensemap.org",
senseBox_osem_host_workshop: "workshop.opensensemap.org",
senseBox_osem_exposure: "Type",
senseBox_osem_stationary: "Stationary",
senseBox_osem_mobile: "Mobile",
senseBox_osem_access_token: "API Key",
senseBox_send_mobile_to_osem: "Send measurement and location to openSenseMap",
senseBox_send_mobile_to_osem_tip: "Send Value and Location to openSenseMap",
}

View File

@ -1,14 +1,15 @@
import Blockly from 'blockly'; export const SD = {
/** /**
* SD-Block * SD-Block
*/ */
Blockly.Msg.senseBox_sd_create_file = "Create file on SD-Card"; senseBox_sd_create_file: "Create file on SD-Card",
Blockly.Msg.senseBox_sd_write_file = " Write Data to SD-Card"; senseBox_sd_write_file: " Write Data to SD-Card",
Blockly.Msg.senseBox_sd_open_file = "Open a file from SD-Card"; senseBox_sd_open_file: "Open a file from SD-Card",
Blockly.Msg.senseBox_sd_create_file_tooltip = "Creates a file on the card. Plug the SD-Bee into the **XBEE2** slot. The **maximum** length of the file name is **8 characters**. The file should be created first in *Setup()*" senseBox_sd_create_file_tooltip: "Creates a file on the card. Plug the SD-Bee into the **XBEE2** slot. The **maximum** length of the file name is **8 characters**. The file should be created first in *Setup()*",
Blockly.Msg.senseBox_sd_write_file_tooptip = "Write data to the SD card. Note that the file must be opened first."; senseBox_sd_write_file_tooptip: "Write data to the SD card. Note that the file must be opened first.",
Blockly.Msg.senseBox_sd_open_file_tooltip = "Open the file on the SD card to save files. At the end of the loop, the file will be closed again automatically."; senseBox_sd_open_file_tooltip: "Open the file on the SD card to save files. At the end of the loop, the file will be closed again automatically.",
Blockly.Msg.sensebox_sd_filename = "Data.txt"; sensebox_sd_filename: "Data.txt",
Blockly.Msg.senseBox_sd_decimals = "decimals"; senseBox_sd_decimals: "decimals",
}

View File

@ -1,189 +1,189 @@
import Blockly from 'blockly'; export const SENSORS = {
/** /**
* Sensors * Sensors
* --------------------------------------------------- * ---------------------------------------------------
* *
*/ */
/** /**
* BMP280 * BMP280
*/ */
Blockly.Msg.senseBox_pressure_sensor = "Airpressure/Temperature Sensor (BMP280)"; senseBox_pressure_sensor: "Airpressure/Temperature Sensor (BMP280)",
Blockly.Msg.senseBox_pressure = "Airpressure in Pa"; senseBox_pressure: "Airpressure in Pa",
Blockly.Msg.senseBox_pressure_dimension = "Airpressure in Pa"; senseBox_pressure_dimension: "Airpressure in Pa",
Blockly.Msg.senseBox_pressure_tip = "Connect the sensor to one of the 5 **I2C ports**. The sensor gives you the measured value for the air pressure in Pa. To calculate the correct altitude above sea level the sensor needs a current reference value."; senseBox_pressure_tip: "Connect the sensor to one of the 5 **I2C ports**. The sensor gives you the measured value for the air pressure in Pa. To calculate the correct altitude above sea level the sensor needs a current reference value.",
Blockly.Msg.senseBox_pressure_referencePressure = "Pressure at Sea Level"; senseBox_pressure_referencePressure: "Pressure at Sea Level",
Blockly.Msg.senseBox_pressure_referencePressure_dim = "hPa"; senseBox_pressure_referencePressure_dim: "hPa",
Blockly.Msg.senseBox_pressure_helpurl = "" senseBox_pressure_helpurl: "",
/** /**
* Mikro * Mikro
*/ */
Blockly.Msg.senseBox_sound = "Microphone"; senseBox_sound: "Microphone",
Blockly.Msg.senseBox_sound_tip = "Connect the sensor to one of the 3 **analog/digital** ports via the breadbord. Returns the reading of the microphone in volt"; senseBox_sound_tip: "Connect the sensor to one of the 3 **analog/digital** ports via the breadbord. Returns the reading of the microphone in volt",
Blockly.Msg.senseBox_sound_helpurl = "https://en.docs.sensebox.de/hardware/sensoren-mikro/" senseBox_sound_helpurl: "https://en.docs.sensebox.de/hardware/sensoren-mikro/",
/** /**
* Temperature and Humidity Sensor (HDC1080) * Temperature and Humidity Sensor (HDC1080)
*/ */
Blockly.Msg.senseBox_temp = "Temperature in °C"; senseBox_temp: "Temperature in °C",
Blockly.Msg.senseBox_temp_hum = "Temperature/Humidity Sensor (HDC1080)"; senseBox_temp_hum: "Temperature/Humidity Sensor (HDC1080)",
Blockly.Msg.senseBox_temp_hum_tooltip = "This block returns the temperature and humidity sensor readings. Connect the sensor to one of the 5 I2C ports. Measured value is output with 2 decimal places."; senseBox_temp_hum_tooltip: "This block returns the temperature and humidity sensor readings. Connect the sensor to one of the 5 I2C ports. Measured value is output with 2 decimal places.",
Blockly.Msg.senseBox_temp_hum_helpurl = "https://en.docs.sensebox.de/hardware/sensoren-temperatur-luftfeuchte/" senseBox_temp_hum_helpurl: "https://en.docs.sensebox.de/hardware/sensoren-temperatur-luftfeuchte/",
Blockly.Msg.senseBox_hum = "humidity in %"; senseBox_hum: "humidity in %",
Blockly.Msg.senseBox_hum_tip = "Measures humidity in %"; senseBox_hum_tip: "Measures humidity in %",
/** /**
* Ultraschalldistanzsensor * Ultraschalldistanzsensor
*/ */
Blockly.Msg.senseBox_ultrasonic = "Ultrasonic distance sensor at Port"; senseBox_ultrasonic: "Ultrasonic distance sensor at Port",
Blockly.Msg.senseBox_ultrasonic_trigger = "Trigger" senseBox_ultrasonic_trigger: "Trigger",
Blockly.Msg.senseBox_ultrasonic_echo = "Echo" senseBox_ultrasonic_echo: "Echo",
Blockly.Msg.senseBox_ultrasonic_port_A = "A"; senseBox_ultrasonic_port_A: "A",
Blockly.Msg.senseBox_ultrasonic_port_B = "B"; senseBox_ultrasonic_port_B: "B",
Blockly.Msg.senseBox_ultrasonic_port_C = "C"; senseBox_ultrasonic_port_C: "C",
Blockly.Msg.senseBox_ultrasonic_tooltip = `Measures the distance using ultrasound in cm. Connect the sensor to one of the three digital/analog ports: senseBox_ultrasonic_tooltip: `Measures the distance using ultrasound in cm. Connect the sensor to one of the three digital/analog ports:
- Trigger: Green Cable - Trigger: Green Cable
- Echo: Yellow Cable`; - Echo: Yellow Cable`,
Blockly.Msg.senseBox_ultrasonic_helpurl = "https://en.docs.sensebox.de/hardware/sensoren-distanz/" senseBox_ultrasonic_helpurl: "https://en.docs.sensebox.de/hardware/sensoren-distanz/",
/** /**
* UV and Lightsensor * UV and Lightsensor
*/ */
Blockly.Msg.senseBox_uv = "UV-Light in µW/cm²"; senseBox_uv: "UV-Light in µW/cm²",
Blockly.Msg.senseBox_uv_light = "Light Visible + UV"; senseBox_uv_light: "Light Visible + UV",
Blockly.Msg.senseBox_value = "Value:"; senseBox_value: "Value:",
Blockly.Msg.senseBox_uv_light_tooltip = "Sensor measures UV light or brightness. Brightness is output as **integer** in lux. UV intensity as **decimal** in µW/cm²."; senseBox_uv_light_tooltip: "Sensor measures UV light or brightness. Brightness is output as **integer** in lux. UV intensity as **decimal** in µW/cm².",
Blockly.Msg.senseBox_light = "Illuminance in Lux"; senseBox_light: "Illuminance in Lux",
Blockly.Msg.senseBox_uv_light_helpurl = "https://en.docs.sensebox.de/hardware/sensoren-helligkeit-uv/" senseBox_uv_light_helpurl: "https://en.docs.sensebox.de/hardware/sensoren-helligkeit-uv/",
/** /**
* BMX055 * BMX055
*/ */
Blockly.Msg.senseBox_bmx055_compass = "Lage Sensor"; senseBox_bmx055_compass: "Lage Sensor",
Blockly.Msg.senseBox_bmx055_accelerometer = "Accelerometer"; senseBox_bmx055_accelerometer: "Accelerometer",
Blockly.Msg.senseBox_bmx055_accelerometer_range = "Range"; senseBox_bmx055_accelerometer_range: "Range",
Blockly.Msg.senseBox_bmx055_accelerometer_range_2g = "2g"; senseBox_bmx055_accelerometer_range_2g: "2g",
Blockly.Msg.senseBox_bmx055_accelerometer_range_4g = "4g"; senseBox_bmx055_accelerometer_range_4g: "4g",
Blockly.Msg.senseBox_bmx055_accelerometer_range_8g = "8g"; senseBox_bmx055_accelerometer_range_8g: "8g",
Blockly.Msg.senseBox_bmx055_accelerometer_range_16g = "16g"; senseBox_bmx055_accelerometer_range_16g: "16g",
Blockly.Msg.senseBox_bmx055_accelerometer_direction = "Direction"; senseBox_bmx055_accelerometer_direction: "Direction",
Blockly.Msg.senseBox_bmx055_accelerometer_direction_x = "X-Axis"; senseBox_bmx055_accelerometer_direction_x: "X-Axis",
Blockly.Msg.senseBox_bmx055_accelerometer_direction_y = "Y-Axis"; senseBox_bmx055_accelerometer_direction_y: "Y-Axis",
Blockly.Msg.senseBox_bmx055_accelerometer_direction_z = "Z-Axis"; senseBox_bmx055_accelerometer_direction_z: "Z-Axis",
Blockly.Msg.senseBox_bmx055_accelerometer_direction_total = "Total"; senseBox_bmx055_accelerometer_direction_total: "Total",
Blockly.Msg.senseBox_bmx055_gyroscope = "Gyroscope"; senseBox_bmx055_gyroscope: "Gyroscope",
Blockly.Msg.senseBox_bmx055_compass_tip = "Lage Sensor"; senseBox_bmx055_compass_tip: "Lage Sensor",
Blockly.Msg.senseBox_bmx055_gyroscope_tip = "Lage Sensor"; senseBox_bmx055_gyroscope_tip: "Lage Sensor",
Blockly.Msg.senseBox_bmx055_x = "X-Direction"; senseBox_bmx055_x: "X-Direction",
Blockly.Msg.senseBox_bmx055_y = "Y-Direction"; senseBox_bmx055_y: "Y-Direction",
Blockly.Msg.senseBox_bmx055_accelerometer_tooltip = `This block gives you the measurement value of the accelerometer which is soldered directly on the senseBox MCU. In the dropdown menu you can select the direction and the measuring range.`; senseBox_bmx055_accelerometer_tooltip: `This block gives you the measurement value of the accelerometer which is soldered directly on the senseBox MCU. In the dropdown menu you can select the direction and the measuring range.`,
Blockly.Msg.senseBox_bmx055_helpurl = "" senseBox_bmx055_helpurl: "",
/** /**
* *
* GPS * GPS
*/ */
Blockly.Msg.senseBox_gps_getValues = "GPS Modul"; senseBox_gps_getValues: "GPS Modul",
Blockly.Msg.senseBox_gps_lat = "latitude"; senseBox_gps_lat: "latitude",
Blockly.Msg.senseBox_gps_lng = "longitude"; senseBox_gps_lng: "longitude",
Blockly.Msg.senseBox_gps_alt = "altitude in m"; senseBox_gps_alt: "altitude in m",
Blockly.Msg.senseBox_gps_speed = "speed in km/h"; senseBox_gps_speed: "speed in km/h",
Blockly.Msg.senseBox_gps_date = "date"; senseBox_gps_date: "date",
Blockly.Msg.senseBox_gps_time = "time"; senseBox_gps_time: "time",
Blockly.Msg.senseBox_gps_timeStamp = "Timestamp (RFC 3339)"; senseBox_gps_timeStamp: "Timestamp (RFC 3339)",
Blockly.Msg.senseBox_gps_tooltip = `Reads the GPS module and gives you the location information. Longitude and latitude are output as a decimal number with 6 decimal places. senseBox_gps_tooltip: `Reads the GPS module and gives you the location information. Longitude and latitude are output as a decimal number with 6 decimal places.
**Connection: I2C** **Connection: I2C**
**Note:** The GPS module needs a relatively long time (about 5-10 minutes) until it has found your location! **Note:** The GPS module needs a relatively long time (about 5-10 minutes) until it has found your location!
` `,
Blockly.Msg.senseBox_gps_helpurl = "https://en.docs.sensebox.de/hardware/sensoren-gps/" senseBox_gps_helpurl: "https://en.docs.sensebox.de/hardware/sensoren-gps/",
/** /**
* Windspeed * Windspeed
*/ */
Blockly.Msg.senseBox_windspeed = "Windspeedsensor"; senseBox_windspeed: "Windspeedsensor",
Blockly.Msg.senseBox_windspeed_tooltip = "" senseBox_windspeed_tooltip: "",
/* /*
* Soundsensor * Soundsensor
*/ */
Blockly.Msg.senseBox_soundsensor_dfrobot = "Soundsensor (DF Robot)"; senseBox_soundsensor_dfrobot: "Soundsensor (DF Robot)",
Blockly.Msg.senseBox_soundsensor_dfrobot_tooltip = "Connect the sensor to one of the 3 **digital/analog ports**. The sensor will give you the reading in dB with one decimal." senseBox_soundsensor_dfrobot_tooltip: "Connect the sensor to one of the 3 **digital/analog ports**. The sensor will give you the reading in dB with one decimal.",
Blockly.Msg.senseBox_soundsensor_dfrobot_helpurl = "https://en.docs.sensebox.de/hardware/sensoren-lautstaerke/" senseBox_soundsensor_dfrobot_helpurl: "https://en.docs.sensebox.de/hardware/sensoren-lautstaerke/",
/* /*
* BME680 * BME680
*/ */
Blockly.Msg.senseBox_bme680 = "Environmental sensor (BME680)"; senseBox_bme680: "Environmental sensor (BME680)",
Blockly.Msg.senseBox_bme_iaq = "Indoor Air Quality (IAQ)"; senseBox_bme_iaq: "Indoor Air Quality (IAQ)",
Blockly.Msg.senseBox_bme_iaq_accuracy = "Calibration Value"; senseBox_bme_iaq_accuracy: "Calibration Value",
Blockly.Msg.senseBox_bme_co2 = "CO2 Equivalent"; senseBox_bme_co2: "CO2 Equivalent",
Blockly.Msg.senseBox_bme_breatheVocEquivalent = "Breathe VOC Equivalent"; senseBox_bme_breatheVocEquivalent: "Breathe VOC Equivalent",
Blockly.Msg.senseBox_bme_tooltip = `Connect the environmental sensor to one of the 5 **I2C ports**. **Note:** The sensor needs some time to calibrate. senseBox_bme_tooltip: `Connect the environmental sensor to one of the 5 **I2C ports**. **Note:** The sensor needs some time to calibrate.
The status of the calibration can be read from the calibration value. It is either 0, 1, 2 or 3 and says the following: The status of the calibration can be read from the calibration value. It is either 0, 1, 2 or 3 and says the following:
- IAQ Accuracy = 0 means sensor is stabilized (takes about 25 minutes) or that there was a timeout, - IAQ Accuracy : 0 means sensor is stabilized (takes about 25 minutes) or that there was a timeout,
- IAQ Accuracy = 1 means value is inaccurate, - IAQ Accuracy : 1 means value is inaccurate,
- IAQ Accuracy = 2 means sensor is being calibrated, - IAQ Accuracy : 2 means sensor is being calibrated,
- IAQ Accuracy = 3 means sensor calibrated successfully. - IAQ Accuracy : 3 means sensor calibrated successfully.
The measured values for temperature, humidity and air pressure can be used directly;` The measured values for temperature, humidity and air pressure can be used directly,`,
Blockly.Msg.senseBox_bme680_helpurl = "https://en.docs.sensebox.de/hardware/sensoren-umweltsensor/" senseBox_bme680_helpurl: "https://en.docs.sensebox.de/hardware/sensoren-umweltsensor/",
/** /**
* Truebner SMT50 * Truebner SMT50
*/ */
Blockly.Msg.senseBox_smt50 = "Soil Moisture and Temperature (SMT50)"; senseBox_smt50: "Soil Moisture and Temperature (SMT50)",
Blockly.Msg.senseBox_smt50_helpurl = "https://docs.sensebox.de/hardware/sensoren-truebner/" senseBox_smt50_helpurl: "https://docs.sensebox.de/hardware/sensoren-truebner/",
Blockly.Msg.senseBox_smt50_tooltip = "Schließe den Bodenfeuchtigkeit- und Temperatursensor an einen der 3 digital/analog Ports an und wähle den Port im Block aus. Der Sensor gibt die Bodentemperatur in °C und die Bodenfeuchtigkeit in % aus." senseBox_smt50_tooltip: "Schließe den Bodenfeuchtigkeit- und Temperatursensor an einen der 3 digital/analog Ports an und wähle den Port im Block aus. Der Sensor gibt die Bodentemperatur in °C und die Bodenfeuchtigkeit in % aus.",
/** /**
* SCD30 CO2 Sensor * SCD30 CO2 Sensor
*/ */
Blockly.Msg.senseBox_scd30 = "CO2 Sensor (Sensirion SCD30)"; senseBox_scd30: "CO2 Sensor (Sensirion SCD30)",
Blockly.Msg.senseBox_scd_tooltip = "Connect the sensor to one of the 5 **I2C ports**. The sensor will give you the reading for the CO2 concentration in ppm. The temperature reading may differ from the real value by a few degrees due to the measurement directly at the sensor."; senseBox_scd_tooltip: "Connect the sensor to one of the 5 **I2C ports**. The sensor will give you the reading for the CO2 concentration in ppm. The temperature reading may differ from the real value by a few degrees due to the measurement directly at the sensor.",
Blockly.Msg.senseBox_scd_co2 = "CO2 in ppm"; senseBox_scd_co2: "CO2 in ppm",
Blockly.Msg.senseBox_scd_helpurl = "https://en.docs.sensebox.de/hardware/sensoren-co2/" senseBox_scd_helpurl: "https://en.docs.sensebox.de/hardware/sensoren-co2/",
/**
/** * Feinstaubsensor (SDS011)
* Feinstaubsensor (SDS011) */
*/ senseBox_sds011: "Fine Particular Sensor",
Blockly.Msg.senseBox_sds011 = "Fine Particular Sensor"; senseBox_sds011_dimension: "in µg/m³ at",
Blockly.Msg.senseBox_sds011_dimension = "in µg/m³ at"; senseBox_sds011_pm25: "PM2.5",
Blockly.Msg.senseBox_sds011_pm25 = "PM2.5"; senseBox_sds011_pm10: "PM10",
Blockly.Msg.senseBox_sds011_pm10 = "PM10"; senseBox_sds011_tooltip: "This block gives you the reading of the fine dust sensor. Connect the fine dust sensor to one of the 2 **Serial/UART** ports. Select between PM2.5 and PM10 in the dropdown menu. The measured value will be displayed as **comma number** in µg/m3",
Blockly.Msg.senseBox_sds011_tooltip = "This block gives you the reading of the fine dust sensor. Connect the fine dust sensor to one of the 2 **Serial/UART** ports. Select between PM2.5 and PM10 in the dropdown menu. The measured value will be displayed as **comma number** in µg/m3"; senseBox_sds011_serial1: "Serial1",
Blockly.Msg.senseBox_sds011_serial1 = "Serial1"; senseBox_sds011_serial2: "Serial2",
Blockly.Msg.senseBox_sds011_serial2 = "Serial2"; senseBox_sds011_helpurl: "https://en.docs.sensebox.de/hardware/sensoren-feinstaub/",
Blockly.Msg.senseBox_sds011_helpurl = "https://en.docs.sensebox.de/hardware/sensoren-feinstaub/"
/** /**
* Button * Button
*/ */
Blockly.Msg.senseBox_button = "Button"; senseBox_button: "Button",
Blockly.Msg.senseBox_button_isPressed = "is Pressed"; senseBox_button_isPressed: "is Pressed",
Blockly.Msg.senseBox_button_switch = "as Switch"; senseBox_button_switch: "as Switch",
Blockly.Msg.senseBox_button_wasPressed = "was Pressed"; senseBox_button_wasPressed: "was Pressed",
Blockly.Msg.senseBox_button_tooltip = `This block gives you the status of the connected button. In the dropdown menu you can select different modes for the button. Either the on board button or a button connected to one of the 6 digital pins can be controlled. different modes: senseBox_button_tooltip: `This block gives you the status of the connected button. In the dropdown menu you can select different modes for the button. Either the on board button or a button connected to one of the 6 digital pins can be controlled. different modes:
- "is pressed": With this mode you can check if the block is currently pressed. You get either the value TRUE or FALSE. - "is pressed": With this mode you can check if the block is currently pressed. You get either the value TRUE or FALSE.
- "was pressed": With this mode you can query if the block was pressed. Only if the button was pressed and released you will get TRUE. - "was pressed": With this mode you can query if the block was pressed. Only if the button was pressed and released you will get TRUE.
- "as switch": If you use this block you can use the button like a light switch. The status is saved until the button is pressed again. - "as switch": If you use this block you can use the button like a light switch. The status is saved until the button is pressed again.
` `,
Blockly.Msg.senseBox_button_helpurl = "" senseBox_button_helpurl: "",
/** /**
* *
*/ */
Blockly.Msg.senseBox_watertemperature = "Water Temperature"; senseBox_watertemperature: "Water Temperature",
}

View File

@ -1,19 +1,19 @@
/* export const TELEGRAM = {
* Telegram /*
*/ * Telegram
Blockly.Msg.senseBox_telegram_init = "Initialize Telegram Bot"; */
Blockly.Msg.senseBox_telegram_token = "Token" senseBox_telegram_init: "Initialize Telegram Bot",
Blockly.Msg.senseBox_telegram_do = "Telegram do"; senseBox_telegram_token: "Token",
Blockly.Msg.senseBox_telegram_do_tooltip = "Insert into this loop the blocks you want your Telegram bot to execute. Note here that you can have actions performed on a specific message, or you can send a message yourself." senseBox_telegram_do: "Telegram do",
Blockly.Msg.senseBox_telegram_do_on_message = "on message"; senseBox_telegram_do_tooltip: "Insert into this loop the blocks you want your Telegram bot to execute. Note here that you can have actions performed on a specific message, or you can send a message yourself.",
Blockly.Msg.senseBox_telegram_message = "Message"; senseBox_telegram_do_on_message: "on message",
Blockly.Msg.senseBox_telegram_message_tooltip = "Perform an action when the Telegram has received a *message*." senseBox_telegram_message: "Message",
Blockly.Msg.senseBox_telegram_send = "Send Message"; senseBox_telegram_message_tooltip: "Perform an action when the Telegram has received a *message*.",
Blockly.Msg.senseBox_telegram_send_tooltip = "Your Telgram bot is sending you a message to your phone. The message can be, for example, an alarm or even a reading" senseBox_telegram_send: "Send Message",
Blockly.Msg.senseBox_telegram_init_tooltip = "Initialize the Telegram bot. Use this block in the **setup() loop**. You can create the token using Telegram." senseBox_telegram_send_tooltip: "Your Telgram bot is sending you a message to your phone. The message can be, for example, an alarm or even a reading",
Blockly.Msg.senseBox_telegram_helpurl = "https://sensebox.de/projects/de/2019-12-15-telegram-blockly" senseBox_telegram_init_tooltip: "Initialize the Telegram bot. Use this block in the **setup() loop**. You can create the token using Telegram.",
senseBox_telegram_helpurl: "https://sensebox.de/projects/de/2019-12-15-telegram-blockly",
}

View File

@ -1,10 +1,11 @@
import Blockly from 'blockly' export const WEB = {
/** /**
* WiFi * WiFi
*/ */
Blockly.Msg.senseBox_wifi_connect = "Connect to Wifi"; senseBox_wifi_connect: "Connect to Wifi",
Blockly.Msg.senseBox_wifi_ssid = "Networkname"; senseBox_wifi_ssid: "Networkname",
Blockly.Msg.senseBox_wifi_tooltip = "Connects to a wireless network. If you want to connect to an unsecured network (e.g. Freifunk) clear the password field. The WiFi-Bee must be plugged into the **XBEE1** slot."; senseBox_wifi_tooltip: "Connects to a wireless network. If you want to connect to an unsecured network (e.g. Freifunk) clear the password field. The WiFi-Bee must be plugged into the **XBEE1** slot.",
Blockly.Msg.senseBox_wifi_startap = "Initialize Wifi Access Point"; senseBox_wifi_startap: "Initialize Wifi Access Point",
Blockly.Msg.senseBox_wifi_startap_tooltip = "Creates a WiFi access point to which you can connect. Note that only 1 device can be connected at a time."; senseBox_wifi_startap_tooltip: "Creates a WiFi access point to which you can connect. Note that only 1 device can be connected at a time.",
Blockly.Msg.senseBox_wifi_helpurl = "https://en.docs.sensebox.de/blockly/blockly-web-wifi/" senseBox_wifi_helpurl: "https://en.docs.sensebox.de/blockly/blockly-web-wifi/",
}

View File

@ -1,63 +1,64 @@
import Blockly from 'blockly'; export const TEXT = {
Blockly.Msg.TEXT_APPEND_APPENDTEXT = "append text"; TEXT_APPEND_APPENDTEXT: "append text",
Blockly.Msg.TEXT_APPEND_HELPURL = "https://github.com/google/blockly/wiki/Text#text-modification"; TEXT_APPEND_HELPURL: "https://github.com/google/blockly/wiki/Text#text-modification",
Blockly.Msg.TEXT_APPEND_TO = "to"; TEXT_APPEND_TO: "to",
Blockly.Msg.TEXT_APPEND_TOOLTIP = "Append some text to variable '%1'."; TEXT_APPEND_TOOLTIP: "Append some text to variable '%1'.",
Blockly.Msg.TEXT_CHANGECASE_HELPURL = "https://github.com/google/blockly/wiki/Text#adjusting-text-case"; TEXT_CHANGECASE_HELPURL: "https://github.com/google/blockly/wiki/Text#adjusting-text-case",
Blockly.Msg.TEXT_CHANGECASE_OPERATOR_LOWERCASE = "to lower case"; TEXT_CHANGECASE_OPERATOR_LOWERCASE: "to lower case",
Blockly.Msg.TEXT_CHANGECASE_OPERATOR_TITLECASE = "to Title Case"; TEXT_CHANGECASE_OPERATOR_TITLECASE: "to Title Case",
Blockly.Msg.TEXT_CHANGECASE_OPERATOR_UPPERCASE = "to UPPER CASE"; TEXT_CHANGECASE_OPERATOR_UPPERCASE: "to UPPER CASE",
Blockly.Msg.TEXT_CHANGECASE_TOOLTIP = "Return a copy of the text in a different case."; TEXT_CHANGECASE_TOOLTIP: "Return a copy of the text in a different case.",
Blockly.Msg.TEXT_CHARAT_FIRST = "get first letter"; TEXT_CHARAT_FIRST: "get first letter",
Blockly.Msg.TEXT_CHARAT_FROM_END = "get letter # from end"; TEXT_CHARAT_FROM_END: "get letter # from end",
Blockly.Msg.TEXT_CHARAT_FROM_START = "get letter #"; TEXT_CHARAT_FROM_START: "get letter #",
Blockly.Msg.TEXT_CHARAT_HELPURL = "https://github.com/google/blockly/wiki/Text#extracting-text"; TEXT_CHARAT_HELPURL: "https://github.com/google/blockly/wiki/Text#extracting-text",
Blockly.Msg.TEXT_CHARAT_INPUT_INTEXT = "in text"; TEXT_CHARAT_INPUT_INTEXT: "in text",
Blockly.Msg.TEXT_CHARAT_LAST = "get last letter"; TEXT_CHARAT_LAST: "get last letter",
Blockly.Msg.TEXT_CHARAT_RANDOM = "get random letter"; TEXT_CHARAT_RANDOM: "get random letter",
Blockly.Msg.TEXT_CHARAT_TAIL = ""; TEXT_CHARAT_TAIL: "",
Blockly.Msg.TEXT_CHARAT_TOOLTIP = "Returns the letter at the specified position."; TEXT_CHARAT_TOOLTIP: "Returns the letter at the specified position.",
Blockly.Msg.TEXT_CREATE_JOIN_ITEM_TOOLTIP = "Add an item to the text."; TEXT_CREATE_JOIN_ITEM_TOOLTIP: "Add an item to the text.",
Blockly.Msg.TEXT_CREATE_JOIN_TITLE_JOIN = "join"; TEXT_CREATE_JOIN_TITLE_JOIN: "join",
Blockly.Msg.TEXT_CREATE_JOIN_TOOLTIP = "Add, remove, or reorder sections to reconfigure this text block."; TEXT_CREATE_JOIN_TOOLTIP: "Add, remove, or reorder sections to reconfigure this text block.",
Blockly.Msg.TEXT_GET_SUBSTRING_END_FROM_END = "to letter # from end"; TEXT_GET_SUBSTRING_END_FROM_END: "to letter # from end",
Blockly.Msg.TEXT_GET_SUBSTRING_END_FROM_START = "to letter #"; TEXT_GET_SUBSTRING_END_FROM_START: "to letter #",
Blockly.Msg.TEXT_GET_SUBSTRING_END_LAST = "to last letter"; TEXT_GET_SUBSTRING_END_LAST: "to last letter",
Blockly.Msg.TEXT_GET_SUBSTRING_HELPURL = "https://github.com/google/blockly/wiki/Text#extracting-a-region-of-text"; TEXT_GET_SUBSTRING_HELPURL: "https://github.com/google/blockly/wiki/Text#extracting-a-region-of-text",
Blockly.Msg.TEXT_GET_SUBSTRING_INPUT_IN_TEXT = "in text"; TEXT_GET_SUBSTRING_INPUT_IN_TEXT: "in text",
Blockly.Msg.TEXT_GET_SUBSTRING_START_FIRST = "get substring from first letter"; TEXT_GET_SUBSTRING_START_FIRST: "get substring from first letter",
Blockly.Msg.TEXT_GET_SUBSTRING_START_FROM_END = "get substring from letter # from end"; TEXT_GET_SUBSTRING_START_FROM_END: "get substring from letter # from end",
Blockly.Msg.TEXT_GET_SUBSTRING_START_FROM_START = "get substring from letter #"; TEXT_GET_SUBSTRING_START_FROM_START: "get substring from letter #",
Blockly.Msg.TEXT_GET_SUBSTRING_TAIL = ""; TEXT_GET_SUBSTRING_TAIL: "",
Blockly.Msg.TEXT_GET_SUBSTRING_TOOLTIP = "Returns a specified portion of the text."; TEXT_GET_SUBSTRING_TOOLTIP: "Returns a specified portion of the text.",
Blockly.Msg.TEXT_INDEXOF_HELPURL = "https://github.com/google/blockly/wiki/Text#finding-text"; TEXT_INDEXOF_HELPURL: "https://github.com/google/blockly/wiki/Text#finding-text",
Blockly.Msg.TEXT_INDEXOF_INPUT_INTEXT = "in text"; TEXT_INDEXOF_INPUT_INTEXT: "in text",
Blockly.Msg.TEXT_INDEXOF_OPERATOR_FIRST = "find first occurrence of text"; TEXT_INDEXOF_OPERATOR_FIRST: "find first occurrence of text",
Blockly.Msg.TEXT_INDEXOF_OPERATOR_LAST = "find last occurrence of text"; TEXT_INDEXOF_OPERATOR_LAST: "find last occurrence of text",
Blockly.Msg.TEXT_INDEXOF_TAIL = ""; TEXT_INDEXOF_TAIL: "",
Blockly.Msg.TEXT_INDEXOF_TOOLTIP = "Returns the index of the first/last occurrence of the first text in the second text. Returns 0 if text is not found."; TEXT_INDEXOF_TOOLTIP: "Returns the index of the first/last occurrence of the first text in the second text. Returns 0 if text is not found.",
Blockly.Msg.TEXT_ISEMPTY_HELPURL = "https://github.com/google/blockly/wiki/Text#checking-for-empty-text"; TEXT_ISEMPTY_HELPURL: "https://github.com/google/blockly/wiki/Text#checking-for-empty-text",
Blockly.Msg.TEXT_ISEMPTY_TITLE = "%1 is empty"; TEXT_ISEMPTY_TITLE: "%1 is empty",
Blockly.Msg.TEXT_ISEMPTY_TOOLTIP = "Returns true if the provided text is empty."; TEXT_ISEMPTY_TOOLTIP: "Returns true if the provided text is empty.",
Blockly.Msg.TEXT_JOIN_HELPURL = "https://github.com/google/blockly/wiki/Text#text-creation"; TEXT_JOIN_HELPURL: "https://github.com/google/blockly/wiki/Text#text-creation",
Blockly.Msg.TEXT_JOIN_TITLE_CREATEWITH = "create text with"; TEXT_JOIN_TITLE_CREATEWITH: "create text with",
Blockly.Msg.TEXT_JOIN_TOOLTIP = "Create a piece of text by joining together any number of items."; TEXT_JOIN_TOOLTIP: "Create a piece of text by joining together any number of items.",
Blockly.Msg.TEXT_LENGTH_HELPURL = "https://github.com/google/blockly/wiki/Text#text-modification"; TEXT_LENGTH_HELPURL: "https://github.com/google/blockly/wiki/Text#text-modification",
Blockly.Msg.TEXT_LENGTH_TITLE = "length of %1"; TEXT_LENGTH_TITLE: "length of %1",
Blockly.Msg.TEXT_LENGTH_TOOLTIP = "Returns the number of letters (including spaces) in the provided text."; TEXT_LENGTH_TOOLTIP: "Returns the number of letters (including spaces) in the provided text.",
Blockly.Msg.TEXT_PRINT_HELPURL = "https://github.com/google/blockly/wiki/Text#printing-text"; TEXT_PRINT_HELPURL: "https://github.com/google/blockly/wiki/Text#printing-text",
Blockly.Msg.TEXT_PRINT_TITLE = "print %1"; TEXT_PRINT_TITLE: "print %1",
Blockly.Msg.TEXT_PRINT_TOOLTIP = "Print the specified text, number or other value."; TEXT_PRINT_TOOLTIP: "Print the specified text, number or other value.",
Blockly.Msg.TEXT_PROMPT_HELPURL = "https://github.com/google/blockly/wiki/Text#getting-input-from-the-user"; TEXT_PROMPT_HELPURL: "https://github.com/google/blockly/wiki/Text#getting-input-from-the-user",
Blockly.Msg.TEXT_PROMPT_TOOLTIP_NUMBER = "Prompt for user for a number."; TEXT_PROMPT_TOOLTIP_NUMBER: "Prompt for user for a number.",
Blockly.Msg.TEXT_PROMPT_TOOLTIP_TEXT = "Prompt for user for some text."; TEXT_PROMPT_TOOLTIP_TEXT: "Prompt for user for some text.",
Blockly.Msg.TEXT_PROMPT_TYPE_NUMBER = "prompt for number with message"; TEXT_PROMPT_TYPE_NUMBER: "prompt for number with message",
Blockly.Msg.TEXT_PROMPT_TYPE_TEXT = "prompt for text with message"; TEXT_PROMPT_TYPE_TEXT: "prompt for text with message",
Blockly.Msg.TEXT_TEXT_HELPURL = "https://en.wikipedia.org/wiki/String_(computer_science)"; TEXT_TEXT_HELPURL: "https://en.wikipedia.org/wiki/String_(computer_science)",
Blockly.Msg.TEXT_TEXT_TOOLTIP = "A letter, word, or line of text."; TEXT_TEXT_TOOLTIP: "A letter, word, or line of text.",
Blockly.Msg.TEXT_TRIM_HELPURL = "https://github.com/google/blockly/wiki/Text#trimming-removing-spaces"; TEXT_TRIM_HELPURL: "https://github.com/google/blockly/wiki/Text#trimming-removing-spaces",
Blockly.Msg.TEXT_TRIM_OPERATOR_BOTH = "trim spaces from both sides of"; TEXT_TRIM_OPERATOR_BOTH: "trim spaces from both sides of",
Blockly.Msg.TEXT_TRIM_OPERATOR_LEFT = "trim spaces from left side of"; TEXT_TRIM_OPERATOR_LEFT: "trim spaces from left side of",
Blockly.Msg.TEXT_TRIM_OPERATOR_RIGHT = "trim spaces from right side of"; TEXT_TRIM_OPERATOR_RIGHT: "trim spaces from right side of",
Blockly.Msg.TEXT_TRIM_TOOLTIP = "Return a copy of the text with spaces removed from one or both ends."; TEXT_TRIM_TOOLTIP: "Return a copy of the text with spaces removed from one or both ends.",
}

View File

@ -1,16 +1,17 @@
import Blockly from 'blockly'; export const TIME = {
Blockly.Msg.senseBox_interval = "ms"; senseBox_interval: "ms",
Blockly.Msg.senseBox_interval_timer = "Measuring interval"; senseBox_interval_timer: "Measuring interval",
Blockly.Msg.senseBox_interval_timer_tip = "Setup an Intervall"; senseBox_interval_timer_tip: "Setup an Intervall",
Blockly.Msg.ARD_TIME_DELAY = "wait"; ARD_TIME_DELAY: "wait",
Blockly.Msg.ARD_TIME_DELAY_MICROS = "microseconds"; ARD_TIME_DELAY_MICROS: "microseconds",
Blockly.Msg.ARD_TIME_DELAY_MICRO_TIP = "Wait specific time in microseconds"; ARD_TIME_DELAY_MICRO_TIP: "Wait specific time in microseconds",
Blockly.Msg.ARD_TIME_DELAY_TIP = "Wait specific time in milliseconds"; ARD_TIME_DELAY_TIP: "Wait specific time in milliseconds",
Blockly.Msg.ARD_TIME_INF = "wait forever (end program)"; ARD_TIME_INF: "wait forever (end program)",
Blockly.Msg.ARD_TIME_INF_TIP = "Wait indefinitely, stopping the program."; ARD_TIME_INF_TIP: "Wait indefinitely, stopping the program.",
Blockly.Msg.ARD_TIME_MICROS = "current elapsed Time (microseconds)"; ARD_TIME_MICROS: "current elapsed Time (microseconds)",
Blockly.Msg.ARD_TIME_MICROS_TIP = "Returns the number of microseconds since the Arduino board began running the current program. Has to be stored in a positive long integer"; ARD_TIME_MICROS_TIP: "Returns the number of microseconds since the Arduino board began running the current program. Has to be stored in a positive long integer",
Blockly.Msg.ARD_TIME_MILLIS = "current elapsed Time (milliseconds)"; ARD_TIME_MILLIS: "current elapsed Time (milliseconds)",
Blockly.Msg.ARD_TIME_MILLIS_TIP = "Returns the number of milliseconds since the Arduino board began running the current program. Has to be stored in a positive long integer"; ARD_TIME_MILLIS_TIP: "Returns the number of milliseconds since the Arduino board began running the current program. Has to be stored in a positive long integer",
Blockly.Msg.ARD_TIME_MS = "milliseconds"; ARD_TIME_MS: "milliseconds",
}

View File

@ -1,23 +1,24 @@
import Blockly from 'blockly' export const TOURS = {
/** /**
* Home Tour * Home Tour
*/ */
Blockly.Msg.hometour_wrapper = "Welcome to the new Learn- and Programmingapp for the senseBox. In this tour I will show you all the important features of the interface" hometour_wrapper: "Welcome to the new Learn- and Programmingapp for the senseBox. In this tour I will show you all the important features of the interface",
Blockly.Msg.hometour_workspaceFunc = "Here you will find all the buttons to compile, save or share your program" hometour_workspaceFunc: "Here you will find all the buttons to compile, save or share your program",
Blockly.Msg.hometour_blocklyWindow = "This is your workspace. Here you can use the blocks to create your program code" hometour_blocklyWindow: "This is your workspace. Here you can use the blocks to create your program code",
Blockly.Msg.hometour_blocklyToolboxDiv = "The toolbox contains all the blocks. Connect them in the workspace and create your program code." hometour_blocklyToolboxDiv: "The toolbox contains all the blocks. Connect them in the workspace and create your program code.",
Blockly.Msg.hometour_compileBlocks = "When you are done programming and want to transfer your program code to the senseBox click here to compile your program code." hometour_compileBlocks: "When you are done programming and want to transfer your program code to the senseBox click here to compile your program code.",
Blockly.Msg.hometour_menuButton = "In the menu you will find tutorials and a gallery with different example programs. Log in with your openSenseMap account and you will get even more features." hometour_menuButton: "In the menu you will find tutorials and a gallery with different example programs. Log in with your openSenseMap account and you will get even more features.",
Blockly.Msg.hometour_showCode = "With this button you can show the generated program code" hometour_showCode: "With this button you can show the generated program code",
Blockly.Msg.hometour_shareBlocks = "Use this button to create a short link and share your blocks with other users" hometour_shareBlocks: "Use this button to create a short link and share your blocks with other users",
/** /**
* Assessment Tour * Assessment Tour
*/ */
Blockly.Msg.assessmenttour_solutionCheck = "When your solution is ready click here to check it" assessmenttour_solutionCheck: "When your solution is ready click here to check it",
Blockly.Msg.assessmenttour_assessmentDiv = "Let's go! Solve the following task to complete the tutorial. " assessmenttour_assessmentDiv: "Let's go! Solve the following task to complete the tutorial.",
Blockly.Msg.assessmenttour_injectionDiv = "Create your solution here. You can use any blocks from the toolbox." assessmenttour_injectionDiv: "Create your solution here. You can use any blocks from the toolbox.",
}

View File

@ -1,212 +1,210 @@
import Blockly from 'blockly' export const TRANSLATIONS = {
Blockly.Msg.ADD_COMMENT = "Add Comment"; ADD_COMMENT: "Add Comment",
Blockly.Msg.AUTH = "Please authorize this app to enable your work to be saved and to allow it to be shared by you."; AUTH: "Please authorize this app to enable your work to be saved and to allow it to be shared by you.",
Blockly.Msg.CHANGE_VALUE_TITLE = "Change value:"; CHANGE_VALUE_TITLE: "Change value:",
Blockly.Msg.CHAT = "Chat with your collaborator by typing in this box!"; CHAT: "Chat with your collaborator by typing in this box!",
Blockly.Msg.CLEAN_UP = "Clean up Blocks"; CLEAN_UP: "Clean up Blocks",
Blockly.Msg.COLLAPSE_ALL = "Collapse Blocks"; COLLAPSE_ALL: "Collapse Blocks",
Blockly.Msg.COLLAPSE_BLOCK = "Collapse Block"; COLLAPSE_BLOCK: "Collapse Block",
Blockly.Msg.DELETE_ALL_BLOCKS = "Delete all %1 blocks?"; DELETE_ALL_BLOCKS: "Delete all %1 blocks?",
Blockly.Msg.DELETE_BLOCK = "Delete Block"; DELETE_BLOCK: "Delete Block",
Blockly.Msg.DELETE_X_BLOCKS = "Delete %1 Blocks"; DELETE_X_BLOCKS: "Delete %1 Blocks",
Blockly.Msg.DISABLE_BLOCK = "Disable Block"; DISABLE_BLOCK: "Disable Block",
Blockly.Msg.DUPLICATE_BLOCK = "Duplicate"; DUPLICATE_BLOCK: "Duplicate",
Blockly.Msg.ENABLE_BLOCK = "Enable Block"; ENABLE_BLOCK: "Enable Block",
Blockly.Msg.EXPAND_ALL = "Expand Blocks"; EXPAND_ALL: "Expand Blocks",
Blockly.Msg.EXPAND_BLOCK = "Expand Block"; EXPAND_BLOCK: "Expand Block",
Blockly.Msg.EXTERNAL_INPUTS = "External Inputs"; EXTERNAL_INPUTS: "External Inputs",
Blockly.Msg.HELP = "Help"; HELP: "Help",
Blockly.Msg.INLINE_INPUTS = "Inline Inputs"; INLINE_INPUTS: "Inline Inputs",
Blockly.Msg.LISTS_CREATE_EMPTY_HELPURL = "https://github.com/google/blockly/wiki/Lists#create-empty-list"; LISTS_CREATE_EMPTY_HELPURL: "https://github.com/google/blockly/wiki/Lists#create-empty-list",
Blockly.Msg.LISTS_CREATE_EMPTY_TITLE = "create empty list"; LISTS_CREATE_EMPTY_TITLE: "create empty list",
Blockly.Msg.LISTS_CREATE_EMPTY_TOOLTIP = "Returns a list, of length 0, containing no data records"; LISTS_CREATE_EMPTY_TOOLTIP: "Returns a list, of length 0, containing no data records",
Blockly.Msg.LISTS_CREATE_WITH_CONTAINER_TITLE_ADD = "list"; LISTS_CREATE_WITH_CONTAINER_TITLE_ADD: "list",
Blockly.Msg.LISTS_CREATE_WITH_CONTAINER_TOOLTIP = "Add, remove, or reorder sections to reconfigure this list block."; LISTS_CREATE_WITH_CONTAINER_TOOLTIP: "Add, remove, or reorder sections to reconfigure this list block.",
Blockly.Msg.LISTS_CREATE_WITH_HELPURL = "https://github.com/google/blockly/wiki/Lists#create-list-with"; LISTS_CREATE_WITH_HELPURL: "https://github.com/google/blockly/wiki/Lists#create-list-with",
Blockly.Msg.LISTS_CREATE_WITH_INPUT_WITH = "create list with"; LISTS_CREATE_WITH_INPUT_WITH: "create list with",
Blockly.Msg.LISTS_CREATE_WITH_ITEM_TOOLTIP = "Add an item to the list."; LISTS_CREATE_WITH_ITEM_TOOLTIP: "Add an item to the list.",
Blockly.Msg.LISTS_CREATE_WITH_TOOLTIP = "Create a list with any number of items."; LISTS_CREATE_WITH_TOOLTIP: "Create a list with any number of items.",
Blockly.Msg.LISTS_GET_INDEX_FIRST = "first"; LISTS_GET_INDEX_FIRST: "first",
Blockly.Msg.LISTS_GET_INDEX_FROM_END = "# from end"; LISTS_GET_INDEX_FROM_END: "# from end",
Blockly.Msg.LISTS_GET_INDEX_FROM_START = "#"; LISTS_GET_INDEX_FROM_START: "#",
Blockly.Msg.LISTS_GET_INDEX_GET = "get"; LISTS_GET_INDEX_GET: "get",
Blockly.Msg.LISTS_GET_INDEX_GET_REMOVE = "get and remove"; LISTS_GET_INDEX_GET_REMOVE: "get and remove",
Blockly.Msg.LISTS_GET_INDEX_LAST = "last"; LISTS_GET_INDEX_LAST: "last",
Blockly.Msg.LISTS_GET_INDEX_RANDOM = "random"; LISTS_GET_INDEX_RANDOM: "random",
Blockly.Msg.LISTS_GET_INDEX_REMOVE = "remove"; LISTS_GET_INDEX_REMOVE: "remove",
Blockly.Msg.LISTS_GET_INDEX_TAIL = ""; LISTS_GET_INDEX_TAIL: "",
Blockly.Msg.LISTS_GET_INDEX_TOOLTIP_GET_FIRST = "Returns the first item in a list."; LISTS_GET_INDEX_TOOLTIP_GET_FIRST: "Returns the first item in a list.",
Blockly.Msg.LISTS_GET_INDEX_TOOLTIP_GET_FROM_END = "Returns the item at the specified position in a list. #1 is the last item."; LISTS_GET_INDEX_TOOLTIP_GET_FROM_END: "Returns the item at the specified position in a list. #1 is the last item.",
Blockly.Msg.LISTS_GET_INDEX_TOOLTIP_GET_FROM_START = "Returns the item at the specified position in a list. #1 is the first item."; LISTS_GET_INDEX_TOOLTIP_GET_FROM_START: "Returns the item at the specified position in a list. #1 is the first item.",
Blockly.Msg.LISTS_GET_INDEX_TOOLTIP_GET_LAST = "Returns the last item in a list."; LISTS_GET_INDEX_TOOLTIP_GET_LAST: "Returns the last item in a list.",
Blockly.Msg.LISTS_GET_INDEX_TOOLTIP_GET_RANDOM = "Returns a random item in a list."; LISTS_GET_INDEX_TOOLTIP_GET_RANDOM: "Returns a random item in a list.",
Blockly.Msg.LISTS_GET_INDEX_TOOLTIP_GET_REMOVE_FIRST = "Removes and returns the first item in a list."; LISTS_GET_INDEX_TOOLTIP_GET_REMOVE_FIRST: "Removes and returns the first item in a list.",
Blockly.Msg.LISTS_GET_INDEX_TOOLTIP_GET_REMOVE_FROM_END = "Removes and returns the item at the specified position in a list. #1 is the last item."; LISTS_GET_INDEX_TOOLTIP_GET_REMOVE_FROM_END: "Removes and returns the item at the specified position in a list. #1 is the last item.",
Blockly.Msg.LISTS_GET_INDEX_TOOLTIP_GET_REMOVE_FROM_START = "Removes and returns the item at the specified position in a list. #1 is the first item."; LISTS_GET_INDEX_TOOLTIP_GET_REMOVE_FROM_START: "Removes and returns the item at the specified position in a list. #1 is the first item.",
Blockly.Msg.LISTS_GET_INDEX_TOOLTIP_GET_REMOVE_LAST = "Removes and returns the last item in a list."; LISTS_GET_INDEX_TOOLTIP_GET_REMOVE_LAST: "Removes and returns the last item in a list.",
Blockly.Msg.LISTS_GET_INDEX_TOOLTIP_GET_REMOVE_RANDOM = "Removes and returns a random item in a list."; LISTS_GET_INDEX_TOOLTIP_GET_REMOVE_RANDOM: "Removes and returns a random item in a list.",
Blockly.Msg.LISTS_GET_INDEX_TOOLTIP_REMOVE_FIRST = "Removes the first item in a list."; LISTS_GET_INDEX_TOOLTIP_REMOVE_FIRST: "Removes the first item in a list.",
Blockly.Msg.LISTS_GET_INDEX_TOOLTIP_REMOVE_FROM_END = "Removes the item at the specified position in a list. #1 is the last item."; LISTS_GET_INDEX_TOOLTIP_REMOVE_FROM_END: "Removes the item at the specified position in a list. #1 is the last item.",
Blockly.Msg.LISTS_GET_INDEX_TOOLTIP_REMOVE_FROM_START = "Removes the item at the specified position in a list. #1 is the first item."; LISTS_GET_INDEX_TOOLTIP_REMOVE_FROM_START: "Removes the item at the specified position in a list. #1 is the first item.",
Blockly.Msg.LISTS_GET_INDEX_TOOLTIP_REMOVE_LAST = "Removes the last item in a list."; LISTS_GET_INDEX_TOOLTIP_REMOVE_LAST: "Removes the last item in a list.",
Blockly.Msg.LISTS_GET_INDEX_TOOLTIP_REMOVE_RANDOM = "Removes a random item in a list."; LISTS_GET_INDEX_TOOLTIP_REMOVE_RANDOM: "Removes a random item in a list.",
Blockly.Msg.LISTS_GET_SUBLIST_END_FROM_END = "to # from end"; LISTS_GET_SUBLIST_END_FROM_END: "to # from end",
Blockly.Msg.LISTS_GET_SUBLIST_END_FROM_START = "to #"; LISTS_GET_SUBLIST_END_FROM_START: "to #",
Blockly.Msg.LISTS_GET_SUBLIST_END_LAST = "to last"; LISTS_GET_SUBLIST_END_LAST: "to last",
Blockly.Msg.LISTS_GET_SUBLIST_HELPURL = "https://github.com/google/blockly/wiki/Lists#getting-a-sublist"; LISTS_GET_SUBLIST_HELPURL: "https://github.com/google/blockly/wiki/Lists#getting-a-sublist",
Blockly.Msg.LISTS_GET_SUBLIST_START_FIRST = "get sub-list from first"; LISTS_GET_SUBLIST_START_FIRST: "get sub-list from first",
Blockly.Msg.LISTS_GET_SUBLIST_START_FROM_END = "get sub-list from # from end"; LISTS_GET_SUBLIST_START_FROM_END: "get sub-list from # from end",
Blockly.Msg.LISTS_GET_SUBLIST_START_FROM_START = "get sub-list from #"; LISTS_GET_SUBLIST_START_FROM_START: "get sub-list from #",
Blockly.Msg.LISTS_GET_SUBLIST_TAIL = ""; LISTS_GET_SUBLIST_TAIL: "",
Blockly.Msg.LISTS_GET_SUBLIST_TOOLTIP = "Creates a copy of the specified portion of a list."; LISTS_GET_SUBLIST_TOOLTIP: "Creates a copy of the specified portion of a list.",
Blockly.Msg.LISTS_INDEX_OF_FIRST = "find first occurrence of item"; LISTS_INDEX_OF_FIRST: "find first occurrence of item",
Blockly.Msg.LISTS_INDEX_OF_HELPURL = "https://github.com/google/blockly/wiki/Lists#getting-items-from-a-list"; LISTS_INDEX_OF_HELPURL: "https://github.com/google/blockly/wiki/Lists#getting-items-from-a-list",
Blockly.Msg.LISTS_INDEX_OF_LAST = "find last occurrence of item"; LISTS_INDEX_OF_LAST: "find last occurrence of item",
Blockly.Msg.LISTS_INDEX_OF_TOOLTIP = "Returns the index of the first/last occurrence of the item in the list. Returns 0 if item is not found."; LISTS_INDEX_OF_TOOLTIP: "Returns the index of the first/last occurrence of the item in the list. Returns 0 if item is not found.",
Blockly.Msg.LISTS_INLIST = "in list"; LISTS_INLIST: "in list",
Blockly.Msg.LISTS_ISEMPTY_HELPURL = "https://github.com/google/blockly/wiki/Lists#is-empty"; LISTS_ISEMPTY_HELPURL: "https://github.com/google/blockly/wiki/Lists#is-empty",
Blockly.Msg.LISTS_ISEMPTY_TITLE = "%1 is empty"; LISTS_ISEMPTY_TITLE: "%1 is empty",
Blockly.Msg.LISTS_ISEMPTY_TOOLTIP = "Returns true if the list is empty."; LISTS_ISEMPTY_TOOLTIP: "Returns true if the list is empty.",
Blockly.Msg.LISTS_LENGTH_HELPURL = "https://github.com/google/blockly/wiki/Lists#length-of"; LISTS_LENGTH_HELPURL: "https://github.com/google/blockly/wiki/Lists#length-of",
Blockly.Msg.LISTS_LENGTH_TITLE = "length of %1"; LISTS_LENGTH_TITLE: "length of %1",
Blockly.Msg.LISTS_LENGTH_TOOLTIP = "Returns the length of a list."; LISTS_LENGTH_TOOLTIP: "Returns the length of a list.",
Blockly.Msg.LISTS_REPEAT_HELPURL = "https://github.com/google/blockly/wiki/Lists#create-list-with"; LISTS_REPEAT_HELPURL: "https://github.com/google/blockly/wiki/Lists#create-list-with",
Blockly.Msg.LISTS_REPEAT_TITLE = "create list with item %1 repeated %2 times"; LISTS_REPEAT_TITLE: "create list with item %1 repeated %2 times",
Blockly.Msg.LISTS_REPEAT_TOOLTIP = "Creates a list consisting of the given value repeated the specified number of times."; LISTS_REPEAT_TOOLTIP: "Creates a list consisting of the given value repeated the specified number of times.",
Blockly.Msg.LISTS_SET_INDEX_HELPURL = "https://github.com/google/blockly/wiki/Lists#in-list--set"; LISTS_SET_INDEX_HELPURL: "https://github.com/google/blockly/wiki/Lists#in-list--set",
Blockly.Msg.LISTS_SET_INDEX_INPUT_TO = "as"; LISTS_SET_INDEX_INPUT_TO: "as",
Blockly.Msg.LISTS_SET_INDEX_INSERT = "insert at"; LISTS_SET_INDEX_INSERT: "insert at",
Blockly.Msg.LISTS_SET_INDEX_SET = "set"; LISTS_SET_INDEX_SET: "set",
Blockly.Msg.LISTS_SET_INDEX_TOOLTIP_INSERT_FIRST = "Inserts the item at the start of a list."; LISTS_SET_INDEX_TOOLTIP_INSERT_FIRST: "Inserts the item at the start of a list.",
Blockly.Msg.LISTS_SET_INDEX_TOOLTIP_INSERT_FROM_END = "Inserts the item at the specified position in a list. #1 is the last item."; LISTS_SET_INDEX_TOOLTIP_INSERT_FROM_END: "Inserts the item at the specified position in a list. #1 is the last item.",
Blockly.Msg.LISTS_SET_INDEX_TOOLTIP_INSERT_FROM_START = "Inserts the item at the specified position in a list. #1 is the first item."; LISTS_SET_INDEX_TOOLTIP_INSERT_FROM_START: "Inserts the item at the specified position in a list. #1 is the first item.",
Blockly.Msg.LISTS_SET_INDEX_TOOLTIP_INSERT_LAST = "Append the item to the end of a list."; LISTS_SET_INDEX_TOOLTIP_INSERT_LAST: "Append the item to the end of a list.",
Blockly.Msg.LISTS_SET_INDEX_TOOLTIP_INSERT_RANDOM = "Inserts the item randomly in a list."; LISTS_SET_INDEX_TOOLTIP_INSERT_RANDOM: "Inserts the item randomly in a list.",
Blockly.Msg.LISTS_SET_INDEX_TOOLTIP_SET_FIRST = "Sets the first item in a list."; LISTS_SET_INDEX_TOOLTIP_SET_FIRST: "Sets the first item in a list.",
Blockly.Msg.LISTS_SET_INDEX_TOOLTIP_SET_FROM_END = "Sets the item at the specified position in a list. #1 is the last item."; LISTS_SET_INDEX_TOOLTIP_SET_FROM_END: "Sets the item at the specified position in a list. #1 is the last item.",
Blockly.Msg.LISTS_SET_INDEX_TOOLTIP_SET_FROM_START = "Sets the item at the specified position in a list. #1 is the first item."; LISTS_SET_INDEX_TOOLTIP_SET_FROM_START: "Sets the item at the specified position in a list. #1 is the first item.",
Blockly.Msg.LISTS_SET_INDEX_TOOLTIP_SET_LAST = "Sets the last item in a list."; LISTS_SET_INDEX_TOOLTIP_SET_LAST: "Sets the last item in a list.",
Blockly.Msg.LISTS_SET_INDEX_TOOLTIP_SET_RANDOM = "Sets a random item in a list."; LISTS_SET_INDEX_TOOLTIP_SET_RANDOM: "Sets a random item in a list.",
Blockly.Msg.LISTS_SORT_HELPURL = "https://github.com/google/blockly/wiki/Lists#sorting-a-list"; LISTS_SORT_HELPURL: "https://github.com/google/blockly/wiki/Lists#sorting-a-list",
Blockly.Msg.LISTS_SORT_ORDER_ASCENDING = "ascending"; LISTS_SORT_ORDER_ASCENDING: "ascending",
Blockly.Msg.LISTS_SORT_ORDER_DESCENDING = "descending"; LISTS_SORT_ORDER_DESCENDING: "descending",
Blockly.Msg.LISTS_SORT_TITLE = "sort %1 %2 %3"; LISTS_SORT_TITLE: "sort %1 %2 %3",
Blockly.Msg.LISTS_SORT_TOOLTIP = "Sort a copy of a list."; LISTS_SORT_TOOLTIP: "Sort a copy of a list.",
Blockly.Msg.LISTS_SORT_TYPE_IGNORECASE = "alphabetic, ignore case"; LISTS_SORT_TYPE_IGNORECASE: "alphabetic, ignore case",
Blockly.Msg.LISTS_SORT_TYPE_NUMERIC = "numeric"; LISTS_SORT_TYPE_NUMERIC: "numeric",
Blockly.Msg.LISTS_SORT_TYPE_TEXT = "alphabetic"; LISTS_SORT_TYPE_TEXT: "alphabetic",
Blockly.Msg.LISTS_SPLIT_HELPURL = "https://github.com/google/blockly/wiki/Lists#splitting-strings-and-joining-lists"; LISTS_SPLIT_HELPURL: "https://github.com/google/blockly/wiki/Lists#splitting-strings-and-joining-lists",
Blockly.Msg.LISTS_SPLIT_LIST_FROM_TEXT = "make list from text"; LISTS_SPLIT_LIST_FROM_TEXT: "make list from text",
Blockly.Msg.LISTS_SPLIT_TEXT_FROM_LIST = "make text from list"; LISTS_SPLIT_TEXT_FROM_LIST: "make text from list",
Blockly.Msg.LISTS_SPLIT_TOOLTIP_JOIN = "Join a list of texts into one text, separated by a delimiter."; LISTS_SPLIT_TOOLTIP_JOIN: "Join a list of texts into one text, separated by a delimiter.",
Blockly.Msg.LISTS_SPLIT_TOOLTIP_SPLIT = "Split text into a list of texts, breaking at each delimiter."; LISTS_SPLIT_TOOLTIP_SPLIT: "Split text into a list of texts, breaking at each delimiter.",
Blockly.Msg.LISTS_SPLIT_WITH_DELIMITER = "with delimiter"; LISTS_SPLIT_WITH_DELIMITER: "with delimiter",
Blockly.Msg.ME = "Me"; ME: "Me",
Blockly.Msg.NEW_VARIABLE = "New variable..."; NEW_VARIABLE: "New variable...",
Blockly.Msg.NEW_VARIABLE_TITLE = "New variable name:"; NEW_VARIABLE_TITLE: "New variable name:",
Blockly.Msg.ORDINAL_NUMBER_SUFFIX = ""; ORDINAL_NUMBER_SUFFIX: "",
Blockly.Msg.PROCEDURES_ALLOW_STATEMENTS = "allow statements"; PROCEDURES_ALLOW_STATEMENTS: "allow statements",
Blockly.Msg.PROCEDURES_BEFORE_PARAMS = "with inputs:"; PROCEDURES_BEFORE_PARAMS: "with inputs:",
Blockly.Msg.PROCEDURES_CALLNORETURN_HELPURL = "https://en.wikipedia.org/wiki/Procedure_%28computer_science%29"; PROCEDURES_CALLNORETURN_HELPURL: "https://en.wikipedia.org/wiki/Procedure_%28computer_science%29",
Blockly.Msg.PROCEDURES_CALLNORETURN_TOOLTIP = "Run the user-defined function '%1'."; PROCEDURES_CALLNORETURN_TOOLTIP: "Run the user-defined function '%1'.",
Blockly.Msg.PROCEDURES_CALLRETURN_HELPURL = "https://en.wikipedia.org/wiki/Procedure_%28computer_science%29"; PROCEDURES_CALLRETURN_HELPURL: "https://en.wikipedia.org/wiki/Procedure_%28computer_science%29",
Blockly.Msg.PROCEDURES_CALLRETURN_TOOLTIP = "Run the user-defined function '%1' and use its output."; PROCEDURES_CALLRETURN_TOOLTIP: "Run the user-defined function '%1' and use its output.",
Blockly.Msg.PROCEDURES_CALL_BEFORE_PARAMS = "with Inputs:"; PROCEDURES_CALL_BEFORE_PARAMS: "with Inputs:",
Blockly.Msg.PROCEDURES_CALL = "Call"; PROCEDURES_CALL: "Call",
Blockly.Msg.PROCEDURES_CALL_END = ''; PROCEDURES_CALL_END: '',
Blockly.Msg.PROCEDURES_CREATE_DO = "Create '%1'"; PROCEDURES_CREATE_DO: "Create '%1'",
Blockly.Msg.PROCEDURES_DEFNORETURN_COMMENT = "Describe this function..."; PROCEDURES_DEFNORETURN_COMMENT: "Describe this function...",
Blockly.Msg.PROCEDURES_DEFNORETURN = "Create Function"; PROCEDURES_DEFNORETURN: "Create Function",
Blockly.Msg.PROCEDURES_DEFNORETURN_DO = ""; PROCEDURES_DEFNORETURN_DO: "",
Blockly.Msg.PROCEDURES_DEFNORETURN_HELPURL = "https://en.wikipedia.org/wiki/Procedure_%28computer_science%29"; PROCEDURES_DEFNORETURN_HELPURL: "https://en.wikipedia.org/wiki/Procedure_%28computer_science%29",
Blockly.Msg.PROCEDURES_DEFNORETURN_PROCEDURE = "do something"; PROCEDURES_DEFNORETURN_PROCEDURE: "do something",
Blockly.Msg.PROCEDURES_DEFNORETURN_TITLE = "to"; PROCEDURES_DEFNORETURN_TITLE: "to",
Blockly.Msg.PROCEDURES_DEFNORETURN_TOOLTIP = "Creates a function with no output."; PROCEDURES_DEFNORETURN_TOOLTIP: "Creates a function with no output.",
Blockly.Msg.PROCEDURES_DEFRETURN_HELPURL = "https://en.wikipedia.org/wiki/Procedure_%28computer_science%29"; PROCEDURES_DEFRETURN_HELPURL: "https://en.wikipedia.org/wiki/Procedure_%28computer_science%29",
Blockly.Msg.PROCEDURES_DEFRETURN_RETURN_TYPE = "return Type"; PROCEDURES_DEFRETURN_RETURN_TYPE: "return Type",
Blockly.Msg.PROCEDURES_DEFRETURN_RETURN = "return"; PROCEDURES_DEFRETURN_RETURN: "return",
Blockly.Msg.PROCEDURES_DEFRETURN_TOOLTIP = "Creates a function with an output."; PROCEDURES_DEFRETURN_TOOLTIP: "Creates a function with an output.",
Blockly.Msg.PROCEDURES_DEF_DUPLICATE_WARNING = "Warning: This function has duplicate parameters."; PROCEDURES_DEF_DUPLICATE_WARNING: "Warning: This function has duplicate parameters.",
Blockly.Msg.PROCEDURES_HIGHLIGHT_DEF = "Highlight function definition"; PROCEDURES_HIGHLIGHT_DEF: "Highlight function definition",
Blockly.Msg.PROCEDURES_IFRETURN_HELPURL = "http://c2.com/cgi/wiki?GuardClause"; PROCEDURES_IFRETURN_HELPURL: "http://c2.com/cgi/wiki?GuardClause",
Blockly.Msg.PROCEDURES_IFRETURN_TOOLTIP = "If a value is true, then return a second value."; PROCEDURES_IFRETURN_TOOLTIP: "If a value is true, then return a second value.",
Blockly.Msg.PROCEDURES_IFRETURN_WARNING = "Warning: This block may be used only within a function definition."; PROCEDURES_IFRETURN_WARNING: "Warning: This block may be used only within a function definition.",
Blockly.Msg.PROCEDURES_MUTATORARG_TITLE = "input name:"; PROCEDURES_MUTATORARG_TITLE: "input name:",
Blockly.Msg.PROCEDURES_MUTATORARG_TOOLTIP = "Add an input to the function."; PROCEDURES_MUTATORARG_TOOLTIP: "Add an input to the function.",
Blockly.Msg.PROCEDURES_MUTATORCONTAINER_TITLE = "inputs"; PROCEDURES_MUTATORCONTAINER_TITLE: "inputs",
Blockly.Msg.PROCEDURES_MUTATORCONTAINER_TOOLTIP = "Add, remove, or reorder inputs to this function."; PROCEDURES_MUTATORCONTAINER_TOOLTIP: "Add, remove, or reorder inputs to this function.",
Blockly.Msg.REDO = "Redo"; REDO: "Redo",
Blockly.Msg.REMOVE_COMMENT = "Remove Comment"; REMOVE_COMMENT: "Remove Comment",
Blockly.Msg.RENAME_VARIABLE = "Rename variable..."; RENAME_VARIABLE: "Rename variable...",
Blockly.Msg.RENAME_VARIABLE_TITLE = "Rename all '%1' variables to:"; RENAME_VARIABLE_TITLE: "Rename all '%1' variables to:",
Blockly.Msg.TODAY = "Today"; TODAY: "Today",
Blockly.Msg.UNDO = "Undo"; UNDO: "Undo",
PROCEDURES_DEFRETURN_TITLE: "zu",
Blockly.Msg.PROCEDURES_DEFRETURN_TITLE = Blockly.Msg.PROCEDURES_DEFNORETURN_TITLE; CONTROLS_IF_IF_TITLE_IF: "if",
Blockly.Msg.CONTROLS_IF_IF_TITLE_IF = Blockly.Msg.CONTROLS_IF_MSG_IF; CONTROLS_WHILEUNTIL_INPUT_DO: "do",
Blockly.Msg.CONTROLS_WHILEUNTIL_INPUT_DO = Blockly.Msg.CONTROLS_REPEAT_INPUT_DO; CONTROLS_IF_MSG_THEN: "do",
Blockly.Msg.CONTROLS_IF_MSG_THEN = Blockly.Msg.CONTROLS_REPEAT_INPUT_DO; CONTROLS_IF_ELSE_TITLE_ELSE: "else",
Blockly.Msg.CONTROLS_IF_ELSE_TITLE_ELSE = Blockly.Msg.CONTROLS_IF_MSG_ELSE; PROCEDURES_DEFRETURN_PROCEDURE: "do something",
Blockly.Msg.PROCEDURES_DEFRETURN_PROCEDURE = Blockly.Msg.PROCEDURES_DEFNORETURN_PROCEDURE; LISTS_GET_SUBLIST_INPUT_IN_LIST: "in List",
Blockly.Msg.LISTS_GET_SUBLIST_INPUT_IN_LIST = Blockly.Msg.LISTS_INLIST; LISTS_GET_INDEX_INPUT_IN_LIST: "in List",
Blockly.Msg.LISTS_GET_INDEX_INPUT_IN_LIST = Blockly.Msg.LISTS_INLIST; PROCEDURES_DEFRETURN_DO: "",
Blockly.Msg.MATH_CHANGE_TITLE_ITEM = Blockly.Msg.VARIABLES_DEFAULT_NAME; CONTROLS_IF_ELSEIF_TITLE_ELSEIF: "else if",
Blockly.Msg.PROCEDURES_DEFRETURN_DO = Blockly.Msg.PROCEDURES_DEFNORETURN_DO; LISTS_GET_INDEX_HELPURL: "https://github.com/google/blockly/wiki/Lists#getting-items-from-a-list",
Blockly.Msg.CONTROLS_IF_ELSEIF_TITLE_ELSEIF = Blockly.Msg.CONTROLS_IF_MSG_ELSEIF; CONTROLS_FOREACH_INPUT_DO: "do",
Blockly.Msg.LISTS_GET_INDEX_HELPURL = Blockly.Msg.LISTS_INDEX_OF_HELPURL; LISTS_SET_INDEX_INPUT_IN_LIST: "in List",
Blockly.Msg.CONTROLS_FOREACH_INPUT_DO = Blockly.Msg.CONTROLS_REPEAT_INPUT_DO; CONTROLS_FOR_INPUT_DO: "do",
Blockly.Msg.LISTS_SET_INDEX_INPUT_IN_LIST = Blockly.Msg.LISTS_INLIST; LISTS_CREATE_WITH_ITEM_TITLE: "item",
Blockly.Msg.CONTROLS_FOR_INPUT_DO = Blockly.Msg.CONTROLS_REPEAT_INPUT_DO; TEXT_APPEND_VARIABLE: "item",
Blockly.Msg.LISTS_CREATE_WITH_ITEM_TITLE = Blockly.Msg.VARIABLES_DEFAULT_NAME; TEXT_CREATE_JOIN_ITEM_TITLE_ITEM: "item",
Blockly.Msg.TEXT_APPEND_VARIABLE = Blockly.Msg.VARIABLES_DEFAULT_NAME; LISTS_INDEX_OF_INPUT_IN_LIST: "in List",
Blockly.Msg.TEXT_CREATE_JOIN_ITEM_TITLE_ITEM = Blockly.Msg.VARIABLES_DEFAULT_NAME; PROCEDURES_DEFRETURN_COMMENT: "describe this function…",
Blockly.Msg.LISTS_INDEX_OF_INPUT_IN_LIST = Blockly.Msg.LISTS_INLIST;
Blockly.Msg.PROCEDURES_DEFRETURN_COMMENT = Blockly.Msg.PROCEDURES_DEFNORETURN_COMMENT;
Blockly.Msg.senseBox_basic_blue = "Blue"; senseBox_basic_blue: "Blue",
Blockly.Msg.senseBox_basic_green = "Gree"; senseBox_basic_green: "Gree",
Blockly.Msg.senseBox_basic_red = "Red"; senseBox_basic_red: "Red",
Blockly.Msg.senseBox_basic_state = "Status"; senseBox_basic_state: "Status",
Blockly.Msg.senseBox_foto = "Light Dependent Resistor"; senseBox_foto: "Light Dependent Resistor",
Blockly.Msg.senseBox_foto_tip = "simple light depending resistor, gives values between 0 and 1023"; senseBox_foto_tip: "simple light depending resistor, gives values between 0 and 1023",
Blockly.Msg.senseBox_gas = "Gas (VOC)"; senseBox_gas: "Gas (VOC)",
Blockly.Msg.senseBox_ir = "infrared distance sensor"; senseBox_ir: "infrared distance sensor",
Blockly.Msg.senseBox_ir_tip = "infrared distance sensor can measure the distance between 10 and 80 cm"; senseBox_ir_tip: "infrared distance sensor can measure the distance between 10 and 80 cm",
Blockly.Msg.senseBox_lux = "lightsensor"; senseBox_lux: "lightsensor",
Blockly.Msg.senseBox_lux_tip = "Light Sensor can measure the illuminance in lux"; senseBox_lux_tip: "Light Sensor can measure the illuminance in lux",
Blockly.Msg.senseBox_measurement = "Measurement"; senseBox_measurement: "Measurement",
Blockly.Msg.senseBox_measurements = "Measurements"; senseBox_measurements: "Measurements",
Blockly.Msg.senseBox_off = "off"; senseBox_off: "off",
Blockly.Msg.senseBox_on = "on"; senseBox_on: "on",
Blockly.Msg.senseBox_output_filename = "filename";
Blockly.Msg.senseBox_output_format = "format:";
Blockly.Msg.senseBox_output_linebreak = "linebreak";
Blockly.Msg.senseBox_output_networkid = "networkID";
Blockly.Msg.senseBox_output_password = "Password";
Blockly.Msg.senseBox_output_safetosd = "safe to sd";
Blockly.Msg.senseBox_output_safetosd_tip = "Save Measurment to SD-Card";
Blockly.Msg.senseBox_output_serialprint = "Print on Serial Monitor";
Blockly.Msg.senseBox_output_timestamp = "timestamp";
Blockly.Msg.senseBox_piezo_tip = "simple piezo to make sound";
Blockly.Msg.senseBox_poti = "Potentiometer";
Blockly.Msg.senseBox_poti_tip = "Potentiometer"
Blockly.Msg.senseBox_sensor = "Sensors";
Blockly.Msg.senseBox_serial_tip = "prints the values to the serial monitor in the arduino IDE. Good way to have a fast and easy feedback for your programm";
Blockly.Msg.senseBox_soil = "Soil Moisture";
senseBox_output_filename: "filename",
senseBox_output_format: "format:",
senseBox_output_linebreak: "linebreak",
senseBox_output_networkid: "networkID",
senseBox_output_password: "Password",
senseBox_output_safetosd: "safe to sd",
senseBox_output_safetosd_tip: "Save Measurment to SD-Card",
senseBox_output_serialprint: "Print on Serial Monitor",
senseBox_output_timestamp: "timestamp",
senseBox_piezo_tip: "simple piezo to make sound",
senseBox_poti: "Potentiometer",
senseBox_poti_tip: "Potentiometer",
senseBox_sensor: "Sensors",
senseBox_serial_tip: "prints the values to the serial monitor in the arduino IDE. Good way to have a fast and easy feedback for your programm",
senseBox_soil: "Soil Moisture",
}

View File

@ -1,235 +1,233 @@
import Blockly from 'blockly' export const UI = {
/**
* Toolbox
*/
toolbox_sensors: "Sensors",
toolbox_logic: "Logic",
toolbox_loops: "Loops",
toolbox_math: "Math",
toolbox_io: "Input/Output",
toolbox_time: "Time",
toolbox_functions: "Functions",
toolbox_variables: "Variables",
/**
* Tooltips
*
*/
tooltip_compile_code: "Compile code",
tooltip_save_blocks: "Save blocks",
tooltip_open_blocks: "Open blocks",
tooltip_screenshot: "Download screenshot",
tooltip_clear_workspace: "Reset workspace",
tooltip_share_blocks: "Share blocks",
tooltip_show_code: "Show code",
tooltip_hide_code: "Hide code",
tooltip_delete_project: "Delete project",
tooltip_project_name: "Project name",
tooltip_download_project: "Download project",
tooltip_open_project: "Open project",
tooltip_update_project: "Update project",
tooltip_save_project: "Save project",
tooltip_create_project: "Create project",
tooltip_share_project: "Share project",
tooltip_reset_workspace: "Reset workspace",
tooltip_copy_link: "Cooy link",
tooltip_trashcan_hide: "hide deleted blocks",
tooltip_trashcan_delete: "empty trashcan",
tooltip_project_title: "Project title",
tooltip_check_solution: "Check solution",
/**
* Messages
*
*/
messages_delete_project_failed: "Error deleting the project. Try again.",
messages_reset_workspace_success: "The project has been successfully reset.",
messages_PROJECT_UPDATE_SUCCESS: "The project was successfully updated.",
messages_GALLERY_UPDATE_SUCCESS: "The gallery project was successfully updated.",
messages_PROJECT_UPDATE_FAIL: "Error updating the project. Try again.",
messages_GALLERY_UPDATE_FAIL: "Error updating the gallery project. Try again.",
messages_gallery_save_fail_1: "Error saving the ",
messages_gallery_save_fail_2: "Project. Try again.",
messages_SHARE_SUCCESS: 'Share program',
messages_SHARE_FAIL: "Error creating a link to share your program. Try again.",
messages_copylink_success: 'Link successfully saved to clipboard.',
messages_rename_success_01: 'The project was successfully saved to ',
messages_rename_success_02: 'renamed.',
messages_newblockly_head: 'Welcome to the new version Blockly for the senseBox',
messages_newblockly_text: "The new Blockly version is currently in testing. If you find any errors please report them in our [forum](https://forum.sensebox.de/t/neue-blockly-version-beta-test-und-feedback/1176). You can find an overview of all new features [here](/news)",
messages_GET_TUTORIAL_FAIL: 'Back to tutorials overview',
messages_LOGIN_FAIL: 'The username or password is incorrect.',
messages_login_error: "Enter both a username and a password.",
/**
* Share Dialog
*/
sharedialog_headline: "Your link has been created.",
sharedialog_text: "You can share your program using the following link.",
/**
* Project rename Dialog
*/
renamedialog_headline: "Rename project",
renamedialog_text: "Please enter a name for the project and confirm it by clicking 'Confirm'.",
/**
* Compile Dialog
*
*/
compiledialog_headline: "Error",
compiledialog_text: "While compiling an error occured. Please check your blocks and try again",
/**
* Buttons
*
*/
button_cancel: "Cancel",
button_close: "Close",
button_accept: "Ok",
button_compile: "Compile",
button_create_variableCreate: "Create Variable",
button_back: "Back",
button_next: "Next step",
button_tutorial_overview: "Tutorial overview",
button_login: "Login",
/**
*
*/
filename: "Filename",
projectname: "Projectname",
/**
* Settings
*/
settings_head: "Settings",
settings_language: "Language",
settings_language_text: "Selection of the language applies to the entire application. A distinction can be made between German and English.",
settings_language_de: "German",
settings_language_en: "English",
settings_renderer: "Renderer",
settings_renderer_text: "The selected renderer determines the appearance of the blocks. A distinction can be made between 'Geras' and 'Zelos', whereby 'Zelos' is particularly suitable for a touch application.",
settings_statistics: "Statistics",
settings_statistics_text: "The display of statistics on the usage of the blocks above the workspace can be shown or hidden.",
settings_statistics_on: "On",
settings_statistics_off: "Off",
/**
* 404
*/
notfound_head: "The page you requested cannot be found.",
notfound_text: "The page you are looking for may have been removed, its name changed, or it may be temporarily unavailable.",
/**
* Labels
*/
labels_donotshowagain: 'Do not show dialog again',
labels_here: 'here',
labels_username: 'Email or username',
labels_password: "Password",
/**
* Badges
*/
badges_explaination: "An overview of all badges received in the Blockly for senseBox context can be found ",
badges_ASSIGNE_BADGE_SUCCESS_01: "Congratulations! You have received the badge ",
badges_ASSIGNE_BADGE_SUCCESS_02: ".",
/**
* Tutorials
*/
tutorials_assessment_task: "Task",
tutorials_hardware_head: "For the implementation you need the following hardware:",
tutorials_hardware_moreInformation: "You can find more information about the hardware component.",
tutorials_hardware_here: "here",
tutorials_requirements: "Before continuing with this tutorial, you should have successfully completed the following tutorials:",
/**
* Tutorial Builder
*/
builder_solution: "Solution",
builder_solution_submit: "Submit Solution",
builder_example_submit: "Submit example",
builder_comment: "Note: You can delete the initial setup() or infinite loop() block. Additionally, it is possible to select only any block, among others, without displaying it as disabled.",
builder_hardware_order: "Note that the order of selection is authoritative.",
builder_hardware_helper: "Select at least one hardware component.",
builder_requirements_head: "Requirements.",
builder_requirements_order: "Note that the order of ticking is authoritative.",
/**
* Login
*/
login_head: "Login",
login_osem_account_01: "You need to have an ",
login_osem_account_02: "Account to login",
login_lostpassword: "Lost your password?",
login_createaccount: "If you don't have an openSenseMap account please register on ",
/**
* Navbar
*/
navbar_tutorials: "Tutorials",
navbar_tutorialbuilder: "Create tutorial",
navbar_gallery: "Gallery",
navbar_projects: "Projects",
navbar_menu: "Menu",
navbar_login: "Login",
navbar_mybadges: "myBadges",
navbar_account: "Account",
navbar_logout: "Logout",
navbar_settings: "Settings",
/**
* Codeviewer
*/
codeviewer_arduino: "Arduino Source Code",
codeviewer_xml: "XML Blocks",
/** /**
* Toolbox * Overlay
*/ */
Blockly.Msg.toolbox_sensors = "Sensors";
Blockly.Msg.toolbox_logic = "Logic";
Blockly.Msg.toolbox_loops = "Loops";
Blockly.Msg.toolbox_math = "Math";
Blockly.Msg.toolbox_io = "Input/Output";
Blockly.Msg.toolbox_time = "Time";
Blockly.Msg.toolbox_functions = "Functions";
Blockly.Msg.toolbox_variables = "Variables";
/** compile_overlay_head: "Your program is now compiled and downloaded",
* Tooltips compile_overlay_text: "Then copy it to your senseBox MCU",
* compile_overlay_help: "You need help? Have a look here: ",
*/
Blockly.Msg.tooltip_compile_code = "Compile code"
Blockly.Msg.tooltip_save_blocks = "Save blocks";
Blockly.Msg.tooltip_open_blocks = "Open blocks";
Blockly.Msg.tooltip_screenshot = "Download screenshot";
Blockly.Msg.tooltip_clear_workspace = "Reset workspace";
Blockly.Msg.tooltip_share_blocks = "Share blocks";
Blockly.Msg.tooltip_show_code = "Show code";
Blockly.Msg.tooltip_hide_code = "Hide code "
Blockly.Msg.tooltip_delete_project = "Delete project"
Blockly.Msg.tooltip_project_name = "Project name"
Blockly.Msg.tooltip_download_project = "Download project"
Blockly.Msg.tooltip_open_project = "Open project"
Blockly.Msg.tooltip_update_project = "Update project"
Blockly.Msg.tooltip_save_project = "Save project"
Blockly.Msg.tooltip_create_project = "Create project"
Blockly.Msg.tooltip_share_project = "Share project"
Blockly.Msg.tooltip_reset_workspace = "Reset workspace"
Blockly.Msg.tooltip_copy_link = "Cooy link"
Blockly.Msg.tooltip_trashcan_hide = "hide deleted blocks"
Blockly.Msg.tooltip_trashcan_delete = "empty trashcan"
Blockly.Msg.tooltip_project_title = "Project title"
Blockly.Msg.tooltip_check_solution = "Check solution"
/**
* Messages
*
*/
Blockly.Msg.messages_delete_project_failed = "Error deleting the project. Try again."
Blockly.Msg.messages_reset_workspace_success = "The project has been successfully reset."
Blockly.Msg.messages_PROJECT_UPDATE_SUCCESS = "The project was successfully updated."
Blockly.Msg.messages_GALLERY_UPDATE_SUCCESS = "The gallery project was successfully updated."
Blockly.Msg.messages_PROJECT_UPDATE_FAIL = "Error updating the project. Try again."
Blockly.Msg.messages_GALLERY_UPDATE_FAIL = "Error updating the gallery project. Try again."
Blockly.Msg.messages_gallery_save_fail_1 = "Error saving the "
Blockly.Msg.messages_gallery_save_fail_2 = "Project. Try again."
Blockly.Msg.messages_SHARE_SUCCESS = 'Share program'
Blockly.Msg.messages_SHARE_FAIL = "Error creating a link to share your program. Try again."
Blockly.Msg.messages_copylink_success = 'Link successfully saved to clipboard.'
Blockly.Msg.messages_rename_success_01 = 'The project was successfully saved to '
Blockly.Msg.messages_rename_success_02 = 'renamed.'
Blockly.Msg.messages_newblockly_head = 'Welcome to the new version Blockly for the senseBox'
Blockly.Msg.messages_newblockly_text = "The new Blockly version is currently in testing. You can find all the news here: "
Blockly.Msg.messages_GET_TUTORIAL_FAIL = 'Back to tutorials overview'
Blockly.Msg.messages_LOGIN_FAIL = 'The username or password is incorrect.'
Blockly.Msg.messages_login_error = "Enter both a username and a password."
/**
* Share Dialog
*/
Blockly.Msg.sharedialog_headline = "Your link has been created.";
Blockly.Msg.sharedialog_text = "You can share your program using the following link.";
/**
* Project rename Dialog
*/
Blockly.Msg.renamedialog_headline = "Rename project";
Blockly.Msg.renamedialog_text = "Please enter a name for the project and confirm it by clicking 'Confirm'."
/**
* Compile Dialog
*
*/
Blockly.Msg.compiledialog_headline = "Error"
Blockly.Msg.compiledialog_text = "While compiling an error occured. Please check your blocks and try again"
/**
* Tooltip Viewer
*/
/** tooltip_viewer: "Help",
* Buttons tooltip_moreInformation: "More informations can be found ",
* tooltip_hint: "Select a Block to show the hint",
*/
Blockly.Msg.button_cancel = "Cancel";
Blockly.Msg.button_close = "Close";
Blockly.Msg.button_accept = "Ok";
Blockly.Msg.button_compile = "Compile";
Blockly.Msg.button_create_variableCreate = "Create Variable";
Blockly.Msg.button_back = "Back"
Blockly.Msg.button_next = "Next step"
Blockly.Msg.button_tutorial_overview = "Tutorial overview"
Blockly.Msg.button_login = "Login"
/**
*
*/
Blockly.Msg.filename = "Filename";
Blockly.Msg.projectname = "Projectname";
/**
* Settings
*/
Blockly.Msg.settings_head = "Settings"
Blockly.Msg.settings_language = "Language"
Blockly.Msg.settings_language_text = "Selection of the language applies to the entire application. A distinction can be made between German and English."
Blockly.Msg.settings_language_de = "German"
Blockly.Msg.settings_language_en = "English"
Blockly.Msg.settings_renderer = "Renderer"
Blockly.Msg.settings_renderer_text = "The selected renderer determines the appearance of the blocks. A distinction can be made between 'Geras' and 'Zelos', whereby 'Zelos' is particularly suitable for a touch application."
Blockly.Msg.settings_statistics = "Statistics"
Blockly.Msg.settings_statistics_text = "The display of statistics on the usage of the blocks above the workspace can be shown or hidden."
Blockly.Msg.settings_statistics_on = "On"
Blockly.Msg.settings_statistics_off = "Off"
/**
* 404
*/
Blockly.Msg.notfound_head = "The page you requested cannot be found."
Blockly.Msg.notfound_text = "The page you are looking for may have been removed, its name changed, or it may be temporarily unavailable."
/**
* Labels
*/
Blockly.Msg.labels_donotshowagain = 'Do not show dialog again'
Blockly.Msg.labels_here = 'here'
Blockly.Msg.labels_username = 'Email or username'
Blockly.Msg.labels_password = "Password"
/**
* Badges
*/
Blockly.Msg.badges_explaination = "An overview of all badges received in the Blockly for senseBox context can be found "
Blockly.Msg.badges_ASSIGNE_BADGE_SUCCESS_01 = "Congratulations! You have received the badge "
Blockly.Msg.badges_ASSIGNE_BADGE_SUCCESS_02 = "."
/**
* Tutorials
*/
Blockly.Msg.tutorials_assessment_task = "Task"
Blockly.Msg.tutorials_hardware_head = "For the implementation you need the following hardware:"
Blockly.Msg.tutorials_hardware_moreInformation = "You can find more information about the hardware component."
Blockly.Msg.tutorials_hardware_here = "here";
Blockly.Msg.tutorials_requirements = "Before continuing with this tutorial, you should have successfully completed the following tutorials:"
/**
* Tutorial Builder
*/
Blockly.Msg.builder_solution = "Solution"
Blockly.Msg.builder_solution_submit = "Submit Solution"
Blockly.Msg.builder_example_submit = "Submit example"
Blockly.Msg.builder_comment = "Note: You can delete the initial setup() or infinite loop() block. Additionally, it is possible to select only any block, among others, without displaying it as disabled."
Blockly.Msg.builder_hardware_order = "Note that the order of selection is authoritative."
Blockly.Msg.builder_hardware_helper = "Select at least one hardware component."
Blockly.Msg.builder_requirements_head = "Requirements."
Blockly.Msg.builder_requirements_order = "Note that the order of ticking is authoritative."
/**
* Login
*/
Blockly.Msg.login_head = "Login"
Blockly.Msg.login_osem_account_01 = "You need to have an "
Blockly.Msg.login_osem_account_02 = "Account to login"
Blockly.Msg.login_lostpassword = "Lost your password?"
Blockly.Msg.login_createaccount = "If you don't have an openSenseMap account please register on "
/**
* Navbar
*/
Blockly.Msg.navbar_tutorials = "Tutorials"
Blockly.Msg.navbar_tutorialbuilder = "Create tutorial"
Blockly.Msg.navbar_gallery = "Gallery"
Blockly.Msg.navbar_projects = "Projects"
Blockly.Msg.navbar_menu = "Menu"
Blockly.Msg.navbar_login = "Login"
Blockly.Msg.navbar_mybadges = "myBadges"
Blockly.Msg.navbar_account = "Account"
Blockly.Msg.navbar_logout = "Logout"
Blockly.Msg.navbar_settings = "Settings"
/**
* Codeviewer
*/
Blockly.Msg.codeviewer_arduino = "Arduino Source Code"
Blockly.Msg.codeviewer_xml = "XML Blocks"
/**
* Overlay
*/
Blockly.Msg.compile_overlay_head = "Your program is now compiled and downloaded";
Blockly.Msg.compile_overlay_text = "Then copy it to your senseBox MCU";
Blockly.Msg.compile_overlay_help = "You need help? Have a look here: "
/**
* Tooltip Viewer
*/
Blockly.Msg.tooltip_viewer = "Help"
Blockly.Msg.tooltip_moreInformation = "More informations can be found "
Blockly.Msg.tooltip_hint = "Select a Block to show the hint"
}

View File

@ -1,23 +1,24 @@
import Blockly from 'blockly'; export const VARIABLES = {
/**
/** * Typed Variable Modal
* Typed Variable Modal *
* */
*/
Blockly.Msg.TYPED_VAR_MODAL_CONFIRM_BUTTON = "Ok"; TYPED_VAR_MODAL_CONFIRM_BUTTON: "Ok",
Blockly.Msg.TYPED_VAR_MODAL_VARIABLE_NAME_LABEL = "Variablen Name: "; TYPED_VAR_MODAL_VARIABLE_NAME_LABEL: "Variablen Name: ",
Blockly.Msg.TYPED_VAR_MODAL_TYPES_LABEL = "Variable Typen"; TYPED_VAR_MODAL_TYPES_LABEL: "Variable Typen",
Blockly.Msg.TYPED_VAR_MODAL_CANCEL_BUTTON = "Abbrechen"; TYPED_VAR_MODAL_CANCEL_BUTTON: "Abbrechen",
Blockly.Msg.TYPED_VAR_MODAL_TITLE = "Erstelle Variable"; TYPED_VAR_MODAL_TITLE: "Erstelle Variable",
Blockly.Msg.TYPED_VAR_MODAL_INVALID_NAME = "Der Name ist ungültig, bitte versuche einen anderen." TYPED_VAR_MODAL_INVALID_NAME: "Der Name ist ungültig, bitte versuche einen anderen.",
Blockly.Msg.VARIABLES_DEFAULT_NAME = "item"; VARIABLES_DEFAULT_NAME: "item",
Blockly.Msg.VARIABLES_GET_CREATE_SET = "Create 'set %1'"; VARIABLES_GET_CREATE_SET: "Create 'set %1'",
Blockly.Msg.VARIABLES_GET_HELPURL = "https://github.com/google/blockly/wiki/Variables#get"; VARIABLES_GET_HELPURL: "https://github.com/google/blockly/wiki/Variables#get",
Blockly.Msg.VARIABLES_GET_TOOLTIP = "Returns the value of this variable."; VARIABLES_GET_TOOLTIP: "Returns the value of this variable.",
Blockly.Msg.VARIABLES_SET = "set %1 to %2"; VARIABLES_SET: "set %1 to %2",
Blockly.Msg.VARIABLES_SET_CREATE_GET = "Create 'get %1'"; VARIABLES_SET_CREATE_GET: "Create 'get %1'",
Blockly.Msg.VARIABLES_SET_HELPURL = "https://github.com/google/blockly/wiki/Variables#set"; VARIABLES_SET_HELPURL: "https://github.com/google/blockly/wiki/Variables#set",
Blockly.Msg.VARIABLES_SET_TOOLTIP = "Sets this variable to be equal to the input."; VARIABLES_SET_TOOLTIP: "Sets this variable to be equal to the input.",
}

View File

@ -1,37 +1,39 @@
import Blockly from 'blockly' export const WEBSERVER = {
/** /**
* Webserver * Webserver
*/ */
Blockly.Msg.senseBox_ip_address = "IP-Address"; senseBox_ip_address: "IP-Address",
Blockly.Msg.senseBox_ip_address_tip = "Returns the IP address as a string."; senseBox_ip_address_tip: "Returns the IP address as a string.",
Blockly.Msg.senseBox_init_http_server_tip = "Initializes a http server on the specified port."; senseBox_init_http_server_tip: "Initializes a http server on the specified port.",
Blockly.Msg.senseBox_init_http_server = "Initialize HTTP-Server"; senseBox_init_http_server: "Initialize HTTP-Server",
Blockly.Msg.senseBox_http_on_client_connect = "If client is connected:"; senseBox_http_on_client_connect: "If client is connected:",
Blockly.Msg.senseBox_http_on_client_connect_tip = "Checks if a client is connected and executes given statement in that case."; senseBox_http_on_client_connect_tip: "Checks if a client is connected and executes given statement in that case.",
Blockly.Msg.senseBox_http_method = "Method"; senseBox_http_method: "Method",
Blockly.Msg.senseBox_http_method_tip = "Method of the current HTTP request"; senseBox_http_method_tip: "Method of the current HTTP request",
Blockly.Msg.senseBox_http_uri = "URI"; senseBox_http_uri: "URI",
Blockly.Msg.senseBox_http_uri_tip = "URI of requested resource of the current HTTP request"; senseBox_http_uri_tip: "URI of requested resource of the current HTTP request",
Blockly.Msg.senseBox_http_user_agent = "User-Agent"; senseBox_http_user_agent: "User-Agent",
Blockly.Msg.senseBox_http_user_agent_tip = "The User-Agent send along with the current HTTP request"; senseBox_http_user_agent_tip: "The User-Agent send along with the current HTTP request",
Blockly.Msg.senseBox_http_protocol_version = "HTTP Version"; senseBox_http_protocol_version: "HTTP Version",
Blockly.Msg.senseBox_http_protocol_version_tip = "The HTTP Version of the current HTTP request"; senseBox_http_protocol_version_tip: "The HTTP Version of the current HTTP request",
Blockly.Msg.senseBox_http_success_tip = "Send a successful HTTP response with content."; senseBox_http_success_tip: "Send a successful HTTP response with content.",
Blockly.Msg.senseBox_http_not_found_tip = "Send a predefined 404 HTTP response."; senseBox_http_not_found_tip: "Send a predefined 404 HTTP response.",
Blockly.Msg.senseBox_http_success = "Succesful"; senseBox_http_success: "Succesful",
Blockly.Msg.senseBox_http_success_l2 = "HTTP reponse"; senseBox_http_success_l2: "HTTP reponse",
Blockly.Msg.senseBox_http_success_buildhtml = "HTML:" senseBox_http_success_buildhtml: "HTML:",
Blockly.Msg.senseBox_http_not_found = "404 Not found"; senseBox_http_not_found: "404 Not found",
Blockly.Msg.senseBox_html_document = "HTML"; senseBox_html_document: "HTML",
Blockly.Msg.senseBox_html_header = "<head>"; senseBox_html_header: "<head>",
Blockly.Msg.senseBox_html_header_end = "</head>"; senseBox_html_header_end: "</head>",
Blockly.Msg.senseBox_html_body = "<body>"; senseBox_html_body: "<body>",
Blockly.Msg.senseBox_html_body_end = "</body>"; senseBox_html_body_end: "</body>",
Blockly.Msg.senseBox_html_general_tag_tip = "A general HTML tag building block."; senseBox_html_general_tag_tip: "A general HTML tag building block.",
Blockly.Msg.senseBox_html_document_tip = "A block for generating a HTML document."; senseBox_html_document_tip: "A block for generating a HTML document.",
Blockly.Msg.senseBox_tag_first_mutator_tip = "Mandatory children to this block."; senseBox_tag_first_mutator_tip: "Mandatory children to this block.",
Blockly.Msg.senseBox_tag_optional_mutator_tip = "Add more children to the block."; senseBox_tag_optional_mutator_tip: "Add more children to the block.",
Blockly.Msg.sensebox_web_readHTML_filename = "File:"; sensebox_web_readHTML_filename: "File:",
Blockly.Msg.senseBox_sd_web_readHTML = "Read HTML from SD Card"; senseBox_sd_web_readHTML: "Read HTML from SD Card",
}

File diff suppressed because it is too large Load Diff

View File

@ -15,17 +15,21 @@ class Content extends Component {
componentDidMount() { componentDidMount() {
if (this.props.language === 'de_DE') { if (this.props.language === 'de_DE') {
console.log("change Language")
Blockly.setLocale(De); Blockly.setLocale(De);
} else if (this.props.language === 'en_US') { } else if (this.props.language === 'en_US') {
Blockly.setLocale(En); Blockly.setLocale(En);
} }
} }
componentDidUpdate(props){ componentDidUpdate(props) {
if(props.language !== this.props.language){ console.log(this.props.language)
if (props.language !== this.props.language) {
if (this.props.language === 'de_DE') { if (this.props.language === 'de_DE') {
console.log("change Language")
Blockly.setLocale(De); Blockly.setLocale(De);
} else if (this.props.language === 'en_US') { } else if (this.props.language === 'en_US') {
console.log("change Language")
Blockly.setLocale(En); Blockly.setLocale(En);
} }
} }

View File

@ -1,15 +1,13 @@
import React, { Component } from 'react'; import React, { Component } from 'react';
import PropTypes from 'prop-types'; import PropTypes from 'prop-types';
import { connect } from 'react-redux'; import { connect } from 'react-redux';
import { Link } from 'react-router-dom';
import Dialog from '../Dialog'; import Dialog from '../Dialog';
import { withStyles } from '@material-ui/core/styles'; import { withStyles } from '@material-ui/core/styles';
import Checkbox from '@material-ui/core/Checkbox'; import Checkbox from '@material-ui/core/Checkbox';
import FormControlLabel from '@material-ui/core/FormControlLabel'; import FormControlLabel from '@material-ui/core/FormControlLabel';
import * as Blockly from 'blockly' import * as Blockly from 'blockly'
import ReactMarkdown from 'react-markdown';
const styles = (theme) => ({ const styles = (theme) => ({
link: { link: {
@ -64,7 +62,7 @@ class HintTutorialExists extends Component {
button={Blockly.Msg.button_close} button={Blockly.Msg.button_close}
> >
<div> <div>
{Blockly.Msg.messages_newblockly_text}<Link to="/news" className={this.props.classes.link}>Blockly News</Link> <ReactMarkdown linkTarget="_blank">{Blockly.Msg.messages_newblockly_text}</ReactMarkdown>
</div> </div>
<FormControlLabel <FormControlLabel
style={{ marginTop: '20px' }} style={{ marginTop: '20px' }}