refactor(性能测试): i18n

This commit is contained in:
CaptainB 2021-11-13 10:12:49 +08:00 committed by 刘瑞斌
parent 7ffd3122a1
commit fcc0dc579b
4 changed files with 4 additions and 1 deletions

View File

@ -91,7 +91,7 @@
</el-select> </el-select>
</el-form-item> </el-form-item>
<br> <br>
<el-form-item label="执行方式"> <el-form-item :label="$t('load_test.run_mode')">
<el-radio-group v-model="threadGroup.threadType" @change="calculateTotalChart()" size="mini"> <el-radio-group v-model="threadGroup.threadType" @change="calculateTotalChart()" size="mini">
<el-radio-button label="DURATION">{{ $t('load_test.by_duration') }}</el-radio-button> <el-radio-button label="DURATION">{{ $t('load_test.by_duration') }}</el-radio-button>
<el-radio-button label="ITERATION">{{ $t('load_test.by_iteration') }}</el-radio-button> <el-radio-button label="ITERATION">{{ $t('load_test.by_iteration') }}</el-radio-button>

View File

@ -795,6 +795,7 @@ export default {
rps_limit: 'RPS Limit', rps_limit: 'RPS Limit',
rps_limit_enable: 'RPS Value', rps_limit_enable: 'RPS Value',
resource_strategy: 'Allocation Strategy', resource_strategy: 'Allocation Strategy',
run_mode: 'Run Mode',
input_rps_limit: 'Please enter a limit', input_rps_limit: 'Please enter a limit',
ramp_up_time_within: 'In', ramp_up_time_within: 'In',
ramp_up_time_minutes: 'seconds, separate', ramp_up_time_minutes: 'seconds, separate',

View File

@ -799,6 +799,7 @@ export default {
rps_limit: 'RPS上限', rps_limit: 'RPS上限',
rps_limit_enable: 'RPS开启', rps_limit_enable: 'RPS开启',
resource_strategy: '分配策略', resource_strategy: '分配策略',
run_mode: '执行方式',
input_rps_limit: '请输入限制', input_rps_limit: '请输入限制',
ramp_up_time: '预热时间', ramp_up_time: '预热时间',
ramp_up_time_within: '在', ramp_up_time_within: '在',

View File

@ -798,6 +798,7 @@ export default {
rps_limit: 'RPS上限', rps_limit: 'RPS上限',
rps_limit_enable: 'RPS開啟', rps_limit_enable: 'RPS開啟',
resource_strategy: '分配策略', resource_strategy: '分配策略',
run_mode: '執行方式',
input_rps_limit: '請輸入限製', input_rps_limit: '請輸入限製',
ramp_up_time_within: '在', ramp_up_time_within: '在',
ramp_up_time_minutes: '秒內,分', ramp_up_time_minutes: '秒內,分',