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 @@