chore(core): 调整一些模块的多语言支持
This commit is contained in:
@@ -70,7 +70,7 @@ class WebSocketArduShell {
|
||||
|
||||
this.initCompile = function () {
|
||||
if (!this.mixlySocket.isConnected()) {
|
||||
layer.msg('服务端已离线', { time: 1000 });
|
||||
layer.msg(Msg.Lang['websocket.offline'], { time: 1000 });
|
||||
return;
|
||||
}
|
||||
const { mainStatusBarTabs } = Mixly;
|
||||
@@ -93,7 +93,7 @@ class WebSocketArduShell {
|
||||
|
||||
this.initUpload = function () {
|
||||
if (!this.mixlySocket.isConnected()) {
|
||||
layer.msg('服务端已离线', { time: 1000 });
|
||||
layer.msg(Msg.Lang['websocket.offline'], { time: 1000 });
|
||||
return;
|
||||
}
|
||||
const port = Serial.getSelectedPortName();
|
||||
|
||||
@@ -68,7 +68,7 @@ class WebSocketBU {
|
||||
|
||||
this.initBurn = function () {
|
||||
if (!this.mixlySocket.isConnected()) {
|
||||
layer.msg('服务端已离线', { time: 1000 });
|
||||
layer.msg(Msg.Lang['websocket.offline'], { time: 1000 });
|
||||
return;
|
||||
}
|
||||
const port = Serial.getSelectedPortName();
|
||||
@@ -100,7 +100,7 @@ class WebSocketBU {
|
||||
|
||||
this.initUpload = function () {
|
||||
if (!this.mixlySocket.isConnected()) {
|
||||
layer.msg('服务端已离线', { time: 1000 });
|
||||
layer.msg(Msg.Lang['websocket.offline'], { time: 1000 });
|
||||
return;
|
||||
}
|
||||
const port = Serial.getSelectedPortName();
|
||||
|
||||
Reference in New Issue
Block a user