From 5e3301ca85c4cd2d9d0f907a3c528bb39a08af66 Mon Sep 17 00:00:00 2001 From: qianmoQ Date: Tue, 16 Apr 2024 20:23:09 +0800 Subject: [PATCH] [Core] [UI] Merge template --- core/datacap-ui/src/i18n/langs/en/index.ts | 9 +++++++-- core/datacap-ui/src/i18n/langs/en/template.ts | 7 ------- core/datacap-ui/src/i18n/langs/zhCn/index.ts | 9 +++++++-- core/datacap-ui/src/i18n/langs/zhCn/template.ts | 7 ------- 4 files changed, 14 insertions(+), 18 deletions(-) delete mode 100644 core/datacap-ui/src/i18n/langs/en/template.ts delete mode 100644 core/datacap-ui/src/i18n/langs/zhCn/template.ts diff --git a/core/datacap-ui/src/i18n/langs/en/index.ts b/core/datacap-ui/src/i18n/langs/en/index.ts index cd930d26..9a35a1fa 100644 --- a/core/datacap-ui/src/i18n/langs/en/index.ts +++ b/core/datacap-ui/src/i18n/langs/en/index.ts @@ -4,7 +4,6 @@ import source from '@/i18n/langs/en/source' import grid from '@/i18n/langs/en/grid' import heatmap from '@/i18n/langs/en/heatmap' import region from '@/i18n/langs/en/region' -import template from '@/i18n/langs/en/template' export default { state: state, @@ -13,7 +12,13 @@ export default { grid: grid, heatmap: heatmap, region: region, - template: template, + template: { + common: { + list: 'Template List', + create: 'Create Template', + modify: 'Modify Template [ $NAME ]', + } + }, menu: { common: { list: 'Menu List', diff --git a/core/datacap-ui/src/i18n/langs/en/template.ts b/core/datacap-ui/src/i18n/langs/en/template.ts deleted file mode 100644 index e6f4a99d..00000000 --- a/core/datacap-ui/src/i18n/langs/en/template.ts +++ /dev/null @@ -1,7 +0,0 @@ -export default { - common: { - list: 'Template List', - create: 'Create Template', - modify: 'Modify Template [ $NAME ]', - } -} \ 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 9c500140..d0192083 100644 --- a/core/datacap-ui/src/i18n/langs/zhCn/index.ts +++ b/core/datacap-ui/src/i18n/langs/zhCn/index.ts @@ -4,7 +4,6 @@ import source from '@/i18n/langs/zhCn/source' import grid from '@/i18n/langs/zhCn/grid' import heatmap from '@/i18n/langs/zhCn/heatmap' import region from '@/i18n/langs/zhCn/region' -import template from '@/i18n/langs/zhCn/template' export default { state: state, @@ -13,7 +12,13 @@ export default { grid: grid, heatmap: heatmap, region: region, - template: template, + template: { + common: { + list: '模板列表', + create: '创建模板', + modify: '修改模板 [ $NAME ]', + } + }, menu: { common: { list: '菜单列表', diff --git a/core/datacap-ui/src/i18n/langs/zhCn/template.ts b/core/datacap-ui/src/i18n/langs/zhCn/template.ts deleted file mode 100644 index f1db8c4c..00000000 --- a/core/datacap-ui/src/i18n/langs/zhCn/template.ts +++ /dev/null @@ -1,7 +0,0 @@ -export default { - common: { - list: '模板列表', - create: '创建模板', - modify: '修改模板 [ $NAME ]', - } -} \ No newline at end of file