@@ -583,13 +583,13 @@ export default {
583
583
this .updateStatus = result .data ;
584
584
this .uploadCompleted = true ;
585
585
this .uploadInProgress = false ;
586
- this .updateStatusText = this .$i18n .t (' settings_music_packages_text_1' );
586
+ this .updateStatusText = this .$i18n .t (' message. settings_music_packages_text_1' );
587
587
console .dir (result .data );
588
588
if (this .updateStatus == 2 ) {
589
- this .updateStatusText = this .$i18n .t (' settings_music_packages_text_2' );
589
+ this .updateStatusText = this .$i18n .t (' message. settings_music_packages_text_2' );
590
590
}
591
591
if (this .updateStatus == 3 ) {
592
- this .updateStatusText = this .$i18n .t (' settings_music_packages_text_3' );
592
+ this .updateStatusText = this .$i18n .t (' message. settings_music_packages_text_3' );
593
593
}
594
594
});
595
595
},
@@ -608,7 +608,7 @@ export default {
608
608
this .uploadCompleted = true ;
609
609
this .uploadInProgress = false ;
610
610
console .dir (result .data );
611
- this .updateStatusText = this .$i18n .t (' settings_packages_text_1' );
611
+ this .updateStatusText = this .$i18n .t (' message. settings_packages_text_1' );
612
612
});
613
613
},
614
614
@@ -643,7 +643,7 @@ export default {
643
643
} = this ;
644
644
axios .post (` ${ CB } /restoreSettings` )
645
645
.then (() => {
646
- this .snackText = this .$i18n .t (' settings_packages_reset_complete' );
646
+ this .snackText = this .$i18n .t (' message. settings_packages_reset_complete' );
647
647
this .snackbar = true ;
648
648
this .prepopulate ();
649
649
});
@@ -671,7 +671,7 @@ export default {
671
671
} = this ;
672
672
axios .post (` ${ CB } /reset` )
673
673
.then (() => {
674
- this .snackText = this .$i18n .t (' settings_packages_reset_text_1' );
674
+ this .snackText = this .$i18n .t (' message. settings_packages_reset_text_1' );
675
675
this .snackbar = true ;
676
676
this .prepopulate ();
677
677
setTimeout (() => this .dialog .close (), 5000 );
@@ -688,7 +688,7 @@ export default {
688
688
cmd: ' halt'
689
689
}
690
690
}).then (function success () {
691
- this .snackText = this .$i18n .t (' coderbot_status_shutting_down' );
691
+ this .snackText = this .$i18n .t (' message. coderbot_status_shutting_down' );
692
692
this .snackbar = true ;
693
693
});
694
694
},
@@ -702,7 +702,7 @@ export default {
702
702
cmd: ' reboot'
703
703
}
704
704
}).then (function success () {
705
- this .snackText = this .$i18n .t (' coderbot_status_restart_start' );
705
+ this .snackText = this .$i18n .t (' message. coderbot_status_restart_start' );
706
706
this .snackbar = true ;
707
707
});
708
708
},
@@ -727,7 +727,7 @@ export default {
727
727
axios .get (` ${ CB } /status` )
728
728
.then ((response ) => {
729
729
if (this .status == 0 && response .status ) {
730
- this .snackText = this .$i18n .t (' coderbot_status_online' );
730
+ this .snackText = this .$i18n .t (' message. coderbot_status_online' );
731
731
this .snackbar = true ;
732
732
this .getInfoAndStatus ();
733
733
this .prepopulate ();
@@ -740,7 +740,7 @@ export default {
740
740
// handle error
741
741
console .log (error);
742
742
if (this .status ) {
743
- this .snackText = this .$i18n .t (' coderbot_status_online' );
743
+ this .snackText = this .$i18n .t (' message. coderbot_status_online' );
744
744
this .snackbar = true ;
745
745
}
746
746
this .status = 0 ;
@@ -752,7 +752,7 @@ export default {
752
752
package_name: pkgNameID,
753
753
}).then (() => {
754
754
console .log (' Pacchetto rimosso' );
755
- this .snackText = this .$i18n .t (' settings_music_package_removed' );
755
+ this .snackText = this .$i18n .t (' message. settings_music_package_removed' );
756
756
this .snackbar = true ;
757
757
this .loadMusicPackages ();
758
758
});
@@ -869,7 +869,7 @@ export default {
869
869
.then (() => {
870
870
console .log (' Updated settings' );
871
871
this .prepopulate ();
872
- this .snackText = this .$i18n .t (' settings_updated' );
872
+ this .snackText = this .$i18n .t (' message. settings_updated' );
873
873
this .snackbar = true ;
874
874
});
875
875
}
@@ -889,7 +889,7 @@ export default {
889
889
axios .post (` ${ CBv1} /wifi` , valuesAsString)
890
890
.then (() => {
891
891
console .log (' Sent' );
892
- this .snackText = this .$i18n .t (' settings_network_updated' );
892
+ this .snackText = this .$i18n .t (' message. settings_network_updated' );
893
893
this .snackbar = true ;
894
894
});
895
895
console .log (` save wifi config - ssid: ${ this .settings .wifiSSID } pwd: ${ this .settings .wifiPsw } ` );
@@ -948,19 +948,19 @@ export default {
948
948
},
949
949
blocklyToolboxItems: [
950
950
{
951
- text: this .$i18n .t (' settings_toolbax_movement' ),
951
+ text: this .$i18n .t (' message. settings_toolbax_movement' ),
952
952
value: ' basic_move'
953
953
},
954
954
{
955
- text: this .$i18n .t (' settings_toolbax_base' ),
955
+ text: this .$i18n .t (' message. settings_toolbax_base' ),
956
956
value: ' basic'
957
957
},
958
958
{
959
- text: this .$i18n .t (' settings_toolbax_standard' ),
959
+ text: this .$i18n .t (' message. settings_toolbax_standard' ),
960
960
value: ' std'
961
961
},
962
962
{
963
- text: this .$i18n .t (' settings_toolbax_advanced' ),
963
+ text: this .$i18n .t (' message. settings_toolbax_advanced' ),
964
964
value: ' adv'
965
965
},
966
966
],
0 commit comments