fix(测试跟踪): i18n

--bug=1008882 --user=lyh 【国际化】-Track-Home页
https://www.tapd.cn/55049933/s/1086179
This commit is contained in:
shiziyuan9527 2021-12-23 15:47:47 +08:00 committed by 刘瑞斌
parent 087c9facd5
commit 86758aef98
4 changed files with 18 additions and 19 deletions

View File

@ -277,9 +277,9 @@ test_case_status_success=Success
test_case_status_trash=Trash test_case_status_trash=Trash
test_case_status_saved=Saved test_case_status_saved=Saved
# track home # track home
api_case=Api test api_case=Api
performance_case=Performance test performance_case=Performance
scenario_case=Scenario test scenario_case=Scenario
create_user=Create user create_user=Create user
test_case_status=Case status test_case_status=Case status
id_not_rightful=ID is not rightful id_not_rightful=ID is not rightful

View File

@ -35,7 +35,7 @@
</div> </div>
</template> </template>
</el-table-column> </el-table-column>
<el-table-column prop="failureTimes" :label="$t('api_test.home_page.failed_case_list.table_coloum.failure_times')" width="100" show-overflow-tooltip/> <el-table-column prop="failureTimes" :label="$t('api_test.home_page.failed_case_list.table_coloum.failure_times')" width="110" show-overflow-tooltip/>
</el-table> </el-table>
</el-card> </el-card>
</template> </template>

View File

@ -27,7 +27,7 @@
width="60" show-overflow-tooltip/> width="60" show-overflow-tooltip/>
<el-table-column prop="planName" :label="$t('test_track.home.test_plan_name')" <el-table-column prop="planName" :label="$t('test_track.home.test_plan_name')"
width="130" show-overflow-tooltip/> width="130" show-overflow-tooltip/>
<el-table-column prop="createTime" :label="$t('commons.create_time')" width="180" show-overflow-tooltip> <el-table-column prop="createTime" :label="$t('commons.create_time')" width="160" show-overflow-tooltip>
<template v-slot:default="scope"> <template v-slot:default="scope">
<span>{{ scope.row.createTime | timestampFormatDate }}</span> <span>{{ scope.row.createTime | timestampFormatDate }}</span>
</template> </template>
@ -36,7 +36,6 @@
prop="status" prop="status"
column-key="status" column-key="status"
:label="$t('test_track.plan.plan_status')" :label="$t('test_track.plan.plan_status')"
width="100"
show-overflow-tooltip> show-overflow-tooltip>
<template v-slot:default="scope"> <template v-slot:default="scope">
<span @click.stop="clickt = 'stop'"> <span @click.stop="clickt = 'stop'">
@ -45,11 +44,11 @@
</template> </template>
</el-table-column> </el-table-column>
<el-table-column prop="caseSize" :label="$t('test_track.home.case_size')" <el-table-column prop="caseSize" :label="$t('test_track.home.case_size')"
width="80" show-overflow-tooltip/> show-overflow-tooltip/>
<el-table-column prop="bugSize" :label="$t('test_track.home.bug_size')" <el-table-column prop="bugSize" :label="$t('test_track.home.bug_size')"
width="80" show-overflow-tooltip/> show-overflow-tooltip/>
<el-table-column prop="passRage" :label="$t('test_track.home.passing_rate')" <el-table-column prop="passRage" :label="$t('test_track.home.passing_rate')"
width="80" show-overflow-tooltip/> show-overflow-tooltip/>
</el-table> </el-table>
</el-container> </el-container>
</el-card> </el-card>

View File

@ -1719,9 +1719,9 @@ export default {
title: "Top 10 failure cases about test plan in the past 7 days", title: "Top 10 failure cases about test plan in the past 7 days",
table_coloum: { table_coloum: {
index: "Ranking", index: "Ranking",
case_name: "Case name", case_name: "Case Name",
case_type: "Case Type", case_type: "Case Type",
test_plan: "Test plan", test_plan: "Test Plan",
failure_times: "Failure times", failure_times: "Failure times",
}, },
table_value: { table_value: {
@ -2054,7 +2054,7 @@ export default {
} }
}, },
review: { review: {
test_review: "Test Review", test_review: "Review",
create_review: "Create Review", create_review: "Create Review",
edit_review: "Edit Review", edit_review: "Edit Review",
review_name: "Name", review_name: "Name",
@ -2123,18 +2123,18 @@ export default {
tested_case: "Tested Case", tested_case: "Tested Case",
review_progress: "Review Progress", review_progress: "Review Progress",
case_count: "Statistics of the number of use cases", case_count: "Statistics of the number of use cases",
relevance_case: "Relevance Case", relevance_case: "Related Case",
case_maintenance: "Use case person responsible distribution", case_maintenance: "Use case person responsible distribution",
bug_count: "Statistics of remaining defects", bug_count: "Statistics of remaining defects",
case_review: "Use case review", case_review: "Use case review",
review_rate: "Rate", review_rate: "Reviewed",
coverage: "Coverage", coverage: "Coverage",
function_case_count: "Function Case Count", function_case_count: "Functional Case Count",
relevance_case_count: "Relevance Case Count", relevance_case_count: "Related Case Count",
serial_number: "Index", serial_number: "Index",
test_plan_name: "Plan Name", test_plan_name: "Plan Name",
case_size: "Case count", case_size: "Case Count",
bug_size: "Bug count", bug_size: "Bug Count",
passing_rate: "Pass Rate", passing_rate: "Pass Rate",
percentage: "Percentage" percentage: "Percentage"
}, },
@ -2199,7 +2199,7 @@ export default {
}, },
issue: { issue: {
issue: "Issue", issue: "Issue",
issue_management: "Issue Management", issue_management: "Issue",
platform_status: "Platform Status", platform_status: "Platform Status",
issue_resource: "Issue Source", issue_resource: "Issue Source",
create_issue: "Create Issue", create_issue: "Create Issue",