Skip to content

Commit

Permalink
refactor: i18n#1005314
Browse files Browse the repository at this point in the history
--bug=1005314 --user=lyh 【测试跟踪】国际化问题
https://www.tapd.cn/55049933/s/1027432
  • Loading branch information
shiziyuan9527 authored and liuruibin committed Jul 21, 2021
1 parent 4114edd commit 1670db0
Show file tree
Hide file tree
Showing 6 changed files with 12 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
</div>
<div v-else>
<div style="margin-bottom: 15px" v-if="flag">
<el-checkbox v-model="checked">同步添加关联的接口和性能测试</el-checkbox>
<el-checkbox v-model="checked">{{ $t('test_track.sync_add_api_load') }}</el-checkbox>
</div>
<ms-dialog-footer @cancel="close" @confirm="save"/>
</div>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
<el-col class="head-right" :span="20">
<ms-previous-next-button :index="index" @pre="handlePre" @next="saveCase(true, true)" :list="testCases"/>
<el-button class="save-btn" type="primary" size="mini" :disabled="isReadOnly" @click="saveCase(true)">
{{$t('test_track.save')}} & 下一条
{{$t('test_track.save')}} & {{$t('test_track.next')}}
</el-button>
</el-col>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@

</el-table>
<div v-if="!lineStatus" style="text-align: center">{{$t('test_track.review_view.last_page')}}</div>
<div style="text-align: center">共 {{total}} 条</div>
<div style="text-align: center">{{$t('test_track.total_size', [total])}}</div>
</el-main>
</el-container>
</el-container>
Expand Down
3 changes: 3 additions & 0 deletions frontend/src/i18n/en-US.js
Original file line number Diff line number Diff line change
Expand Up @@ -1332,6 +1332,9 @@ export default {
date: "Date"
},
test_track: {
sync_add_api_load: 'Synchronously add associated api and load tests',
next: 'Next',
total_size: 'Total {0}',
related_requirements: 'Related requirements',
please_related_requirements: 'Please select the requirements to associate',
please_select_the_test_to_associate: "Please select the test to associate",
Expand Down
3 changes: 3 additions & 0 deletions frontend/src/i18n/zh-CN.js
Original file line number Diff line number Diff line change
Expand Up @@ -1337,6 +1337,9 @@ export default {
date: "日期"
},
test_track: {
sync_add_api_load: '同步添加关联的接口和性能测试',
next: '下一条',
total_size: '共 {0} 条',
related_requirements: '关联需求',
please_related_requirements: '请选择要关联的需求',
please_select_the_test_to_associate: "请选择需要关联的测试",
Expand Down
3 changes: 3 additions & 0 deletions frontend/src/i18n/zh-TW.js
Original file line number Diff line number Diff line change
Expand Up @@ -1337,6 +1337,9 @@ export default {
date: "日期"
},
test_track: {
sync_add_api_load: '同步添加關聯的接口和性能測試',
next: '下一條',
total_size: '共 {0} 條',
related_requirements: '關聯需求',
please_related_requirements: '請選擇要關聯的需求',
please_select_the_test_to_associate: "請選擇需要關聯的測試",
Expand Down

0 comments on commit 1670db0

Please sign in to comment.