diff --git a/src/assets/i18n/de.json b/src/assets/i18n/de.json index bbb6c2e..33adcd7 100644 --- a/src/assets/i18n/de.json +++ b/src/assets/i18n/de.json @@ -63,6 +63,7 @@ "TITLE": "Over The Air Programmierung", "BTN_NEXT": "Weiter", "BTN_CLOSE": "Schließen", + "BTN_REQUEST":"OTA Modus aktivieren!", "BTN_BACK": "Zurück", "INTRO": { "TITLE": "Willkommen", @@ -78,7 +79,16 @@ "STEPS": "Um den OTA Modus zu aktivieren...", "STEP1": "halte den den 'Switch' Knopf (grau oder blau) gedrückt", "STEP2": "drücke den roten 'Reset' Knopf einmal", - "STEP3": "lasse den 'Switch' Knopf nach einer Sekunde los." + "STEP3": "lasse den 'Switch' Knopf nach einer Sekunde los.", + "AUTOMATIC":{ + "STEP1":"Laden den Over-the-Air Sketch der openSenseMap auf die senseBox", + "STEP2":"Verbinde dich mit gleichen Netzwekr in dem die senseBox eingewählt ist", + "STEP3":"Klicke auf OTA Modus aktivieren!" + } + }, + "OTAMODESELECTION":{ + "AUTOMATIC":"Wähle diesen Modus wenn du den openSenseMap Sketch nach dem 20.03.2020 auf die senseBox hochgeladen hast!", + "MANUAL":"Wähle diesen Modus aus um die senseBox manuell in den OTA Modus zu schalten!" }, "COMPILATION": { "COMPILING": { diff --git a/src/assets/i18n/en.json b/src/assets/i18n/en.json index 45b0f91..c3458e3 100644 --- a/src/assets/i18n/en.json +++ b/src/assets/i18n/en.json @@ -22,7 +22,7 @@ "HINT": "Hint: A web version of Blockly for senseBox is available as well!" }, "LOGIN":{ - "LOADING":"Logging in...", + "LOADING":"Logging in..." }, "BLOCKLY": { "TITLE": "Blockly for senseBox", @@ -58,6 +58,7 @@ "BTN_NEXT": "Continue", "BTN_CLOSE": "Close", "BTN_BACK": "Back", + "BTN_REQUEST":"Enable OTA Mode", "INTRO": { "TITLE": "Welcome", "TEXT": "To transfer your code to your senseBox over the air (OTA), please follow these steps.", @@ -71,8 +72,17 @@ "TEXT": "To transfer your code, the senseBox must be in OTA mode.
This is indicated by the green blinking LED next to the red reset button.", "STEPS": "To enable OTA mode...", "STEP1": "press & hold the switch button (gray or blue)", - "STEP2": "press the red reset button shortly", - "STEP3": "release the switch button after one second" + "STEP2": "press the red r eset button shortly", + "STEP3": "release the switch button after one second", + "AUTOMATIC":{ + "STEP1":"Upload the Over-the-Air Sketch from the OpenSenseMap to the senseBox", + "STEP2":"Connect this device to the same network the senseBox is connected with", + "STEP3":"Click Enable OTA Mode!" + } + }, + "OTAMODESELECTION":{ + "AUTOMATIC":"Choose this mode if your senseBox is currently running an OpenSenseMap Sketch acquired after 20.03.2020", + "MANUAL":"Choose this mode if you have uploaded the OTA Sketch" }, "COMPILATION": { "COMPILING": { diff --git a/src/pages/error/error.html b/src/pages/error/error.html index 053c7bb..ac1f0d9 100644 --- a/src/pages/error/error.html +++ b/src/pages/error/error.html @@ -9,7 +9,7 @@ - There was an error when trying to login. The error code is:{{error.message}}. + There was an error when trying to login. The error code is:{{error.message}}

{{errorMessages[error.message]}}

diff --git a/src/pages/ota-wizard/ota-wizard.html b/src/pages/ota-wizard/ota-wizard.html index 135b497..72af9e4 100644 --- a/src/pages/ota-wizard/ota-wizard.html +++ b/src/pages/ota-wizard/ota-wizard.html @@ -51,7 +51,7 @@
- {{ ' OTAWIZ.OTAMODESELECTION.AUTOMATIC | translate'}} + {{ 'OTAWIZ.OTAMODESELECTION.AUTOMATIC' | translate}}
@@ -62,7 +62,7 @@
- {{ ' OTAWIZ.OTAMODESELECTION.MANUAL | translate'}} + {{ 'OTAWIZ.OTAMODESELECTION.MANUAL' | translate}}
@@ -71,8 +71,8 @@
- - + + @@ -92,10 +92,7 @@ - - - - +
    @@ -105,7 +102,6 @@
-