fix: 修复性能测试页面上的i18n问题
--bug=1008938 --user=刘瑞斌 【国际化】-性能测试-未翻译汇总 https://www.tapd.cn/55049933/s/1082113
This commit is contained in:
parent
d5566fc4fe
commit
55acafcd07
|
@ -1,7 +1,7 @@
|
|||
<template>
|
||||
<el-dialog
|
||||
:close-on-click-modal="false"
|
||||
title="添加监控"
|
||||
:title="$t('load_test.add_monitor')"
|
||||
:visible.sync="dialogVisible"
|
||||
width="70%"
|
||||
@closed="closeFunc"
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
<template>
|
||||
<el-dialog
|
||||
:close-on-click-modal="false"
|
||||
title="添加监控"
|
||||
:title="$t('load_test.add_monitor')"
|
||||
:visible.sync="dialogVisible"
|
||||
width="70%"
|
||||
@closed="closeFunc"
|
||||
|
@ -10,11 +10,11 @@
|
|||
v-loading="result.loading"
|
||||
>
|
||||
<div style="height: 50vh;overflow-y: auto;">
|
||||
<el-form :model="form" label-position="right" label-width="80px" size="small" :rules="rule" ref="monitorForm">
|
||||
<el-form :model="form" label-position="right" label-width="100px" size="small" :rules="rule" ref="monitorForm">
|
||||
<el-form-item :label="$t('commons.name')" prop="name">
|
||||
<el-input v-model="form.name" autocomplete="off"/>
|
||||
</el-form-item>
|
||||
<h4 style="margin-left: 80px;">监控配置</h4>
|
||||
<h4 style="margin-left: 80px;">{{ $t('load_test.monitor_host') }}</h4>
|
||||
<el-row>
|
||||
<el-col :span="12">
|
||||
<el-form-item label="IP" prop="ip">
|
||||
|
@ -27,10 +27,10 @@
|
|||
</el-form-item>
|
||||
</el-col>
|
||||
</el-row>
|
||||
<el-form-item label="描述" prop="description">
|
||||
<el-form-item :label="$t('commons.description')" prop="description">
|
||||
<el-input v-model="form.description" autocomplete="off"/>
|
||||
</el-form-item>
|
||||
<h4 style="margin-left: 80px;">监控项</h4>
|
||||
<h4 style="margin-left: 80px;">{{ $t('load_test.monitor_item') }}</h4>
|
||||
<el-row>
|
||||
<el-col :span="20" :offset="2">
|
||||
<monitor-key-value key-placeholder="Label" value-placeholder="promQL" :items="monitorList"
|
||||
|
|
|
@ -1 +1 @@
|
|||
Subproject commit f78e985bb2ccb3dfbe719e4dd02868a2399ee952
|
||||
Subproject commit f806258070e9ca2cda08e48aa47952d31eb2a60a
|
|
@ -916,9 +916,9 @@ export default {
|
|||
param_is_duplicate: 'Parameter name is duplicate',
|
||||
domain_ip_is_empty: 'Domain and IP cannot be empty',
|
||||
param_name_value_is_empty: 'Parameters cannot be empty',
|
||||
connect_timeout: 'Timeout to establish a connection',
|
||||
response_timeout: 'Timeout to response',
|
||||
custom_http_code: 'Custom HTTP response success status code',
|
||||
connect_timeout: 'Connect timeout',
|
||||
response_timeout: 'Response timeout',
|
||||
custom_http_code: 'Custom response code',
|
||||
separated_by_commas: 'Separated by commas',
|
||||
serialize_threadgroups: 'ThreadGroup Sequentially',
|
||||
autostop_threadgroups: 'Auto stop',
|
||||
|
@ -973,6 +973,9 @@ export default {
|
|||
Network: 'Network',
|
||||
url:'URL'
|
||||
},
|
||||
add_monitor: 'Add Monitor',
|
||||
monitor_item: 'Monitor',
|
||||
monitor_host: 'Target host',
|
||||
},
|
||||
api_test: {
|
||||
is_continue: "Is continue",
|
||||
|
|
|
@ -980,6 +980,9 @@ export default {
|
|||
url: '路径'
|
||||
},
|
||||
project_file_update_type_error: '更新的文件类型必须一致',
|
||||
add_monitor: '添加监控',
|
||||
monitor_item: '监控项',
|
||||
monitor_host: '监控配置',
|
||||
},
|
||||
api_test: {
|
||||
is_continue: "是否继续",
|
||||
|
|
|
@ -977,6 +977,9 @@ export default {
|
|||
url:'路徑',
|
||||
},
|
||||
project_file_update_type_error: '更新的文件類型必須一致',
|
||||
add_monitor: '添加監控',
|
||||
monitor_item: '監控項',
|
||||
monitor_host: '監控配置',
|
||||
},
|
||||
api_test: {
|
||||
is_continue: "是否繼續",
|
||||
|
|
Loading…
Reference in New Issue