diff --git a/frontend/src/i18n/en_US.js b/frontend/src/i18n/en_US.js index 752720e122..1a0533322b 100644 --- a/frontend/src/i18n/en_US.js +++ b/frontend/src/i18n/en_US.js @@ -65,6 +65,25 @@ const en_US = { 'test_name_is_null': 'Test name cannot be empty! ', 'project_is_null': 'Project cannot be empty! ', 'jmx_is_null': 'JMX file cannot be empty! ', + 'file_name': 'File name', + 'file_size': 'File size', + 'file_type': 'File Type', + 'file_status': 'File Status', + 'last_modify_time': 'Modify time', + 'upload_tips': 'Drag files here, or click to upload ', + 'upload_type': 'Only JMX files can be uploaded', + 'related_file_not_found': "No related test file found!", + 'delete_file_confirm': 'Confirm delete file:', + 'delete_file': "Please delete an existing file first!", + 'thread_num': 'Concurrent users:', + 'input_thread_num': 'Please enter the number of threads', + 'duration': 'Duration time (minutes):', + 'input_duration': 'Please enter a duration', + 'rps_limit': 'RPS Limit:', + 'input_rps_limit': 'Please enter a limit', + 'ramp_up_time_within': 'In', + 'ramp_up_time_minutes': 'minutes, separate', + 'ramp_up_time_times': 'add concurrent users', }, i18n: { 'home': 'Home', diff --git a/frontend/src/i18n/zh_CN.js b/frontend/src/i18n/zh_CN.js index f2df6899e5..85a6dc8843 100644 --- a/frontend/src/i18n/zh_CN.js +++ b/frontend/src/i18n/zh_CN.js @@ -65,6 +65,25 @@ const zh_CN = { 'test_name_is_null': '测试名称不能为空!', 'project_is_null': '项目不能为空!', 'jmx_is_null': 'JMX文件不能为空!', + 'file_name': '文件名', + 'file_size': '文件大小', + 'file_type': '文件类型', + 'file_status': '文件状态', + 'last_modify_time': '修改时间', + 'upload_tips': '将文件拖到此处,或点击上传', + 'upload_type': '只能上传JMX文件', + 'related_file_not_found': "未找到关联的测试文件!", + 'delete_file_confirm': '确认删除文件: ', + 'delete_file': "请先删除已存在的文件!", + 'thread_num': '并发用户数:', + 'input_thread_num': '请输入线程数', + 'duration': '压测时长(分钟):', + 'input_duration': '请输入时长', + 'rps_limit': 'RPS上限:', + 'input_rps_limit': '请输入限制', + 'ramp_up_time_within': '在', + 'ramp_up_time_minutes': '分钟内,分', + 'ramp_up_time_times': '次增加并发用户', }, i18n: { 'home': '首页', diff --git a/frontend/src/performance/components/testPlan/components/BasicConfig.vue b/frontend/src/performance/components/testPlan/components/BasicConfig.vue index 37a3bea4e9..ac63868348 100644 --- a/frontend/src/performance/components/testPlan/components/BasicConfig.vue +++ b/frontend/src/performance/components/testPlan/components/BasicConfig.vue @@ -11,8 +11,8 @@ :on-exceed="handleExceed" :file-list="fileList"> -
将文件拖到此处,或点击上传
-
只能上传jmx文件
+
+
{{$t('load_test.upload_type')}}
+ :label="$t('load_test.file_name')"> + :label="$t('load_test.file_size')"> + :label="$t('load_test.file_type')"> + :label="$t('load_test.last_modify_time')">