From a7ea334005b91b70951a72de22a89d4608e449d0 Mon Sep 17 00:00:00 2001 From: shiziyuan9527 Date: Wed, 26 Feb 2020 18:38:57 +0800 Subject: [PATCH] =?UTF-8?q?=E7=BB=84=E7=BB=87=E8=8F=9C=E5=8D=95=E5=9B=BD?= =?UTF-8?q?=E9=99=85=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- frontend/src/i18n/en_US.js | 13 +++++ frontend/src/i18n/zh_CN.js | 13 +++++ frontend/src/i18n/zh_TW.js | 7 +++ .../components/settings/Organization.vue | 50 +++++++++---------- 4 files changed, 58 insertions(+), 25 deletions(-) diff --git a/frontend/src/i18n/en_US.js b/frontend/src/i18n/en_US.js index 0b3379ae04..5f3c327c7a 100644 --- a/frontend/src/i18n/en_US.js +++ b/frontend/src/i18n/en_US.js @@ -1,14 +1,18 @@ const en_US = { commons: { 'workspace': 'Workspace', + 'organization': 'Organization', 'name': 'Name', 'description': 'Description', 'save': 'Save', 'save_success': 'Saved successfully', 'delete_success': 'Deleted successfully', + 'modify_success': 'Modify Success', + 'delete_cancel': 'Deleted Cancel', 'confirm': 'Confirm', 'cancel': 'Cancel', 'prompt': 'Prompt', + 'operating': 'Operating', }, workspace: { 'create': 'Create Workspace', @@ -20,6 +24,15 @@ const en_US = { 'organization_name': 'Organizationn Name', 'please_choose_organization': 'Please Choose Organization', }, + organization: { + 'create': 'Create', + 'modify': 'Modify', + 'delete_confirm': 'Are you sure you want to delete this workspace?', + 'input_name': 'Please enter a organization name', + 'input_name_2_50': '2 to 50 characters in length', + 'search_by_name': 'Search by name', + 'special_characters_are_not_supported': 'Special characters are not supported', + }, project: { 'recent': 'Recent Projects' }, diff --git a/frontend/src/i18n/zh_CN.js b/frontend/src/i18n/zh_CN.js index b4485f5be9..f9fd22cc36 100644 --- a/frontend/src/i18n/zh_CN.js +++ b/frontend/src/i18n/zh_CN.js @@ -1,14 +1,18 @@ const zh_CN = { commons: { 'workspace': '工作空间', + 'organization': '组织', 'name': '名称', 'description': '描述', 'save': '保存', 'save_success': '保存成功', 'delete_success': '删除成功', + 'modify_success': '修改成功', + 'delete_cancel': '已取消删除', 'confirm': '确定', 'cancel': '取消', 'prompt': '提示', + 'operating': '操作', }, workspace: { 'create': '创建工作空间', @@ -20,6 +24,15 @@ const zh_CN = { 'organization_name': '所属组织', 'please_choose_organization': '请选择组织', }, + organization: { + 'create': '创建组织', + 'modify': '修改组织', + 'delete_confirm': '这个组织确定要删除吗?', + 'input_name': '请输入组织名称', + 'input_name_2_50': '长度在 2 到 50 个字符', + 'search_by_name': '根据名称搜索', + 'special_characters_are_not_supported': '不支持特殊字符', + }, project: { 'recent': '最近的项目' }, diff --git a/frontend/src/i18n/zh_TW.js b/frontend/src/i18n/zh_TW.js index 644e452581..a0e477287c 100644 --- a/frontend/src/i18n/zh_TW.js +++ b/frontend/src/i18n/zh_TW.js @@ -1,6 +1,7 @@ const zh_TW = { commons: { 'workspace': '工作空间', + 'organization': '组织', 'name': '名称', 'description': '描述', 'save': '保存', @@ -9,6 +10,7 @@ const zh_TW = { 'confirm': '确定', 'cancel': '取消', 'prompt': '提示', + 'operating': '操作', }, workspace: { 'create': '创建工作空间', @@ -20,6 +22,11 @@ const zh_TW = { 'organization_name': '所属组织', 'please_choose_organization': '请选择组织', }, + organization: { + 'create': '创建组织', + 'modify': '修改组织', + 'search_by_name': '根据名称搜索', + }, project: { 'recent': '最近的项目' }, diff --git a/frontend/src/performance/components/settings/Organization.vue b/frontend/src/performance/components/settings/Organization.vue index b337b3fbcd..9a6c5ae54e 100644 --- a/frontend/src/performance/components/settings/Organization.vue +++ b/frontend/src/performance/components/settings/Organization.vue @@ -4,20 +4,20 @@
- 组织 + {{$t('commons.organization')}} -
- - - + + +