fix(性能测试): 修复性能测试压力配置国际化问题
This commit is contained in:
parent
8c8c69998e
commit
982385b1a6
|
@ -50,13 +50,13 @@
|
|||
{{ $t('load_test.thread_num') }}{{ threadGroup.threadNumber }},
|
||||
{{ $t('load_test.duration') }}:
|
||||
<span v-if="threadGroup.durationHours">
|
||||
{{ threadGroup.durationHours }}{{ $t('schedule.cron.hours') }}
|
||||
{{ threadGroup.durationHours }}{{ $t('load_test.hours') }}
|
||||
</span>
|
||||
<span v-if="threadGroup.durationMinutes">
|
||||
{{ threadGroup.durationMinutes }}{{ $t('schedule.cron.minutes') }}
|
||||
{{ threadGroup.durationMinutes }}{{ $t('load_test.minutes') }}
|
||||
</span>
|
||||
<span v-if="threadGroup.durationSeconds">
|
||||
{{ threadGroup.durationSeconds }}{{ $t('schedule.cron.seconds') }}
|
||||
{{ threadGroup.durationSeconds }}{{ $t('load_test.seconds') }}
|
||||
</span>
|
||||
</el-tag>
|
||||
<el-tag type="primary" size="mini" v-if="threadGroup.threadType === 'ITERATION'">
|
||||
|
@ -106,7 +106,7 @@
|
|||
@change="calculateTotalChart()"
|
||||
size="mini"/>
|
||||
</el-form-item>
|
||||
<el-form-item :label="$t('schedule.cron.hours')" label-width="40px"/>
|
||||
<el-form-item :label="$t('load_test.hours')" label-width="20px"/>
|
||||
<el-form-item>
|
||||
<el-input-number controls-position="right"
|
||||
|
||||
|
@ -116,7 +116,7 @@
|
|||
@change="calculateTotalChart()"
|
||||
size="mini"/>
|
||||
</el-form-item>
|
||||
<el-form-item :label="$t('schedule.cron.minutes')" label-width="40px"/>
|
||||
<el-form-item :label="$t('load_test.minutes')" label-width="20px"/>
|
||||
<el-form-item>
|
||||
<el-input-number controls-position="right"
|
||||
|
||||
|
@ -126,7 +126,7 @@
|
|||
@change="calculateTotalChart()"
|
||||
size="mini"/>
|
||||
</el-form-item>
|
||||
<el-form-item :label="$t('schedule.cron.seconds')" label-width="20px"/>
|
||||
<el-form-item :label="$t('load_test.seconds')" label-width="20px"/>
|
||||
<br>
|
||||
<el-form-item :label="$t('load_test.rps_limit_enable')">
|
||||
<el-switch v-model="threadGroup.rpsLimitEnable" @change="calculateTotalChart()"/>
|
||||
|
|
|
@ -51,13 +51,13 @@
|
|||
{{ $t('load_test.thread_num') }}{{ threadGroup.threadNumber }},
|
||||
{{ $t('load_test.duration') }}:
|
||||
<span v-if="threadGroup.durationHours">
|
||||
{{ threadGroup.durationHours }}{{ $t('schedule.cron.hours') }}
|
||||
{{ threadGroup.durationHours }}{{ $t('load_test.hours') }}
|
||||
</span>
|
||||
<span v-if="threadGroup.durationMinutes">
|
||||
{{ threadGroup.durationMinutes }}{{ $t('schedule.cron.minutes') }}
|
||||
{{ threadGroup.durationMinutes }}{{ $t('load_test.minutes') }}
|
||||
</span>
|
||||
<span v-if="threadGroup.durationSeconds">
|
||||
{{ threadGroup.durationSeconds }}{{ $t('schedule.cron.seconds') }}
|
||||
{{ threadGroup.durationSeconds }}{{ $t('load_test.seconds') }}
|
||||
</span>
|
||||
</el-tag>
|
||||
<el-tag type="primary" size="mini" v-if="threadGroup.threadType === 'ITERATION'">
|
||||
|
@ -105,7 +105,7 @@
|
|||
@change="calculateTotalChart()"
|
||||
size="mini"/>
|
||||
</el-form-item>
|
||||
<el-form-item :label="$t('schedule.cron.hours')" label-width="40px"/>
|
||||
<el-form-item :label="$t('load_test.hours')" label-width="20px"/>
|
||||
<el-form-item>
|
||||
<el-input-number controls-position="right"
|
||||
:disabled="isReadOnly"
|
||||
|
@ -115,7 +115,7 @@
|
|||
@change="calculateTotalChart()"
|
||||
size="mini"/>
|
||||
</el-form-item>
|
||||
<el-form-item :label="$t('schedule.cron.minutes')" label-width="40px"/>
|
||||
<el-form-item :label="$t('load_test.minutes')" label-width="20px"/>
|
||||
<el-form-item>
|
||||
<el-input-number controls-position="right"
|
||||
:disabled="isReadOnly"
|
||||
|
@ -125,7 +125,7 @@
|
|||
@change="calculateTotalChart()"
|
||||
size="mini"/>
|
||||
</el-form-item>
|
||||
<el-form-item :label="$t('schedule.cron.seconds')" label-width="20px"/>
|
||||
<el-form-item :label="$t('load_test.seconds')" label-width="20px"/>
|
||||
<br>
|
||||
<el-form-item :label="$t('load_test.rps_limit_enable')">
|
||||
<el-switch v-model="threadGroup.rpsLimitEnable" @change="calculateTotalChart()"/>
|
||||
|
|
|
@ -904,23 +904,23 @@ export default {
|
|||
delete_file_confirm: 'Confirm delete file:',
|
||||
file_size_limit: "The number of files exceeds the limit!",
|
||||
delete_file: "The file already exists, please delete the file with the same name first!",
|
||||
thread_num: 'Concurrent users:',
|
||||
thread_num: 'VUs:',
|
||||
input_thread_num: 'Please enter the number of threads',
|
||||
duration: 'Duration time',
|
||||
granularity: 'Aggregation time (seconds)',
|
||||
input_duration: 'Please enter a duration',
|
||||
rps_limit: 'RPS Limit',
|
||||
rps_limit_enable: 'RPS Value',
|
||||
resource_strategy: 'Allocation Strategy',
|
||||
resource_strategy: 'Strategy',
|
||||
run_mode: 'Run Mode',
|
||||
input_rps_limit: 'Please enter a limit',
|
||||
ramp_up_time_within: 'In',
|
||||
ramp_up_time_minutes: 'seconds, separate',
|
||||
ramp_up_time_seconds: 'seconds add concurrent users',
|
||||
ramp_up_time_seconds: 'seconds add VUs',
|
||||
iterate_num: 'Iterations',
|
||||
by_iteration: 'By iterations',
|
||||
by_duration: 'By duration',
|
||||
ramp_up_time_times: 'add concurrent users',
|
||||
ramp_up_time_times: 'add VUs',
|
||||
advanced_config_error: 'Advanced configuration verification failed',
|
||||
domain_bind: 'Domain bind',
|
||||
domain: 'Domain',
|
||||
|
@ -970,7 +970,7 @@ export default {
|
|||
project_file_update_type_error: 'Updated file types must be consistent',
|
||||
csv_has_header: 'Contains Title',
|
||||
csv_split: 'CSV Split',
|
||||
on_sample_error: 'After a Sampler error',
|
||||
on_sample_error: 'Sampler error',
|
||||
continue: 'Continue',
|
||||
startnextloop: 'Start the next loop',
|
||||
stopthread: 'Stop thread',
|
||||
|
@ -995,6 +995,9 @@ export default {
|
|||
add_monitor: 'Add Monitor',
|
||||
monitor_item: 'Monitor',
|
||||
monitor_host: 'Target host',
|
||||
seconds: "S",
|
||||
minutes: "M",
|
||||
hours: "H",
|
||||
},
|
||||
api_test: {
|
||||
is_continue: "Is continue",
|
||||
|
|
|
@ -1001,6 +1001,9 @@ export default {
|
|||
add_monitor: '添加监控',
|
||||
monitor_item: '监控项',
|
||||
monitor_host: '监控配置',
|
||||
seconds: "秒",
|
||||
minutes: "分",
|
||||
hours: "时",
|
||||
},
|
||||
api_test: {
|
||||
is_continue: "是否继续",
|
||||
|
|
|
@ -1001,6 +1001,9 @@ export default {
|
|||
add_monitor: '添加監控',
|
||||
monitor_item: '監控項',
|
||||
monitor_host: '監控配置',
|
||||
seconds: "秒",
|
||||
minutes: "分",
|
||||
hours: "時",
|
||||
},
|
||||
api_test: {
|
||||
is_continue: "是否繼續",
|
||||
|
|
Loading…
Reference in New Issue