From 982385b1a6a9e051aae1f363866a6c1a6dba3048 Mon Sep 17 00:00:00 2001 From: CaptainB Date: Mon, 20 Dec 2021 15:26:20 +0800 Subject: [PATCH] =?UTF-8?q?fix(=E6=80=A7=E8=83=BD=E6=B5=8B=E8=AF=95):=20?= =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E6=80=A7=E8=83=BD=E6=B5=8B=E8=AF=95=E5=8E=8B?= =?UTF-8?q?=E5=8A=9B=E9=85=8D=E7=BD=AE=E5=9B=BD=E9=99=85=E5=8C=96=E9=97=AE?= =?UTF-8?q?=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../test/components/PerformancePressureConfig.vue | 12 ++++++------ .../view/comonents/load/PerformanceLoadConfig.vue | 12 ++++++------ frontend/src/i18n/en-US.js | 13 ++++++++----- frontend/src/i18n/zh-CN.js | 3 +++ frontend/src/i18n/zh-TW.js | 3 +++ 5 files changed, 26 insertions(+), 17 deletions(-) diff --git a/frontend/src/business/components/performance/test/components/PerformancePressureConfig.vue b/frontend/src/business/components/performance/test/components/PerformancePressureConfig.vue index 513e1d1871..acf5acacb9 100644 --- a/frontend/src/business/components/performance/test/components/PerformancePressureConfig.vue +++ b/frontend/src/business/components/performance/test/components/PerformancePressureConfig.vue @@ -50,13 +50,13 @@ {{ $t('load_test.thread_num') }}{{ threadGroup.threadNumber }}, {{ $t('load_test.duration') }}: - {{ threadGroup.durationHours }}{{ $t('schedule.cron.hours') }} + {{ threadGroup.durationHours }}{{ $t('load_test.hours') }} - {{ threadGroup.durationMinutes }}{{ $t('schedule.cron.minutes') }} + {{ threadGroup.durationMinutes }}{{ $t('load_test.minutes') }} - {{ threadGroup.durationSeconds }}{{ $t('schedule.cron.seconds') }} + {{ threadGroup.durationSeconds }}{{ $t('load_test.seconds') }} @@ -106,7 +106,7 @@ @change="calculateTotalChart()" size="mini"/> - + - + - +
diff --git a/frontend/src/business/components/track/plan/view/comonents/load/PerformanceLoadConfig.vue b/frontend/src/business/components/track/plan/view/comonents/load/PerformanceLoadConfig.vue index 7aac5eba0d..f7ab63d9a7 100644 --- a/frontend/src/business/components/track/plan/view/comonents/load/PerformanceLoadConfig.vue +++ b/frontend/src/business/components/track/plan/view/comonents/load/PerformanceLoadConfig.vue @@ -51,13 +51,13 @@ {{ $t('load_test.thread_num') }}{{ threadGroup.threadNumber }}, {{ $t('load_test.duration') }}: - {{ threadGroup.durationHours }}{{ $t('schedule.cron.hours') }} + {{ threadGroup.durationHours }}{{ $t('load_test.hours') }} - {{ threadGroup.durationMinutes }}{{ $t('schedule.cron.minutes') }} + {{ threadGroup.durationMinutes }}{{ $t('load_test.minutes') }} - {{ threadGroup.durationSeconds }}{{ $t('schedule.cron.seconds') }} + {{ threadGroup.durationSeconds }}{{ $t('load_test.seconds') }}
@@ -105,7 +105,7 @@ @change="calculateTotalChart()" size="mini"/> - + - + - +
diff --git a/frontend/src/i18n/en-US.js b/frontend/src/i18n/en-US.js index 26be29ef74..3303e16a58 100644 --- a/frontend/src/i18n/en-US.js +++ b/frontend/src/i18n/en-US.js @@ -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", diff --git a/frontend/src/i18n/zh-CN.js b/frontend/src/i18n/zh-CN.js index a7d96102cf..476f747f5b 100644 --- a/frontend/src/i18n/zh-CN.js +++ b/frontend/src/i18n/zh-CN.js @@ -1001,6 +1001,9 @@ export default { add_monitor: '添加监控', monitor_item: '监控项', monitor_host: '监控配置', + seconds: "秒", + minutes: "分", + hours: "时", }, api_test: { is_continue: "是否继续", diff --git a/frontend/src/i18n/zh-TW.js b/frontend/src/i18n/zh-TW.js index 3df5289058..a9ae8e559c 100644 --- a/frontend/src/i18n/zh-TW.js +++ b/frontend/src/i18n/zh-TW.js @@ -1001,6 +1001,9 @@ export default { add_monitor: '添加監控', monitor_item: '監控項', monitor_host: '監控配置', + seconds: "秒", + minutes: "分", + hours: "時", }, api_test: { is_continue: "是否繼續",