From ed931f59490432861e81d10f42ffb5f94edd300d Mon Sep 17 00:00:00 2001 From: qianmoQ Date: Tue, 16 Apr 2024 20:32:26 +0800 Subject: [PATCH] [Core] [UI] Merge state --- core/datacap-ui/src/i18n/langs/en/index.ts | 14 +++++++++++--- core/datacap-ui/src/i18n/langs/en/state.ts | 11 ----------- core/datacap-ui/src/i18n/langs/zhCn/index.ts | 14 +++++++++++--- core/datacap-ui/src/i18n/langs/zhCn/state.ts | 11 ----------- 4 files changed, 22 insertions(+), 28 deletions(-) delete mode 100644 core/datacap-ui/src/i18n/langs/en/state.ts delete mode 100644 core/datacap-ui/src/i18n/langs/zhCn/state.ts diff --git a/core/datacap-ui/src/i18n/langs/en/index.ts b/core/datacap-ui/src/i18n/langs/en/index.ts index e579fa32..0dfb047c 100644 --- a/core/datacap-ui/src/i18n/langs/en/index.ts +++ b/core/datacap-ui/src/i18n/langs/en/index.ts @@ -1,7 +1,15 @@ -import state from '@/i18n/langs/en/state' - export default { - state: state, + state: { + common: { + create: 'Created', + running: 'Running', + success: 'Success', + failure: 'Failure', + stop: 'Stopped', + timeout: 'Timeout', + queue: 'Queue' + } + }, query: { common: { execute: 'Execute', diff --git a/core/datacap-ui/src/i18n/langs/en/state.ts b/core/datacap-ui/src/i18n/langs/en/state.ts deleted file mode 100644 index 49c9c81c..00000000 --- a/core/datacap-ui/src/i18n/langs/en/state.ts +++ /dev/null @@ -1,11 +0,0 @@ -export default { - common: { - create: 'Created', - running: 'Running', - success: 'Success', - failure: 'Failure', - stop: 'Stopped', - timeout: 'Timeout', - queue: 'Queue' - } -} \ No newline at end of file diff --git a/core/datacap-ui/src/i18n/langs/zhCn/index.ts b/core/datacap-ui/src/i18n/langs/zhCn/index.ts index 2220c682..0592d6c4 100644 --- a/core/datacap-ui/src/i18n/langs/zhCn/index.ts +++ b/core/datacap-ui/src/i18n/langs/zhCn/index.ts @@ -1,7 +1,15 @@ -import state from '@/i18n/langs/zhCn/state' - export default { - state: state, + state: { + common: { + create: '已创建', + running: '运行中', + success: '运行成功', + failure: '运行失败', + stop: '已停止', + timeout: '运行超时', + queue: '排队中' + } + }, query: { common: { execute: '执行', diff --git a/core/datacap-ui/src/i18n/langs/zhCn/state.ts b/core/datacap-ui/src/i18n/langs/zhCn/state.ts deleted file mode 100644 index 7ae0cc84..00000000 --- a/core/datacap-ui/src/i18n/langs/zhCn/state.ts +++ /dev/null @@ -1,11 +0,0 @@ -export default { - common: { - create: '已创建', - running: '运行中', - success: '运行成功', - failure: '运行失败', - stop: '已停止', - timeout: '运行超时', - queue: '排队中' - } -} \ No newline at end of file