From fae888ba45ed888080f516aaa5f03e6011642fab Mon Sep 17 00:00:00 2001 From: Silent YANG Date: Thu, 31 Oct 2024 23:33:35 +0800 Subject: [PATCH] update translate --- src/locale/en-US.ts | 6 ++++++ src/locale/zh-CN.ts | 6 ++++++ src/views/list/bl/index.vue | 12 ++++++------ 3 files changed, 18 insertions(+), 6 deletions(-) diff --git a/src/locale/en-US.ts b/src/locale/en-US.ts index dc4e9f0..67198a0 100644 --- a/src/locale/en-US.ts +++ b/src/locale/en-US.ts @@ -173,6 +173,12 @@ export default { 'bl': 'Multi-booting', 'cs': 'Coming Soon', 'oi': 'Operating Instructions: ', + 'bl.warning': '⚠: Experimental feature Use may damage radio station', + 'bl.readme': 'Readme: ', + 'bl.clear': 'Clear', + 'bl.onlyEnglish': 'Firmware names are supported in English only', + 'bl.drag': 'Select the firmware and drag the firmware card to the EEPROM grid', + 'bl.bootloader': 'Bootloader Use', ...localeSettings, ...localeMessageBox, ...localeLogin, diff --git a/src/locale/zh-CN.ts b/src/locale/zh-CN.ts index 30e6604..d3a9ea1 100644 --- a/src/locale/zh-CN.ts +++ b/src/locale/zh-CN.ts @@ -173,6 +173,12 @@ export default { 'bl': '多系统', 'cs': '敬请期待', 'oi': '操作说明:', + 'bl.warning': '⚠:实验性功能 使用可能会损坏手台', + 'bl.readme': '使用说明:', + 'bl.clear': '清空', + 'bl.onlyEnglish': '固件名称仅支持英文', + 'bl.drag': '选择固件后将固件卡片拖拽到上方 EEPROM', + 'bl.bootloader': '引导程序占用区', ...localeSettings, ...localeMessageBox, ...localeLogin, diff --git a/src/views/list/bl/index.vue b/src/views/list/bl/index.vue index 13af692..46e7cce 100644 --- a/src/views/list/bl/index.vue +++ b/src/views/list/bl/index.vue @@ -4,8 +4,8 @@ @@ -23,7 +23,7 @@ {{ $t('cps.onDeviceWrite') }} - (固件名称仅支持英文) + ({{ $t('bl.onlyEnglish') }}) @@ -31,7 +31,7 @@
EEPROM:
{{ state.showAdd }} - 清空 + {{ $t('bl.clear') }}
@@ -41,7 +41,7 @@ :ondragover="(event: any)=>{showAdd(index);event.preventDefault()}" :ondrop="()=>{targetOver(item, index)}" :title=" - item == -2 ? '引导程序占用区' : (item != -1 ? state.rom[item].binaryName : + item == -2 ? $t('bl.bootloader') : (item != -1 ? state.rom[item].binaryName : (index * 64 + 0x40000).toString(16).toUpperCase() + ' - ' + (index * 64 + 0x40000 + 63).toString(16).toUpperCase() )" :style="item == -1 ? 'background-color: white; border: 1px solid #ddd; height: 10px;' : ( @@ -52,7 +52,7 @@
- {{ state.binaryFile ? state.binaryName : $t('tool.selectFirmware') }}(选择固件后将固件卡片拖拽到上方 EEPROM) + {{ state.binaryFile ? state.binaryName : $t('tool.selectFirmware') }}({{ $t('bl.drag') }})