updated translation and slides

development
Thiemann96 5 years ago
parent 0e3f43e2ec
commit 5206c3ab09

@ -83,7 +83,7 @@
"AUTOMATIC":{ "AUTOMATIC":{
"STEP1":"Laden den Over-the-Air Sketch der openSenseMap auf die senseBox", "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", "STEP2":"Verbinde dich mit gleichen Netzwekr in dem die senseBox eingewählt ist",
"STEP3":"Klicke auf OTA Modus aktivieren!" "STEP3":"Klicke auf 'Weiter'!"
} }
}, },
"OTAMODESELECTION":{ "OTAMODESELECTION":{

@ -77,7 +77,7 @@
"AUTOMATIC":{ "AUTOMATIC":{
"STEP1":"Upload the Over-the-Air Sketch from the OpenSenseMap to the senseBox", "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", "STEP2":"Connect this device to the same network the senseBox is connected with",
"STEP3":"Click Enable OTA Mode!" "STEP3":"Click Continue!"
} }
}, },
"OTAMODESELECTION":{ "OTAMODESELECTION":{

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

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

Loading…
Cancel
Save