diff --git a/frontend/src/business/components/api/definition/components/auth/ApiAuthConfig.vue b/frontend/src/business/components/api/definition/components/auth/ApiAuthConfig.vue
index 2accb865a6..bf1a9e70a8 100644
--- a/frontend/src/business/components/api/definition/components/auth/ApiAuthConfig.vue
+++ b/frontend/src/business/components/api/definition/components/auth/ApiAuthConfig.vue
@@ -78,7 +78,7 @@ export default {
data() {
return {
options: [{name: "No Auth"}, {name: "Basic Auth"}],
- encryptOptions: [{id: false, name: "不加密"}],
+ encryptOptions: [{id: false, name: this.$t('commons.encrypted')}],
activeName: "verified",
rule: {},
authConfig: {},
diff --git a/frontend/src/business/components/api/definition/components/list/ApiList.vue b/frontend/src/business/components/api/definition/components/list/ApiList.vue
index 25fe038a85..85c1a46d00 100644
--- a/frontend/src/business/components/api/definition/components/list/ApiList.vue
+++ b/frontend/src/business/components/api/definition/components/list/ApiList.vue
@@ -289,7 +289,7 @@ export default {
permissions: ['PROJECT_API_DEFINITION:READ+EDIT_API']
},
{
- name: this.$t('生成依赖关系'),
+ name: this.$t('test_track.case.generate_dependencies'),
isXPack: true,
handleClick: this.generateGraph,
permissions: ['PROJECT_API_DEFINITION:READ+EDIT_API']
diff --git a/frontend/src/business/components/api/definition/components/mock/Components/MockScriptNavMenu.vue b/frontend/src/business/components/api/definition/components/mock/Components/MockScriptNavMenu.vue
index e8dba183a4..6336ab0f00 100644
--- a/frontend/src/business/components/api/definition/components/mock/Components/MockScriptNavMenu.vue
+++ b/frontend/src/business/components/api/definition/components/mock/Components/MockScriptNavMenu.vue
@@ -151,7 +151,7 @@ export default {
if (this.language !== 'beanshell' && this.language !== 'groovy') {
if (obj.title === this.$t('api_test.request.processor.code_add_report_length') ||
obj.title === this.$t('api_test.request.processor.code_hide_report_length')) {
- this.$warning("无对应的 "+ this.language +" 代码模版!");
+ this.$warning(this.$t('commons.no_corresponding') + " " + this.language + " " + this.$t('commons.code_template') + "!");
return;
}
}
diff --git a/frontend/src/business/components/api/definition/components/module/ApiModule.vue b/frontend/src/business/components/api/definition/components/module/ApiModule.vue
index 3402362cc7..1cb36aa8ec 100644
--- a/frontend/src/business/components/api/definition/components/module/ApiModule.vue
+++ b/frontend/src/business/components/api/definition/components/module/ApiModule.vue
@@ -4,22 +4,22 @@
diff --git a/frontend/src/business/components/project/menu/function/ScriptNavMenu.vue b/frontend/src/business/components/project/menu/function/ScriptNavMenu.vue
index 4b0a813701..4b825836c6 100644
--- a/frontend/src/business/components/project/menu/function/ScriptNavMenu.vue
+++ b/frontend/src/business/components/project/menu/function/ScriptNavMenu.vue
@@ -158,7 +158,7 @@ export default {
if (this.language !== 'beanshell' && this.language !== 'groovy') {
if (obj.title === this.$t('api_test.request.processor.code_add_report_length') ||
obj.title === this.$t('api_test.request.processor.code_hide_report_length')) {
- this.$warning("无对应的 "+ this.language +" 代码模版!");
+ this.$warning(this.$t('commons.no_corresponding') + " " + this.language + " " + this.$t('commons.code_template') + "!");
return;
}
}
diff --git a/frontend/src/i18n/en-US.js b/frontend/src/i18n/en-US.js
index 33b14cac39..f671b241e4 100644
--- a/frontend/src/i18n/en-US.js
+++ b/frontend/src/i18n/en-US.js
@@ -182,6 +182,9 @@ export default {
node_name_tip: "The name cannot contain'\\'",
more_operator: "More operator",
mock: "Mock settings",
+ encrypted: "Not encrypted",
+ no_corresponding: "No corresponding",
+ code_template: "code template",
api_case: "Api Case",
scenario_case: "Scenario Case",
task_center: "Task center",
@@ -1037,6 +1040,8 @@ export default {
},
definition: {
api_quick_button: 'Api definition shortcut add button',
+ api_all: 'All interfaces',
+ unplanned_api: 'Unplanned interface',
id: 'Api Definition ID',
api_title: "Api test",
case_title: "Test Case",
@@ -1099,8 +1104,8 @@ export default {
encryption: "encryption",
req_param: "Request parameter",
res_param: "Response content",
- batch_delete: "Batch deletion",
- delete_confirm: "Confirm deletion",
+ batch_delete: "Batch delete",
+ delete_confirm: "Confirm delete",
batch_to_performance_confirm: "Confirm Batch Create Performance Test",
batch_copy_confirm: "Confirm batch copy",
batch_copy_end: "Batch Copy Over",
@@ -1355,6 +1360,7 @@ export default {
connect_timeout: "Connect Timeout",
response_timeout: "Response Timeout",
follow_redirects: "Follow Redirects",
+ cert_alias: "Certificate alias",
do_multipart_post: "Use multipart/form-data for POST",
body_upload_limit_size: "The file size does not exceed 500 MB",
condition: "condition",
@@ -1365,6 +1371,7 @@ export default {
text: "Text",
regex: "Regex",
response_time: "Response Time",
+ jsr223: "Script",
select_type: "Choose type",
select_subject: "Subject",
select_condition: "Condition",
diff --git a/frontend/src/i18n/zh-CN.js b/frontend/src/i18n/zh-CN.js
index 731bdbc0bd..8ab0288f4a 100644
--- a/frontend/src/i18n/zh-CN.js
+++ b/frontend/src/i18n/zh-CN.js
@@ -183,6 +183,9 @@ export default {
node_name_tip: "名称不能包含'\\'",
more_operator: "更多操作",
mock: "Mock 设置",
+ encrypted: "不加密",
+ no_corresponding: "无对应的",
+ code_template: "代码模版",
api_case: "接口用例",
scenario_case: "场景用例",
task_center: "任务中心",
@@ -1046,6 +1049,8 @@ export default {
definition: {
api_quick_button: '接口定义快捷添加按钮',
id: '接口定义ID',
+ api_all: '全部接口',
+ unplanned_api: '未规划接口',
api_title: "接口列表",
case_title: "用例列表",
doc_title: "文档",
diff --git a/frontend/src/i18n/zh-TW.js b/frontend/src/i18n/zh-TW.js
index 624e47f8a5..565b6eb2a2 100644
--- a/frontend/src/i18n/zh-TW.js
+++ b/frontend/src/i18n/zh-TW.js
@@ -183,6 +183,9 @@ export default {
node_name_tip: "名稱不能包含'\\'",
more_operator: "更多操作",
mock: "Mock 設置",
+ encrypted: "不加密",
+ no_corresponding: "無對應的",
+ code_template: "代码模版",
api_case: "接口用例",
scenario_case: "場景用例",
task_center: "任務中心",
@@ -1042,6 +1045,8 @@ export default {
},
definition: {
api_quick_button: '接口定義快捷添加按鈕',
+ api_all: '全部接口',
+ unplanned_api: '未規劃接口',
id: '接口定義ID',
api_title: "接口列表",
case_title: "用例列表",