refactor(性能测试): i18n
This commit is contained in:
parent
57f39d1428
commit
57f6871354
|
@ -213,9 +213,9 @@
|
|||
<!-- 资源池自己配置各个节点的并发 -->
|
||||
<div v-if="resourcePoolType === 'NODE'">
|
||||
<el-radio-group v-model="threadGroup.strategy" :disabled="isReadOnly" style="padding-bottom: 10px;">
|
||||
<el-radio label="auto">自动分配</el-radio>
|
||||
<el-radio label="specify">固定节点</el-radio>
|
||||
<el-radio label="custom">自定义</el-radio>
|
||||
<el-radio label="auto">{{ $t('load_test.auto_ratio') }}</el-radio>
|
||||
<el-radio label="specify">{{ $t('load_test.specify_resource') }}</el-radio>
|
||||
<el-radio label="custom">{{ $t('load_test.custom_ratio') }}</el-radio>
|
||||
</el-radio-group>
|
||||
<div v-if="threadGroup.strategy === 'auto'"></div>
|
||||
<div v-else-if="threadGroup.strategy === 'specify'">
|
||||
|
@ -233,7 +233,7 @@
|
|||
<el-table-column type="index" width="50"/>
|
||||
<el-table-column prop="ip" label="IP"/>
|
||||
<el-table-column prop="maxConcurrency" :label="$t('test_resource_pool.max_threads')"/>
|
||||
<el-table-column prop="ratio" label="占比">
|
||||
<el-table-column prop="ratio" :label="$t('test_track.home.percentage')">
|
||||
<template v-slot:default="{row}">
|
||||
<el-input-number size="small" v-model="row.ratio" :min="0" :step=".1"
|
||||
:max="1"></el-input-number>
|
||||
|
|
|
@ -830,6 +830,9 @@ export default {
|
|||
special_characters_are_not_supported: 'Test name does not support special characters',
|
||||
pressure_config_params_is_empty: 'Pressure configuration parameters cannot be empty!',
|
||||
pressure_config_custom_error: 'The sum of custom strategies must be 1',
|
||||
auto_ratio: 'Automatic allocation',
|
||||
custom_ratio: 'Custom',
|
||||
specify_resource: 'Specify node',
|
||||
schedule_tip: 'The interval must not be less than the pressure measuring time',
|
||||
delete_threadgroup_confirm: 'Confirm delete scenario: ',
|
||||
scenario_list: 'Scenario List',
|
||||
|
|
|
@ -836,6 +836,9 @@ export default {
|
|||
special_characters_are_not_supported: '测试名称不支持特殊字符',
|
||||
pressure_config_params_is_empty: '压力配置参数不能为空!',
|
||||
pressure_config_custom_error: '自定义策略之和必须为1',
|
||||
auto_ratio: '自动分配',
|
||||
custom_ratio: '自定义',
|
||||
specify_resource: '固定节点',
|
||||
schedule_tip: '间隔时间不能小于压测时长',
|
||||
delete_threadgroup_confirm: '确认删除场景',
|
||||
scenario_list: '场景列表',
|
||||
|
|
|
@ -835,6 +835,9 @@ export default {
|
|||
special_characters_are_not_supported: '測試名稱不支持特殊字符',
|
||||
pressure_config_params_is_empty: '壓力配置參數不能為空!',
|
||||
pressure_config_custom_error: '自定義策略之和必須為1',
|
||||
auto_ratio: '自動分配',
|
||||
custom_ratio: '自定義',
|
||||
specify_resource: '固定節點',
|
||||
schedule_tip: '間隔時間不能小於壓測時長',
|
||||
delete_threadgroup_confirm: '確認刪除場景',
|
||||
scenario_list: '場景列表',
|
||||
|
|
Loading…
Reference in New Issue