refactor: i18n#1005314

--bug=1005314 --user=lyh 【测试跟踪】国际化问题
https://www.tapd.cn/55049933/s/1032806
This commit is contained in:
shiziyuan9527 2021-08-05 18:44:34 +08:00 committed by 刘瑞斌
parent f14a0bc994
commit 5b2e175942
5 changed files with 11 additions and 5 deletions

View File

@ -14,8 +14,8 @@
ref="apiNodeTree">
<template v-slot:header>
<div class="model-change-radio">
<el-radio v-model="model" label="api">接口用例</el-radio>
<el-radio v-model="model" label="scenario">场景用例</el-radio>
<el-radio v-model="model" label="api">{{ $t('commons.api_case') }}</el-radio>
<el-radio v-model="model" label="scenario">{{ $t('commons.scenario_case') }}</el-radio>
</div>
</template>
</ms-api-module>
@ -30,8 +30,8 @@
ref="scenarioNodeTree">
<template v-slot:header>
<div class="model-change-radio">
<el-radio v-model="model" label="api">接口用例</el-radio>
<el-radio v-model="model" label="scenario">场景用例</el-radio>
<el-radio v-model="model" label="api">{{ $t('commons.api_case') }}</el-radio>
<el-radio v-model="model" label="scenario">{{ $t('commons.scenario_case') }}</el-radio>
</div>
</template>
</ms-api-scenario-module>

View File

@ -62,7 +62,7 @@
sortable
min-width="100"
:filters="userFilters"
:label="'创建人'">
:label="$t('commons.create_user')">
<template v-slot:default="scope">
{{scope.row.creatorName}}
</template>

View File

@ -163,6 +163,8 @@ export default {
node_name_tip: "The name cannot contain'\\'",
more_operator: "More operator",
mock: "Mock settings",
api_case: "Api Case",
scenario_case: "Scenario Case",
task_center: "Task center",
all_module_title: "All module",
create_user: 'Creator',

View File

@ -164,6 +164,8 @@ export default {
node_name_tip: "名称不能包含'\\'",
more_operator: "更多操作",
mock: "Mock 设置",
api_case: "接口用例",
scenario_case: "场景用例",
task_center: "任务中心",
all_module_title: "全部模块",
create_user: '创建人',

View File

@ -164,6 +164,8 @@ export default {
node_name_tip: "名稱不能包含'\\'",
more_operator: "更多操作",
mock: "Mock 設置",
api_case: "接口用例",
scenario_case: "場景用例",
task_center: "任务中心",
all_module_title: "全部模塊",
create_user: "創建人",