diff --git a/frontend/src/i18n/en_US.js b/frontend/src/i18n/en_US.js index 9d93c61805..fbb1829393 100644 --- a/frontend/src/i18n/en_US.js +++ b/frontend/src/i18n/en_US.js @@ -1,4 +1,13 @@ const en_US = { + commons: { + 'workspace': 'Workspace', + 'name': 'Name', + 'description': 'Description', + 'save': 'Save' + }, + workspace: { + 'create': 'Create Workspace', + }, i18n: { 'home': 'Home', } diff --git a/frontend/src/i18n/zh_CN.js b/frontend/src/i18n/zh_CN.js index 7b248babfa..5345fd596e 100644 --- a/frontend/src/i18n/zh_CN.js +++ b/frontend/src/i18n/zh_CN.js @@ -1,4 +1,13 @@ const zh_CN = { + commons: { + 'workspace': '工作空间', + 'name': '名称', + 'description': '描述', + 'save': '保存' + }, + workspace: { + 'create': '创建工作空间', + }, i18n: { 'home': '首页', } diff --git a/frontend/src/performance/components/settings/Workspace.vue b/frontend/src/performance/components/settings/Workspace.vue index f211aae422..f90b35ecf7 100644 --- a/frontend/src/performance/components/settings/Workspace.vue +++ b/frontend/src/performance/components/settings/Workspace.vue @@ -4,7 +4,7 @@
- 工作空间 + {{$t('commons.workspace')}} @@ -14,8 +14,8 @@
- - + +