updated translation and slides

development
Thiemann96 5 years ago
parent 0e3f43e2ec
commit 5206c3ab09

@ -83,7 +83,7 @@
"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!"
"STEP3":"Klicke auf 'Weiter'!"
}
},
"OTAMODESELECTION":{

@ -77,7 +77,7 @@
"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!"
"STEP3":"Click Continue!"
}
},
"OTAMODESELECTION":{

@ -136,7 +136,7 @@
</ng-container>
</ion-slide>
<!-- wifi selection -->
<ion-slide id="wifi-slide" *ngIf="!slideIsHidden(slideWifi)">
<ion-slide id="wifi-slide" *ngIf="!wifiSlideHidden">
<ion-grid>
<div id="wifi-manual" *ngIf="state.wifiSelection == 'manual'">
<ion-row align-items-center>

@ -135,7 +135,6 @@ export class OtaWizardPage implements OnInit, OnDestroy {
}
}
showAutomatic() {
this.slides.lockSwipeToNext(false);
this.wifiSlideHidden = true;
this.automatic = true;
this.manual = false;
@ -143,7 +142,6 @@ export class OtaWizardPage implements OnInit, OnDestroy {
}
showManual() {
this.slides.lockSwipeToNext(false);
this.wifiSlideHidden = false;
this.manual = true;
this.automatic = false;
@ -166,9 +164,7 @@ export class OtaWizardPage implements OnInit, OnDestroy {
console.log(this.currentSlide)
switch (this.currentSlide) {
case OtaSlides.Intro:
this.slides.lockSwipeToNext(false);
case OtaSlides.Intro2:
this.slides.lockSwipeToNext(true);
break
case OtaSlides.Intro3:
break
@ -177,7 +173,6 @@ export class OtaWizardPage implements OnInit, OnDestroy {
break
case OtaSlides.WifiSelection:
if(this.automatic) this.slides.slideNext()
this.handleWifiSelection()
break

Loading…
Cancel
Save