From 9c7b776a374fa105f78a2e4faaf2c40cfd575cb4 Mon Sep 17 00:00:00 2001 From: "Captain.B" Date: Wed, 26 Feb 2020 18:31:07 +0800 Subject: [PATCH] ms project --- frontend/src/i18n/en_US.js | 8 +++-- frontend/src/i18n/zh_CN.js | 6 +++- .../components/project/MsProject.vue | 35 +++++++++---------- .../components/testPlan/AllTestPlan.vue | 3 +- 4 files changed, 29 insertions(+), 23 deletions(-) diff --git a/frontend/src/i18n/en_US.js b/frontend/src/i18n/en_US.js index 0b3379ae04..8868e85776 100644 --- a/frontend/src/i18n/en_US.js +++ b/frontend/src/i18n/en_US.js @@ -1,6 +1,7 @@ const en_US = { commons: { 'workspace': 'Workspace', + 'project': 'Project', 'name': 'Name', 'description': 'Description', 'save': 'Save', @@ -17,11 +18,14 @@ const en_US = { 'input_name': 'Please enter a workspace name', 'input_name_2_50': '2 to 50 characters in length', 'search_by_name': 'Search by name', - 'organization_name': 'Organizationn Name', + 'organization_name': 'Organization Name', 'please_choose_organization': 'Please Choose Organization', }, project: { - 'recent': 'Recent Projects' + 'recent': 'Recent Projects', + 'create': 'Create Project', + 'delete_confirm': 'Are you sure you want to delete this project?', + 'search_by_name': 'Search by name', }, i18n: { 'home': 'Home', diff --git a/frontend/src/i18n/zh_CN.js b/frontend/src/i18n/zh_CN.js index b4485f5be9..65b8eb3e37 100644 --- a/frontend/src/i18n/zh_CN.js +++ b/frontend/src/i18n/zh_CN.js @@ -1,6 +1,7 @@ const zh_CN = { commons: { 'workspace': '工作空间', + 'project': '项目', 'name': '名称', 'description': '描述', 'save': '保存', @@ -21,7 +22,10 @@ const zh_CN = { 'please_choose_organization': '请选择组织', }, project: { - 'recent': '最近的项目' + 'recent': '最近的项目', + 'create': '创建项目', + 'delete_confirm': '这个项目确定要删除吗?', + 'search_by_name': '根据名称搜索', }, i18n: { 'home': '首页', diff --git a/frontend/src/performance/components/project/MsProject.vue b/frontend/src/performance/components/project/MsProject.vue index d3272fdcd6..bc31fe2655 100644 --- a/frontend/src/performance/components/project/MsProject.vue +++ b/frontend/src/performance/components/project/MsProject.vue @@ -5,18 +5,19 @@
- 项目 + {{$t('commons.project')}} -
- - + +