refactor: i18n#1003564

This commit is contained in:
shiziyuan9527 2021-07-12 16:06:42 +08:00 committed by 刘瑞斌
parent 4ebad9739d
commit 3fdc385096
6 changed files with 20 additions and 6 deletions

View File

@ -35,7 +35,7 @@
</el-menu-item>
<el-submenu index="3-1"
v-permission="['WORKSPACE_TEMPLATE:READ']">
<template slot="title">模板管理</template>
<template slot="title">{{ $t('workspace.template_manage') }}</template>
<el-menu-item v-for="menu in workspaceTemplate" v-permission="menu.permissions" :key="menu.index" :index="menu.index" class="setting-item">
{{ $t(menu.title) }}
</el-menu-item>

View File

@ -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',

View File

@ -7,9 +7,9 @@
:create-tip="$t('test_track.issue.create_issue')"
:tip="$t('commons.search_by_name_or_id')">
<template v-slot:button>
<el-tooltip v-if="isThirdPart" :content="'更新第三方平台的缺陷'">
<el-tooltip v-if="isThirdPart" :content="$t('test_track.issue.update_third_party_bugs')">
<ms-table-button icon="el-icon-refresh" v-if="true"
:content="'同步缺陷'" @click="syncIssues"/>
:content="$t('test_track.issue.sync_bugs')" @click="syncIssues"/>
</el-tooltip>
</template>
</ms-table-header>

View File

@ -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",

View File

@ -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: "测试计划报告",

View File

@ -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: "測試計劃報告",