diff --git a/frontend/src/i18n/en-US.js b/frontend/src/i18n/en-US.js index 2029e89a5a..cececec2f3 100644 --- a/frontend/src/i18n/en-US.js +++ b/frontend/src/i18n/en-US.js @@ -33,6 +33,13 @@ export default { 'status': 'Enable/Disable', 'show_all': 'Show All', 'report': 'Report', + 'user': 'User', + 'system': 'System', + 'personal_setting': 'Personal Setting', + 'test_resource_pool': 'Resource Pool', + 'system_setting': 'Settings', + 'functional': 'Functional', + 'performance': 'Performance', }, workspace: { 'create': 'Create Workspace', @@ -71,6 +78,7 @@ export default { 'search_by_name': 'Search by name', 'modify_personal_info': 'Modify Personal Information', 'input_name': 'Please enter a user name', + 'input_email': 'Please enter a email', 'special_characters_are_not_supported': 'Special characters are not supported', 'mobile_number_format_is_incorrect': 'Mobile number format is incorrect', 'email_format_is_incorrect': 'Email format is incorrect', diff --git a/frontend/src/i18n/zh-CN.js b/frontend/src/i18n/zh-CN.js index a2d739794d..5a68c7f63b 100644 --- a/frontend/src/i18n/zh-CN.js +++ b/frontend/src/i18n/zh-CN.js @@ -33,6 +33,13 @@ export default { 'status': '启用/禁用', 'show_all': '显示全部', 'report': '报告', + 'user': '用户', + 'system': '系统', + 'personal_setting': '个人设置', + 'test_resource_pool': '测试资源池', + 'system_setting': '系统设置', + 'functional': '功能测试', + 'performance': '性能测试', }, workspace: { 'create': '创建工作空间', diff --git a/frontend/src/performance/components/HeaderTopMenus.vue b/frontend/src/performance/components/HeaderTopMenus.vue index 55d6cd0bbf..ba9af2b3cc 100644 --- a/frontend/src/performance/components/HeaderTopMenus.vue +++ b/frontend/src/performance/components/HeaderTopMenus.vue @@ -8,13 +8,15 @@ @select="handleSelect" router> - 功能测试 + {{$t('commons.functional')}} - 性能测试 + {{$t('commons.performance')}} + + + {{$t('commons.system_setting')}} - 系统设置 diff --git a/frontend/src/performance/components/settings/SettingMenu.vue b/frontend/src/performance/components/settings/SettingMenu.vue index 0e1a860b8f..22b0fac87e 100644 --- a/frontend/src/performance/components/settings/SettingMenu.vue +++ b/frontend/src/performance/components/settings/SettingMenu.vue @@ -3,37 +3,39 @@ - 系统 + {{$t('commons.system')}} - 用户 - 组织 - 工作空间 - 测试资源池 + {{$t('commons.user')}} + {{$t('commons.organization')}} + {{$t('commons.workspace')}} + {{$t('commons.test_resource_pool')}} - 组织 + {{$t('commons.organization')}} - 成员 - 工作空间 + {{$t('commons.member')}} + + {{$t('commons.workspace')}} + - 工作空间 + {{$t('commons.workspace')}} - 成员 + {{$t('commons.member')}} - 个人 + {{$t('commons.personal_info')}} - 个人设置 + {{$t('commons.personal_setting')}} diff --git a/frontend/src/performance/components/settings/workspace/WorkspaceMember.vue b/frontend/src/performance/components/settings/workspace/WorkspaceMember.vue index 715297dfb1..9c6cd7c4e4 100644 --- a/frontend/src/performance/components/settings/workspace/WorkspaceMember.vue +++ b/frontend/src/performance/components/settings/workspace/WorkspaceMember.vue @@ -3,7 +3,7 @@ - 成员 + {{$t('commons.member')}}