fix(i18n) wifi notice not translated
This commit is contained in:
parent
d0325e5b44
commit
aaea2c50a7
|
@ -177,8 +177,8 @@ export default {
|
||||||
enabled: "Enabled",
|
enabled: "Enabled",
|
||||||
disabled: "Disabled",
|
disabled: "Disabled",
|
||||||
|
|
||||||
stationInfo: "Terminal (STA) Info",
|
stationInfo: "Terminal (STA)",
|
||||||
hotspotInfo: "Hotspot (AP) Info",
|
hotspotInfo: "Hotspot (AP)",
|
||||||
signalStrength: "Signal Strength",
|
signalStrength: "Signal Strength",
|
||||||
gateway: "Gateway",
|
gateway: "Gateway",
|
||||||
netmask: "Netmask",
|
netmask: "Netmask",
|
||||||
|
|
|
@ -178,8 +178,8 @@ export default {
|
||||||
enabled: "Activé",
|
enabled: "Activé",
|
||||||
disabled: "Désactivé",
|
disabled: "Désactivé",
|
||||||
|
|
||||||
stationInfo: "Info Terminal (STA)",
|
stationInfo: "Terminal(STA)",
|
||||||
hotspotInfo: "Info Point d'Accès (AP)",
|
hotspotInfo: "Point d'Accès(AP)",
|
||||||
signalStrength: "Puissance du Signal",
|
signalStrength: "Puissance du Signal",
|
||||||
gateway: "Passerelle",
|
gateway: "Passerelle",
|
||||||
netmask: "Masque de Sous-réseau",
|
netmask: "Masque de Sous-réseau",
|
||||||
|
|
|
@ -181,8 +181,8 @@ export default {
|
||||||
enabled: "已开启",
|
enabled: "已开启",
|
||||||
disabled: "未开启",
|
disabled: "未开启",
|
||||||
|
|
||||||
stationInfo: "终端(STA)信息",
|
stationInfo: "终端(STA)",
|
||||||
hotspotInfo: "自发热点(AP)信息",
|
hotspotInfo: "自发热点(AP)",
|
||||||
signalStrength: "信号强度",
|
signalStrength: "信号强度",
|
||||||
gateway: "网关",
|
gateway: "网关",
|
||||||
netmask: "掩码",
|
netmask: "掩码",
|
||||||
|
|
|
@ -46,7 +46,7 @@
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
<div class="mb-2">
|
<div class="mb-2">
|
||||||
<el-alert type="info" show-icon>
|
<el-alert type="info" show-icon>
|
||||||
{{ translate("wifi.connectInfo")}}
|
{{ translate("wifi.connectInfoHTML")}}
|
||||||
</el-alert>
|
</el-alert>
|
||||||
</div>
|
</div>
|
||||||
<div class="flex justify-center">
|
<div class="flex justify-center">
|
||||||
|
@ -85,6 +85,10 @@
|
||||||
border
|
border
|
||||||
class="description-style"
|
class="description-style"
|
||||||
>
|
>
|
||||||
|
<template #title>
|
||||||
|
Wi-Fi {{ translate('wifi.stationInfo') }}
|
||||||
|
<el-tag v-if="!isConnected" type="danger">{{ translate('wifi.disconnected') }}</el-tag>
|
||||||
|
</template>
|
||||||
<template #extra>
|
<template #extra>
|
||||||
<el-switch v-model="wifiSta_On" :disabled="wsStore.state != ControlEvent.CONNECTED || !wifiAp_On"
|
<el-switch v-model="wifiSta_On" :disabled="wsStore.state != ControlEvent.CONNECTED || !wifiAp_On"
|
||||||
:active-text="translate('wifi.enabled')" :inactive-text="translate('wifi.disabled')" :loading="wifiMode_loading"
|
:active-text="translate('wifi.enabled')" :inactive-text="translate('wifi.disabled')" :loading="wifiMode_loading"
|
||||||
|
@ -246,6 +250,10 @@
|
||||||
border
|
border
|
||||||
class="description-style"
|
class="description-style"
|
||||||
>
|
>
|
||||||
|
<template #title>
|
||||||
|
Wi-Fi {{ translate('wifi.hotspotInfo') }}
|
||||||
|
<el-tag v-if="!isConnected" type="danger">{{ translate('wifi.disconnected') }}</el-tag>
|
||||||
|
</template>
|
||||||
<template #extra>
|
<template #extra>
|
||||||
<el-switch v-model="wifiAp_On" :disabled="wsStore.state != ControlEvent.CONNECTED || !wifiSta_On"
|
<el-switch v-model="wifiAp_On" :disabled="wsStore.state != ControlEvent.CONNECTED || !wifiSta_On"
|
||||||
:loading="wifiMode_loading" :active-text="translate('wifi.enabled')" :inactive-text="translate('wifi.disabled')"
|
:loading="wifiMode_loading" :active-text="translate('wifi.enabled')" :inactive-text="translate('wifi.disabled')"
|
||||||
|
|
Loading…
Reference in New Issue