From 7c78eab431e46f3affbc321017f7950b78bca942 Mon Sep 17 00:00:00 2001 From: TsMask <340112800@qq.com> Date: Tue, 21 May 2024 17:10:45 +0800 Subject: [PATCH] =?UTF-8?q?style:=20=E5=BF=AB=E9=80=9F=E5=BC=80=E7=AB=99?= =?UTF-8?q?=E5=A4=9A=E8=AF=AD=E8=A8=80=E7=BF=BB=E8=AF=91?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/i18n/locales/en-US.ts | 33 ++++++++++- src/i18n/locales/zh-CN.ts | 33 ++++++++++- .../system/quick-start/components/Done.vue | 20 +++---- .../system/quick-start/components/Start.vue | 8 +-- .../quick-start/components/SystemConfig.vue | 58 +++++++++++-------- 5 files changed, 111 insertions(+), 41 deletions(-) diff --git a/src/i18n/locales/en-US.ts b/src/i18n/locales/en-US.ts index 57a17069..09616eef 100644 --- a/src/i18n/locales/en-US.ts +++ b/src/i18n/locales/en-US.ts @@ -1583,7 +1583,7 @@ export default { userWork:'User position', userWorkPlease: 'Please select user post', userTip:'User Description', - loginPwd:'Login password', + loginPwd:'Password', updateSure:'Do you want to update existing data', downloadObj:'Download Tpl', importTitle:'User Import', @@ -1866,6 +1866,37 @@ export default { exportOk: "Completed export", typeDataErr: "Failed to get dictionary type information", }, + quickStart: { + start: 'Start Setup', + skip: 'Skip', + finish: 'Complete Setup', + stepPrev: 'Previous', + stepNext: 'Next', + + sysTitle: 'System Configuration', + sysAdmin: 'Administrator', + sysInfo: 'System Info', + sysLogo: 'System Logo', + sysLogoTip: 'Show the image to the system logo area to see the effect, please use a transparent background, the size of the proportion to adapt to the size of the area', + sysName: 'System Name', + sysNameTip: 'Limit system name to 20 characters in length', + sysUploadLogo: 'Confirmation of uploading the system logo file?', + sysUploadOk: 'File uploaded successfully, please save the information', + sysSave: 'Save', + sysSaveOk: 'Info saved successfully!', + sysPrevTip: 'Confirmed to go back to the previous step?', + sysNextNe: 'Confirming that you want to do a network element installation?', + sysNextDone: 'Confirmed to skip the network element installation?', + + doneTitle: "Completing the Configuration", + doneTip: 'Please enter the system and configure it as appropriate.', + doneNETitle: 'Configuration of the network element installation has been performed', + doneNEDesc: 'If there are some abnormal network elements, please enter the system and configure it by yourself.', + doneSkipTitle: 'No installation configuration of network elements', + doneSkipDesc: 'The system will default to the initial network element information, you can modify the information yourself', + donePrevTip: 'Confirmed to go back to the previous step?', + doneOkTip: 'Confirm that you have completed the setup and started using it?', + }, }, mmlManage: { cmdTitle: "Command Navigator", diff --git a/src/i18n/locales/zh-CN.ts b/src/i18n/locales/zh-CN.ts index 5c3e8493..5743306f 100644 --- a/src/i18n/locales/zh-CN.ts +++ b/src/i18n/locales/zh-CN.ts @@ -1583,7 +1583,7 @@ export default { userWork:'用户岗位', userWorkPlease: '请选择用户岗位', userTip:'用户说明', - loginPwd:'登入密码', + loginPwd:'登录密码', updateSure:'是否更新已经存在的数据', downloadObj:'下载模板', importTitle:'用户导入', @@ -1866,6 +1866,37 @@ export default { exportOk: "已完成导出", typeDataErr: "获取字典类型信息失败", }, + quickStart: { + start: '开始设置', + skip: '跳过', + finish: '完成设置', + stepPrev: '上一步', + stepNext: '下一步', + + sysTitle: '系统配置', + sysAdmin: '管理员', + sysInfo: '系统信息', + sysLogo: '系统LOGO', + sysLogoTip: '将图片展示到系统LOGO区域查看效果,请使用透明背景,尺寸比例适应区域大小', + sysName: '系统名称', + sysNameTip: '系统名称限制20个字符长度', + sysUploadLogo: '确认要上传系统LOGO文件吗?', + sysUploadOk: '文件上传成功,请进行保存信息', + sysSave: '保存', + sysSaveOk: '信息保存成功!', + sysPrevTip: '确认要返回上一个步骤吗?', + sysNextNe: '确认要进行网元安装吗?', + sysNextDone: '确认要跳过网元安装吗?', + + doneTitle: "完成配置", + doneTip: '请进入系统后,根据情况进行更多相关配置', + doneNETitle: '已经进行网元安装配置', + doneNEDesc: '如有部分异常网元请进入系统后自行配置', + doneSkipTitle: '未进行安装配置网元', + doneSkipDesc: '系统将会默认初始网元信息,可自行修改信息', + donePrevTip: '确认要返回上一个步骤吗?', + doneOkTip: '确认完成设置并开始使用吗?', + }, }, mmlManage: { cmdTitle: "命令导航", diff --git a/src/views/system/quick-start/components/Done.vue b/src/views/system/quick-start/components/Done.vue index 61764b3b..80815f11 100644 --- a/src/views/system/quick-start/components/Done.vue +++ b/src/views/system/quick-start/components/Done.vue @@ -19,16 +19,16 @@ function fnGetList() { if (!stepState.setupNE) { infoList.value.push({ type: 'error', - title: '未进行安装配置网元', - description: '系统将会默认初始网元信息,可自行修改信息', + title: t('views.system.quickStart.doneSkipTitle'), + description: t('views.system.quickStart.doneSkipDesc'), }); return; } infoList.value.push({ type: 'warning', - title: '已经进行网元安装配置', - description: '如有部分异常网元请进入系统后自行配置', + title: t('views.system.quickStart.doneNETitle'), + description: t('views.system.quickStart.doneNEDesc'), }); } @@ -36,7 +36,7 @@ function fnGetList() { function fnStepPrev() { Modal.confirm({ title: t('common.tipTitle'), - content: '确认要返回上一步吗?', + content: t('views.system.quickStart.donePrevTip'), onOk() { let stepName = 'NeInfoSoftwareLicense'; if (!stepState.setupNE) { @@ -51,7 +51,7 @@ function fnStepPrev() { function fnGuideDone() { Modal.confirm({ title: t('common.tipTitle'), - content: '确认开始使用吗?', + content: t('views.system.quickStart.doneOkTip'), onOk() { bootloaderDone() .then(res => { @@ -75,16 +75,16 @@ onMounted(() => {