From 3fdc385096ae81f25510a731b779a35c9b7fd2de Mon Sep 17 00:00:00 2001 From: shiziyuan9527 Date: Mon, 12 Jul 2021 16:06:42 +0800 Subject: [PATCH] refactor: i18n#1003564 --- frontend/src/business/components/settings/SettingMenu.vue | 2 +- frontend/src/business/components/settings/router.js | 4 ++-- frontend/src/business/components/track/issue/IssueList.vue | 4 ++-- frontend/src/i18n/en-US.js | 6 +++++- frontend/src/i18n/zh-CN.js | 5 +++++ frontend/src/i18n/zh-TW.js | 5 +++++ 6 files changed, 20 insertions(+), 6 deletions(-) diff --git a/frontend/src/business/components/settings/SettingMenu.vue b/frontend/src/business/components/settings/SettingMenu.vue index 3250f6a975..1221545eec 100644 --- a/frontend/src/business/components/settings/SettingMenu.vue +++ b/frontend/src/business/components/settings/SettingMenu.vue @@ -35,7 +35,7 @@ - + {{ $t(menu.title) }} diff --git a/frontend/src/business/components/settings/router.js b/frontend/src/business/components/settings/router.js index f4a11a8bad..457b4bb2ba 100644 --- a/frontend/src/business/components/settings/router.js +++ b/frontend/src/business/components/settings/router.js @@ -35,12 +35,12 @@ export default { { path: 'workspace/template/case', component: () => import('@/business/components/settings/workspace/template/TestCaseTemplateList'), - meta: {workspaceTemplate: true, title: '用例模板', permissions: ['WORKSPACE_TEMPLATE:READ+CASE_TEMPLATE']}, + meta: {workspaceTemplate: true, title: 'workspace.case_template_manage', permissions: ['WORKSPACE_TEMPLATE:READ+CASE_TEMPLATE']}, }, { path: 'workspace/template/issues', component: () => import('@/business/components/settings/workspace/template/IssuesTemplateList'), - meta: {workspaceTemplate: true, title: '缺陷模板', permissions: ['WORKSPACE_TEMPLATE:READ+ISSUE_TEMPLATE']}, + meta: {workspaceTemplate: true, title: 'workspace.issue_template_manage', permissions: ['WORKSPACE_TEMPLATE:READ+ISSUE_TEMPLATE']}, }, { path: 'workspace/template/report', diff --git a/frontend/src/business/components/track/issue/IssueList.vue b/frontend/src/business/components/track/issue/IssueList.vue index 65246eb76d..116fe9c857 100644 --- a/frontend/src/business/components/track/issue/IssueList.vue +++ b/frontend/src/business/components/track/issue/IssueList.vue @@ -7,9 +7,9 @@ :create-tip="$t('test_track.issue.create_issue')" :tip="$t('commons.search_by_name_or_id')"> diff --git a/frontend/src/i18n/en-US.js b/frontend/src/i18n/en-US.js index 87e1e2cf49..0885672190 100644 --- a/frontend/src/i18n/en-US.js +++ b/frontend/src/i18n/en-US.js @@ -333,7 +333,9 @@ export default { none: 'None Workspace', select: 'Select Workspace', special_characters_are_not_supported: 'Incorrect format (special characters are not supported and cannot end with \'-\')', - + template_manage: "Template Manage", + case_template_manage: "Case Template", + issue_template_manage: "Issue Template", }, organization: { create: 'Create Organization', @@ -1641,6 +1643,8 @@ export default { tapd_current_owner: "Tapd Current Owner", zentao_bug_build: "Zentao Impact version", zentao_bug_assigned: "Zentao handler", + update_third_party_bugs: "Update the defects of third-party platforms", + sync_bugs: "Synchronization Issue" }, report: { name: "Test Plan Report", diff --git a/frontend/src/i18n/zh-CN.js b/frontend/src/i18n/zh-CN.js index 61a8ecc096..11fdb788df 100644 --- a/frontend/src/i18n/zh-CN.js +++ b/frontend/src/i18n/zh-CN.js @@ -334,6 +334,9 @@ export default { select: '选择工作空间', special_characters_are_not_supported: '格式错误(不支持特殊字符,且不能以\'-\'开头结尾)', delete_warning: '删除该工作空间将同步删除该工作空间下所有项目,以及项目中的所有用例、接口测试、性能测试等,确定要删除吗?', + template_manage: "模版管理", + case_template_manage: "用例模版", + issue_template_manage: "缺陷模版", }, organization: { create: '创建组织', @@ -1648,6 +1651,8 @@ export default { tapd_current_owner: "Tapd 处理人", zentao_bug_build: "禅道 影响版本", zentao_bug_assigned: "禅道 处理人", + update_third_party_bugs: "更新第三方平台的缺陷", + sync_bugs: "同步缺陷" }, report: { name: "测试计划报告", diff --git a/frontend/src/i18n/zh-TW.js b/frontend/src/i18n/zh-TW.js index a10330bfe0..1341f83fe6 100644 --- a/frontend/src/i18n/zh-TW.js +++ b/frontend/src/i18n/zh-TW.js @@ -334,6 +334,9 @@ export default { select: '選擇工作空間', special_characters_are_not_supported: '格式錯誤(不支持特殊字符,且不能以\'-\'開頭結尾)', delete_warning: '刪除該工作空間將同步刪除該工作空間下所有項目,以及項目中的所有用例、接口測試、性能測試等,確定要刪除嗎?', + template_manage: "模版管理", + case_template_manage: "用例模板", + issue_template_manage: "缺陷模板", }, organization: { create: '創建組織', @@ -1648,6 +1651,8 @@ export default { tapd_current_owner: "Tapd 處理人", zentao_bug_build: "禪道 影響版本", zentao_bug_assigned: "禪道 處理人", + update_third_party_bugs: "更新第三方平台的缺陷", + sync_bugs: "同步缺陷" }, report: { name: "測試計劃報告",