Commit 54bd6d097e8aab712918225a14965c9d39f12efc
Merge branch 'main_dev' into 'main'
Main dev See merge request yunteng/thingskit-view!286
Showing
38 changed files
with
3837 additions
and
237 deletions
Too many changes to show.
To preserve performance only 38 of 395 files are displayed.
@@ -3,7 +3,7 @@ | @@ -3,7 +3,7 @@ | ||
3 | <n-list bordered class="go-system-setting"> | 3 | <n-list bordered class="go-system-setting"> |
4 | <template #header> | 4 | <template #header> |
5 | <n-space justify="space-between"> | 5 | <n-space justify="space-between"> |
6 | - <n-h3 class="go-mb-0">系统设置</n-h3> | 6 | + <n-h3 class="go-mb-0">{{t('system.systemSettingText')}}</n-h3> |
7 | <n-icon size="20" class="go-cursor-pointer" @click="closeHandle"> | 7 | <n-icon size="20" class="go-cursor-pointer" @click="closeHandle"> |
8 | <close-icon></close-icon> | 8 | <close-icon></close-icon> |
9 | </n-icon> | 9 | </n-icon> |
@@ -74,6 +74,7 @@ import { ListType } from './index.d' | @@ -74,6 +74,7 @@ import { ListType } from './index.d' | ||
74 | import { useSettingStore } from '@/store/modules/settingStore/settingStore' | 74 | import { useSettingStore } from '@/store/modules/settingStore/settingStore' |
75 | import { SettingStoreEnums, ToolsStatusEnum } from '@/store/modules/settingStore/settingStore.d' | 75 | import { SettingStoreEnums, ToolsStatusEnum } from '@/store/modules/settingStore/settingStore.d' |
76 | import { icon } from '@/plugins' | 76 | import { icon } from '@/plugins' |
77 | +const t = window['$t'] | ||
77 | 78 | ||
78 | const props = defineProps({ | 79 | const props = defineProps({ |
79 | modelShow: Boolean | 80 | modelShow: Boolean |
@@ -89,23 +90,23 @@ const list = reactive<ListType[]>([ | @@ -89,23 +90,23 @@ const list = reactive<ListType[]>([ | ||
89 | key: SettingStoreEnums.ASIDE_ALL_COLLAPSED, | 90 | key: SettingStoreEnums.ASIDE_ALL_COLLAPSED, |
90 | value: settingStore.getAsideAllCollapsed, | 91 | value: settingStore.getAsideAllCollapsed, |
91 | type: 'switch', | 92 | type: 'switch', |
92 | - name: '菜单折叠', | ||
93 | - desc: '首页菜单折叠时隐藏至界面外' | 93 | + name: t('system.menuCollText'), |
94 | + desc:t('system.menuDesc') | ||
94 | }, | 95 | }, |
95 | { | 96 | { |
96 | key: SettingStoreEnums.HIDE_PACKAGE_ONE_CATEGORY, | 97 | key: SettingStoreEnums.HIDE_PACKAGE_ONE_CATEGORY, |
97 | value: settingStore.getHidePackageOneCategory, | 98 | value: settingStore.getHidePackageOneCategory, |
98 | type: 'switch', | 99 | type: 'switch', |
99 | - name: '隐藏分类', | ||
100 | - desc: '工作空间表单分类只有单项时隐藏' | 100 | + name: t('system.hideClassText'), |
101 | + desc: t('system.hideDesc') | ||
101 | }, | 102 | }, |
102 | { | 103 | { |
103 | key: SettingStoreEnums.CHANGE_LANG_RELOAD, | 104 | key: SettingStoreEnums.CHANGE_LANG_RELOAD, |
104 | value: settingStore.getChangeLangReload, | 105 | value: settingStore.getChangeLangReload, |
105 | type: 'switch', | 106 | type: 'switch', |
106 | - name: '切换语言', | ||
107 | - desc: '切换语言重新加载页面', | ||
108 | - tip: '若遇到部分区域语言切换失败,则建议开启' | 107 | + name: t('system.switchLanguageText'), |
108 | + desc: t('system.languageDesc'), | ||
109 | + tip: t('system.languageTip') | ||
109 | }, | 110 | }, |
110 | { | 111 | { |
111 | key: 'divider1', | 112 | key: 'divider1', |
@@ -118,22 +119,22 @@ const list = reactive<ListType[]>([ | @@ -118,22 +119,22 @@ const list = reactive<ListType[]>([ | ||
118 | key: SettingStoreEnums.CHART_TOOLS_STATUS_HIDE, | 119 | key: SettingStoreEnums.CHART_TOOLS_STATUS_HIDE, |
119 | value: settingStore.getChartToolsStatusHide, | 120 | value: settingStore.getChartToolsStatusHide, |
120 | type: 'switch', | 121 | type: 'switch', |
121 | - name: '隐藏工具栏', | ||
122 | - desc: '鼠标移入时,会展示切换到展开模式', | 122 | + name: t('system.hideToolbarText'), |
123 | + desc: t('system.toolbarDesc'), | ||
123 | }, | 124 | }, |
124 | { | 125 | { |
125 | key: SettingStoreEnums.CHART_TOOLS_STATUS, | 126 | key: SettingStoreEnums.CHART_TOOLS_STATUS, |
126 | value: settingStore.getChartToolsStatus, | 127 | value: settingStore.getChartToolsStatus, |
127 | type: 'select', | 128 | type: 'select', |
128 | - name: '工具栏展示', | ||
129 | - desc: '工作空间工具栏展示方式', | 129 | + name: t('system.showToolbarText'), |
130 | + desc: t('system.showToolbarDesc'), | ||
130 | options: [ | 131 | options: [ |
131 | { | 132 | { |
132 | - label: '侧边栏', | 133 | + label: t('system.asideText'), |
133 | value: ToolsStatusEnum.ASIDE | 134 | value: ToolsStatusEnum.ASIDE |
134 | }, | 135 | }, |
135 | { | 136 | { |
136 | - label: '底部 Dock', | 137 | + label: t('system.dockText'), |
137 | value: ToolsStatusEnum.DOCK | 138 | value: ToolsStatusEnum.DOCK |
138 | } | 139 | } |
139 | ] | 140 | ] |
@@ -149,21 +150,21 @@ const list = reactive<ListType[]>([ | @@ -149,21 +150,21 @@ const list = reactive<ListType[]>([ | ||
149 | key: SettingStoreEnums.CHART_MOVE_DISTANCE, | 150 | key: SettingStoreEnums.CHART_MOVE_DISTANCE, |
150 | value: settingStore.getChartMoveDistance, | 151 | value: settingStore.getChartMoveDistance, |
151 | type: 'number', | 152 | type: 'number', |
152 | - name: '移动距离', | 153 | + name: t('system.movingText'), |
153 | min: 1, | 154 | min: 1, |
154 | step: 1, | 155 | step: 1, |
155 | suffix: 'px', | 156 | suffix: 'px', |
156 | - desc: '工作空间方向键控制移动距离' | 157 | + desc: t('system.movingDesc') |
157 | }, | 158 | }, |
158 | { | 159 | { |
159 | key: SettingStoreEnums.CHART_ALIGN_RANGE, | 160 | key: SettingStoreEnums.CHART_ALIGN_RANGE, |
160 | value: settingStore.getChartAlignRange, | 161 | value: settingStore.getChartAlignRange, |
161 | type: 'number', | 162 | type: 'number', |
162 | - name: '吸附距离', | 163 | + name: t('system.adsorptionText'), |
163 | min: 10, | 164 | min: 10, |
164 | step: 2, | 165 | step: 2, |
165 | suffix: 'px', | 166 | suffix: 'px', |
166 | - desc: '工作空间移动图表时的吸附距离' | 167 | + desc: t('system.adsorptionDesc') |
167 | } | 168 | } |
168 | ]) | 169 | ]) |
169 | 170 |
1 | <template> | 1 | <template> |
2 | - <collapse-item name="渲染器"> | 2 | + <collapse-item :name="t('external.customized.rendererText')"> |
3 | <setting-item-box :alone="true"> | 3 | <setting-item-box :alone="true"> |
4 | <template #name> | 4 | <template #name> |
5 | - <n-text>全局</n-text> | 5 | + <n-text>{{ t('common.overallText') }}</n-text> |
6 | <n-tooltip trigger="hover"> | 6 | <n-tooltip trigger="hover"> |
7 | <template #trigger> | 7 | <template #trigger> |
8 | <n-icon size="21" :depth="3"> | 8 | <n-icon size="21" :depth="3"> |
9 | <help-outline-icon></help-outline-icon> | 9 | <help-outline-icon></help-outline-icon> |
10 | </n-icon> | 10 | </n-icon> |
11 | </template> | 11 | </template> |
12 | - <n-text>所有echarts图表组件默认都将采用所选的渲染器进行渲染</n-text> | 12 | + <n-text>{{ t('external.customized.allRenderText') }}</n-text> |
13 | </n-tooltip> | 13 | </n-tooltip> |
14 | </template> | 14 | </template> |
15 | <EchartsRendererSetting v-model="themeSetting.renderer" /> | 15 | <EchartsRendererSetting v-model="themeSetting.renderer" /> |
16 | </setting-item-box> | 16 | </setting-item-box> |
17 | <setting-item-box :alone="true"> | 17 | <setting-item-box :alone="true"> |
18 | <template #name> | 18 | <template #name> |
19 | - <n-text>当前</n-text> | 19 | + <n-text>{{ t('external.customized.currentText') }}</n-text> |
20 | <n-tooltip trigger="hover"> | 20 | <n-tooltip trigger="hover"> |
21 | <template #trigger> | 21 | <template #trigger> |
22 | <n-icon size="21" :depth="3"> | 22 | <n-icon size="21" :depth="3"> |
23 | <help-outline-icon></help-outline-icon> | 23 | <help-outline-icon></help-outline-icon> |
24 | </n-icon> | 24 | </n-icon> |
25 | </template> | 25 | </template> |
26 | - <n-text>仅当前组件采用指定渲染器渲染</n-text> | 26 | + <n-text>{{ t('external.customized.onlyRenderText') }}</n-text> |
27 | </n-tooltip> | 27 | </n-tooltip> |
28 | </template> | 28 | </template> |
29 | <EchartsRendererSetting v-model="optionData.renderer" includeInherit /> | 29 | <EchartsRendererSetting v-model="optionData.renderer" includeInherit /> |
30 | </setting-item-box> | 30 | </setting-item-box> |
31 | </collapse-item> | 31 | </collapse-item> |
32 | - <collapse-item v-if="title" name="标题"> | 32 | + <collapse-item v-if="title" :name="t('common.titleText')"> |
33 | <template #header> | 33 | <template #header> |
34 | <n-switch v-model:value="title.show" size="small"></n-switch> | 34 | <n-switch v-model:value="title.show" size="small"></n-switch> |
35 | </template> | 35 | </template> |
36 | - <setting-item-box name="标题"> | ||
37 | - <setting-item name="颜色"> | 36 | + <setting-item-box :name="t('common.titleText')"> |
37 | + <setting-item :name="t('external.customized.color')"> | ||
38 | <n-color-picker v-model:value="title.textStyle.color" size="small"></n-color-picker> | 38 | <n-color-picker v-model:value="title.textStyle.color" size="small"></n-color-picker> |
39 | </setting-item> | 39 | </setting-item> |
40 | - <setting-item name="大小"> | 40 | + <setting-item :name="t('external.customized.sizeText')"> |
41 | <n-input-number v-model:value="title.textStyle.fontSize" :min="1" size="small"></n-input-number> | 41 | <n-input-number v-model:value="title.textStyle.fontSize" :min="1" size="small"></n-input-number> |
42 | </setting-item> | 42 | </setting-item> |
43 | </setting-item-box> | 43 | </setting-item-box> |
44 | - <setting-item-box name="副标题"> | ||
45 | - <setting-item name="颜色"> | 44 | + <setting-item-box :name="t('external.customized.subtitleText')"> |
45 | + <setting-item :name="t('external.customized.color')"> | ||
46 | <n-color-picker size="small" v-model:value="title.subtextStyle.color"></n-color-picker> | 46 | <n-color-picker size="small" v-model:value="title.subtextStyle.color"></n-color-picker> |
47 | </setting-item> | 47 | </setting-item> |
48 | - <setting-item name="大小"> | 48 | + <setting-item :name="t('external.customized.sizeText')"> |
49 | <n-input-number v-model:value="title.subtextStyle.fontSize" :min="1" size="small"></n-input-number> | 49 | <n-input-number v-model:value="title.subtextStyle.fontSize" :min="1" size="small"></n-input-number> |
50 | </setting-item> | 50 | </setting-item> |
51 | </setting-item-box> | 51 | </setting-item-box> |
52 | </collapse-item> | 52 | </collapse-item> |
53 | 53 | ||
54 | - <collapse-item v-if="grid" name="容器"> | ||
55 | - <setting-item-box name="距离"> | ||
56 | - <setting-item name="左侧距离"> | 54 | + <collapse-item v-if="grid" :name="t('external.customized.containerText')"> |
55 | + <setting-item-box :name="t('external.customized.distanceText')"> | ||
56 | + <setting-item :name="t('external.customized.leftDistanceText')"> | ||
57 | <n-input v-model:value="grid.left" size="small"></n-input> | 57 | <n-input v-model:value="grid.left" size="small"></n-input> |
58 | </setting-item> | 58 | </setting-item> |
59 | - <setting-item name="右侧距离"> | 59 | + <setting-item :name="t('external.customized.rightDistanceText')"> |
60 | <n-input v-model:value="grid.right" size="small"></n-input> | 60 | <n-input v-model:value="grid.right" size="small"></n-input> |
61 | </setting-item> | 61 | </setting-item> |
62 | - <setting-item name="上侧距离"> | 62 | + <setting-item :name="t('external.customized.upperDistanceText')"> |
63 | <n-input v-model:value="grid.top" size="small"></n-input> | 63 | <n-input v-model:value="grid.top" size="small"></n-input> |
64 | </setting-item> | 64 | </setting-item> |
65 | - <setting-item name="下侧距离"> | 65 | + <setting-item :name="t('external.customized.lowerDistanceText')"> |
66 | <n-input v-model:value="grid.bottom" size="small"></n-input> | 66 | <n-input v-model:value="grid.bottom" size="small"></n-input> |
67 | </setting-item> | 67 | </setting-item> |
68 | </setting-item-box> | 68 | </setting-item-box> |
69 | </collapse-item> | 69 | </collapse-item> |
70 | 70 | ||
71 | - <collapse-item v-if="xAxis" name="X轴"> | 71 | + <collapse-item v-if="xAxis" :name="t('external.customized.xAxisText')"> |
72 | <template #header> | 72 | <template #header> |
73 | <n-switch v-model:value="xAxis.show" size="small"></n-switch> | 73 | <n-switch v-model:value="xAxis.show" size="small"></n-switch> |
74 | </template> | 74 | </template> |
75 | - <setting-item-box name="单位"> | ||
76 | - <setting-item name="名称"> | 75 | + <setting-item-box :name="t('common.unitText')"> |
76 | + <setting-item :name="t('common.nameText')"> | ||
77 | <n-input v-model:value="xAxis.name" size="small"></n-input> | 77 | <n-input v-model:value="xAxis.name" size="small"></n-input> |
78 | </setting-item> | 78 | </setting-item> |
79 | - <setting-item name="颜色"> | 79 | + <setting-item :name="t('external.customized.color')"> |
80 | <n-color-picker size="small" v-model:value="xAxis.nameTextStyle.color"></n-color-picker> | 80 | <n-color-picker size="small" v-model:value="xAxis.nameTextStyle.color"></n-color-picker> |
81 | </setting-item> | 81 | </setting-item> |
82 | - <setting-item name="大小"> | 82 | + <setting-item :name="t('external.customized.sizeText')"> |
83 | <n-input-number v-model:value="xAxis.nameTextStyle.fontSize" :min="12" size="small"></n-input-number> | 83 | <n-input-number v-model:value="xAxis.nameTextStyle.fontSize" :min="12" size="small"></n-input-number> |
84 | </setting-item> | 84 | </setting-item> |
85 | - <setting-item name="偏移量"> | 85 | + <setting-item :name="t('external.customized.offset')"> |
86 | <n-input-number v-model:value="xAxis.nameGap" :min="5" size="small"></n-input-number> | 86 | <n-input-number v-model:value="xAxis.nameGap" :min="5" size="small"></n-input-number> |
87 | </setting-item> | 87 | </setting-item> |
88 | </setting-item-box> | 88 | </setting-item-box> |
89 | - <setting-item-box name="标签"> | ||
90 | - <setting-item name="展示"> | 89 | + <setting-item-box :name="t('common.labelText')"> |
90 | + <setting-item :name="t('common.showText')"> | ||
91 | <n-space> | 91 | <n-space> |
92 | <n-switch v-model:value="xAxis.axisLabel.show" size="small"></n-switch> | 92 | <n-switch v-model:value="xAxis.axisLabel.show" size="small"></n-switch> |
93 | </n-space> | 93 | </n-space> |
94 | </setting-item> | 94 | </setting-item> |
95 | - <setting-item name="颜色"> | 95 | + <setting-item :name="t('external.customized.color')"> |
96 | <n-color-picker size="small" v-model:value="xAxis.axisLabel.color"></n-color-picker> | 96 | <n-color-picker size="small" v-model:value="xAxis.axisLabel.color"></n-color-picker> |
97 | </setting-item> | 97 | </setting-item> |
98 | - <setting-item name="大小"> | 98 | + <setting-item :name="t('external.customized.sizeText')"> |
99 | <n-input-number v-model:value="xAxis.axisLabel.fontSize" :min="8" size="small"></n-input-number> | 99 | <n-input-number v-model:value="xAxis.axisLabel.fontSize" :min="8" size="small"></n-input-number> |
100 | </setting-item> | 100 | </setting-item> |
101 | - <setting-item name="偏移量"> | 101 | + <setting-item :name="t('external.customized.offset')"> |
102 | <n-input-number v-model:value="xAxis.axisLabel.rotate" :min="-90" :max="90" size="small"></n-input-number> | 102 | <n-input-number v-model:value="xAxis.axisLabel.rotate" :min="-90" :max="90" size="small"></n-input-number> |
103 | </setting-item> | 103 | </setting-item> |
104 | </setting-item-box> | 104 | </setting-item-box> |
105 | - <setting-item-box name="轴线"> | ||
106 | - <setting-item name="展示"> | 105 | + <setting-item-box :name="t('external.customized.axisText')"> |
106 | + <setting-item :name="t('common.showText')"> | ||
107 | <n-space> | 107 | <n-space> |
108 | <n-switch v-model:value="xAxis.axisLine.show" size="small"></n-switch> | 108 | <n-switch v-model:value="xAxis.axisLine.show" size="small"></n-switch> |
109 | </n-space> | 109 | </n-space> |
110 | </setting-item> | 110 | </setting-item> |
111 | - <setting-item name="颜色"> | 111 | + <setting-item :name="t('external.customized.color')"> |
112 | <n-color-picker v-model:value="xAxis.axisLine.lineStyle.color" size="small"></n-color-picker> | 112 | <n-color-picker v-model:value="xAxis.axisLine.lineStyle.color" size="small"></n-color-picker> |
113 | </setting-item> | 113 | </setting-item> |
114 | - <setting-item name="粗细"> | 114 | + <setting-item :name="t('external.customized.thicknessText')"> |
115 | <n-input-number v-model:value="xAxis.axisLine.lineStyle.width" :min="1" size="small"></n-input-number> | 115 | <n-input-number v-model:value="xAxis.axisLine.lineStyle.width" :min="1" size="small"></n-input-number> |
116 | </setting-item> | 116 | </setting-item> |
117 | - <setting-item name="位置"> | 117 | + <setting-item :name="t('external.customized.locationText')"> |
118 | <n-select v-model:value="xAxis.position" size="small" :options="axisConfig.xposition"></n-select> | 118 | <n-select v-model:value="xAxis.position" size="small" :options="axisConfig.xposition"></n-select> |
119 | </setting-item> | 119 | </setting-item> |
120 | - <setting-item name="对齐零"> | 120 | + <setting-item :name="t('external.customized.alignedText')"> |
121 | <n-space> | 121 | <n-space> |
122 | <n-switch v-model:value="xAxis.axisLine.onZero" size="small"></n-switch> | 122 | <n-switch v-model:value="xAxis.axisLine.onZero" size="small"></n-switch> |
123 | </n-space> | 123 | </n-space> |
124 | </setting-item> | 124 | </setting-item> |
125 | - <setting-item name="反向"> | 125 | + <setting-item :name="t('external.customized.reverseText')"> |
126 | <n-space> | 126 | <n-space> |
127 | <n-switch v-model:value="xAxis.inverse" size="small"></n-switch> | 127 | <n-switch v-model:value="xAxis.inverse" size="small"></n-switch> |
128 | </n-space> | 128 | </n-space> |
129 | </setting-item> | 129 | </setting-item> |
130 | </setting-item-box> | 130 | </setting-item-box> |
131 | - <setting-item-box name="刻度"> | ||
132 | - <setting-item name="展示"> | 131 | + <setting-item-box :name="t('external.customized.scaleText')"> |
132 | + <setting-item :name="t('common.showText')"> | ||
133 | <n-space> | 133 | <n-space> |
134 | <n-switch v-model:value="xAxis.axisTick.show" size="small"></n-switch> | 134 | <n-switch v-model:value="xAxis.axisTick.show" size="small"></n-switch> |
135 | </n-space> | 135 | </n-space> |
136 | </setting-item> | 136 | </setting-item> |
137 | - <setting-item name="长度"> | 137 | + <setting-item :name="t('external.customized.lengthText')"> |
138 | <n-input-number v-model:value="xAxis.axisTick.length" :min="1" size="small"></n-input-number> | 138 | <n-input-number v-model:value="xAxis.axisTick.length" :min="1" size="small"></n-input-number> |
139 | </setting-item> | 139 | </setting-item> |
140 | </setting-item-box> | 140 | </setting-item-box> |
141 | - <setting-item-box name="分割线"> | ||
142 | - <setting-item name="展示"> | 141 | + <setting-item-box :name="t('external.customized.dividerText')"> |
142 | + <setting-item :name="t('common.showText')"> | ||
143 | <n-space> | 143 | <n-space> |
144 | <n-switch v-model:value="xAxis.splitLine.show" size="small"></n-switch> | 144 | <n-switch v-model:value="xAxis.splitLine.show" size="small"></n-switch> |
145 | </n-space> | 145 | </n-space> |
146 | </setting-item> | 146 | </setting-item> |
147 | - <setting-item name="颜色"> | 147 | + <setting-item :name="t('external.customized.color')"> |
148 | <n-color-picker v-model:value="xAxis.splitLine.lineStyle.color" size="small"></n-color-picker> | 148 | <n-color-picker v-model:value="xAxis.splitLine.lineStyle.color" size="small"></n-color-picker> |
149 | </setting-item> | 149 | </setting-item> |
150 | - <setting-item name="粗细"> | 150 | + <setting-item :name="t('external.customized.thicknessText')"> |
151 | <n-input-number v-model:value="xAxis.splitLine.lineStyle.width" :min="1" size="small"></n-input-number> | 151 | <n-input-number v-model:value="xAxis.splitLine.lineStyle.width" :min="1" size="small"></n-input-number> |
152 | </setting-item> | 152 | </setting-item> |
153 | - <setting-item name="类型"> | 153 | + <setting-item :name="t('common.typeText')"> |
154 | <n-select | 154 | <n-select |
155 | v-model:value="xAxis.splitLine.lineStyle.type" | 155 | v-model:value="xAxis.splitLine.lineStyle.type" |
156 | size="small" | 156 | size="small" |
@@ -160,102 +160,102 @@ | @@ -160,102 +160,102 @@ | ||
160 | </setting-item-box> | 160 | </setting-item-box> |
161 | </collapse-item> | 161 | </collapse-item> |
162 | 162 | ||
163 | - <collapse-item v-if="yAxis" name="Y轴"> | 163 | + <collapse-item v-if="yAxis" :name="t('external.customized.yAxisText')"> |
164 | <template #header> | 164 | <template #header> |
165 | <n-switch v-model:value="yAxis.show" size="small"></n-switch> | 165 | <n-switch v-model:value="yAxis.show" size="small"></n-switch> |
166 | </template> | 166 | </template> |
167 | - <setting-item-box name="范围"> | ||
168 | - <setting-item name="开启" > | 167 | + <setting-item-box :name="t('external.customized.rangeText')"> |
168 | + <setting-item :name="t('common.openText')"> | ||
169 | <n-switch v-model:value="yAxis.showRange" size="small"></n-switch> | 169 | <n-switch v-model:value="yAxis.showRange" size="small"></n-switch> |
170 | </setting-item> | 170 | </setting-item> |
171 | </setting-item-box> | 171 | </setting-item-box> |
172 | - <setting-item-box name="范围" v-if="yAxis.showRange"> | ||
173 | - <setting-item name="最小值" > | 172 | + <setting-item-box :name="t('external.customized.rangeText')" v-if="yAxis.showRange"> |
173 | + <setting-item :name="t('common.minText')"> | ||
174 | <n-input-number v-model:value="yAxis.minData" size="small" min="0"></n-input-number> | 174 | <n-input-number v-model:value="yAxis.minData" size="small" min="0"></n-input-number> |
175 | </setting-item> | 175 | </setting-item> |
176 | - <setting-item name="最大值"> | 176 | + <setting-item :name="t('common.maxText')"> |
177 | <n-input-number v-model:value="yAxis.maxData" size="small" min="0"></n-input-number> | 177 | <n-input-number v-model:value="yAxis.maxData" size="small" min="0"></n-input-number> |
178 | </setting-item> | 178 | </setting-item> |
179 | </setting-item-box> | 179 | </setting-item-box> |
180 | - <setting-item-box name="单位"> | ||
181 | - <setting-item name="名称"> | 180 | + <setting-item-box :name="t('common.unitText')"> |
181 | + <setting-item :name="t('common.nameText')"> | ||
182 | <n-input v-model:value="yAxis.name" size="small"></n-input> | 182 | <n-input v-model:value="yAxis.name" size="small"></n-input> |
183 | </setting-item> | 183 | </setting-item> |
184 | - <setting-item name="颜色"> | 184 | + <setting-item :name="t('external.customized.color')"> |
185 | <n-color-picker size="small" v-model:value="yAxis.nameTextStyle.color"></n-color-picker> | 185 | <n-color-picker size="small" v-model:value="yAxis.nameTextStyle.color"></n-color-picker> |
186 | </setting-item> | 186 | </setting-item> |
187 | - <setting-item name="大小"> | 187 | + <setting-item :name="t('external.customized.sizeText')"> |
188 | <n-input-number v-model:value="yAxis.nameTextStyle.fontSize" :min="8" size="small"></n-input-number> | 188 | <n-input-number v-model:value="yAxis.nameTextStyle.fontSize" :min="8" size="small"></n-input-number> |
189 | </setting-item> | 189 | </setting-item> |
190 | - <setting-item name="偏移量"> | 190 | + <setting-item :name="t('external.customized.offset')"> |
191 | <n-input-number v-model:value="yAxis.nameGap" :min="5" size="small"></n-input-number> | 191 | <n-input-number v-model:value="yAxis.nameGap" :min="5" size="small"></n-input-number> |
192 | </setting-item> | 192 | </setting-item> |
193 | </setting-item-box> | 193 | </setting-item-box> |
194 | - <setting-item-box name="标签"> | ||
195 | - <setting-item name="展示"> | 194 | + <setting-item-box :name="t('common.labelText')"> |
195 | + <setting-item :name="t('common.showText')"> | ||
196 | <n-space> | 196 | <n-space> |
197 | <n-switch v-model:value="yAxis.axisLabel.show" size="small"></n-switch> | 197 | <n-switch v-model:value="yAxis.axisLabel.show" size="small"></n-switch> |
198 | </n-space> | 198 | </n-space> |
199 | </setting-item> | 199 | </setting-item> |
200 | - <setting-item name="颜色"> | 200 | + <setting-item :name="t('external.customized.color')"> |
201 | <n-color-picker size="small" v-model:value="yAxis.axisLabel.color"></n-color-picker> | 201 | <n-color-picker size="small" v-model:value="yAxis.axisLabel.color"></n-color-picker> |
202 | </setting-item> | 202 | </setting-item> |
203 | - <setting-item name="大小"> | 203 | + <setting-item :name="t('external.customized.sizeText')"> |
204 | <n-input-number v-model:value="yAxis.axisLabel.fontSize" :min="8" size="small"></n-input-number> | 204 | <n-input-number v-model:value="yAxis.axisLabel.fontSize" :min="8" size="small"></n-input-number> |
205 | </setting-item> | 205 | </setting-item> |
206 | - <setting-item name="偏移量"> | 206 | + <setting-item :name="t('external.customized.offset')"> |
207 | <n-input-number v-model:value="yAxis.axisLabel.rotate" :min="-90" :max="90" size="small"></n-input-number> | 207 | <n-input-number v-model:value="yAxis.axisLabel.rotate" :min="-90" :max="90" size="small"></n-input-number> |
208 | </setting-item> | 208 | </setting-item> |
209 | </setting-item-box> | 209 | </setting-item-box> |
210 | - <setting-item-box name="轴线"> | ||
211 | - <setting-item name="展示"> | 210 | + <setting-item-box :name="t('external.customized.axisText')"> |
211 | + <setting-item :name="t('common.showText')"> | ||
212 | <n-space> | 212 | <n-space> |
213 | <n-switch v-model:value="yAxis.axisLine.show" size="small"></n-switch> | 213 | <n-switch v-model:value="yAxis.axisLine.show" size="small"></n-switch> |
214 | </n-space> | 214 | </n-space> |
215 | </setting-item> | 215 | </setting-item> |
216 | - <setting-item name="颜色"> | 216 | + <setting-item :name="t('external.customized.color')"> |
217 | <n-color-picker v-model:value="yAxis.axisLine.lineStyle.color" size="small"></n-color-picker> | 217 | <n-color-picker v-model:value="yAxis.axisLine.lineStyle.color" size="small"></n-color-picker> |
218 | </setting-item> | 218 | </setting-item> |
219 | - <setting-item name="粗细"> | 219 | + <setting-item :name="t('external.customized.thicknessText')"> |
220 | <n-input-number v-model:value="yAxis.axisLine.lineStyle.width" :min="1" size="small"></n-input-number> | 220 | <n-input-number v-model:value="yAxis.axisLine.lineStyle.width" :min="1" size="small"></n-input-number> |
221 | </setting-item> | 221 | </setting-item> |
222 | - <setting-item name="位置"> | 222 | + <setting-item :name="t('external.customized.locationText')"> |
223 | <n-select v-model:value="yAxis.position" size="small" :options="axisConfig.yposition"></n-select> | 223 | <n-select v-model:value="yAxis.position" size="small" :options="axisConfig.yposition"></n-select> |
224 | </setting-item> | 224 | </setting-item> |
225 | - <setting-item name="对齐零"> | 225 | + <setting-item :name="t('external.customized.alignedText')"> |
226 | <n-space> | 226 | <n-space> |
227 | <n-switch v-model:value="yAxis.axisLine.onZero" size="small"></n-switch> | 227 | <n-switch v-model:value="yAxis.axisLine.onZero" size="small"></n-switch> |
228 | </n-space> | 228 | </n-space> |
229 | </setting-item> | 229 | </setting-item> |
230 | - <setting-item name="反向"> | 230 | + <setting-item :name="t('external.customized.reverseText')"> |
231 | <n-space> | 231 | <n-space> |
232 | <n-switch v-model:value="yAxis.inverse" size="small"></n-switch> | 232 | <n-switch v-model:value="yAxis.inverse" size="small"></n-switch> |
233 | </n-space> | 233 | </n-space> |
234 | </setting-item> | 234 | </setting-item> |
235 | </setting-item-box> | 235 | </setting-item-box> |
236 | - <setting-item-box name="刻度"> | ||
237 | - <setting-item name="展示"> | 236 | + <setting-item-box :name="t('external.customized.scaleText')"> |
237 | + <setting-item :name="t('common.showText')"> | ||
238 | <n-space> | 238 | <n-space> |
239 | <n-switch v-model:value="yAxis.axisTick.show" size="small"></n-switch> | 239 | <n-switch v-model:value="yAxis.axisTick.show" size="small"></n-switch> |
240 | </n-space> | 240 | </n-space> |
241 | </setting-item> | 241 | </setting-item> |
242 | - <setting-item name="长度"> | 242 | + <setting-item :name="t('external.customized.lengthText')"> |
243 | <n-input-number v-model:value="yAxis.axisTick.length" :min="1" size="small"></n-input-number> | 243 | <n-input-number v-model:value="yAxis.axisTick.length" :min="1" size="small"></n-input-number> |
244 | </setting-item> | 244 | </setting-item> |
245 | </setting-item-box> | 245 | </setting-item-box> |
246 | - <setting-item-box name="分割线"> | ||
247 | - <setting-item name="展示"> | 246 | + <setting-item-box :name="t('external.customized.dividerText')"> |
247 | + <setting-item :name="t('common.showText')"> | ||
248 | <n-space> | 248 | <n-space> |
249 | <n-switch v-model:value="yAxis.splitLine.show" size="small"></n-switch> | 249 | <n-switch v-model:value="yAxis.splitLine.show" size="small"></n-switch> |
250 | </n-space> | 250 | </n-space> |
251 | </setting-item> | 251 | </setting-item> |
252 | - <setting-item name="颜色"> | 252 | + <setting-item :name="t('external.customized.color')"> |
253 | <n-color-picker v-model:value="yAxis.splitLine.lineStyle.color" size="small"></n-color-picker> | 253 | <n-color-picker v-model:value="yAxis.splitLine.lineStyle.color" size="small"></n-color-picker> |
254 | </setting-item> | 254 | </setting-item> |
255 | - <setting-item name="粗细"> | 255 | + <setting-item :name="t('external.customized.thicknessText')"> |
256 | <n-input-number v-model:value="yAxis.splitLine.lineStyle.width" :min="1" size="small"></n-input-number> | 256 | <n-input-number v-model:value="yAxis.splitLine.lineStyle.width" :min="1" size="small"></n-input-number> |
257 | </setting-item> | 257 | </setting-item> |
258 | - <setting-item name="类型"> | 258 | + <setting-item :name="t('common.typeText')"> |
259 | <n-select | 259 | <n-select |
260 | v-model:value="yAxis.splitLine.lineStyle.type" | 260 | v-model:value="yAxis.splitLine.lineStyle.type" |
261 | size="small" | 261 | size="small" |
@@ -265,54 +265,47 @@ | @@ -265,54 +265,47 @@ | ||
265 | </setting-item-box> | 265 | </setting-item-box> |
266 | </collapse-item> | 266 | </collapse-item> |
267 | 267 | ||
268 | - <collapse-item v-if="legend" name="图例"> | 268 | + <collapse-item v-if="legend" :name="t('external.customized.legend')"> |
269 | <template #header> | 269 | <template #header> |
270 | <n-switch v-model:value="legend.show" size="small"></n-switch> | 270 | <n-switch v-model:value="legend.show" size="small"></n-switch> |
271 | </template> | 271 | </template> |
272 | - <setting-item-box name="图例文字"> | ||
273 | - <setting-item name="颜色"> | 272 | + <setting-item-box :name="t('external.customized.legendText')"> |
273 | + <setting-item :name="t('external.customized.color')"> | ||
274 | <n-color-picker size="small" v-model:value="legend.textStyle.color"></n-color-picker> | 274 | <n-color-picker size="small" v-model:value="legend.textStyle.color"></n-color-picker> |
275 | </setting-item> | 275 | </setting-item> |
276 | - <setting-item name="大小"> | 276 | + <setting-item :name="t('external.customized.sizeText')"> |
277 | <n-input-number v-model:value="legend.textStyle.fontSize" :min="1" size="small"></n-input-number> | 277 | <n-input-number v-model:value="legend.textStyle.fontSize" :min="1" size="small"></n-input-number> |
278 | </setting-item> | 278 | </setting-item> |
279 | </setting-item-box> | 279 | </setting-item-box> |
280 | - <setting-item-box name="图例位置"> | ||
281 | - <setting-item name="x轴"> | 280 | + <setting-item-box :name="t('external.customized.legendLocationText')"> |
281 | + <setting-item :name="t('external.customized.xAxisText')"> | ||
282 | <n-select v-model:value="legend.x" size="small" :options="legendConfig.lengendX" /> | 282 | <n-select v-model:value="legend.x" size="small" :options="legendConfig.lengendX" /> |
283 | </setting-item> | 283 | </setting-item> |
284 | - <setting-item name="y轴"> | 284 | + <setting-item :name="t('external.customized.yAxisText')"> |
285 | <n-select v-model:value="legend.y" size="small" :options="legendConfig.lengendY" /> | 285 | <n-select v-model:value="legend.y" size="small" :options="legendConfig.lengendY" /> |
286 | </setting-item> | 286 | </setting-item> |
287 | </setting-item-box> | 287 | </setting-item-box> |
288 | - <setting-item-box name="图例信息"> | ||
289 | - <setting-item name="方向"> | 288 | + <setting-item-box :name="t('external.customized.legendInfoText')"> |
289 | + <setting-item :name="t('external.customized.directionText')"> | ||
290 | <n-select v-model:value="legend.orient" size="small" :options="legendConfig.orient" /> | 290 | <n-select v-model:value="legend.orient" size="small" :options="legendConfig.orient" /> |
291 | </setting-item> | 291 | </setting-item> |
292 | - <setting-item name="形状"> | 292 | + <setting-item :name="t('external.customized.shapeText')"> |
293 | <n-select v-model:value="legend.icon" size="small" :options="legendConfig.shape" /> | 293 | <n-select v-model:value="legend.icon" size="small" :options="legendConfig.shape" /> |
294 | </setting-item> | 294 | </setting-item> |
295 | </setting-item-box> | 295 | </setting-item-box> |
296 | - <setting-item-box name="图例大小"> | ||
297 | - <setting-item name="宽"> | 296 | + <setting-item-box :name="t('external.customized.legendSizeText')"> |
297 | + <setting-item :name="t('common.wideText')"> | ||
298 | <n-input-number v-model:value="legend.itemWidth" :min="1" size="small"></n-input-number> | 298 | <n-input-number v-model:value="legend.itemWidth" :min="1" size="small"></n-input-number> |
299 | </setting-item> | 299 | </setting-item> |
300 | - <setting-item name="高"> | 300 | + <setting-item :name="t('common.highText')"> |
301 | <n-input-number v-model:value="legend.itemHeight" :min="1" size="small"></n-input-number> | 301 | <n-input-number v-model:value="legend.itemHeight" :min="1" size="small"></n-input-number> |
302 | </setting-item> | 302 | </setting-item> |
303 | </setting-item-box> | 303 | </setting-item-box> |
304 | </collapse-item> | 304 | </collapse-item> |
305 | 305 | ||
306 | <!-- 颜色 --> | 306 | <!-- 颜色 --> |
307 | - <collapse-item name="颜色" expanded> | ||
308 | - <n-card | ||
309 | - v-for="(value, key) in chartCustomColor" | ||
310 | - :key="key" | ||
311 | - class="card-box" | ||
312 | - size="small" | ||
313 | - hoverable | ||
314 | - embedded | ||
315 | - > | 307 | + <collapse-item :name="t('external.customized.color')" expanded> |
308 | + <n-card v-for="(value, key) in chartCustomColor" :key="key" class="card-box" size="small" hoverable embedded> | ||
316 | <div class="go-flex-items-center"> | 309 | <div class="go-flex-items-center"> |
317 | <n-ellipsis style="text-align: left; width: 60px">{{ value?.name }} </n-ellipsis> | 310 | <n-ellipsis style="text-align: left; width: 60px">{{ value?.name }} </n-ellipsis> |
318 | <span | 311 | <span |
@@ -323,9 +316,9 @@ | @@ -323,9 +316,9 @@ | ||
323 | ></span> | 316 | ></span> |
324 | <div @click="createCustomColorHandle"> | 317 | <div @click="createCustomColorHandle"> |
325 | <n-icon size="18"> | 318 | <n-icon size="18"> |
326 | - <add-icon></add-icon> | 319 | + <add-icon></add-icon> |
327 | </n-icon> | 320 | </n-icon> |
328 | - </div> | 321 | + </div> |
329 | </div> | 322 | </div> |
330 | <div class="theme-bottom" :style="{ backgroundImage: colorBackgroundImage(value!) }"></div> | 323 | <div class="theme-bottom" :style="{ backgroundImage: colorBackgroundImage(value!) }"></div> |
331 | </n-card> | 324 | </n-card> |
@@ -333,41 +326,45 @@ | @@ -333,41 +326,45 @@ | ||
333 | <create-color v-model:modelShow="createColorModelShow" :applicationGroup="applicationGroup"></create-color> | 326 | <create-color v-model:modelShow="createColorModelShow" :applicationGroup="applicationGroup"></create-color> |
334 | </collapse-item> | 327 | </collapse-item> |
335 | 328 | ||
336 | - <collapse-item v-if="visualMap" name="视觉映射"> | 329 | + <collapse-item v-if="visualMap" :name="t('external.customized.visualMapText')"> |
337 | <template #header> | 330 | <template #header> |
338 | <n-switch v-model:value="visualMap.show" size="small"></n-switch> | 331 | <n-switch v-model:value="visualMap.show" size="small"></n-switch> |
339 | </template> | 332 | </template> |
340 | - <setting-item-box name="范围"> | ||
341 | - <setting-item name="最小值"> | 333 | + <setting-item-box :name="t('external.customized.rangeText')"> |
334 | + <setting-item :name="t('common.minText')"> | ||
342 | <n-input-number v-model:value="visualMap.min" size="small"></n-input-number> | 335 | <n-input-number v-model:value="visualMap.min" size="small"></n-input-number> |
343 | </setting-item> | 336 | </setting-item> |
344 | - <setting-item name="最大值"> | 337 | + <setting-item :name="t('common.maxText')"> |
345 | <n-input-number v-model:value="visualMap.max" size="small"></n-input-number> | 338 | <n-input-number v-model:value="visualMap.max" size="small"></n-input-number> |
346 | </setting-item> | 339 | </setting-item> |
347 | </setting-item-box> | 340 | </setting-item-box> |
348 | 341 | ||
349 | - <setting-item-box name="颜色"> | ||
350 | - <setting-item :name="`层级-${index + 1}`" v-for="(item, index) in visualMap.inRange.color" :key="index"> | 342 | + <setting-item-box :name="t('external.customized.color')"> |
343 | + <setting-item | ||
344 | + :name="`${t('external.customized.levelText')}-${index + 1}`" | ||
345 | + v-for="(item, index) in visualMap.inRange.color" | ||
346 | + :key="index" | ||
347 | + > | ||
351 | <n-color-picker v-model:value="visualMap.inRange.color[index]" size="small"></n-color-picker> | 348 | <n-color-picker v-model:value="visualMap.inRange.color[index]" size="small"></n-color-picker> |
352 | </setting-item> | 349 | </setting-item> |
353 | </setting-item-box> | 350 | </setting-item-box> |
354 | 351 | ||
355 | - <setting-item-box name="控制块"> | ||
356 | - <setting-item name="放置方向"> | 352 | + <setting-item-box :name="t('external.customized.controlbkText')"> |
353 | + <setting-item :name="t('external.customized.placeDirectionText')"> | ||
357 | <n-select v-model:value="visualMap.orient" size="small" :options="axisConfig.visualMap.orient"></n-select> | 354 | <n-select v-model:value="visualMap.orient" size="small" :options="axisConfig.visualMap.orient"></n-select> |
358 | </setting-item> | 355 | </setting-item> |
359 | - <setting-item name="宽度"> | 356 | + <setting-item :name="t('common.widthText')"> |
360 | <n-input-number v-model:value="visualMap.itemWidth" :min="5" size="small"></n-input-number> | 357 | <n-input-number v-model:value="visualMap.itemWidth" :min="5" size="small"></n-input-number> |
361 | </setting-item> | 358 | </setting-item> |
362 | - <setting-item name="高度"> | 359 | + <setting-item :name="t('common.heightText')"> |
363 | <n-input-number v-model:value="visualMap.itemHeight" :min="5" size="small"></n-input-number> | 360 | <n-input-number v-model:value="visualMap.itemHeight" :min="5" size="small"></n-input-number> |
364 | </setting-item> | 361 | </setting-item> |
365 | - <setting-item name="反转"> | 362 | + <setting-item :name="t('external.customized.reversalText')"> |
366 | <n-space> | 363 | <n-space> |
367 | <n-switch v-model:value="visualMap.inverse" size="small"></n-switch> | 364 | <n-switch v-model:value="visualMap.inverse" size="small"></n-switch> |
368 | </n-space> | 365 | </n-space> |
369 | </setting-item> | 366 | </setting-item> |
370 | - <setting-item name="拖拽组件实时更新"> | 367 | + <setting-item :name="t('external.customized.dragComponentText')"> |
371 | <n-space> | 368 | <n-space> |
372 | <n-switch v-model:value="visualMap.realtime" size="small"></n-switch> | 369 | <n-switch v-model:value="visualMap.realtime" size="small"></n-switch> |
373 | </n-space> | 370 | </n-space> |
@@ -380,7 +377,8 @@ | @@ -380,7 +377,8 @@ | ||
380 | <script setup lang="ts"> | 377 | <script setup lang="ts"> |
381 | import { PropType, computed, watch, ref } from 'vue' | 378 | import { PropType, computed, watch, ref } from 'vue' |
382 | import { GlobalThemeJsonType } from '@/settings/chartThemes/index' | 379 | import { GlobalThemeJsonType } from '@/settings/chartThemes/index' |
383 | -import { axisConfig, legendConfig } from '@/packages/chartConfiguration/echarts/index' | 380 | +// import { axisConfig,legendConfig } from '@/packages/chartConfiguration/echarts/index' |
381 | +// import { axisConfig } from '@/packages/chartConfiguration/echarts/index' | ||
384 | import { CollapseItem, SettingItemBox, SettingItem, GlobalSettingPosition } from '@/components/Pages/ChartItemSetting' | 382 | import { CollapseItem, SettingItemBox, SettingItem, GlobalSettingPosition } from '@/components/Pages/ChartItemSetting' |
385 | import { icon } from '@/plugins' | 383 | import { icon } from '@/plugins' |
386 | import { useChartEditStore } from '@/store/modules/chartEditStore/chartEditStore' | 384 | import { useChartEditStore } from '@/store/modules/chartEditStore/chartEditStore' |
@@ -388,7 +386,7 @@ import EchartsRendererSetting from './EchartsRendererSetting.vue' | @@ -388,7 +386,7 @@ import EchartsRendererSetting from './EchartsRendererSetting.vue' | ||
388 | import cloneDeep from 'lodash/cloneDeep' | 386 | import cloneDeep from 'lodash/cloneDeep' |
389 | import { loadAsyncComponent, colorCustomMerge } from '@/utils' | 387 | import { loadAsyncComponent, colorCustomMerge } from '@/utils' |
390 | import { useDesignStore } from '@/store/modules/designStore/designStore' | 388 | import { useDesignStore } from '@/store/modules/designStore/designStore' |
391 | -import { useTargetData } from "@/views/chart/ContentConfigurations/components/hooks/useTargetData.hook" | 389 | +import { useTargetData } from '@/views/chart/ContentConfigurations/components/hooks/useTargetData.hook' |
392 | 390 | ||
393 | const { HelpOutlineIcon, AddIcon } = icon.ionicons5 | 391 | const { HelpOutlineIcon, AddIcon } = icon.ionicons5 |
394 | 392 | ||
@@ -404,9 +402,141 @@ const props = defineProps({ | @@ -404,9 +402,141 @@ const props = defineProps({ | ||
404 | } | 402 | } |
405 | }) | 403 | }) |
406 | 404 | ||
405 | +const t = window['$t'] | ||
406 | + | ||
407 | +const axisConfig = { | ||
408 | + // X轴位置 | ||
409 | + xposition: [ | ||
410 | + { | ||
411 | + label: t('common.axisConfig.xposition.top'), | ||
412 | + value: 'top' | ||
413 | + }, | ||
414 | + { | ||
415 | + label: t('common.axisConfig.xposition.bottom'), | ||
416 | + value: 'bottom' | ||
417 | + } | ||
418 | + ], | ||
419 | + // Y轴位置 | ||
420 | + yposition: [ | ||
421 | + { | ||
422 | + label: t('common.axisConfig.yposition.left'), | ||
423 | + value: 'left' | ||
424 | + }, | ||
425 | + { | ||
426 | + label: t('common.axisConfig.yposition.right'), | ||
427 | + value: 'right' | ||
428 | + } | ||
429 | + ], | ||
430 | + // 线条 | ||
431 | + splitLint: { | ||
432 | + lineStyle: { | ||
433 | + type: [ | ||
434 | + { | ||
435 | + label: t('common.axisConfig.splitLint.lineStyle.solid'), | ||
436 | + value: 'solid' | ||
437 | + }, | ||
438 | + { | ||
439 | + label: t('common.axisConfig.splitLint.lineStyle.dashed'), | ||
440 | + value: 'dashed' | ||
441 | + }, | ||
442 | + { | ||
443 | + label: t('common.axisConfig.splitLint.lineStyle.dotted'), | ||
444 | + value: 'dotted' | ||
445 | + } | ||
446 | + ] | ||
447 | + } | ||
448 | + }, | ||
449 | + // 视觉映射 | ||
450 | + visualMap: { | ||
451 | + orient: [ | ||
452 | + { | ||
453 | + label: t('common.axisConfig.splitLint.visualMap.horizontal'), | ||
454 | + value: 'vertical' | ||
455 | + }, | ||
456 | + { | ||
457 | + label: t('common.axisConfig.splitLint.visualMap.vertical'), | ||
458 | + value: 'horizontal' | ||
459 | + } | ||
460 | + ] | ||
461 | + } | ||
462 | +} | ||
463 | + | ||
464 | +const legendConfig = { | ||
465 | + // X轴位置 | ||
466 | + lengendX: [ | ||
467 | + { | ||
468 | + label: t('common.legendConfig.lengendX.left'), | ||
469 | + value: 'left' | ||
470 | + }, | ||
471 | + { | ||
472 | + label: t('common.legendConfig.lengendX.center'), | ||
473 | + value: 'center' | ||
474 | + }, | ||
475 | + { | ||
476 | + label: t('common.legendConfig.lengendX.right'), | ||
477 | + value: 'right' | ||
478 | + } | ||
479 | + ], | ||
480 | + // y轴位置 | ||
481 | + lengendY: [ | ||
482 | + { | ||
483 | + label: t('common.legendConfig.lengendY.top'), | ||
484 | + value: 'top' | ||
485 | + }, | ||
486 | + { | ||
487 | + label: t('common.legendConfig.lengendY.center'), | ||
488 | + value: 'center' | ||
489 | + }, | ||
490 | + { | ||
491 | + label: t('common.legendConfig.lengendY.bottom'), | ||
492 | + value: 'bottom' | ||
493 | + } | ||
494 | + ], | ||
495 | + // 排列方向 | ||
496 | + orient: [ | ||
497 | + { | ||
498 | + label: t('common.legendConfig.orient.horizontal'), | ||
499 | + value: 'horizontal' | ||
500 | + }, | ||
501 | + { | ||
502 | + label: t('common.legendConfig.orient.vertical'), | ||
503 | + value: 'vertical' | ||
504 | + } | ||
505 | + ], | ||
506 | + // 形状 | ||
507 | + shape: [ | ||
508 | + { | ||
509 | + label: t('common.legendConfig.shape.circle'), | ||
510 | + value: 'circle' | ||
511 | + }, | ||
512 | + { | ||
513 | + label: t('common.legendConfig.shape.rect'), | ||
514 | + value: 'rect' | ||
515 | + }, | ||
516 | + { | ||
517 | + label: t('common.legendConfig.shape.roundRect'), | ||
518 | + value: 'roundRect' | ||
519 | + }, | ||
520 | + { | ||
521 | + label: t('common.legendConfig.shape.triangle'), | ||
522 | + value: 'triangle' | ||
523 | + }, | ||
524 | + { | ||
525 | + label: t('common.legendConfig.shape.pin'), | ||
526 | + value: 'pin' | ||
527 | + }, | ||
528 | + { | ||
529 | + label: t('common.legendConfig.shape.arrow'), | ||
530 | + value: 'arrow' | ||
531 | + } | ||
532 | + ] | ||
533 | +} | ||
534 | + | ||
407 | const { targetData } = useTargetData() | 535 | const { targetData } = useTargetData() |
408 | 536 | ||
409 | -const CreateColor = loadAsyncComponent(() => import('@/views/chart/ContentConfigurations/components/CanvasPage/components/CreateColor/index.vue')) | 537 | +const CreateColor = loadAsyncComponent( |
538 | + () => import('@/views/chart/ContentConfigurations/components/CanvasPage/components/CreateColor/index.vue') | ||
539 | +) | ||
410 | 540 | ||
411 | const chartEditStore = useChartEditStore() | 541 | const chartEditStore = useChartEditStore() |
412 | const themeSetting = computed(() => { | 542 | const themeSetting = computed(() => { |
@@ -439,18 +569,22 @@ const visualMap = computed(() => { | @@ -439,18 +569,22 @@ const visualMap = computed(() => { | ||
439 | }) | 569 | }) |
440 | 570 | ||
441 | // 监听legend color颜色改变type = scroll的颜色 | 571 | // 监听legend color颜色改变type = scroll的颜色 |
442 | -watch(() => legend.value && legend.value.textStyle.color, (newVal) => { | ||
443 | - if (legend.value && newVal) { | ||
444 | - if (!legend.value.pageTextStyle) { | ||
445 | - legend.value.pageTextStyle = { color: newVal } | ||
446 | - } else { | ||
447 | - legend.value.pageTextStyle.color = newVal | 572 | +watch( |
573 | + () => legend.value && legend.value.textStyle.color, | ||
574 | + newVal => { | ||
575 | + if (legend.value && newVal) { | ||
576 | + if (!legend.value.pageTextStyle) { | ||
577 | + legend.value.pageTextStyle = { color: newVal } | ||
578 | + } else { | ||
579 | + legend.value.pageTextStyle.color = newVal | ||
580 | + } | ||
448 | } | 581 | } |
582 | + }, | ||
583 | + { | ||
584 | + immediate: true, | ||
585 | + deep: true | ||
449 | } | 586 | } |
450 | -}, { | ||
451 | - immediate: true, | ||
452 | - deep: true, | ||
453 | -}) | 587 | +) |
454 | 588 | ||
455 | // 底色 | 589 | // 底色 |
456 | const colorBackgroundImage = (item: { color: string[] }) => { | 590 | const colorBackgroundImage = (item: { color: string[] }) => { |
@@ -465,13 +599,13 @@ const fetchShowColors = (colors: Array<string>) => { | @@ -465,13 +599,13 @@ const fetchShowColors = (colors: Array<string>) => { | ||
465 | // 自定义颜色 | 599 | // 自定义颜色 |
466 | const chartCustomColor = computed(() => { | 600 | const chartCustomColor = computed(() => { |
467 | const colorCustomMergeData = colorCustomMerge(chartEditStore.getEditCanvasConfig.chartCustomThemeColorInfo) | 601 | const colorCustomMergeData = colorCustomMerge(chartEditStore.getEditCanvasConfig.chartCustomThemeColorInfo) |
468 | - if(Reflect.has(targetData.value, 'colors')){ | 602 | + if (Reflect.has(targetData.value, 'colors')) { |
469 | return { | 603 | return { |
470 | - 'chartCustom': targetData.value?.colors | 604 | + chartCustom: targetData.value?.colors |
471 | } | 605 | } |
472 | } else { | 606 | } else { |
473 | return { | 607 | return { |
474 | - 'chartCustom': colorCustomMergeData[chartEditStore.getEditCanvasConfig.chartThemeColor] | 608 | + chartCustom: colorCustomMergeData[chartEditStore.getEditCanvasConfig.chartThemeColor] |
475 | } | 609 | } |
476 | } | 610 | } |
477 | }) | 611 | }) |
1 | <template> | 1 | <template> |
2 | - <setting-item-box v-if="targetData" name="位置"> | 2 | + <setting-item-box v-if="targetData" :name="t('common.positionText')"> |
3 | <setting-item :name="`偏移 X:${targetData.left || 0}px`"> | 3 | <setting-item :name="`偏移 X:${targetData.left || 0}px`"> |
4 | <n-input-number v-model:value="targetData.left" size="small" step="10"></n-input-number> | 4 | <n-input-number v-model:value="targetData.left" size="small" step="10"></n-input-number> |
5 | </setting-item> | 5 | </setting-item> |
@@ -26,4 +26,6 @@ const props = defineProps({ | @@ -26,4 +26,6 @@ const props = defineProps({ | ||
26 | required: true | 26 | required: true |
27 | } | 27 | } |
28 | }) | 28 | }) |
29 | + | ||
30 | +const t = window['$t'] | ||
29 | </script> | 31 | </script> |
1 | <template> | 1 | <template> |
2 | - <setting-item-box name="名称" :alone="true"> | 2 | + <setting-item-box :name="t('common.nameText')" :alone="true"> |
3 | <n-input | 3 | <n-input |
4 | type="text" | 4 | type="text" |
5 | maxlength="12" | 5 | maxlength="12" |
6 | minlength="1" | 6 | minlength="1" |
7 | - placeholder="请输入图表名称" | 7 | + :placeholder="t('external.customized.placeChart')" |
8 | size="small" | 8 | size="small" |
9 | clearable | 9 | clearable |
10 | show-count | 10 | show-count |
11 | - v-model:value="chartConfig.title" | 11 | + v-model:value="i18nChartConfigTitle" |
12 | @focus="handleFocus" | 12 | @focus="handleFocus" |
13 | @blur="handleBlur" | 13 | @blur="handleBlur" |
14 | ></n-input> | 14 | ></n-input> |
@@ -16,7 +16,7 @@ | @@ -16,7 +16,7 @@ | ||
16 | </template> | 16 | </template> |
17 | 17 | ||
18 | <script setup lang="ts"> | 18 | <script setup lang="ts"> |
19 | -import { PropType } from 'vue' | 19 | +import { PropType, ref, onMounted } from 'vue' |
20 | import { SettingItemBox } from '@/components/Pages/ChartItemSetting' | 20 | import { SettingItemBox } from '@/components/Pages/ChartItemSetting' |
21 | import { ConfigType } from '@/packages/index.d' | 21 | import { ConfigType } from '@/packages/index.d' |
22 | 22 | ||
@@ -26,6 +26,13 @@ const props = defineProps({ | @@ -26,6 +26,13 @@ const props = defineProps({ | ||
26 | required: true | 26 | required: true |
27 | }, | 27 | }, |
28 | }) | 28 | }) |
29 | +const t = window['$t'] | ||
30 | + | ||
31 | +const i18nChartConfigTitle = ref('') | ||
32 | + | ||
33 | +onMounted(()=>{ | ||
34 | + i18nChartConfigTitle.value = t(props.chartConfig.title) | ||
35 | +}) | ||
29 | 36 | ||
30 | let valueCatch = '' | 37 | let valueCatch = '' |
31 | 38 | ||
@@ -35,7 +42,7 @@ const handleFocus = () => { | @@ -35,7 +42,7 @@ const handleFocus = () => { | ||
35 | 42 | ||
36 | const handleBlur = () => { | 43 | const handleBlur = () => { |
37 | if(!props.chartConfig.title.length) { | 44 | if(!props.chartConfig.title.length) { |
38 | - window['$message'].warning('请输入至少一个字符!') | 45 | + window['$message'].warning(t('external.customized.textRule1')) |
39 | props.chartConfig.title = valueCatch | 46 | props.chartConfig.title = valueCatch |
40 | } | 47 | } |
41 | } | 48 | } |
@@ -12,7 +12,7 @@ | @@ -12,7 +12,7 @@ | ||
12 | </template> | 12 | </template> |
13 | </n-button> | 13 | </n-button> |
14 | </n-space> | 14 | </n-space> |
15 | - <setting-item-box name="位置"> | 15 | + <setting-item-box :name="t('common.positionText')"> |
16 | <n-input-number | 16 | <n-input-number |
17 | v-model:value="chartAttr.y" | 17 | v-model:value="chartAttr.y" |
18 | :min="0" | 18 | :min="0" |
@@ -20,7 +20,7 @@ | @@ -20,7 +20,7 @@ | ||
20 | placeholder="px" | 20 | placeholder="px" |
21 | > | 21 | > |
22 | <template #prefix> | 22 | <template #prefix> |
23 | - <n-text depth="3">上</n-text> | 23 | + <n-text depth="3">{{t('common.upperText')}}</n-text> |
24 | </template> | 24 | </template> |
25 | </n-input-number> | 25 | </n-input-number> |
26 | <n-input-number | 26 | <n-input-number |
@@ -30,7 +30,7 @@ | @@ -30,7 +30,7 @@ | ||
30 | placeholder="px" | 30 | placeholder="px" |
31 | > | 31 | > |
32 | <template #prefix> | 32 | <template #prefix> |
33 | - <n-text depth="3">左</n-text> | 33 | + <n-text depth="3">{{t('common.leftText')}}</n-text> |
34 | </template> | 34 | </template> |
35 | </n-input-number> | 35 | </n-input-number> |
36 | </setting-item-box> | 36 | </setting-item-box> |
@@ -52,36 +52,36 @@ const { | @@ -52,36 +52,36 @@ const { | ||
52 | AlignHorizontalRightIcon, | 52 | AlignHorizontalRightIcon, |
53 | AlignVerticalBottomIcon | 53 | AlignVerticalBottomIcon |
54 | } = icon.carbon | 54 | } = icon.carbon |
55 | - | 55 | +const t = window['$t'] |
56 | const positionList = [ | 56 | const positionList = [ |
57 | { | 57 | { |
58 | key: 'AlignHorizontalLeftIcon', | 58 | key: 'AlignHorizontalLeftIcon', |
59 | - lable: '局左', | 59 | + lable: t('external.customized.LeftText'), |
60 | icon: renderIcon(AlignHorizontalLeftIcon) | 60 | icon: renderIcon(AlignHorizontalLeftIcon) |
61 | }, | 61 | }, |
62 | { | 62 | { |
63 | key: 'AlignVerticalCenterIcon', | 63 | key: 'AlignVerticalCenterIcon', |
64 | - lable: 'X轴居中', | 64 | + lable: t('external.customized.xCenterText'), |
65 | icon: renderIcon(AlignVerticalCenterIcon) | 65 | icon: renderIcon(AlignVerticalCenterIcon) |
66 | }, | 66 | }, |
67 | { | 67 | { |
68 | key: 'AlignHorizontalRightIcon', | 68 | key: 'AlignHorizontalRightIcon', |
69 | - lable: '局右', | 69 | + lable: t('external.customized.rightText'), |
70 | icon: renderIcon(AlignHorizontalRightIcon) | 70 | icon: renderIcon(AlignHorizontalRightIcon) |
71 | }, | 71 | }, |
72 | { | 72 | { |
73 | key: 'AlignVerticalTopIcon', | 73 | key: 'AlignVerticalTopIcon', |
74 | - lable: '顶部', | 74 | + lable: t('external.customized.topText'), |
75 | icon: renderIcon(AlignVerticalTopIcon) | 75 | icon: renderIcon(AlignVerticalTopIcon) |
76 | }, | 76 | }, |
77 | { | 77 | { |
78 | key: 'AlignHorizontalCenterIcon', | 78 | key: 'AlignHorizontalCenterIcon', |
79 | - lable: 'Y轴居中', | 79 | + lable: t('external.customized.yCenterText'), |
80 | icon: renderIcon(AlignHorizontalCenterIcon) | 80 | icon: renderIcon(AlignHorizontalCenterIcon) |
81 | }, | 81 | }, |
82 | { | 82 | { |
83 | key: 'AlignVerticalBottomIcon', | 83 | key: 'AlignVerticalBottomIcon', |
84 | - lable: '底部', | 84 | + lable: t('external.customized.bottomText'), |
85 | icon: renderIcon(AlignVerticalBottomIcon) | 85 | icon: renderIcon(AlignVerticalBottomIcon) |
86 | } | 86 | } |
87 | ] | 87 | ] |
1 | <template> | 1 | <template> |
2 | - <setting-item-box name="尺寸"> | 2 | + <setting-item-box :name="t('common.sizeText')"> |
3 | <n-input-number | 3 | <n-input-number |
4 | v-model:value="chartAttr.w" | 4 | v-model:value="chartAttr.w" |
5 | :min="50" | 5 | :min="50" |
@@ -8,7 +8,7 @@ | @@ -8,7 +8,7 @@ | ||
8 | placeholder="px" | 8 | placeholder="px" |
9 | > | 9 | > |
10 | <template #prefix> | 10 | <template #prefix> |
11 | - <n-text depth="3">宽度</n-text> | 11 | + <n-text depth="3">{{t('common.widthText')}}</n-text> |
12 | </template> | 12 | </template> |
13 | </n-input-number> | 13 | </n-input-number> |
14 | <n-input-number | 14 | <n-input-number |
@@ -19,7 +19,7 @@ | @@ -19,7 +19,7 @@ | ||
19 | placeholder="px" | 19 | placeholder="px" |
20 | > | 20 | > |
21 | <template #prefix> | 21 | <template #prefix> |
22 | - <n-text depth="3">高度</n-text> | 22 | + <n-text depth="3">{{ t('common.heightText') }}</n-text> |
23 | </template> | 23 | </template> |
24 | </n-input-number> | 24 | </n-input-number> |
25 | </setting-item-box> | 25 | </setting-item-box> |
@@ -40,4 +40,5 @@ const props = defineProps({ | @@ -40,4 +40,5 @@ const props = defineProps({ | ||
40 | required: false | 40 | required: false |
41 | } | 41 | } |
42 | }) | 42 | }) |
43 | +const t = window['$t'] | ||
43 | </script> | 44 | </script> |
1 | <template> | 1 | <template> |
2 | <div v-show="isGroup"> | 2 | <div v-show="isGroup"> |
3 | <n-divider n-divider style="margin: 10px 0"></n-divider> | 3 | <n-divider n-divider style="margin: 10px 0"></n-divider> |
4 | - <n-tag type="warning"> 解散分组「 {{ isCanvas ? '滤镜' : '滤镜 / 变换' }} 」也将消失!</n-tag> | 4 | + <n-tag type="warning" |
5 | + >{{ t('external.page.dissolveGroupText') }} 「 | ||
6 | + {{ isCanvas ? t('external.page.filterText') : t('external.page.fAndtText') }} 」{{ | ||
7 | + t('external.page.alsoText') | ||
8 | + }}</n-tag | ||
9 | + > | ||
5 | </div> | 10 | </div> |
6 | 11 | ||
7 | - <collapse-item :name="isCanvas ? '滤镜' : '滤镜 / 变换'"> | 12 | + <collapse-item :name="isCanvas ? t('external.page.filterText') : t('external.page.fAndtText')"> |
8 | <template #header> | 13 | <template #header> |
9 | <n-switch v-model:value="chartStyles.filterShow" size="small"></n-switch> | 14 | <n-switch v-model:value="chartStyles.filterShow" size="small"></n-switch> |
10 | </template> | 15 | </template> |
11 | - <setting-item-box name="色相" :alone="true"> | ||
12 | - <setting-item :name="`值:${chartStyles.hueRotate}deg`"> | 16 | + <setting-item-box :name="t('external.page.hueText')" :alone="true"> |
17 | + <setting-item :name="`${t('external.page.valueText')}${chartStyles.hueRotate}deg`"> | ||
13 | <!-- 透明度 --> | 18 | <!-- 透明度 --> |
14 | <n-slider | 19 | <n-slider |
15 | v-model:value="chartStyles.hueRotate" | 20 | v-model:value="chartStyles.hueRotate" |
@@ -20,8 +25,10 @@ | @@ -20,8 +25,10 @@ | ||
20 | ></n-slider> | 25 | ></n-slider> |
21 | </setting-item> | 26 | </setting-item> |
22 | </setting-item-box> | 27 | </setting-item-box> |
23 | - <setting-item-box name="饱和度" :alone="true"> | ||
24 | - <setting-item :name="`值:${(parseFloat(String(chartStyles.saturate)) * 100).toFixed(0)}%`"> | 28 | + <setting-item-box :name="t('external.page.saturationText')" :alone="true"> |
29 | + <setting-item | ||
30 | + :name="`${t('external.page.valueText')}${(parseFloat(String(chartStyles.saturate)) * 100).toFixed(0)}%`" | ||
31 | + > | ||
25 | <!-- 透明度 --> | 32 | <!-- 透明度 --> |
26 | <n-slider | 33 | <n-slider |
27 | v-model:value="chartStyles.saturate" | 34 | v-model:value="chartStyles.saturate" |
@@ -32,8 +39,10 @@ | @@ -32,8 +39,10 @@ | ||
32 | ></n-slider> | 39 | ></n-slider> |
33 | </setting-item> | 40 | </setting-item> |
34 | </setting-item-box> | 41 | </setting-item-box> |
35 | - <setting-item-box name="对比度" :alone="true"> | ||
36 | - <setting-item :name="`值:${(parseFloat(String(chartStyles.contrast)) * 100).toFixed(0)}%`"> | 42 | + <setting-item-box :name="t('external.page.contrastText')" :alone="true"> |
43 | + <setting-item | ||
44 | + :name="`${t('external.page.valueText')}${(parseFloat(String(chartStyles.contrast)) * 100).toFixed(0)}%`" | ||
45 | + > | ||
37 | <!-- 透明度 --> | 46 | <!-- 透明度 --> |
38 | <n-slider | 47 | <n-slider |
39 | v-model:value="chartStyles.contrast" | 48 | v-model:value="chartStyles.contrast" |
@@ -44,8 +53,10 @@ | @@ -44,8 +53,10 @@ | ||
44 | ></n-slider> | 53 | ></n-slider> |
45 | </setting-item> | 54 | </setting-item> |
46 | </setting-item-box> | 55 | </setting-item-box> |
47 | - <setting-item-box name="亮度" :alone="true"> | ||
48 | - <setting-item :name="`值:${(parseFloat(String(chartStyles.brightness)) * 100).toFixed(0)}%`"> | 56 | + <setting-item-box :name="t('external.page.brightnessText')" :alone="true"> |
57 | + <setting-item | ||
58 | + :name="`${t('external.page.valueText')}${(parseFloat(String(chartStyles.brightness)) * 100).toFixed(0)}%`" | ||
59 | + > | ||
49 | <!-- 透明度 --> | 60 | <!-- 透明度 --> |
50 | <n-slider | 61 | <n-slider |
51 | v-model:value="chartStyles.brightness" | 62 | v-model:value="chartStyles.brightness" |
@@ -56,8 +67,10 @@ | @@ -56,8 +67,10 @@ | ||
56 | ></n-slider> | 67 | ></n-slider> |
57 | </setting-item> | 68 | </setting-item> |
58 | </setting-item-box> | 69 | </setting-item-box> |
59 | - <setting-item-box name="透明度" :alone="true"> | ||
60 | - <setting-item :name="`值:${(parseFloat(String(chartStyles.opacity)) * 100).toFixed(0)}%`"> | 70 | + <setting-item-box :name="t('external.page.transparencyText')" :alone="true"> |
71 | + <setting-item | ||
72 | + :name="`${t('external.page.valueText')}${(parseFloat(String(chartStyles.opacity)) * 100).toFixed(0)}%`" | ||
73 | + > | ||
61 | <!-- 透明度 --> | 74 | <!-- 透明度 --> |
62 | <n-slider | 75 | <n-slider |
63 | v-model:value="chartStyles.opacity" | 76 | v-model:value="chartStyles.opacity" |
@@ -88,14 +101,14 @@ | @@ -88,14 +101,14 @@ | ||
88 | <!-- 混合模式 --> | 101 | <!-- 混合模式 --> |
89 | <setting-item-box v-if="!isCanvas" :alone="true"> | 102 | <setting-item-box v-if="!isCanvas" :alone="true"> |
90 | <template #name> | 103 | <template #name> |
91 | - <n-text>混合</n-text> | 104 | + <n-text>{{ t('external.page.mix') }}</n-text> |
92 | <n-tooltip trigger="hover"> | 105 | <n-tooltip trigger="hover"> |
93 | <template #trigger> | 106 | <template #trigger> |
94 | <n-icon size="21" :depth="3"> | 107 | <n-icon size="21" :depth="3"> |
95 | <help-outline-icon></help-outline-icon> | 108 | <help-outline-icon></help-outline-icon> |
96 | </n-icon> | 109 | </n-icon> |
97 | </template> | 110 | </template> |
98 | - <n-text>视频组件需要底色透明一般选中滤色</n-text> | 111 | + <n-text>{{ t('external.page.videoHeedText') }}</n-text> |
99 | </n-tooltip> | 112 | </n-tooltip> |
100 | </template> | 113 | </template> |
101 | <setting-item> | 114 | <setting-item> |
@@ -104,69 +117,70 @@ | @@ -104,69 +117,70 @@ | ||
104 | </setting-item-box> | 117 | </setting-item-box> |
105 | 118 | ||
106 | <!-- 变换 --> | 119 | <!-- 变换 --> |
107 | - <setting-item-box v-if="!isCanvas" name="旋转°"> | ||
108 | - <setting-item name="Z轴(平面) - 旋转"> | 120 | + <setting-item-box v-if="!isCanvas" :name="t('external.page.rotateText')"> |
121 | + <setting-item :name="t('external.page.zAxisText')"> | ||
109 | <!-- 透明度 --> | 122 | <!-- 透明度 --> |
110 | <n-input-number | 123 | <n-input-number |
111 | v-model:value="chartStyles.rotateZ" | 124 | v-model:value="chartStyles.rotateZ" |
112 | :min="0" | 125 | :min="0" |
113 | :max="360" | 126 | :max="360" |
114 | size="small" | 127 | size="small" |
115 | - placeholder="角度" | 128 | + :placeholder="t('external.page.angleText')" |
116 | ></n-input-number> | 129 | ></n-input-number> |
117 | </setting-item> | 130 | </setting-item> |
118 | - <setting-item name="X轴 - 旋转"> | 131 | + <setting-item :name="t('external.page.xRotateText')"> |
119 | <!-- 透明度 --> | 132 | <!-- 透明度 --> |
120 | <n-input-number | 133 | <n-input-number |
121 | v-model:value="chartStyles.rotateX" | 134 | v-model:value="chartStyles.rotateX" |
122 | :min="0" | 135 | :min="0" |
123 | :max="360" | 136 | :max="360" |
124 | size="small" | 137 | size="small" |
125 | - placeholder="角度" | 138 | + :placeholder="t('external.page.angleText')" |
126 | ></n-input-number> | 139 | ></n-input-number> |
127 | </setting-item> | 140 | </setting-item> |
128 | - <setting-item name="Y轴 - 旋转"> | 141 | + <setting-item :name="t('external.page.yRotateText')"> |
129 | <!-- 透明度 --> | 142 | <!-- 透明度 --> |
130 | <n-input-number | 143 | <n-input-number |
131 | v-model:value="chartStyles.rotateY" | 144 | v-model:value="chartStyles.rotateY" |
132 | :min="0" | 145 | :min="0" |
133 | :max="360" | 146 | :max="360" |
134 | size="small" | 147 | size="small" |
135 | - placeholder="角度" | 148 | + :placeholder="t('external.page.angleText')" |
136 | ></n-input-number> | 149 | ></n-input-number> |
137 | </setting-item> | 150 | </setting-item> |
138 | </setting-item-box> | 151 | </setting-item-box> |
139 | 152 | ||
140 | <!-- 倾斜 --> | 153 | <!-- 倾斜 --> |
141 | - <setting-item-box v-if="!isCanvas" name="倾斜°"> | ||
142 | - <setting-item name="X轴 - 倾斜"> | 154 | + <setting-item-box v-if="!isCanvas" :name="t('external.page.inclineText')"> |
155 | + <setting-item :name="t('external.page.xTiltText')"> | ||
143 | <n-input-number | 156 | <n-input-number |
144 | v-model:value="chartStyles.skewX" | 157 | v-model:value="chartStyles.skewX" |
145 | :min="0" | 158 | :min="0" |
146 | :max="360" | 159 | :max="360" |
147 | size="small" | 160 | size="small" |
148 | - placeholder="角度" | 161 | + :placeholder="t('external.page.angleText')" |
149 | ></n-input-number> | 162 | ></n-input-number> |
150 | </setting-item> | 163 | </setting-item> |
151 | - <setting-item name="Y轴 - 倾斜"> | 164 | + <setting-item :name="t('external.page.yTiltText')"> |
152 | <n-input-number | 165 | <n-input-number |
153 | v-model:value="chartStyles.skewY" | 166 | v-model:value="chartStyles.skewY" |
154 | :min="0" | 167 | :min="0" |
155 | :max="360" | 168 | :max="360" |
156 | size="small" | 169 | size="small" |
157 | - placeholder="角度" | 170 | + :placeholder="t('external.page.angleText')" |
158 | ></n-input-number> | 171 | ></n-input-number> |
159 | </setting-item> | 172 | </setting-item> |
160 | </setting-item-box> | 173 | </setting-item-box> |
161 | 174 | ||
162 | <!-- 提示 --> | 175 | <!-- 提示 --> |
163 | - <n-tag type="warning"> 若预览时大屏模糊,可以尝试关闭滤镜进行修复 </n-tag> | 176 | + <n-tag type="warning"> {{ t('external.page.perviewHeedText') }} </n-tag> |
164 | </collapse-item> | 177 | </collapse-item> |
165 | </template> | 178 | </template> |
166 | 179 | ||
167 | <script setup lang="ts"> | 180 | <script setup lang="ts"> |
168 | import { ref, PropType } from 'vue' | 181 | import { ref, PropType } from 'vue' |
169 | -import { PickCreateComponentType, BlendModeEnumList } from '@/packages/index.d' | 182 | +import { PickCreateComponentType } from '@/packages/index.d' |
183 | +// import { PickCreateComponentType, BlendModeEnumList } from '@/packages/index.d' | ||
170 | import { SettingItemBox, SettingItem, CollapseItem } from '@/components/Pages/ChartItemSetting' | 184 | import { SettingItemBox, SettingItem, CollapseItem } from '@/components/Pages/ChartItemSetting' |
171 | import { icon } from '@/plugins' | 185 | import { icon } from '@/plugins' |
172 | import logoImg from '@/assets/logo.png' | 186 | import logoImg from '@/assets/logo.png' |
@@ -187,8 +201,28 @@ const props = defineProps({ | @@ -187,8 +201,28 @@ const props = defineProps({ | ||
187 | } | 201 | } |
188 | }) | 202 | }) |
189 | 203 | ||
204 | +const t = window['$t'] | ||
190 | const { HelpOutlineIcon } = icon.ionicons5 | 205 | const { HelpOutlineIcon } = icon.ionicons5 |
191 | 206 | ||
207 | +const BlendModeEnumList = [ | ||
208 | + { label: t('common.blendModeEnumList.normal'), value: 'normal' }, | ||
209 | + { label: t('common.blendModeEnumList.multiply'), value: 'multiply' }, | ||
210 | + { label: t('common.blendModeEnumList.overlay'), value: 'overlay' }, | ||
211 | + { label: t('common.blendModeEnumList.screen'), value: 'screen' }, | ||
212 | + { label: t('common.blendModeEnumList.darken'), value: 'darken' }, | ||
213 | + { label: t('common.blendModeEnumList.lighten'), value: 'lighten' }, | ||
214 | + { label: t('common.blendModeEnumList.colorDodge'), value: 'color-dodge' }, | ||
215 | + { label: t('common.blendModeEnumList.colorBurn'), value: 'color-burn' }, | ||
216 | + { label: t('common.blendModeEnumList.hardLight'), value: 'hard-light' }, | ||
217 | + { label: t('common.blendModeEnumList.softLight'), value: 'soft-light' }, | ||
218 | + { label: t('common.blendModeEnumList.difference'), value: 'difference' }, | ||
219 | + { label: t('common.blendModeEnumList.exclusion'), value: 'exclusion' }, | ||
220 | + { label: t('common.blendModeEnumList.hue'), value: 'hue' }, | ||
221 | + { label: t('common.blendModeEnumList.saturation'), value: 'saturation' }, | ||
222 | + { label: t('common.blendModeEnumList.color'), value: 'color' }, | ||
223 | + { label: t('common.blendModeEnumList.luminosity'), value: 'luminosity' } | ||
224 | +] | ||
225 | + | ||
192 | // 百分比格式化 person | 226 | // 百分比格式化 person |
193 | const sliderFormatTooltip = (v: string) => { | 227 | const sliderFormatTooltip = (v: string) => { |
194 | return `${(parseFloat(v) * 100).toFixed(0)}%` | 228 | return `${(parseFloat(v) * 100).toFixed(0)}%` |
@@ -48,6 +48,7 @@ const props = defineProps({ | @@ -48,6 +48,7 @@ const props = defineProps({ | ||
48 | default: false | 48 | default: false |
49 | } | 49 | } |
50 | }) | 50 | }) |
51 | +const t = window['$t'] | ||
51 | 52 | ||
52 | const { CloseIcon, RemoveIcon, ResizeIcon } = icon.ionicons5 | 53 | const { CloseIcon, RemoveIcon, ResizeIcon } = icon.ionicons5 |
53 | 54 | ||
@@ -68,17 +69,17 @@ const btnList: { | @@ -68,17 +69,17 @@ const btnList: { | ||
68 | icon: any | 69 | icon: any |
69 | }[] = [ | 70 | }[] = [ |
70 | { | 71 | { |
71 | - title: '关闭', | 72 | + title: t('common.closeText'), |
72 | key: 'close', | 73 | key: 'close', |
73 | icon: CloseIcon | 74 | icon: CloseIcon |
74 | }, | 75 | }, |
75 | { | 76 | { |
76 | - title: '缩小', | 77 | + title: t('common.reduceText'), |
77 | key: 'remove', | 78 | key: 'remove', |
78 | icon: RemoveIcon | 79 | icon: RemoveIcon |
79 | }, | 80 | }, |
80 | { | 81 | { |
81 | - title: isFull.value ? '缩小' : '放大', | 82 | + title: isFull.value ? t('common.reduceText') : t('common.amplifyText'), |
82 | key: props.narrow ? 'fullResize' : 'resize', | 83 | key: props.narrow ? 'fullResize' : 'resize', |
83 | icon: ResizeIcon | 84 | icon: ResizeIcon |
84 | } | 85 | } |
@@ -7,11 +7,11 @@ | @@ -7,11 +7,11 @@ | ||
7 | :onRemove="remove" | 7 | :onRemove="remove" |
8 | > | 8 | > |
9 | <n-upload-dragger> | 9 | <n-upload-dragger> |
10 | - <img v-if="uploadImageUrl" class="upload-show" :src="uploadImageUrl" alt="上传的图片" /> | 10 | + <img v-if="uploadImageUrl" class="upload-show" :src="uploadImageUrl" :alt="t('common.uploadImage.alt')" /> |
11 | <div class="upload-img" v-show="!uploadImageUrl"> | 11 | <div class="upload-img" v-show="!uploadImageUrl"> |
12 | <img src="@/assets/images/canvas/noImage.png" /> | 12 | <img src="@/assets/images/canvas/noImage.png" /> |
13 | <n-text class="upload-desc" depth="3"> | 13 | <n-text class="upload-desc" depth="3"> |
14 | - 上传文件需小于 {{ uploadSizeFormat.size }}M ,格式为 {{ uploadSizeFormat.format }} 的文件 | 14 | + {{t('common.uploadImage.uploadDesc1')}} {{ uploadSizeFormat.size }}M ,{{t('common.uploadImage.uploadDesc2')}} {{ uploadSizeFormat.format }} {{t('common.uploadImage.uploadDesc3')}} |
15 | </n-text> | 15 | </n-text> |
16 | </div> | 16 | </div> |
17 | </n-upload-dragger> | 17 | </n-upload-dragger> |
@@ -45,6 +45,8 @@ const props = defineProps({ | @@ -45,6 +45,8 @@ const props = defineProps({ | ||
45 | } | 45 | } |
46 | }) | 46 | }) |
47 | 47 | ||
48 | +const t = window['$t'] | ||
49 | + | ||
48 | const emit = defineEmits(['sendFile', 'removeFile']) | 50 | const emit = defineEmits(['sendFile', 'removeFile']) |
49 | 51 | ||
50 | const fileList = ref<UploadFileInfo[]>() | 52 | const fileList = ref<UploadFileInfo[]>() |
@@ -62,9 +64,9 @@ const customRequest = (options: UploadCustomRequestOptions) => { | @@ -62,9 +64,9 @@ const customRequest = (options: UploadCustomRequestOptions) => { | ||
62 | const uploadRes = await uploadFile(uploadParams) | 64 | const uploadRes = await uploadFile(uploadParams) |
63 | if (!uploadRes) return | 65 | if (!uploadRes) return |
64 | emit('sendFile', uploadRes?.fileStaticUri, props.uploadIndex) | 66 | emit('sendFile', uploadRes?.fileStaticUri, props.uploadIndex) |
65 | - window['$message'].success('上传文件成功!') | 67 | + window['$message'].success(t('common.uploadImage.uploadSuccess')) |
66 | } else { | 68 | } else { |
67 | - window['$message'].error('上传文件失败,请稍后重试!') | 69 | + window['$message'].error(t('common.uploadImage.uploadFail')) |
68 | } | 70 | } |
69 | }) | 71 | }) |
70 | } | 72 | } |
@@ -76,11 +78,11 @@ const beforeUploadHandle = (file: UploadFileInfo) => { | @@ -76,11 +78,11 @@ const beforeUploadHandle = (file: UploadFileInfo) => { | ||
76 | const size = file.file?.size as number | 78 | const size = file.file?.size as number |
77 | const typeSuffix = type?.split('/')?.at(-1)?.toUpperCase() as keyof typeof FileTypeEnum | 79 | const typeSuffix = type?.split('/')?.at(-1)?.toUpperCase() as keyof typeof FileTypeEnum |
78 | if (size > 1024 * 1024 * props.uploadSizeFormat.size) { | 80 | if (size > 1024 * 1024 * props.uploadSizeFormat.size) { |
79 | - window['$message'].warning(`文件超出 ${props.uploadSizeFormat.size}M限制,请重新上传!`) | 81 | + window['$message'].warning(`t('common.uploadImage.uploadDesc4') ${props.uploadSizeFormat.size}t('common.uploadImage.uploadDesc5'),t('common.uploadImage.uploadDesc6')`) |
80 | return false | 82 | return false |
81 | } | 83 | } |
82 | if (!FileTypeEnum[typeSuffix]) { | 84 | if (!FileTypeEnum[typeSuffix]) { |
83 | - window['$message'].warning('文件格式不符合,请重新上传!') | 85 | + window['$message'].warning(t('common.uploadImage.uploadFileError')) |
84 | return false | 86 | return false |
85 | } | 87 | } |
86 | return true | 88 | return true |
@@ -111,7 +111,7 @@ const options = ref([ | @@ -111,7 +111,7 @@ const options = ref([ | ||
111 | key: 'd3' | 111 | key: 'd3' |
112 | }, | 112 | }, |
113 | { | 113 | { |
114 | - label: '关闭并退出', | 114 | + label: t('business.closeAndExit'), |
115 | key: 'closePage', | 115 | key: 'closePage', |
116 | icon: renderIcon(LogOutOutlineIcon) | 116 | icon: renderIcon(LogOutOutlineIcon) |
117 | } | 117 | } |
1 | 1 | ||
2 | +const t = window['$t'] | ||
2 | 3 | ||
3 | // 动画时间函数枚举 | 4 | // 动画时间函数枚举 |
4 | export enum AnimationTimingFunctionNameEnum { | 5 | export enum AnimationTimingFunctionNameEnum { |
5 | // 动画从头到尾的速度是相同的 | 6 | // 动画从头到尾的速度是相同的 |
6 | - LINEAR = '匀速', | 7 | + LINEAR = t('business.animationTimingText.linear'), |
7 | // 默认值:动画以低速开始,然后加快,在结束前变慢。 | 8 | // 默认值:动画以低速开始,然后加快,在结束前变慢。 |
8 | - EASE = '缓速', | 9 | + EASE = t('business.animationTimingText.ease'), |
9 | // 动画以低速开始。 | 10 | // 动画以低速开始。 |
10 | - EASEIN = '低速开始', | 11 | + EASEIN = t('business.animationTimingText.easein'), |
11 | // 动画以低速结束。 | 12 | // 动画以低速结束。 |
12 | - EASEOUT = '低速结束', | 13 | + EASEOUT = t('business.animationTimingText.easeout'), |
13 | // 动画以低速开始和结束。 | 14 | // 动画以低速开始和结束。 |
14 | - EASEINOUT = '低速开始和结束' | 15 | + EASEINOUT = t('business.animationTimingText.easeinout') |
15 | } | 16 | } |
16 | 17 | ||
17 | export enum AnimationTimingFunctionEnum { | 18 | export enum AnimationTimingFunctionEnum { |
@@ -30,9 +31,9 @@ export enum AnimationTimingFunctionEnum { | @@ -30,9 +31,9 @@ export enum AnimationTimingFunctionEnum { | ||
30 | // 动画执行状态枚举 | 31 | // 动画执行状态枚举 |
31 | export enum AnimationPlayStateNameEnum { | 32 | export enum AnimationPlayStateNameEnum { |
32 | // 暂停 | 33 | // 暂停 |
33 | - PAUSED = '暂停', | 34 | + PAUSED = t('business.animationPlayStateText.paused'), |
34 | // 运行 | 35 | // 运行 |
35 | - RUNNING = '运行' | 36 | + RUNNING = t('business.animationPlayStateText.running') |
36 | } | 37 | } |
37 | 38 | ||
38 | export enum AnimationPlayStateEnum { | 39 | export enum AnimationPlayStateEnum { |
@@ -45,7 +46,7 @@ export enum AnimationPlayStateEnum { | @@ -45,7 +46,7 @@ export enum AnimationPlayStateEnum { | ||
45 | // 动画执行次数枚举 | 46 | // 动画执行次数枚举 |
46 | export enum AnimationIterationCountNameEnum { | 47 | export enum AnimationIterationCountNameEnum { |
47 | // 暂停 | 48 | // 暂停 |
48 | - ITERATIONCOUNT = '无限次', | 49 | + ITERATIONCOUNT = t('business.animationIterationCountNameText.unlimitedTimes'), |
49 | } | 50 | } |
50 | 51 | ||
51 | export enum AnimationIterationCountEnum { | 52 | export enum AnimationIterationCountEnum { |
1 | +const t = window['$t'] | ||
2 | + | ||
1 | export enum PageOperateEnum { | 3 | export enum PageOperateEnum { |
2 | PAGE_OPERATE_REMOVE = 'pageOperateRemove', | 4 | PAGE_OPERATE_REMOVE = 'pageOperateRemove', |
3 | PAGE_OPERATE_COPY = 'pageOperateCopy', | 5 | PAGE_OPERATE_COPY = 'pageOperateCopy', |
@@ -5,7 +7,7 @@ export enum PageOperateEnum { | @@ -5,7 +7,7 @@ export enum PageOperateEnum { | ||
5 | } | 7 | } |
6 | 8 | ||
7 | export enum PageOperateNameEnum { | 9 | export enum PageOperateNameEnum { |
8 | - PAGE_OPERATE_REMOVE = '删除', | ||
9 | - PAGE_OPERATE_COPY = '复制', | ||
10 | - PAGE_OPERATE_RENAME = '重命名' | 10 | + PAGE_OPERATE_REMOVE = t('common.delText'), |
11 | + PAGE_OPERATE_COPY = t('common.copy'), | ||
12 | + PAGE_OPERATE_RENAME = t('common.rename') | ||
11 | } | 13 | } |
src/i18n/en/business.ts
0 → 100644
1 | +export default { | ||
2 | + CHARTS: 'Chart', | ||
3 | + TABLES: 'List', | ||
4 | + INFORMATIONS: 'Information', | ||
5 | + PHOTOS: 'Image', | ||
6 | + ICONS: 'Icon', | ||
7 | + DECORATES: 'Widgets', | ||
8 | + chart: { | ||
9 | + BAR: 'Bar chart', | ||
10 | + PIE: 'Pie chart', | ||
11 | + LINE: 'Line chart', | ||
12 | + SCATTER: 'Scatter plot', | ||
13 | + MAP: 'Map', | ||
14 | + COMBINATION: 'Combination diagram', | ||
15 | + MORE: 'More', | ||
16 | + }, | ||
17 | + information: { | ||
18 | + TEXT: 'Text', | ||
19 | + TITLE: 'Title', | ||
20 | + INPUTS: 'Control', | ||
21 | + MORE: 'More' | ||
22 | + }, | ||
23 | + component: { | ||
24 | + BORDER: 'Border', | ||
25 | + DECORATE: 'Decoration', | ||
26 | + THREE: '3D', | ||
27 | + HEADLINE: 'Headline', | ||
28 | + SUBTITLE: 'Subtitle', | ||
29 | + MORE: 'More', | ||
30 | + }, | ||
31 | + image: { | ||
32 | + PRIVATE: 'Private image', | ||
33 | + SHARE: 'Shared image' | ||
34 | + }, | ||
35 | + icon: { | ||
36 | + ML: 'Animation', | ||
37 | + COMMON: 'Generic', | ||
38 | + WEATHER: 'Weather', | ||
39 | + DEFAULT: 'Default' | ||
40 | + }, | ||
41 | + rightClick: { | ||
42 | + lock: 'Lock', | ||
43 | + unlock: 'Unlock', | ||
44 | + hide: 'Hide', | ||
45 | + show: 'Show', | ||
46 | + copy: 'Copy', | ||
47 | + cut: 'Cut', | ||
48 | + paste: 'paste', | ||
49 | + topping: 'Topping', | ||
50 | + bottomPlacement: 'Bottom placement', | ||
51 | + moveUp: 'Move up', | ||
52 | + moveDown: 'Move down', | ||
53 | + clearClipboard: 'CLear clipboard', | ||
54 | + delete: 'Delete', | ||
55 | + group: 'Group', | ||
56 | + unGroup: 'UnGroup', | ||
57 | + }, | ||
58 | + layerMode: { | ||
59 | + thumbnail: 'Thumbnail', | ||
60 | + textList: 'Text list', | ||
61 | + }, | ||
62 | + chartMode: { | ||
63 | + singleRow: 'Single-row', | ||
64 | + biserial: 'Biserial', | ||
65 | + }, | ||
66 | + notComponent: 'Component not found', | ||
67 | + noLayer: 'There are currently no layers available', | ||
68 | + saveContent: 'Save content', | ||
69 | + saveThumImage: 'Save Thumbnail Image', | ||
70 | + placeEntercorner: 'Please enter the name in the bottom left corner!', | ||
71 | + savingContentContinue: 'Saving the content will synchronize and modify all components that use this interface. Do you want to continue?', | ||
72 | + chartComponent: 'Charting Components', | ||
73 | + layerControl: 'Layer control', | ||
74 | + detailSetting: 'Details Settings', | ||
75 | + retreat: 'Retreat', | ||
76 | + forward: 'Forward', | ||
77 | + workspace: 'Workspace', | ||
78 | + synchronizeContent: 'Synchronize content', | ||
79 | + preview: 'Preview', | ||
80 | + saveThumImageOk: 'Successfully saved thumbnail', | ||
81 | + initDataRefresh: 'Data initialization successful, please refresh the page!', | ||
82 | + components: 'Components', | ||
83 | + layer: 'Layer', | ||
84 | + iconToolTipChart:'Charting components', | ||
85 | + iconToolTipLayer:'Layer control', | ||
86 | + iconToolTipDetail:'Details settings', | ||
87 | + actionForward:'Forward', | ||
88 | + actionBack:'Retreat', | ||
89 | + closeAndExit:'Close on exit', | ||
90 | + animationTimingText:{ | ||
91 | + linear:'Linear', | ||
92 | + ease:'Ease', | ||
93 | + easein:'Easein', | ||
94 | + easeout:'Easeout', | ||
95 | + easeinout:'Easeinout', | ||
96 | + }, | ||
97 | + animationPlayStateText:{ | ||
98 | + paused:'Paused', | ||
99 | + running:'Running', | ||
100 | + }, | ||
101 | + animationIterationCountNameText:{ | ||
102 | + unlimitedTimes:'Unlimited times', | ||
103 | + }, | ||
104 | + requestType:{ | ||
105 | + customRequest:'Custom request', | ||
106 | + publicInterface:'Public interface', | ||
107 | + }, | ||
108 | + color:'Color' | ||
109 | +} |
src/i18n/en/charts/chart.ts
0 → 100644
1 | +export default { | ||
2 | + histogramText: 'Histogram', | ||
3 | + lineChart: 'Line chart', | ||
4 | + graphicalText: 'Graphical', | ||
5 | + filletText: 'Fillet', | ||
6 | + lineText: 'Line', | ||
7 | + solidPointText: 'Solid point', | ||
8 | + displayTagsText: 'Display Tags', | ||
9 | + displayTypeText: 'Display Type', | ||
10 | + | ||
11 | + sizeText: 'Size', | ||
12 | + hisBarChart: 'Horizontal bar chart', | ||
13 | + barAndLine: 'Bar and Line Charts', | ||
14 | + tipColor: 'Tip Color', | ||
15 | + capChart: 'Capsule column chart', | ||
16 | + leftMargin: 'Left Margin', | ||
17 | + rightMargin: 'Right Margin', | ||
18 | + eachHeight: 'Height of each block (px)', | ||
19 | + allTextSize: 'All text sizes', | ||
20 | + showNumber: 'Display numerical values', | ||
21 | + pie: 'Pie', | ||
22 | + pieConfig: 'Pie config', | ||
23 | + animation: 'Animation', | ||
24 | + autoHidden: '(The legend will be automatically hidden)', | ||
25 | + noClickMouse: 'When clicking on the legend scene without a mouse, the legend can be forcibly opened', | ||
26 | + guideLine: "Guide line", | ||
27 | + filletSize: 'Size of rounded corners', | ||
28 | + lineWidth: 'Line width', | ||
29 | + scatterPlot: 'Scatter plot', | ||
30 | + scatter: 'Scatter point', | ||
31 | + targetDomain: 'The target domain', | ||
32 | + thickness: 'Thickness (0 not displayed)', | ||
33 | + punctuation: 'punctuation', | ||
34 | + logPlot: 'Logarithmic regression scatter plot', | ||
35 | + radarChart: 'Radar chart', | ||
36 | + radar: 'Radar', | ||
37 | + radarShape: 'Radar shape', | ||
38 | + selectShape: 'Select shape', | ||
39 | + coorAxis: 'Coordinate axis', | ||
40 | + axis: 'Axis', | ||
41 | + scale: 'Scale', | ||
42 | + xAxisValue: 'X-axis value', | ||
43 | + yAxisValue: 'Y-axis value', | ||
44 | + indicator: 'Indicator', | ||
45 | + textLabel: 'Text labels', | ||
46 | + series: 'Series', | ||
47 | + | ||
48 | + funnelPlot: 'Funnel plot', | ||
49 | + topDistance: 'Top distance', | ||
50 | + block: 'Block', | ||
51 | + borderSize: 'Border size', | ||
52 | + borderColor: 'Border color', | ||
53 | + hoverSize: 'Hover size', | ||
54 | + heatMap: 'Heat map', | ||
55 | + treeShaped: 'Tree shaped distribution', | ||
56 | + relationship: 'Relationship diagram', | ||
57 | + arc: 'Arc', | ||
58 | + bending: 'Bending degree', | ||
59 | + legend: 'Legend', | ||
60 | + force: 'Force guidance', | ||
61 | + factor: 'Repulsive factor', | ||
62 | + factorSize: 'Repulsive force factor size', | ||
63 | + gravitational: 'Gravitational factor', | ||
64 | + nodeDistance: 'Node distance', | ||
65 | + iterative: 'Iterative animation', | ||
66 | + nodal: 'nodal velocity', | ||
67 | + sankey: 'Sankey', | ||
68 | + selectDirection: 'Select direction', | ||
69 | + promptLabel: 'Prompt label', | ||
70 | + barChartAnimation: 'Bar chart animation', | ||
71 | + lineChartAnimation: 'Line chart animation', | ||
72 | + doubleLineAnimation: 'Double line gradient area chart animation', | ||
73 | + singleLineChart: 'Single line area chart', | ||
74 | + realTimeLine: 'Real time line chart', | ||
75 | + numberValues: 'Number of numerical values', | ||
76 | + functionDraw: 'Function drawing', | ||
77 | + showPunctuation: 'Display line punctuation', | ||
78 | + displayTrims: 'Display Trims', | ||
79 | + customNaiveUI: "Customize NaiveUI - Progress", | ||
80 | + progressBar: 'Progress bar', | ||
81 | + track: 'Track', | ||
82 | + progressColor: 'Progress bar color', | ||
83 | + trackColor: 'Track color', | ||
84 | + offsetAngle: 'Offset angle', | ||
85 | + continAnimation: 'Continuous animation', | ||
86 | + index: 'Index', | ||
87 | + customPieChart: 'Custom Pie Chart - Circular', | ||
88 | + ring: 'Ring', | ||
89 | + shadowLevel: 'Shadow blur level', | ||
90 | + shadowColor: 'Shadow color', | ||
91 | + trackStyle: 'Track Style', | ||
92 | + mapDown: 'Map (supports drilling down)', | ||
93 | + map: 'Map', | ||
94 | + openDown: 'Start drilling down', | ||
95 | + returnIcon: 'Return icon', | ||
96 | + iconColor: 'Icon color', | ||
97 | + iconDistance: 'Icon distance', | ||
98 | + fromRight: 'From right', | ||
99 | + fromAbove: 'Distance above', | ||
100 | + regionColor: 'Region Color', | ||
101 | + colorat0: 'Color at 0%', | ||
102 | + colorat100: 'Color at 100%', | ||
103 | + shadow: 'Shadow', | ||
104 | + blurriness: 'blurriness', | ||
105 | + horizontalOffset: 'Horizontal Offset', | ||
106 | + verticalOffset: 'Vertical Offset', | ||
107 | + placeVertical: 'Please enter the vertical offset size', | ||
108 | + geoInformation: 'Geographic information name', | ||
109 | + suspended: 'Suspended (visible in preview)', | ||
110 | + floatingPop: 'Floating pop-up window', | ||
111 | + bgColor: 'Background color', | ||
112 | + regionBorder: 'Region border', | ||
113 | + widthSize: 'Width size', | ||
114 | + placeBorder: 'Please enter the border size', | ||
115 | + mark: 'Mark', | ||
116 | + rippling: 'Rippling', | ||
117 | + ripplingSize: 'Rippling size', | ||
118 | + ripplingColor: 'Rippling color', | ||
119 | + ripplingDraw: 'The drawing method of ripples', | ||
120 | + flywire: 'Flywire', | ||
121 | + arrowText: 'Arrow', | ||
122 | + speed: 'Speed', | ||
123 | + smallerValue: 'The smaller the value, the faster the speed', | ||
124 | + wake: 'Wake', | ||
125 | + wakeValue: 'The longer the length of the special effect trail [0,1], the heavier the trail will be', | ||
126 | + china: 'China', | ||
127 | + solid: 'Solid', | ||
128 | + hollow: 'Hollow', | ||
129 | + | ||
130 | + deviceDistribution: "Device distribution", | ||
131 | + gaodeKey: 'Please make sure to use your own Gaode application key key', | ||
132 | + customMapId: 'Custom Map Style ID', | ||
133 | + initScaling: 'Initial scaling', | ||
134 | + mode: 'Mode', | ||
135 | + skyColor: 'Sky color', | ||
136 | + pitch: 'Pitch angle', | ||
137 | + iconSelect: 'Icon selection', | ||
138 | + placeIcon: 'Please select the icon you want to use', | ||
139 | + popSelect: 'Pop uo selection', | ||
140 | + placePop: 'Please select the pop-up window you want to use', | ||
141 | + popBackground: 'Pop up background', | ||
142 | + standard: 'standard', | ||
143 | + phantom: 'Phantom Black', | ||
144 | + moonlight: 'Moonlight Silver', | ||
145 | + yuanshan: 'Yuanshan Dai', | ||
146 | + grass: 'Grass green', | ||
147 | + yashi: 'Yashi Grey', | ||
148 | + graffiti: 'Graffiti', | ||
149 | + macarone: 'Macarone', | ||
150 | + indigo: 'Indigo blue', | ||
151 | + polar: 'Polar Night Blue', | ||
152 | + soy: 'Soy sauce seeds', | ||
153 | + satellite: 'satellite', | ||
154 | + chinese: 'Simplified Chinese', | ||
155 | + english: 'English', | ||
156 | + chineseEnglish: 'Chinese English Comparison', | ||
157 | + showMaoBg: 'Display map background', | ||
158 | + showIden: 'Display identification', | ||
159 | + showRoad: 'Display roads', | ||
160 | + showBuilding: 'Show Buildings', | ||
161 | + marker: 'Positioning punctuation', | ||
162 | + hideMarker: 'Hide punctuation', | ||
163 | + realTimeDevice: 'Real time device trajectory', | ||
164 | + markerIcon: 'Marker Icon', | ||
165 | + lineW: 'line width', | ||
166 | + lineArrow: 'Line diameter display direction arrow', | ||
167 | + lineTransparency: 'Line transparency', | ||
168 | + historicalDevice: 'Equipment historical trajectory', | ||
169 | + animationTime: 'Animation timeliness', | ||
170 | + map3D: '3D map (supports drilling down)', | ||
171 | + startDrilling: 'Start drilling down', | ||
172 | + configNoResponse: 'If there is no response to the configuration, please check the effect on the preview page', | ||
173 | + mapConfig: 'Map configuration', | ||
174 | + gauge: 'thickness', | ||
175 | + titleConfig: 'Title Configuration', | ||
176 | + hightConfig: 'Highlight configuration', | ||
177 | + titleShow: 'Title display', | ||
178 | + blockColor: 'Block color', | ||
179 | + columnarConfig: 'Columnar configuration', | ||
180 | + minHeight: 'Minimum height', | ||
181 | + chamfer: 'Chamfer Dimension', | ||
182 | + regionalConfig: 'Regional configuration', | ||
183 | + provinceName: 'Province Name', | ||
184 | + placeProvince: 'Please select a province', | ||
185 | + cityDistrictCounty: 'City/District/County Name', | ||
186 | + placeCityCounty: 'Please select city/district/county', | ||
187 | + blockThickness: 'Block Thickness', | ||
188 | + blockTranspar: 'Block transparency', | ||
189 | + ground: 'Ground clearance', | ||
190 | + columnarColor: 'Columnar color', | ||
191 | + columnarTranspar: 'Columnar transparency', | ||
192 | + customWater: 'Custom Water Ball Chart', | ||
193 | + waterPolo: 'Water polo', | ||
194 | + waterBallvalue: 'Water ball value', | ||
195 | + color1: 'color 1', | ||
196 | + color2: 'color 2', | ||
197 | + customDial: 'Custom dial', | ||
198 | + dialOutside: 'Outside the dial', | ||
199 | + pointer: 'Pointer', | ||
200 | + singleDeviceQuery: 'Single Device - Properties - Historical Data Query', | ||
201 | + singleLineGradientChart:'Single line gradient chart', | ||
202 | + singleLineGradientAreaChart:'Single line gradient area chart', | ||
203 | + variableImage:'Text enumeration (suitable for WS)', | ||
204 | + textEnum:'Text enumeration (suitable for WS)', | ||
205 | +} |
src/i18n/en/charts/index.ts
0 → 100644
src/i18n/en/common.ts
0 → 100644
1 | +export default { | ||
2 | + editText: 'Edit', | ||
3 | + createText: 'Create', | ||
4 | + noDataText: 'There is currently no data available', | ||
5 | + noContentText: 'There is currently no content available', | ||
6 | + createNowText: 'Create now', | ||
7 | + successText: 'Success', | ||
8 | + operationSuccessText: 'Operation successful!', | ||
9 | + failText: 'Fail', | ||
10 | + delText: 'Delete', | ||
11 | + noneText: 'None', | ||
12 | + sizeText: 'Size', | ||
13 | + widthText: 'Width', | ||
14 | + heightText: 'Height', | ||
15 | + actionText: 'Action', | ||
16 | + paramsText: 'Parameter', | ||
17 | + illustrateText: 'Illustrate', | ||
18 | + tipText: 'Tip', | ||
19 | + autoText: 'Automatic calculation', | ||
20 | + colorText: 'Color', | ||
21 | + layoutText: 'Layout', | ||
22 | + textText: 'Text', | ||
23 | + styleText: 'Style', | ||
24 | + symbolText: 'Symbol', | ||
25 | + selectText: 'Select', | ||
26 | + shapeText: 'Shape', | ||
27 | + backgroundText: 'Background', | ||
28 | + divderText: 'Divder', | ||
29 | + shiftingText: 'Shifting', | ||
30 | + backTransparText: 'Background transparency', | ||
31 | + autoCalcText: 'Automatic calculation', | ||
32 | + rangeText: 'Range', | ||
33 | + sortText: 'Sort', | ||
34 | + intervalText: 'Interval', | ||
35 | + isDisplayText: 'Is it displayed', | ||
36 | + directionText: 'direction', | ||
37 | + isEnabled: 'Is it enabled', | ||
38 | + animationText: 'Animation', | ||
39 | + contentText: 'Content', | ||
40 | + numericalText: 'Numerical value', | ||
41 | + textColorText: 'Text color', | ||
42 | + textSizeText: 'Text size', | ||
43 | + fontColorText: 'Font color', | ||
44 | + fontSizeText: 'Font size', | ||
45 | + dataText: 'Data', | ||
46 | + inputText: 'Please enter ', | ||
47 | + chooseText: 'Please choose ', | ||
48 | + displayText: 'Display', | ||
49 | + notDisplayText: 'Do not display', | ||
50 | + disableText: 'Disable', | ||
51 | + otherText: 'Other', | ||
52 | + configText: 'Configuration', | ||
53 | + cityText: 'City', | ||
54 | + foundationText: 'Foundation', | ||
55 | + languageTypeText: 'Language Type', | ||
56 | + themeText: 'Theme', | ||
57 | + longText: 'longitude', | ||
58 | + latText: 'latitude', | ||
59 | + transparencyText: 'Transparency', | ||
60 | + determineText: 'Determine', | ||
61 | + fontText: 'Font', | ||
62 | + rowHeightText: 'Row height', | ||
63 | + bgColorText: 'Background color', | ||
64 | + deactivateText: 'Deactivate', | ||
65 | + enableText: 'Enable', | ||
66 | + restoreDefaultText: 'Restore default', | ||
67 | + setUpText: 'Set up', | ||
68 | + initValueText: 'Initial value', | ||
69 | + thicknessText: 'Thickness', | ||
70 | + spacingText: 'Spacing', | ||
71 | + kerningText: 'Kerning', | ||
72 | + spaceText: 'Space', | ||
73 | + timeText: 'Time', | ||
74 | + shadowText: 'Shadow', | ||
75 | + vagueText: 'Vague', | ||
76 | + showShadowText: 'Show shadows', | ||
77 | + borderColorText: 'Border color', | ||
78 | + pointerText: 'Pointer', | ||
79 | + fullScreenText: 'Full screen button', | ||
80 | + buttonText: 'Button', | ||
81 | + defaultColorText: 'Default color', | ||
82 | + tText: 'Top', | ||
83 | + rText: 'The right', | ||
84 | + lText: 'The left', | ||
85 | + bText: 'Bottom', | ||
86 | + scaleText: 'Scale', | ||
87 | + textStyleText: 'Text style', | ||
88 | + clickUploadImgText: 'Click to upload image', | ||
89 | + imageNeedsThanText: 'The image needs to be smaller than', | ||
90 | + placeImageNeedsText: | ||
91 | + 'And it only exists temporarily in the browser. The current image temporary storage limit is 5M. If it exceeds this limit, new images will no longer be cached. Please connect to the backend interface yourself! Now compiled into base64 for rendering, please use 【 URL Address 】 for interaction after docking with the backend!', | ||
92 | + rotateText: 'Rotate', | ||
93 | + searchComponentText: 'Search component', | ||
94 | + closeText: 'Close', | ||
95 | + reduceText: 'Reduce', | ||
96 | + amplifyText: 'Amplify', | ||
97 | + allText: 'All', | ||
98 | + saveOkText: 'Successfully saved', | ||
99 | + | ||
100 | + minMaxText: 'The value range is between the minimum and maximum values', | ||
101 | + | ||
102 | + positionText: 'Position', | ||
103 | + upperText: 'Upper', | ||
104 | + leftText: 'Left', | ||
105 | + notHaveText: 'Not have', | ||
106 | + stateText: 'Status', | ||
107 | + importText: 'Import', | ||
108 | + exportText: 'Export', | ||
109 | + downloadText: 'Download', | ||
110 | + moreText: '「 More 」', | ||
111 | + serviceText: 'Service', | ||
112 | + retractText: 'Retract', | ||
113 | + expandText: 'Expand', | ||
114 | + saveSendText: 'Save&Send Request', | ||
115 | + openText: 'Open', | ||
116 | + defaultValueText: 'Default value', | ||
117 | + isMultipleText: 'Do you want to select multiple options', | ||
118 | + informationText: 'Information', | ||
119 | + defaultText: 'Default', | ||
120 | + uploadText: 'Upload', | ||
121 | + controlText: 'Control', | ||
122 | + muteText: 'Mute', | ||
123 | + organizationText: 'Organization', | ||
124 | + | ||
125 | + cancelText: 'Cancel', | ||
126 | + saveText: 'Save', | ||
127 | + | ||
128 | + overallText: 'Overall situation', | ||
129 | + titleText: 'Title', | ||
130 | + unitText: 'Unit', | ||
131 | + labelText: 'Label', | ||
132 | + showText: 'Show', | ||
133 | + typeText: 'Type', | ||
134 | + minText: 'Minimum value', | ||
135 | + maxText: 'Maximum value', | ||
136 | + wideText: 'Wide', | ||
137 | + highText: 'High', | ||
138 | + | ||
139 | + dataOkText: 'Data application successful!', | ||
140 | + dataFailText: 'Data application failed!', | ||
141 | + nameText: 'Name', | ||
142 | + name: 'Name', | ||
143 | + increaseText: 'Increase', | ||
144 | + unnamed: 'Unnamed', | ||
145 | + | ||
146 | + actionOkText: 'Operation completed', | ||
147 | + fillInText: 'Please fill in', | ||
148 | + | ||
149 | + histor: 'History', | ||
150 | + maxNumber100: 'Keep a maximum of {number} records', | ||
151 | + pageNumber: 'Page {number}', | ||
152 | + shortcutKeys: 'Shortcut keys', | ||
153 | + lock: 'Lock', | ||
154 | + Unlock: 'Unlock', | ||
155 | + currentProportion: ' Current proportion', | ||
156 | + topButtonSynchronous: `Please synchronize the latest data through the 'Sync Content' button at the top!`, | ||
157 | + style: 'Style', | ||
158 | + setting: 'Setting', | ||
159 | + removeShadows: 'Remove shadows', | ||
160 | + showTag: 'Show tag', | ||
161 | + inputWordSpacing: 'Input word spacing', | ||
162 | + uploadImage: { | ||
163 | + alt: 'Upload images', | ||
164 | + uploadDesc1: 'The uploaded file must be smaller than', | ||
165 | + uploadDesc2: 'The format is', | ||
166 | + uploadDesc3: 'The file', | ||
167 | + uploadSuccess: 'Upload file successfully!', | ||
168 | + uploadFail: 'Upload file failed, please try again later!', | ||
169 | + uploadFileError: 'The file format does not match, please upload again!', | ||
170 | + uploadDesc4: 'File exceeds', | ||
171 | + uploadDesc5: 'M Limit', | ||
172 | + uploadDesc6: 'Please upload again!', | ||
173 | + uploadDesc7: 'Support multiple transfers' | ||
174 | + }, | ||
175 | + variableValue: 'Variable value', | ||
176 | + variableValueImage: 'Variable value image', | ||
177 | + tableSearchTag1: | ||
178 | + 'Configure pagination interface to query parameter keys, separating key names and key values with commas', | ||
179 | + tableSearchTag2: 'For example: device name, device name', | ||
180 | + tableSearchField: 'Search Fields', | ||
181 | + tableSearch: 'Table search', | ||
182 | + field: 'Field', | ||
183 | + add: 'Add', | ||
184 | + tableConfigText: 'If the configuration is unresponsive, please check the effect on the preview page', | ||
185 | + useFixedEndDate: 'Use a fixed end date', | ||
186 | + displayDays: 'Display days', | ||
187 | + unitFontConfiguration: 'Unit font configuration', | ||
188 | + copy: 'Copy', | ||
189 | + rename: 'Rename', | ||
190 | + mate: 'Mate', | ||
191 | + filterTooltip: 'The `data` field of the default processing interface return value for the filter', | ||
192 | + downloadTooltip: 'Click [Download] to view complete data', | ||
193 | + mapping: 'Mapping', | ||
194 | + generalIdentification: 'General identification', | ||
195 | + dataItem: 'Data item', | ||
196 | + notDataset: 'This component has no data source', | ||
197 | + globalConfig: 'Global config', | ||
198 | + publicInterfaceNotYetSelected: 'Public interface not yet selected', | ||
199 | + editContent: 'Edit content', | ||
200 | + saveAndClose: 'Save & Close', | ||
201 | + address: 'Address', | ||
202 | + subjectInformation: 'Subject information', | ||
203 | + interfaceName: 'Interface name', | ||
204 | + interfaceType: 'Interface type', | ||
205 | + componentInterval: 'Component interval', | ||
206 | + globalInterval: 'Global interval', | ||
207 | + sourceAddress: 'Source address', | ||
208 | + pleaseEnterTheSourceAddress: 'Please enter the source address', | ||
209 | + interfaceAddress: 'Interface address', | ||
210 | + configType: 'Config type', | ||
211 | + noBody: 'This interface does not have a Body body', | ||
212 | + globalPublicConfiguration: 'Global public configuration', | ||
213 | + preURL: 'pre URL', | ||
214 | + updateInterval: 'Update interval', | ||
215 | + pleaseEnterANumber: 'Please enter a number', | ||
216 | + tokenConfig: 'Token config', | ||
217 | + requestHeader: 'Request header', | ||
218 | + tokenValuePrefix: 'Token value prefix', | ||
219 | + requestMethodURLAddress: 'request Method URL Address', | ||
220 | + pleaseEnterTheURLAddress: 'Please enter the URL address', | ||
221 | + selectBy: 'select By', | ||
222 | + ordinaryRequest: 'Ordinary request', | ||
223 | + sqlRequest: 'Sql request', | ||
224 | + defaultX: 'Default value X-Authorization', | ||
225 | + defaultB: 'Default value Bearer', | ||
226 | + pass: 'Pass', | ||
227 | + hasNo: 'Has no', | ||
228 | + selfAdaption: 'Self adaption', | ||
229 | + pleaseEnterThePageName: 'Please enter the page name', | ||
230 | + blendModeEnumList: { | ||
231 | + normal: 'normal', | ||
232 | + multiply: 'multiply', | ||
233 | + overlay: 'overlay', | ||
234 | + screen: 'screen', | ||
235 | + darken: 'darken', | ||
236 | + lighten: 'lighten', | ||
237 | + colorDodge: 'colorDodge', | ||
238 | + colorBurn: 'colorBurn', | ||
239 | + hardLight: 'hardLight', | ||
240 | + softLight: 'softLight', | ||
241 | + difference: 'difference', | ||
242 | + exclusion: 'exclusion', | ||
243 | + hue: 'hue', | ||
244 | + saturation: 'saturation', | ||
245 | + color: 'color', | ||
246 | + luminosity: 'luminosity' | ||
247 | + }, | ||
248 | + legendConfig: { | ||
249 | + lengendX: { | ||
250 | + left: 'left', | ||
251 | + center: 'center', | ||
252 | + right: 'right' | ||
253 | + }, | ||
254 | + lengendY: { | ||
255 | + top: 'top', | ||
256 | + center: 'center', | ||
257 | + bottom: 'bottom' | ||
258 | + }, | ||
259 | + orient: { | ||
260 | + horizontal: 'horizontal', | ||
261 | + vertical: 'vertical' | ||
262 | + }, | ||
263 | + shape: { | ||
264 | + circle: 'circle', | ||
265 | + rect: 'rect', | ||
266 | + roundRect: 'roundRect', | ||
267 | + triangle: 'triangle', | ||
268 | + pin: 'pin', | ||
269 | + arrow: 'arrow' | ||
270 | + } | ||
271 | + }, | ||
272 | + axisConfig: { | ||
273 | + xposition: { | ||
274 | + top: 'top', | ||
275 | + bottom: 'bottom' | ||
276 | + }, | ||
277 | + yposition: { | ||
278 | + left: 'left', | ||
279 | + right: 'right' | ||
280 | + }, | ||
281 | + splitLint: { | ||
282 | + lineStyle: { | ||
283 | + solid: 'solid', | ||
284 | + dashed: 'dashed', | ||
285 | + dotted: 'dotted' | ||
286 | + }, | ||
287 | + visualMap: { | ||
288 | + horizontal: 'horizontal', | ||
289 | + vertical: 'vertical' | ||
290 | + } | ||
291 | + } | ||
292 | + }, | ||
293 | + rawData: 'Raw data', | ||
294 | + bodyType: 'Body type', | ||
295 | + sqlInfo: { | ||
296 | + key: 'key', | ||
297 | + value: 'value' | ||
298 | + }, | ||
299 | + requestContentType: { | ||
300 | + default: 'default', | ||
301 | + sql: 'SQL' | ||
302 | + }, | ||
303 | + timeRangeInfo: { | ||
304 | + polymerizationMethod: 'Polymerization method', | ||
305 | + intervalTime: 'Interval time', | ||
306 | + pleaseEnterTheMaximumNumberOfEntries: 'Please enter the maximum number of entries', | ||
307 | + pleaseSelectATimeRange: 'Please select a time range' | ||
308 | + }, | ||
309 | + aggergationOptions: { | ||
310 | + avg: 'avg', | ||
311 | + min: 'min', | ||
312 | + max: 'max', | ||
313 | + sum: 'sum', | ||
314 | + count: 'count', | ||
315 | + none: 'none' | ||
316 | + }, | ||
317 | + validateInfo: { | ||
318 | + completeRequired: 'Complete required', | ||
319 | + requiredField: 'Required field' | ||
320 | + }, | ||
321 | + pleaseSelectAPublicInterface: 'Please select a public interface', | ||
322 | + videoText: 'Video', | ||
323 | + requestName: 'Request name', | ||
324 | + editConfiguration: 'Edit configuration', | ||
325 | + test: 'Test', | ||
326 | + defaultDataSet: 'Default assignment to dataset fields', | ||
327 | + sendRequest: 'Send request', | ||
328 | + sendHandleMessage: { | ||
329 | + pleaseChooseAPublicInterface: 'Please Choose A Public Interface', | ||
330 | + filterErrorText: 'Your data does not conform to the default format, please configure a filter', | ||
331 | + checkTheInterface: 'No return value received, please check the interface', | ||
332 | + checkTheParameters: 'Data exception, please check the parameters' | ||
333 | + }, | ||
334 | + fullScreenView: 'Full screen view', | ||
335 | + pieType: { | ||
336 | + normal: 'Normal', | ||
337 | + ring: 'Ring', | ||
338 | + rose: 'Rose' | ||
339 | + }, | ||
340 | + labelFormat: { | ||
341 | + dataName: 'Data name', | ||
342 | + percentage: 'percentage', | ||
343 | + columnNamePercentage: 'column Name Percentage' | ||
344 | + }, | ||
345 | + labelConfig: { | ||
346 | + outside: 'outside', | ||
347 | + inside: 'inside', | ||
348 | + center: 'center' | ||
349 | + }, | ||
350 | + scatterEffectTypeEnumList: { | ||
351 | + scatter: 'scatter', | ||
352 | + effectScatter: 'effect Scatter' | ||
353 | + }, | ||
354 | + symbolEnumList: { | ||
355 | + circle: 'circle', | ||
356 | + rect: 'rect', | ||
357 | + roundRect: 'roundRect', | ||
358 | + triangle: 'triangle', | ||
359 | + diamond: 'diamond', | ||
360 | + pin: 'pin', | ||
361 | + arrow: 'arrow', | ||
362 | + none: 'none', | ||
363 | + polygon: 'polygon', | ||
364 | + descending: 'descending', | ||
365 | + ascending: 'ascending', | ||
366 | + line: 'line', | ||
367 | + dashboard: 'dashboard', | ||
368 | + cardioid: 'cardioid', | ||
369 | + triangleForward: 'triangleForward', | ||
370 | + pentagon: 'pentagon', | ||
371 | + star: 'star' | ||
372 | + }, | ||
373 | + loading: 'Loading', | ||
374 | + back: 'back', | ||
375 | + displayTheSouthChinaSeaIslands: 'Display the South China Sea Islands', | ||
376 | + historyAction: { | ||
377 | + title: 'Historical trajectory operation panel', | ||
378 | + startAnimation: 'start Animation', | ||
379 | + pauseAnimation: 'pause Animation', | ||
380 | + resumeAnimation: 'resume Animation', | ||
381 | + stopAnimation: 'stop Animation' | ||
382 | + }, | ||
383 | + funnelLabelPositionEnumList: { | ||
384 | + inside: 'inside', | ||
385 | + outside: 'outside', | ||
386 | + insideLeft: 'insideLeft', | ||
387 | + insideRight: 'insideRight' | ||
388 | + }, | ||
389 | + orientList: { | ||
390 | + horizontal: 'horizontal', | ||
391 | + vertical: 'vertical' | ||
392 | + }, | ||
393 | + toolTipSwitch: { | ||
394 | + open: 'open', | ||
395 | + close: 'close' | ||
396 | + }, | ||
397 | + fontWeight: { | ||
398 | + normal: 'normal', | ||
399 | + bold: 'bold' | ||
400 | + }, | ||
401 | + textAlignOptions: { | ||
402 | + start: 'start', | ||
403 | + center: 'center', | ||
404 | + end: 'end' | ||
405 | + }, | ||
406 | + linkMethodOptions: { | ||
407 | + default: 'default', | ||
408 | + open: 'open' | ||
409 | + }, | ||
410 | + fileUploadAction: { | ||
411 | + text: 'upload Files' | ||
412 | + }, | ||
413 | + pageNotYetBound: 'page Not Yet Bound', | ||
414 | + theConfigurationPageHasNotBeenMadePublicYet: 'The configuration page has not been made public yet', | ||
415 | + switchCities: 'Switch cities', | ||
416 | + placeholder: { | ||
417 | + province: 'Please select a province', | ||
418 | + country: 'Please select region' | ||
419 | + }, | ||
420 | + shortCutKeyInfo: { | ||
421 | + th1: 'function', | ||
422 | + th2: 'Win Shortcut keys', | ||
423 | + th3: 'Mac Shortcut keys', | ||
424 | + label1: 'Drag and drop canvas', | ||
425 | + label2: 'Move up/right/down/left', | ||
426 | + label3: 'lock', | ||
427 | + label4: 'unLock', | ||
428 | + label5: 'show', | ||
429 | + label6: 'hide', | ||
430 | + label7: 'delete', | ||
431 | + label8: 'copy', | ||
432 | + label9: 'cut', | ||
433 | + label10: 'paste', | ||
434 | + label11: 'back', | ||
435 | + label12: 'forward', | ||
436 | + label13: 'multiple choice', | ||
437 | + label14: 'Create a group', | ||
438 | + label15: 'Unbrouping' | ||
439 | + }, | ||
440 | + devicePositionDialog: { | ||
441 | + dialogTitle: 'Pop up label', | ||
442 | + dialogField: 'dialog Field', | ||
443 | + precautionsForUse: 'Precautions for use', | ||
444 | + use1: 'The key values configured in the pop-up field need to', | ||
445 | + use2: 'And in static data customField', | ||
446 | + use3: 'Corresponding keys in the object' | ||
447 | + }, | ||
448 | + key: 'key', | ||
449 | + value: 'value', | ||
450 | + lastUpdateTime: 'lastUpdateTime', | ||
451 | + chartData: { | ||
452 | + tag1: 'Data source returned by grouping', | ||
453 | + tag2: 'Currently supports real-time multi-attribute support', | ||
454 | + c1: 'Component ID', | ||
455 | + c2: 'Component Name', | ||
456 | + c3: 'Select key value', | ||
457 | + c4: 'Data Content' | ||
458 | + }, | ||
459 | + pageText: 'Page', | ||
460 | + numberText: 'Number', | ||
461 | + defaultNumberText: 'Number 1 Page', | ||
462 | + copyText: 'Copy', | ||
463 | + computedScaleErrorText: 'Please create a canvas first, then zoom in and out', | ||
464 | + pressIt: 'Press It「', | ||
465 | + keysIt: '」Key', | ||
466 | + timeRangeShortcutsSelectText: { | ||
467 | + yesterday: 'Yesterday', | ||
468 | + lastSevenDays: 'Last Seven Days', | ||
469 | + lastThirtyDays: 'Last Thirty Days', | ||
470 | + thisWeek: 'This Week', | ||
471 | + thisMonth: 'This Month' | ||
472 | + }, | ||
473 | + formItemNameI18n: { | ||
474 | + dateRange: 'dateRange', | ||
475 | + deviceProfileId: 'Affiliation deviceProfileId', | ||
476 | + organizationId: 'Affiliation organizationId', | ||
477 | + entityId: 'Affiliation entityId', | ||
478 | + keys: 'keys' | ||
479 | + }, | ||
480 | + requestConfig: 'Request config', | ||
481 | + timeSelect:{ | ||
482 | + second: 'Second', | ||
483 | + minute: 'Minute', | ||
484 | + hour: 'Hour', | ||
485 | + day: 'Day', | ||
486 | + }, | ||
487 | + historyActionTypes:{ | ||
488 | + add:'Add', | ||
489 | + delete:'Delete', | ||
490 | + update:'Update', | ||
491 | + move:'Move', | ||
492 | + paste:'Paste', | ||
493 | + copy:'Copy', | ||
494 | + cut:'Cut', | ||
495 | + top:'Top', | ||
496 | + bottom:'Bottom', | ||
497 | + up:'Up', | ||
498 | + down:'Down', | ||
499 | + group:'Group', | ||
500 | + unGroup:'UnGroup', | ||
501 | + lock:'Lock', | ||
502 | + unlock:'Unlock', | ||
503 | + hide:'Hide', | ||
504 | + show:'Show', | ||
505 | + canvas:'Canvas', | ||
506 | + }, | ||
507 | + defaultChartColors: { | ||
508 | + dark: 'dark', | ||
509 | + customed: 'customed', | ||
510 | + macarons: 'macarons', | ||
511 | + walden: 'walden', | ||
512 | + purplePassion: 'purplePassion', | ||
513 | + vintage: 'vintage', | ||
514 | + chalk: 'chalk', | ||
515 | + westeros: 'westeros', | ||
516 | + wonderland: 'wonderland', | ||
517 | + essos: 'essos', | ||
518 | + shine: 'shine', | ||
519 | + roma: 'roma' | ||
520 | + }, | ||
521 | + accessToken: 'Access token', | ||
522 | +} |
src/i18n/en/component/index.ts
0 → 100644
1 | +export default { | ||
2 | + border1: 'Border-01', | ||
3 | + color: 'Color', | ||
4 | + speed: 'Speed(s)', | ||
5 | + | ||
6 | + border2: 'Border-02', | ||
7 | + border3: 'Border-03', | ||
8 | + border4: 'Border-04', | ||
9 | + border5: 'Border-05', | ||
10 | + border6: 'Border-06', | ||
11 | + border7: 'Border-07', | ||
12 | + border8: 'Border-08', | ||
13 | + border9: 'Border-09', | ||
14 | + border10: 'Border-10', | ||
15 | + border11: 'Border-11', | ||
16 | + border12: 'Border-12', | ||
17 | + border13: 'Border-13', | ||
18 | + | ||
19 | + placeTitleContent: 'Please enter the title content', | ||
20 | + turnReverse: 'Turn on reverse', | ||
21 | + | ||
22 | + decoration1: 'Decoration-01', | ||
23 | + decoration2: 'Decoration-02', | ||
24 | + decoration3: 'Decoration-03', | ||
25 | + decoration4: 'Decoration-04', | ||
26 | + decoration5: 'Decoration-05', | ||
27 | + decoration6: 'Decoration-06', | ||
28 | + decoration7: 'Decoration 07', | ||
29 | + decoration8: 'Decoration 08', | ||
30 | + decoration9: 'Decoration 09', | ||
31 | + decoration10: 'Decoration 10', | ||
32 | + decoration11: 'Decoration 11', | ||
33 | + decoration12: 'Decoration 12', | ||
34 | + decoration13: 'Decoration 13', | ||
35 | + decoration14: 'Decoration 14', | ||
36 | + decoration15: 'Decoration 15', | ||
37 | + decoration16: 'Decoration 16', | ||
38 | + | ||
39 | + specific: 'Specific', | ||
40 | + lineHeight: 'Line height', | ||
41 | + endLength: 'End length', | ||
42 | + | ||
43 | + earth3d: '3d earth', | ||
44 | + numericCount: 'Numeric Count', | ||
45 | + | ||
46 | + endPointValue: 'End point value', | ||
47 | + accuracy: 'Accuracy', | ||
48 | + displaySeparator: 'Display separator', | ||
49 | + prefix: 'Prefix', | ||
50 | + suffix: 'Suffix', | ||
51 | + | ||
52 | + digitalFlip: 'Digital Flip - Dynamic Trigger Required', | ||
53 | + flip: 'Flip', | ||
54 | + flipNumber: 'Number of flipped cards', | ||
55 | + flipInterval: 'Flip interval', | ||
56 | + behavior: 'Behavior', | ||
57 | + flipDown: 'Flipping downwards', | ||
58 | + flipUp: 'Flip up', | ||
59 | + flipSpeed: 'Flip speed (milliseconds)', | ||
60 | + universalTime: 'Universal time', | ||
61 | + showShadow: 'Show shadow', | ||
62 | + countdown: 'Countdown', | ||
63 | + timing: 'Timing (seconds)', | ||
64 | + endDate: 'End date', | ||
65 | + useFixedEndDate: 'Use fixed end date', | ||
66 | + style: 'Style', | ||
67 | + hms: 'Hour minute second', | ||
68 | + colon: 'Colon', | ||
69 | + clock: 'Clock', | ||
70 | + indexDial: 'Index dial', | ||
71 | + | ||
72 | + pipelineHor: 'Pipeline - Horizontal', | ||
73 | + pipeline: 'Pipeline', | ||
74 | + pipelineColor: 'Pipeline Color', | ||
75 | + waterColor: 'Water flow color', | ||
76 | + flowDire: 'flow direction', | ||
77 | + forword: 'Forward direction', | ||
78 | + reverse: 'Reverse', | ||
79 | + cease: 'Cease', | ||
80 | + blue: 'Blue', | ||
81 | + yellow: 'Yellow', | ||
82 | + | ||
83 | + pipelineVer: 'Pipeline - Vertical', | ||
84 | + iconColor: 'Icon (configurable pop up)', | ||
85 | + icon: 'Icon', | ||
86 | + background: 'Background', | ||
87 | + fontColor: 'Font color', | ||
88 | + dynamicEffect: 'Dynamic effect', | ||
89 | + effect: 'Effect', | ||
90 | + popConfig: 'Pop up configuration', | ||
91 | + widthHeight: 'width height', | ||
92 | + borderShadow: 'Border shadow', | ||
93 | + leftLine: 'Background Linear Gradient Left', | ||
94 | + rightLine: 'Background Linear Gradient Right', | ||
95 | + arrowColor: 'Arrow color', | ||
96 | + lineColor: 'Line color', | ||
97 | + titleColor: 'Title color', | ||
98 | + boldTitle: 'Bold title', | ||
99 | + titleContent: 'Title Content', | ||
100 | + contentKeyColor: 'Content key text color', | ||
101 | + contentValueColor: 'Content Value Text Color', | ||
102 | + contentKey: 'Content key', | ||
103 | + contentValue: 'Content value', | ||
104 | + | ||
105 | + weather: 'Weather', | ||
106 | + weatherConfig: 'Weather configuration', | ||
107 | + regionSelect: 'Region selection', | ||
108 | + | ||
109 | + treeDimes: 'Three-dimensional model', | ||
110 | + treeConfig: '3D configuration', | ||
111 | + borderConfig: 'Border configuration', | ||
112 | + openBorder: 'Turn on borders', | ||
113 | + uploadFile: 'Upload files', | ||
114 | + maps: 'Maps', | ||
115 | + modelPosition: 'Model position', | ||
116 | + modelPositionCoord: 'Model position coordinates (x, y, z)', | ||
117 | + modelRota: 'Model rotation', | ||
118 | + modelRotaCoord: 'Model rotation coordinates (x, y, z)', | ||
119 | + lightSelection: 'Light selection', | ||
120 | + lightSelectionName: 'Light selection (0, ambient light), (1, directional light), (2, point light), (3, hemisphere light))', | ||
121 | + lightConfig: 'Lighting configuration', | ||
122 | + enableFps: 'Enable fps', | ||
123 | + labelConfig: 'Label configuration', | ||
124 | + characters: 'Characters', | ||
125 | + borderColor: 'Border color', | ||
126 | + borderSize: 'Border size', | ||
127 | + borderRound: 'Border rounded corners', | ||
128 | + attrConfig: 'Attribute Configuration', | ||
129 | + needSceneColor: 'Scene (requires this format HEX # 000000, otherwise it will be invalid)', | ||
130 | + sceneTranspar: 'Scene transparency', | ||
131 | + enableDamping: 'Enable damping', | ||
132 | + dampingValue: 'Damping value', | ||
133 | + putputEncoding: 'Output encoding, can take values of linear or sRGB. Linear is LinearEncoding linear encoding, sRGB is sRGBEncoding RGB mode encoding (sRGBEncoding can better restore material colors)', | ||
134 | + mtlRef: 'For example, MTL is usually used in conjunction with OBJ, while FBX is used in conjunction with JPG, etc', | ||
135 | + mappsJPGPNG: 'The texture currently supports jpg/png format', | ||
136 | + | ||
137 | + | ||
138 | + headline1: 'Headline 1', | ||
139 | + backgroundUpload: 'Background upload', | ||
140 | + clearUploadBg: 'Clear upload background', | ||
141 | + bgSelection: 'Background selection', | ||
142 | + placeBg: 'Please select the background you want to use', | ||
143 | + positionX: 'Position x-axis', | ||
144 | + fontPositionX: 'Font position x-axis', | ||
145 | + positionY: 'Position y-axis', | ||
146 | + fontPositionY: 'Font position y-axis', | ||
147 | + rightSide: 'Right side', | ||
148 | + timeColor: 'Time color', | ||
149 | + addImageOk: 'Successfully added image!', | ||
150 | + addImageFail: 'Adding image failed, please try again later!', | ||
151 | + fontPosition: 'Font Location', | ||
152 | + | ||
153 | + Headline2: 'Headline 2', | ||
154 | + confit: 'Configuration', | ||
155 | + leftSpac: 'Left spacing', | ||
156 | + topSpac: 'Top spacing', | ||
157 | + gradColorParmas: 'gradColorParmas', | ||
158 | + startValue: 'Starting value', | ||
159 | + endValue: 'End value', | ||
160 | + offsetAngle: 'Offset angle', | ||
161 | + colorRota: 'Color rotation', | ||
162 | + fontLeftSpac: 'Left spacing of font', | ||
163 | + fontRightSpac: 'Top spacing of font', | ||
164 | + | ||
165 | + subtitle1: 'Subtitle 1', | ||
166 | + subtitle2: 'Subtitle 2', | ||
167 | + subtitle3: 'Subtitle 3', | ||
168 | + subtitle4: 'Subtitle 4', | ||
169 | + subtitle5: 'Subtitle 5', | ||
170 | + subtitle6: 'Subtitle 6', | ||
171 | + subtitle7: 'Subtitle 7', | ||
172 | + subtitle8: 'Subtitle 8', | ||
173 | + subtitle9: 'Subtitle 9', | ||
174 | + | ||
175 | + xAxisPos: 'X-axis position', | ||
176 | + yAxisPos: 'Y-axis position', | ||
177 | + leftDecor: 'Left decoration', | ||
178 | + rightDecor: 'Right decoration', | ||
179 | + rectangDecor: 'Rectangular decoration', | ||
180 | + otherDecor: 'Other decorations', | ||
181 | + decor: 'decoration', | ||
182 | + decorOnBoth: 'Decorations on both sides', | ||
183 | + middleDecor: 'Middle decoration', | ||
184 | + upAndLowerDecor: 'Decoration of upper and lower edges', | ||
185 | + medallion: 'Medallion', | ||
186 | + borderDecor: 'Border decoration', | ||
187 | + squareDecor: 'Square decoration', | ||
188 | + dicing: 'Dicing', | ||
189 | + bgDecor: 'Background decoration', | ||
190 | + GraphicDecor: 'Graphic decoration', | ||
191 | + graphicBorderDecor: 'Graphic border decoration', | ||
192 | + leftBgDecor: 'Left background decoration', | ||
193 | + rightBgDecor: 'Right background decoration', | ||
194 | + leftLineDecor: 'Left line decoration', | ||
195 | + rightLineDecor: 'Right line decoration', | ||
196 | + rightSquareDecor: 'Right square decoration', | ||
197 | + leftGraphicDecor: 'Left graphic decoration', | ||
198 | + leftGraphicBorderDecor: 'Left graphic border decoration', | ||
199 | + | ||
200 | + decorColor: 'Decorative colors', | ||
201 | + dataPointConfig: 'Data point configuration', | ||
202 | + gridConfig: 'Grid configuration', | ||
203 | + internalCylinder: 'Internal cylinder', | ||
204 | + topColor: 'Top Color', | ||
205 | + bottomColor: 'Bottom Color', | ||
206 | + numeralColor: 'Numeral color', | ||
207 | + bottomGradient: 'Bottom Gradient', | ||
208 | + externalCylinder: 'External cylinder', | ||
209 | + bottomInnerCircleColor: 'Bottom inner circle color', | ||
210 | + bottomOuterCircleColor: 'Bottom outer circle color', | ||
211 | + innerOuterBars: 'Inner and outer bars and middle separation height', | ||
212 | + within: 'Within', | ||
213 | + outside: 'Outside', | ||
214 | + separate: 'Separate', | ||
215 | + internalBar: 'InternalBar', | ||
216 | + gradient: 'Gradient', | ||
217 | + externalBar: 'External bar', | ||
218 | + styleConfig: 'Style configuration', | ||
219 | + dataSource: 'Data source', | ||
220 | + animationDecor18: 'Animation Decoration 18', | ||
221 | + animationDecor19: 'Animation Decoration 19', | ||
222 | + animationDecor20: 'Animation Decoration 20', | ||
223 | + animationDecor21: 'Animation Decoration 21', | ||
224 | + animationDecor22: 'Animation Decoration 22', | ||
225 | + animationDecor23: 'Animation Decoration 23', | ||
226 | + animationDecor24: 'Animation Decoration 24', | ||
227 | + animationDecor25: 'Animation Decoration 25', | ||
228 | + animationDecor26: 'Animation Decoration 26', | ||
229 | + animationDecor27: 'Animation Decoration 27', | ||
230 | + animationDecor28: 'Animation Decoration 28', | ||
231 | + animationDecor29: 'Animation Decoration 29', | ||
232 | + animationDecor30: 'Data Decoration 30', | ||
233 | + | ||
234 | + activateAnimation: 'Activate animation', | ||
235 | + animationSpeed: 'Animation speed', | ||
236 | + middleBall: 'Middle ball', | ||
237 | + colorOfTheBottom: 'Color of the bottom of the middle cylinder', | ||
238 | + colorOfTheTop: 'Color of the top of the middle cylinder', | ||
239 | + titleFontConfig: 'Title font configuration', | ||
240 | + dataSourceFontConfig: 'Data source font configuration', | ||
241 | + | ||
242 | +} |
src/i18n/en/enum.ts
0 → 100644
1 | +export default { | ||
2 | + selectCreateData: { | ||
3 | + STATIC: 'Static data', | ||
4 | + AJAX: 'Dynamic request', | ||
5 | + Pond: 'Public interface', | ||
6 | + }, | ||
7 | + timelineTitle: { | ||
8 | + FILTER: 'Data filtering', | ||
9 | + MAPPING: 'Data mapping', | ||
10 | + CONTENT: 'Data content', | ||
11 | + }, | ||
12 | + requestContentTypeName: { | ||
13 | + DEFAULT: 'Normal request', | ||
14 | + SQL: 'SQL request', | ||
15 | + WEB_SOCKET: 'WebSocket request' | ||
16 | + }, | ||
17 | + requestDataTypeName: { | ||
18 | + STATIC: 'Static data', | ||
19 | + AJAX: 'Custom Request', | ||
20 | + Pond: 'Public interface' | ||
21 | + }, | ||
22 | + iconBorderName: { | ||
23 | + ROUNDED: 'Circle', | ||
24 | + RECT: 'Rectangle' | ||
25 | + }, | ||
26 | + iconBorderStyleName: { | ||
27 | + SOLID: 'Solid line', | ||
28 | + DASHED: 'dashed line', | ||
29 | + DOTTED: 'Dot', | ||
30 | + DOUBLE: 'Double solid lines', | ||
31 | + NONE: 'Hidden' | ||
32 | + }, | ||
33 | + iconDynamicEffectName: { | ||
34 | + JUMP: 'Jump', | ||
35 | + SPIN: 'Rotation' | ||
36 | + }, | ||
37 | + interfaceTypeName: { | ||
38 | + SYSTEM: 'System', | ||
39 | + CUSTOM: 'Custom' | ||
40 | + } | ||
41 | +} |
src/i18n/en/external.ts
0 → 100644
1 | +export default { | ||
2 | + pageConfigText: 'Page Configuration', | ||
3 | + settingText: 'Customized', | ||
4 | + animationText: 'Animation', | ||
5 | + dataText: 'Data', | ||
6 | + groupText: 'Grouping', | ||
7 | + eventText: 'Event', | ||
8 | + page: { | ||
9 | + widthText: 'Width', | ||
10 | + heightText: 'Height', | ||
11 | + backgroundImageText: 'The background image needs to be smaller than', | ||
12 | + fileTypeText: 'A file in the format png/jpg/gif', | ||
13 | + bgSelectText: 'Background selection', | ||
14 | + placeBg: 'Please select the background you want to use', | ||
15 | + bgColorText: 'Background color', | ||
16 | + appTypeText: 'Application type', | ||
17 | + bgControlText: 'Background control', | ||
18 | + clearBgText: 'Clear background', | ||
19 | + clearColorText: 'Clear Color', | ||
20 | + adapterText: 'Adaptation method', | ||
21 | + applyColorText: 'Apply Color', | ||
22 | + applyBgText: 'Application background', | ||
23 | + themeColorText: 'Theme colors', | ||
24 | + yText: 'Y-axis rolling', | ||
25 | + yDesc: 'X-axis coverage, Y-axis adaptive rolling', | ||
26 | + autoText: 'self-adaption', | ||
27 | + autoDesc: 'Adaptive proportional display with white space on the page', | ||
28 | + xText: 'X-axis rolling',// | ||
29 | + xDesc: 'Y-axis coverage, X-axis adaptive rolling', | ||
30 | + fullText: 'Overspread', | ||
31 | + fullDesc: 'Forcibly stretch the screen and fill all views', | ||
32 | + imageExceedsText: 'Image exceeds', | ||
33 | + placeuploadText: 'Restricted, please upload again!', | ||
34 | + fileUploadText: 'The file format does not match, please upload again!', | ||
35 | + dissolveGroupText: 'Dissolve groups', | ||
36 | + filterText: 'Filter', | ||
37 | + transformText: 'Transformation', | ||
38 | + fAndtText: 'Filter / Transformation', | ||
39 | + alsoText: 'It will also disappear!', | ||
40 | + hueText: 'Hue', | ||
41 | + valueText: 'Value:', | ||
42 | + saturationText: 'Saturation', | ||
43 | + contrastText: 'Contrast ratio', | ||
44 | + brightnessText: 'Brightness', | ||
45 | + transparencyText: 'Transparency', | ||
46 | + mix: 'Mix', | ||
47 | + videoHeedText: 'Video components require a transparent background color. Generally, filter color is selected', | ||
48 | + rotateText: 'Rotate °', | ||
49 | + zAxisText: 'Z-axis (plane) - rotation', | ||
50 | + angleText: 'Angle', | ||
51 | + xRotateText: 'X-axis - rotation', | ||
52 | + yRotateText: 'Y-axis - rotation', | ||
53 | + inclineText: 'Incline', | ||
54 | + xTiltText: 'X-axis - tilt', | ||
55 | + yTiltText: 'Y-axis - tilt', | ||
56 | + perviewHeedText: 'If the large screen is blurry during preview, you can try turning off the filter to fix it', | ||
57 | + customColorText: 'Custom Colors', | ||
58 | + applicationText: 'Application Data', | ||
59 | + noColorText: 'There are currently no custom colors available,', | ||
60 | + noSelectColorText: 'No custom color has been selected yet', | ||
61 | + isGiveUpText: 'There are currently changes that have not been saved. Do you want to discard the modifications directly?', | ||
62 | + isColor: 'Do you want to delete this color?', | ||
63 | + footer7dataText: 'The bottom chart only displays 7 pieces of data', | ||
64 | + delColorText: 'Delete Color', | ||
65 | + defaultColor: 'Default extension color:', | ||
66 | + transparetColor: 'Transparent Extended Color:', | ||
67 | + }, | ||
68 | + customized: { | ||
69 | + placeChart: 'Please enter the chart name', | ||
70 | + textRule1: 'Please enter at least one character!', | ||
71 | + LeftText: 'Bureau Left', | ||
72 | + xCenterText: 'Centered X-axis', | ||
73 | + rightText: 'Bureau Right', | ||
74 | + topText: 'Top', | ||
75 | + yCenterText: 'Y-axis centered', | ||
76 | + bottomText: 'Bottom', | ||
77 | + | ||
78 | + rendererText: 'Renderer', | ||
79 | + allRenderText: 'All echarts chart components will default to using the selected renderer for rendering', | ||
80 | + currentText: 'Current', | ||
81 | + onlyRenderText: 'Only the current component is rendered using the specified renderer', | ||
82 | + color: 'Color', | ||
83 | + applyThisGroup: 'Apply this group', | ||
84 | + sizeText: 'Size', | ||
85 | + subtitleText: 'Subtitle', | ||
86 | + containerText: 'Container', | ||
87 | + distanceText: 'Distance', | ||
88 | + leftDistanceText: 'Left distance', | ||
89 | + rightDistanceText: 'Right distance', | ||
90 | + upperDistanceText: 'Upper distance', | ||
91 | + lowerDistanceText: 'Lower distance', | ||
92 | + xAxisText: 'x-axis', | ||
93 | + yAxisText: 'y-axis', | ||
94 | + offset: 'Offset', | ||
95 | + axisText: 'Axis', | ||
96 | + thicknessText: 'Thickness', | ||
97 | + locationText: 'Location', | ||
98 | + alignedText: 'Aligned zero', | ||
99 | + reverseText: 'Reverse', | ||
100 | + scaleText: 'Scale', | ||
101 | + lengthText: 'Length', | ||
102 | + dividerText: 'Divder', | ||
103 | + rangeText: 'Range', | ||
104 | + legend: 'Legend', | ||
105 | + legendText: 'Legend text', | ||
106 | + legendLocationText: 'Legend location', | ||
107 | + legendInfoText: 'Legend information', | ||
108 | + directionText: 'Direction', | ||
109 | + shapeText: 'Shape', | ||
110 | + legendSizeText: 'Legend size', | ||
111 | + visualMapText: 'Visual mapping', | ||
112 | + levelText: 'Level', | ||
113 | + controlbkText: 'Control Block', | ||
114 | + placeDirectionText: 'Placement direction', | ||
115 | + reversalText: 'Reversal', | ||
116 | + dragComponentText: 'Real time updates of drag and drop components', | ||
117 | + | ||
118 | + keepLeftText: "Keep left", | ||
119 | + centerText: 'Center', | ||
120 | + keepRightText: 'Keep right', | ||
121 | + keepUpText: 'Up', | ||
122 | + keepLowerText: "Lower", | ||
123 | + horizontalText: 'Horizontal', | ||
124 | + verticalText: 'Vertical', | ||
125 | + circleText: 'Circle', | ||
126 | + rectText: 'Rect', | ||
127 | + roundRectTxt: 'Round Square', | ||
128 | + triangleText: 'Triangle', | ||
129 | + penShaped: 'Pen shaped', | ||
130 | + arrowText: 'Arrow shaped', | ||
131 | + | ||
132 | + }, | ||
133 | + | ||
134 | + animation: { | ||
135 | + animationConfigText: 'Animation configuration', | ||
136 | + isEnabledAnimText: 'Is animation enabled', | ||
137 | + animationTimeText: 'Animation time function', | ||
138 | + animationDurText: 'Animation duration', | ||
139 | + animationDelayText: 'Animation Delay', | ||
140 | + animationNumberText: 'Animation execution times', | ||
141 | + clearAnimationText: 'Clear animation', | ||
142 | + | ||
143 | + emphAnimationText: 'Emphasize animation', | ||
144 | + bounceText: 'Bounce', | ||
145 | + flashText: 'Flashing', | ||
146 | + zoomText: 'Zoom in/out', | ||
147 | + zoomSpringText: 'Zoom in/out spring', | ||
148 | + shakeText: 'Shake left and right', | ||
149 | + swingText: 'Left and right fan-shaped swing', | ||
150 | + zoomShakeText: 'Zoom in, shake out', | ||
151 | + shapedText: 'Fan shaped wobble', | ||
152 | + shakeDownText: 'Shake left and right up and down', | ||
153 | + moveAnimationText: 'Move into animation', | ||
154 | + | ||
155 | + fadeIn: 'FadeIn', | ||
156 | + fadeInLeft: 'Enter Right', | ||
157 | + fadeInRight: 'Enter Left', | ||
158 | + fadeInUp: 'Enter Up', | ||
159 | + fadeInDown: 'Enter downwards', | ||
160 | + fadeInLeftBig: 'Long right entry', | ||
161 | + fadeInRightBig: 'Long left entry', | ||
162 | + fadeInUpBig: 'Enter Long Distance Up', | ||
163 | + fadeInDownBig: 'Enter down long distance', | ||
164 | + rotateIn: 'rotate in', | ||
165 | + rotateInDownLeft: 'Left clockwise rotation', | ||
166 | + rotateInDownRight: 'Right clockwise rotation', | ||
167 | + rotateInUpLeft: 'Left counterclockwise rotation', | ||
168 | + rotateInUpRight: 'Right counterclockwise rotation', | ||
169 | + bounceIn: 'Bounce in', | ||
170 | + bounceInLeft: 'Pop Right', | ||
171 | + bounceInRight: 'Pop Left', | ||
172 | + bounceInUp: 'Pop Up', | ||
173 | + bounceInDown: 'Pop Down', | ||
174 | + lightSpeedInRight: 'Light speed enters from right', | ||
175 | + lightSpeedInLeft: 'Light speed enters from left', | ||
176 | + lightSpeedOutRight: 'Light speed exits from right', | ||
177 | + lightSpeedOutLeft: 'Light speed exits from left', | ||
178 | + flip: 'Y-axis rotation', | ||
179 | + flipInX: 'Center X-axis rotation', | ||
180 | + flipInY: 'Center Y-axis rotation', | ||
181 | + rollIn: 'Left long radius rotation', | ||
182 | + zoomIn: 'Enter from small to large', | ||
183 | + zoomInLeft: 'Enlarge left to enter', | ||
184 | + zoomInRight: 'Enlarge right to enter', | ||
185 | + zoomInUp: 'Grow up to enter', | ||
186 | + zoomInDown: 'Grow down to enter', | ||
187 | + slideInLeft: 'Slide Right to Expand', | ||
188 | + slideInRight: 'Slide Left to Expand', | ||
189 | + slideInUp: 'Slide Up to Expand', | ||
190 | + slideInDown: 'slide down to expand', | ||
191 | + }, | ||
192 | + data: { | ||
193 | + requestMethot: 'Request method', | ||
194 | + interfacemethod: 'Interface method', | ||
195 | + text: 'Test', | ||
196 | + defaultField: 'Default assignment to dataset field', | ||
197 | + sendRequest: 'Send request', | ||
198 | + field: 'Field', | ||
199 | + mapping: 'Mapping', | ||
200 | + mate: 'Mate', | ||
201 | + filterDefaultData: 'The filter defaults to processing the "data" field of the returned value from the interface', | ||
202 | + componentNoData: 'This component has no data source', | ||
203 | + general: 'General identification', | ||
204 | + dataItem: 'Data item', | ||
205 | + clickDownload: 'Click [Download] to view complete data', | ||
206 | + configMethod: 'Please configure the request first', | ||
207 | + tag1: 'When selecting "real-time trajectory or obtaining device longitude and latitude historical data" for the public interface', | ||
208 | + tag2: 'The longitude and latitude inside have been processed by the platform through the filtering function in the interface', | ||
209 | + | ||
210 | + GlobalConfig: 'Global public configuration', | ||
211 | + preUrl: 'Pre URL', | ||
212 | + updateInterval: 'Update interval, 0 will only initialize', | ||
213 | + placeNumber: 'Please enter a number', | ||
214 | + editConfig: 'Edit Configuration', | ||
215 | + address: 'Address', | ||
216 | + requestURL: 'Request Method&URL Address', | ||
217 | + placeURL: 'Please enter the URL address', | ||
218 | + selectMode: 'Select mode', | ||
219 | + ordinary: 'Ordinary method', | ||
220 | + SQL: 'SQL request', | ||
221 | + publicInterface: 'Publice interface', | ||
222 | + placePublice: "Please select a public interface", | ||
223 | + notBody: 'This interface does not have a Body body', | ||
224 | + serialNumber: 'Serial Number', | ||
225 | + insertRow: 'Insert row', | ||
226 | + delRow: 'Delete row', | ||
227 | + result: 'Result', | ||
228 | + | ||
229 | + requestConfig: 'Request configuration', | ||
230 | + way: 'Way', | ||
231 | + componentSpac: 'Component spacing', | ||
232 | + globalInterval: 'Global interval (default)', | ||
233 | + sourceAddress: 'Source address', | ||
234 | + componentAddress: 'Component address', | ||
235 | + | ||
236 | + createFilter: 'Create filter', | ||
237 | + filterFunction: 'Filter function Editor', | ||
238 | + interfaceReturn: 'Interface return data (res):', | ||
239 | + filterResults: 'Filter results', | ||
240 | + rule: 'Rule', | ||
241 | + filterDefault: 'The filter defaults to processing the "data" field of the returned value from the interface', | ||
242 | + filterErrorLog: 'Filter function error,log:', | ||
243 | + isFilter: 'Do you want to delete the filter', | ||
244 | + filterErrorSave: 'Filter function error, unable to save', | ||
245 | + }, | ||
246 | + | ||
247 | + event: { | ||
248 | + associatedComponent: 'Associated Components', | ||
249 | + targetComponent: 'Select target components', | ||
250 | + triggerEvent: 'Trigger Event', | ||
251 | + binding: 'Binding', | ||
252 | + doesnot: 'Does not support "static components" and supports "components" and "public APi"', | ||
253 | + onlyComponent: 'Only display components that meet the criteria', | ||
254 | + largeScreen: 'Large screen', | ||
255 | + placeLarge: 'Please select a large screen', | ||
256 | + targetParams: 'Associate target request parameters', | ||
257 | + isModule: 'Do you want to delete this associated interaction module', | ||
258 | + basicEventEditor: "Basic Event Editor", | ||
259 | + echartsTip: 'Tip: The ECharts component will intercept mouse events', | ||
260 | + verResults: "Verification results", | ||
261 | + errorFunction: 'Error function', | ||
262 | + errorInfo: 'Error message', | ||
263 | + stackInfo: 'Stack information', | ||
264 | + varDesc: 'Variable Declaration', | ||
265 | + mouse: 'Mouse Event Object', | ||
266 | + writingMethod: 'The writing method is the same as normal JavaScript writing', | ||
267 | + click: 'Click', | ||
268 | + double: 'Double Click', | ||
269 | + mouseEntry: 'Mouse entry', | ||
270 | + mouseRemoval: 'Mouse removal', | ||
271 | + eventFunctionError: 'Event function error, unable to save', | ||
272 | + | ||
273 | + basicEventConfig: 'Basic Event Configuration', | ||
274 | + advancedConfig: 'Advanced Event Configuration', | ||
275 | + advancedEditor: 'Advanced Event Editor (used in conjunction with source code)', | ||
276 | + triggeringEvent: 'Parameters received when triggering corresponding lifecycle events', | ||
277 | + chartComponent: 'Chart component instance', | ||
278 | + largeScreenId: 'The set ID of all components in the current large screen is the configuration ID in the chart component, which can be obtained from other chart components for control', | ||
279 | + packageCode: 'The following are the package variables that are built-in and available in the code environment', | ||
280 | + introduceCase: 'Introduce case studies', | ||
281 | + case: 'Case', | ||
282 | + paramsTooltip: 'By providing parameters, customized tooltips, interactive events, and more can be added to the chart', | ||
283 | + previous: 'Previous Render', | ||
284 | + after: 'After rendering', | ||
285 | + doesDomComponent: 'At this time, the component DOM does not yet exist', | ||
286 | + alreadyDomComponent: 'At this point, the component DOM already exists', | ||
287 | + | ||
288 | + } | ||
289 | +} |
1 | import login from './login' | 1 | import login from './login' |
2 | import project from './project' | 2 | import project from './project' |
3 | +import system from './system' | ||
4 | +import external from './external' | ||
5 | +import common from './common' | ||
6 | +import _enum from './enum' | ||
7 | +import charts from './charts/index' | ||
8 | +import information from './information/index' | ||
9 | +import list from './list/index' | ||
10 | +import component from './component/index' | ||
11 | +import business from './business' | ||
3 | 12 | ||
4 | const global = { | 13 | const global = { |
5 | doc_addr: 'Document', | 14 | doc_addr: 'Document', |
@@ -29,5 +38,14 @@ const global = { | @@ -29,5 +38,14 @@ const global = { | ||
29 | export default { | 38 | export default { |
30 | global, | 39 | global, |
31 | login, | 40 | login, |
32 | - project | 41 | + project, |
42 | + system, | ||
43 | + external, | ||
44 | + common, | ||
45 | + enum: _enum, | ||
46 | + charts, | ||
47 | + information, | ||
48 | + list, | ||
49 | + component, | ||
50 | + business | ||
33 | } | 51 | } |
src/i18n/en/information/index.ts
0 → 100644
1 | +export default { | ||
2 | + paging: 'paging', | ||
3 | + pageConfig: 'Page allocation', | ||
4 | + pageSetting: 'Paging settings', | ||
5 | + defaultPage: 'Default Page Number', | ||
6 | + numberOfPage: 'Number of pages', | ||
7 | + | ||
8 | + inputBox: 'Innput box', | ||
9 | + inputConfig: 'Input Box Configuration', | ||
10 | + placeDefault: 'If not entered, the default value is 0', | ||
11 | + | ||
12 | + image: "picture", | ||
13 | + attribute: 'Attribute', | ||
14 | + path: 'Route', | ||
15 | + fillet: 'Fillet', | ||
16 | + | ||
17 | + wordCloud: 'Word cloud', | ||
18 | + allowEdgeOut: 'Allow edge out', | ||
19 | + fontRange: 'Font range (minimum/maximum font)', | ||
20 | + rotaAngle: 'Rotation angle', | ||
21 | + | ||
22 | + customImage: 'Custom images', | ||
23 | + uploadImage: 'Upload pictures', | ||
24 | + | ||
25 | + customCarChart: 'Custom carousel chart', | ||
26 | + player: 'Player', | ||
27 | + autoplay: 'Autoplay', | ||
28 | + intervalTime: 'Interval time', | ||
29 | + rotaDirection: 'Rotation direction', | ||
30 | + transition: 'Transition effect', | ||
31 | + perPage: 'Quantity per page', | ||
32 | + centerShow: 'Center display', | ||
33 | + imageStyle: 'picture style', | ||
34 | + indicator: 'Indicator', | ||
35 | + arrow: 'Arrow', | ||
36 | + dragSwitch: 'Drag switch', | ||
37 | + addedImageOk: 'Successfully added image!', | ||
38 | + addedImageFail: 'Adding image failed, please try again later!', | ||
39 | + drop: 'Drop', | ||
40 | + line: 'Line', | ||
41 | + horizontal: 'Horizontal direction', | ||
42 | + vertical: 'Vertical direction', | ||
43 | + top: 'Top', | ||
44 | + bootom: 'Bootom', | ||
45 | + left: 'The left', | ||
46 | + right: 'the right', | ||
47 | + | ||
48 | + customSelect: 'Custom dropdown selector', | ||
49 | + dropConfig: 'Dropdown configuration', | ||
50 | + selection: 'Selection', | ||
51 | + | ||
52 | + samePageSwitch: 'Same page switch button', | ||
53 | + buttonConfig: 'Button configuration', | ||
54 | + dashed: 'Dashed line', | ||
55 | + transparent: 'Transparent', | ||
56 | + border: 'Border', | ||
57 | + restoreDefault: 'Restore default', | ||
58 | + buttonText: 'Button text', | ||
59 | + BoldText: 'Bold text', | ||
60 | + textSize: 'Text size', | ||
61 | + target: 'Target', | ||
62 | + placeTarget: 'Please select the target item', | ||
63 | + checkTarget: 'Check the target item and support multiple options', | ||
64 | + | ||
65 | + switchmultiPage: 'Switch multi page button', | ||
66 | + | ||
67 | + | ||
68 | + | ||
69 | + decorativeButton: 'Decorative button 1', | ||
70 | + decorButtonConfig: 'Decorative button configuration', | ||
71 | + dataSourceFont: 'Data source font', | ||
72 | + buttonBg: 'Button background', | ||
73 | + unactivatedBg: 'Unactivated background', | ||
74 | + activeBg: 'Active background', | ||
75 | + popConfig: 'Pop up configuration', | ||
76 | + openPop: 'Open pop-up window', | ||
77 | + widthHeight: 'Width height', | ||
78 | + width: 'Width', | ||
79 | + height: 'Height', | ||
80 | + borderShadow: 'Border shadow', | ||
81 | + bgLinearLeft: 'Background Linear Gradient Left', | ||
82 | + bgLinearRight: 'Background Linear Gradient Right', | ||
83 | + arrowColor: 'Arrow Color', | ||
84 | + lineColor: 'Line color', | ||
85 | + titleColor: 'Title color', | ||
86 | + boldTitle: 'Bold Title', | ||
87 | + titleContent: 'Title Content', | ||
88 | + contentKeyTextColor: 'Content key text color', | ||
89 | + contentValueTextColor: 'Content value text color', | ||
90 | + contentKey: 'Content key', | ||
91 | + contentValue: 'Content value', | ||
92 | + | ||
93 | + customTree: 'Custom Tree Control', | ||
94 | + treeConfig: 'Tree confituration', | ||
95 | + accordion: 'Accordion', | ||
96 | + selectionBox: 'Selection box', | ||
97 | + | ||
98 | + customWeb: 'Customize remote web pages', | ||
99 | + placeHttps: 'Please fill in the URL for the HTTPS protocol', | ||
100 | + | ||
101 | + customTime: 'Custom time selector', | ||
102 | + demonstrations: 'Demonstrations', | ||
103 | + selectBy: "Select by", | ||
104 | + timeConfig: 'time configuration', | ||
105 | + quickSelection: 'Quick selection', | ||
106 | + date: 'Date', | ||
107 | + staticDefault: 'Static default value', | ||
108 | + openPageUnit: 'The system time and offset of the browser operating system when opening the page (in units)', | ||
109 | + endValueOffset: 'End value dynamic offset', | ||
110 | + endValueUnit: 'End value offset unit', | ||
111 | + dropDisplay: 'Dropdown display', | ||
112 | + panalDisplay: 'Panel display', | ||
113 | + dateTime: 'Date Time', | ||
114 | + dateRange: 'Date Range', | ||
115 | + dateTimeRange: 'Date Time Range', | ||
116 | + month: 'Month', | ||
117 | + monthRange: 'Month Range', | ||
118 | + year: 'Year', | ||
119 | + yearRange: 'Year Range', | ||
120 | + quarter: 'Quarter', | ||
121 | + quarterRange: 'Quarter Range', | ||
122 | + staticState: 'Static state', | ||
123 | + trends: 'Trends', | ||
124 | + startValueOffset: 'Starting value dynamic offset', | ||
125 | + dynamicOffset: 'Dynamic offset', | ||
126 | + startValueUnit: 'Starting value offset unit', | ||
127 | + offsetUnit: 'Offset unit', | ||
128 | + | ||
129 | + | ||
130 | + customLabel: 'Custom Label Chooser', | ||
131 | + TabConfig: 'Tab Configuration', | ||
132 | + labbelType: 'Label Type', | ||
133 | + line1: 'Line', | ||
134 | + seg: 'segmentation', | ||
135 | + | ||
136 | + customText: 'Custom Text', | ||
137 | + text: 'Text', | ||
138 | + link: 'Link', | ||
139 | + jumpMethod: 'Jump method', | ||
140 | + jump: 'Jump', | ||
141 | + fontWeight: 'Font weight', | ||
142 | + xAxisInner: 'X-axis inner margin', | ||
143 | + yAxisInner: 'Y-axis inner margin', | ||
144 | + horAlign: 'Horizontal alignment', | ||
145 | + textDirection: 'Text direction', | ||
146 | + wordSpace: 'Word space', | ||
147 | + leftJust: 'Left justifying', | ||
148 | + center: 'Center', | ||
149 | + rightAlign: 'right alignment', | ||
150 | + newWidow: 'New Window', | ||
151 | + | ||
152 | + customBullet: 'Custom bullet screen text', | ||
153 | + shadow: 'Shadow', | ||
154 | + showShadow: 'Show shadows', | ||
155 | + vague: 'Vague', | ||
156 | + animationSpeed: 'Animation speed', | ||
157 | + animationInterval: 'Animation interval', | ||
158 | + | ||
159 | + customGradText: 'Custom gradient text', | ||
160 | + gradColorParams: 'Gradient color parameters', | ||
161 | + startValue: 'Starting value', | ||
162 | + endValue: 'End value', | ||
163 | + offsetAngle: 'Offset angle', | ||
164 | + | ||
165 | + customVideo: 'Custom video', | ||
166 | + video: 'Video', | ||
167 | + loopPlay: 'Loop Playback', | ||
168 | + | ||
169 | + multipleCameras: 'Multiple cameras', | ||
170 | + playerConfig: 'Player configuration', | ||
171 | + enableSwitch: 'Enable switching', | ||
172 | + intervalDuration: 'Interval duration', | ||
173 | + sourceType: 'Source type', | ||
174 | + sourceAddress: 'Source address', | ||
175 | + | ||
176 | + singleCamera: 'Single camera', | ||
177 | + placeVideUrl: 'Please select a video addres', | ||
178 | + custom: 'Custom', | ||
179 | + platform: 'Platform acquisition', | ||
180 | + | ||
181 | + loadConfig: 'Load Configuration', | ||
182 | + placeLoadingConfig: 'Please select the configuration to be loaded', | ||
183 | + isOpen: 'Is it publicly available', | ||
184 | + pageNumber: 'Page number', | ||
185 | + | ||
186 | + customEcharts: 'Custom echarts components', | ||
187 | + dataSourceConfigContent: 'Data source (content in option configuration, please remove the semicolon at the end)', | ||
188 | +} |
src/i18n/en/list/index.ts
0 → 100644
1 | +export default { | ||
2 | + rollingRankingList: 'Rolling Ranking List', | ||
3 | + tabulation: 'Tabulation', | ||
4 | + tableRow: 'Table Rows', | ||
5 | + placeAutomatic: 'Please enter automatic calculation', | ||
6 | + rotationTime: 'Rotation time (s)', | ||
7 | + placeRotaionTime: 'Please enter the broadcast time', | ||
8 | + numberUnit: "Numerical units", | ||
9 | + mainColor: 'Main color', | ||
10 | + dataColor: 'Data color', | ||
11 | + bottomLine: 'Bottom Line', | ||
12 | + fontStyle: 'Font', | ||
13 | + numberFont: 'Number font', | ||
14 | + leftDataFont: 'Left data font', | ||
15 | + rightDataFont: 'Right data font', | ||
16 | + | ||
17 | + carouselList: 'Carousel list', | ||
18 | + headHeight: 'Meter head height', | ||
19 | + showNumber: 'Show Line Numbers', | ||
20 | + config: 'Configuration', | ||
21 | + headerData: 'Table header data', | ||
22 | + headerDataSplit: "Header data (in English, split)", | ||
23 | + columnAlignment: 'Column alignment', | ||
24 | + columnAlignmentSplit: "Alignment method (in English)", | ||
25 | + columnWidth: 'Column Width', | ||
26 | + columnWidthSplit: "Alignment method (in English)", | ||
27 | + rotationMethod: 'Rotation method', | ||
28 | + singleCarousel: 'Single carousel', | ||
29 | + fullPageRotation: 'Full page rotation', | ||
30 | + headerFont: 'Table header fontFamily', | ||
31 | + contentFont: 'Content font', | ||
32 | + headerBg: 'Table header background color', | ||
33 | + oddRowColor: 'Odd row background color', | ||
34 | + evenRowColor: 'Even row background color', | ||
35 | + | ||
36 | + basicPageTable: 'Basic pagination table', | ||
37 | + tableSetting: 'Table Settings', | ||
38 | + noConfig: 'If there is no response to the configuration, please check the effect on the preview page', | ||
39 | + align: 'Align', | ||
40 | + left: 'Left', | ||
41 | + center: 'Center', | ||
42 | + right: 'Right', | ||
43 | + pagingSetting: 'Paging Settings', | ||
44 | + defaultPageNumber: 'Default Page Number', | ||
45 | + tableData: 'Table Data', | ||
46 | + headerName: 'Table header name', | ||
47 | + tableStyle: 'Table Style', | ||
48 | + showBorder: 'Show Borders', | ||
49 | + bottomBorder: 'Bottom border', | ||
50 | + columnDividerLine: 'Column divider line', | ||
51 | + lineDivider: 'Line Divider', | ||
52 | + zebraStripes: 'Zebra Stripes', | ||
53 | + borderWidth: 'Border width', | ||
54 | + borderStyle: 'Border style', | ||
55 | + tableSearch: 'Table search (front-end static search)', | ||
56 | + solidBorder: 'Solid border', | ||
57 | + dashedBorder: 'Dashed border', | ||
58 | + dotBorder: 'Dot border', | ||
59 | + doubleBorder: 'double-border', | ||
60 | + devicelatestData: 'Device latest data carousel list', | ||
61 | + pagingTable:'Paging table (suitable for alarm or device list)', | ||
62 | +} |
src/i18n/en/system.ts
0 → 100644
1 | +export default { | ||
2 | + systemSettingText:'System setting', | ||
3 | + menuCollText:'Menu collapse',// | ||
4 | + menuDesc:'Hide the homepage menu outside the interface when folding', | ||
5 | + hideClassText:'Hide classification', | ||
6 | + hideDesc:'Hide when workspace form classification only has single items', | ||
7 | + switchLanguageText:'Switch language', | ||
8 | + languageDesc:'Switching languages to reload pages', | ||
9 | + languageTip:'If language switching in some regions fails, it is recommended to enable it', | ||
10 | + hideToolbarText:'Hide the toolbar', | ||
11 | + toolbarDesc:'When the mouse is moved in, it will display switching to flat mode', | ||
12 | + showToolbarText:'Toolbar display', | ||
13 | + showToolbarDesc:'How to display the workspace toolbar', | ||
14 | + asideText:'sidebar', | ||
15 | + dockText:'Bottom Dock', | ||
16 | + movingText:'Moving distance', | ||
17 | + movingDesc:'Workplace directional keys control movement distance', | ||
18 | + adsorptionText:'Adsorption distance', | ||
19 | + adsorptionDesc:'The adsorption distance when moving the workspace chart', | ||
20 | +} |
src/i18n/zh/business.ts
0 → 100644
1 | +export default { | ||
2 | + CHARTS: '图表', | ||
3 | + TABLES: '列表', | ||
4 | + INFORMATIONS: '信息', | ||
5 | + PHOTOS: '图片', | ||
6 | + ICONS: '图标', | ||
7 | + DECORATES: '小组件', | ||
8 | + chart: { | ||
9 | + BAR: '柱状图', | ||
10 | + PIE: '饼图', | ||
11 | + LINE: '折线图', | ||
12 | + SCATTER: '散点图', | ||
13 | + MAP: '地图', | ||
14 | + COMBINATION: '组合图', | ||
15 | + MORE: '更多' | ||
16 | + }, | ||
17 | + information: { | ||
18 | + TEXT: '文本', | ||
19 | + TITLE: '标题', | ||
20 | + INPUTS: '控件', | ||
21 | + MORE: '更多' | ||
22 | + }, | ||
23 | + component: { | ||
24 | + BORDER: '边框', | ||
25 | + DECORATE: '装饰', | ||
26 | + THREE: '三维', | ||
27 | + HEADLINE: '大标题', | ||
28 | + SUBTITLE: '小标题', | ||
29 | + MORE: '更多', | ||
30 | + }, | ||
31 | + image: { | ||
32 | + PRIVATE: '私有图', | ||
33 | + SHARE: '共享图' | ||
34 | + }, | ||
35 | + icon: { | ||
36 | + ML: '动画', | ||
37 | + COMMON: '通用', | ||
38 | + WEATHER: '天气', | ||
39 | + DEFAULT: '默认' | ||
40 | + }, | ||
41 | + rightClick: { | ||
42 | + lock: '锁定', | ||
43 | + unlock: '解锁', | ||
44 | + hide: '隐藏', | ||
45 | + show: '显示', | ||
46 | + copy: '复制', | ||
47 | + cut: '剪切', | ||
48 | + paste: '粘贴', | ||
49 | + topping: '置顶', | ||
50 | + bottomPlacement: '置底', | ||
51 | + moveUp: '上移', | ||
52 | + moveDown: '下移', | ||
53 | + clearClipboard: '清空剪贴板', | ||
54 | + delete: '删除', | ||
55 | + group: '创建分组', | ||
56 | + unGroup: '解除分组', | ||
57 | + }, | ||
58 | + layerMode: { | ||
59 | + thumbnail: '缩略图', | ||
60 | + textList: '文本列表', | ||
61 | + }, | ||
62 | + chartMode: { | ||
63 | + singleRow: '单列', | ||
64 | + biserial: '双列', | ||
65 | + }, | ||
66 | + notComponent: '没有找到组件', | ||
67 | + noLayer: '暂无图层', | ||
68 | + saveContent: '保存内容', | ||
69 | + saveThumImage: '保存缩略图', | ||
70 | + placeEntercorner: '请在左下角输入名称!', | ||
71 | + savingContentContinue: '保存内容将同步修改所有使用此接口的组件, 是否继续?', | ||
72 | + chartComponent: '图表组件', | ||
73 | + layerControl: '图层控制', | ||
74 | + detailSetting: '详情设置', | ||
75 | + retreat: '后退', | ||
76 | + forward: '前进', | ||
77 | + workspace: '工作空间', | ||
78 | + synchronizeContent: '同步内容', | ||
79 | + preview: '预览', | ||
80 | + saveThumImageOk: '保存缩略图成功!', | ||
81 | + initDataRefresh: '数据初未始化成功,请刷新页面!', | ||
82 | + components: '组件', | ||
83 | + layer: '图层', | ||
84 | + iconToolTipChart:'图表组件', | ||
85 | + iconToolTipLayer:'图层控制', | ||
86 | + iconToolTipDetail:'详情设置', | ||
87 | + actionForward:'前进', | ||
88 | + actionBack:'后退', | ||
89 | + closeAndExit:'关闭并退出', | ||
90 | + animationTimingText:{ | ||
91 | + linear:'匀速', | ||
92 | + ease:'缓速', | ||
93 | + easein:'低速开始', | ||
94 | + easeout:'低速结束', | ||
95 | + easeinout:'低速开始和结束', | ||
96 | + }, | ||
97 | + animationPlayStateText:{ | ||
98 | + paused:'暂停', | ||
99 | + running:'播放', | ||
100 | + }, | ||
101 | + animationIterationCountNameText:{ | ||
102 | + unlimitedTimes:'无限次', | ||
103 | + }, | ||
104 | + requestType:{ | ||
105 | + customRequest:'自定义请求', | ||
106 | + publicInterface:'公共接口', | ||
107 | + }, | ||
108 | + color:'颜色' | ||
109 | +} |
src/i18n/zh/charts/chart.ts
0 → 100644
1 | +export default { | ||
2 | + histogramText: '柱状图', | ||
3 | + lineChart: '折线图', | ||
4 | + graphicalText: '图形', | ||
5 | + filletText: '圆角', | ||
6 | + lineText: '线条', | ||
7 | + solidPointText: '实心点', | ||
8 | + displayTagsText: '展示标签', | ||
9 | + displayTypeText: '展示类型', | ||
10 | + | ||
11 | + sizeText: '大小', | ||
12 | + hisBarChart: '横向柱状图', | ||
13 | + barAndLine: '柱状图 & 折线图', | ||
14 | + tipColor: 'tip颜色', | ||
15 | + capChart: '胶囊柱图', | ||
16 | + leftMargin: '左侧边距', | ||
17 | + rightMargin: '右侧边距', | ||
18 | + eachHeight: '每块高度(px)', | ||
19 | + allTextSize: '所有文字大小', | ||
20 | + showNumber: '显示数值', | ||
21 | + pie: '饼图', | ||
22 | + pieConfig: '饼图配置', | ||
23 | + animation: '动画', | ||
24 | + autoHidden: '(将自动隐藏图例)', | ||
25 | + noClickMouse: '无鼠标点击图例场景时,可强行打开图例', | ||
26 | + guideLine: "引导线", | ||
27 | + filletSize: '圆角大小', | ||
28 | + lineWidth: '线条宽度', | ||
29 | + scatterPlot: '散点图', | ||
30 | + scatter: '散点', | ||
31 | + targetDomain: '标域', | ||
32 | + thickness: '粗细(0不显示)', | ||
33 | + punctuation: '标点', | ||
34 | + logPlot: '对数回归散点图', | ||
35 | + radarChart: '雷达图', | ||
36 | + radar: '雷达', | ||
37 | + radarShape: '雷达形状', | ||
38 | + selectShape: '选择形状', | ||
39 | + coorAxis: '坐标轴', | ||
40 | + axis: '轴线', | ||
41 | + scale: '刻度', | ||
42 | + xAxisValue: 'X 轴值', | ||
43 | + yAxisValue: 'Y 轴值', | ||
44 | + indicator: '指示器', | ||
45 | + textLabel: '文字标签', | ||
46 | + series: '系列', | ||
47 | + | ||
48 | + | ||
49 | + funnelPlot: '漏斗图', | ||
50 | + topDistance: '顶部距离:', | ||
51 | + block: '区块', | ||
52 | + borderSize: '边框大小', | ||
53 | + borderColor: '边框颜色', | ||
54 | + hoverSize: '悬停时大小', | ||
55 | + heatMap: '热力图', | ||
56 | + treeShaped: '树形分布', | ||
57 | + relationship: '关系图', | ||
58 | + arc: '弧线', | ||
59 | + bending: '弯曲程度', | ||
60 | + legend: '图例', | ||
61 | + force: '力引导', | ||
62 | + factor: '斥力因子', | ||
63 | + factorSize: '斥力因子大小', | ||
64 | + gravitational: '引力因子', | ||
65 | + nodeDistance: '节点距离', | ||
66 | + iterative: '迭代动画', | ||
67 | + nodal: '节点速度', | ||
68 | + sankey: '桑基图', | ||
69 | + selectDirection: '选择方向', | ||
70 | + promptLabel: '提示标签', | ||
71 | + barChartAnimation: '柱状图动画', | ||
72 | + lineChartAnimation: '折线图动画', | ||
73 | + doubleLineAnimation: '双折线渐变面积图动画', | ||
74 | + singleLineChart: '单折线面积图', | ||
75 | + realTimeLine: '实时折线图', | ||
76 | + numberValues: '数值个数', | ||
77 | + functionDraw: '函数绘图', | ||
78 | + showPunctuation: '显示线标点', | ||
79 | + displayTrims: '显示修剪', | ||
80 | + customNaiveUI: "自定义NaiveUI-进度", | ||
81 | + progressBar: '进度条', | ||
82 | + track: '轨道', | ||
83 | + progressColor: '进度条颜色', | ||
84 | + trackColor: '轨道颜色', | ||
85 | + offsetAngle: '偏移角度', | ||
86 | + continAnimation: '进行时动画', | ||
87 | + index: '指标', | ||
88 | + customPieChart: '自定义饼图-环形', | ||
89 | + ring: '圆环', | ||
90 | + shadowLevel: '阴影模糊等级', | ||
91 | + shadowColor: '阴影颜色', | ||
92 | + trackStyle: '轨道样式', | ||
93 | + mapDown: '地图(支持下钻)', | ||
94 | + map: '地图', | ||
95 | + openDown: '开启下钻', | ||
96 | + returnIcon: '返回图标', | ||
97 | + iconColor: '图标颜色', | ||
98 | + iconDistance: '图标距离', | ||
99 | + fromRight: '距右', | ||
100 | + fromAbove: '距上', | ||
101 | + regionColor: '区域颜色',// | ||
102 | + colorat0: '0%处颜色', | ||
103 | + colorat100: '100%处颜色', | ||
104 | + shadow: '阴影', | ||
105 | + blurriness: '模糊程度', | ||
106 | + horizontalOffset: '水平偏移', | ||
107 | + verticalOffset: '垂直偏移', | ||
108 | + placeVertical: '请输入垂直偏移大小', | ||
109 | + geoInformation: '地理信息名称', | ||
110 | + suspended: '悬浮 (预览可见)', | ||
111 | + floatingPop: '悬浮弹窗', | ||
112 | + bgColor: '背景颜色', | ||
113 | + regionBorder: '区域边框', | ||
114 | + widthSize: '宽度大小', | ||
115 | + placeBorder: '请输入边框大小', | ||
116 | + mark: '标记', | ||
117 | + rippling: '涟漪', | ||
118 | + ripplingSize: '涟漪大小', | ||
119 | + ripplingColor: '涟漪颜色', | ||
120 | + ripplingDraw: '涟漪的绘制方式', | ||
121 | + flywire: '飞线', | ||
122 | + arrowText: '箭头', | ||
123 | + speed: '速度', | ||
124 | + smallerValue: '值越小速度越快', | ||
125 | + wake: '尾迹', | ||
126 | + wakeValue: '特效尾迹长度[0,1]值越大,尾迹越长重', | ||
127 | + china: '中国', | ||
128 | + solid: '实心', | ||
129 | + hollow: '空心', | ||
130 | + | ||
131 | + | ||
132 | + deviceDistribution: "设备分布", | ||
133 | + gaodeKey: '请务必使用自己的高德应用 key', | ||
134 | + customMapId: '自定义地图样式ID', | ||
135 | + initScaling: '初始缩放', | ||
136 | + mode: '模式', | ||
137 | + skyColor: '天空色', | ||
138 | + pitch: '俯仰角', | ||
139 | + iconSelect: '图标选择', | ||
140 | + placeIcon: '请选择您要使用的图标', | ||
141 | + popSelect: '弹窗选择', | ||
142 | + placePop: '请选择您要使用的弹窗', | ||
143 | + popBackground: '弹窗背景', | ||
144 | + standard: '标准', | ||
145 | + phantom: '幻影黑', | ||
146 | + moonlight: '月光银', | ||
147 | + yuanshan: '远山黛', | ||
148 | + grass: '草色青', | ||
149 | + yashi: '雅士灰', | ||
150 | + graffiti: '涂鸦', | ||
151 | + macarone: '马卡龙', | ||
152 | + indigo: '靛青蓝', | ||
153 | + polar: '极夜蓝', | ||
154 | + soy: '酱籽', | ||
155 | + satellite: '卫星', | ||
156 | + chinese: '中文简体', | ||
157 | + english: '英文', | ||
158 | + chineseEnglish: '中英文对照', | ||
159 | + showMaoBg: '显示地图背景', | ||
160 | + showIden: '显示标识', | ||
161 | + showRoad: '显示道路', | ||
162 | + showBuilding: '显示建筑', | ||
163 | + marker: '定位标点', | ||
164 | + hideMarker: '隐藏标点', | ||
165 | + realTimeDevice: '设备实时轨迹', | ||
166 | + markerIcon: '标记图标', | ||
167 | + lineW: '线宽', | ||
168 | + lineArrow: '线路径显示方向箭头', | ||
169 | + lineTransparency: '线透明度', | ||
170 | + historicalDevice: '设备历史轨迹', | ||
171 | + animationTime: '动画时效', | ||
172 | + map3D: '3D地图(支持下钻)', | ||
173 | + startDrilling: '开启下钻', | ||
174 | + configNoResponse: '若配置无响应,请在预览页面查看效果', | ||
175 | + mapConfig: '地图配置', | ||
176 | + gauge: '厚度', | ||
177 | + titleConfig: '标题配置', | ||
178 | + hightConfig: '高亮配置', | ||
179 | + titleShow: '标题显示', | ||
180 | + blockColor: '区块颜色', | ||
181 | + columnarConfig: '柱状配置', | ||
182 | + minHeight: '最小高度', | ||
183 | + chamfer: '倒角尺寸', | ||
184 | + regionalConfig: '地区配置', | ||
185 | + provinceName: '省份名称', | ||
186 | + placeProvince: '请选择省份', | ||
187 | + cityDistrictCounty: '市/区/县名称', | ||
188 | + placeCityCounty: '请选择市/区/县', | ||
189 | + blockThickness: '区块厚度', | ||
190 | + blockTranspar: '区块透明度', | ||
191 | + ground: '离地高度', | ||
192 | + columnarColor: '柱状颜色', | ||
193 | + columnarTranspar: '柱状透明度', | ||
194 | + customWater: '自定义水球图', | ||
195 | + waterPolo: '水球', | ||
196 | + waterBallvalue: '水球数值', | ||
197 | + color1: '颜色1', | ||
198 | + color2: '颜色2', | ||
199 | + customDial: '自定义表盘', | ||
200 | + dialOutside: '表盘外部', | ||
201 | + pointer: '指针', | ||
202 | + singleDeviceQuery: '单设备-属性-历史数据查询', | ||
203 | + singleLineGradientChart:'单折线渐变图', | ||
204 | + singleLineGradientAreaChart:'单折线渐变面积图', | ||
205 | + variableImage:'变量图片(适合ws)', | ||
206 | + textEnum:'文字枚举(适合ws)', | ||
207 | +} |
src/i18n/zh/charts/index.ts
0 → 100644
src/i18n/zh/common.ts
0 → 100644
1 | +export default { | ||
2 | + editText: '编辑', //Edit | ||
3 | + createText: '创建', | ||
4 | + noDataText: '暂无数据', | ||
5 | + noContentText: '暂无内容', | ||
6 | + createNowText: '立即创建', | ||
7 | + successText: '成功', | ||
8 | + operationSuccessText: '操作成功!', | ||
9 | + failText: '失败', | ||
10 | + delText: '删除', | ||
11 | + noneText: '暂无', | ||
12 | + sizeText: '尺寸', | ||
13 | + widthText: '宽度', | ||
14 | + heightText: '高度', | ||
15 | + actionText: '操作', | ||
16 | + paramsText: '参数', | ||
17 | + illustrateText: '说明', | ||
18 | + tipText: '提示', | ||
19 | + autoText: '自动计算', | ||
20 | + colorText: '颜色', | ||
21 | + layoutText: '布局', | ||
22 | + textText: '文本', | ||
23 | + styleText: '样式', | ||
24 | + symbolText: '符号', | ||
25 | + selectText: '选择', | ||
26 | + shapeText: '形状', | ||
27 | + backgroundText: '背景', | ||
28 | + overallText: '全局', | ||
29 | + titleText: '标题', | ||
30 | + unitText: '单位', | ||
31 | + labelText: '标签', | ||
32 | + showText: '展示', | ||
33 | + typeText: '类型', | ||
34 | + minText: '最小值', | ||
35 | + maxText: '最大值', | ||
36 | + wideText: '宽', | ||
37 | + highText: '高', | ||
38 | + divderText: '分割线', | ||
39 | + shiftingText: '偏移', | ||
40 | + backTransparText: '背景透明度', | ||
41 | + autoCalcText: '自动计算', | ||
42 | + rangeText: '范围', | ||
43 | + sortText: '排序', | ||
44 | + intervalText: '间隔', | ||
45 | + isDisplayText: '是否显示', | ||
46 | + directionText: '方向', | ||
47 | + isEnabled: '是否开启', | ||
48 | + animationText: '动画', | ||
49 | + contentText: '内容', | ||
50 | + numericalText: '数值', | ||
51 | + textColorText: '文本颜色', | ||
52 | + textSizeText: '文本大小', | ||
53 | + fontColorText: '字体颜色', | ||
54 | + fontSizeText: '字体大小', | ||
55 | + dataText: '数据', | ||
56 | + inputText: '请输入', | ||
57 | + chooseText: '请选择', | ||
58 | + displayText: '显示', | ||
59 | + notDisplayText: '不显示', | ||
60 | + disableText: '禁用', | ||
61 | + otherText: '其他', | ||
62 | + configText: '配置', | ||
63 | + cityText: '城市', | ||
64 | + foundationText: '基础', | ||
65 | + languageTypeText: '语言类型', | ||
66 | + themeText: '主题', | ||
67 | + longText: '经度', | ||
68 | + latText: '纬度', | ||
69 | + transparencyText: '透明度', | ||
70 | + determineText: '确定', | ||
71 | + fontText: '字体', | ||
72 | + rowHeightText: '行高', | ||
73 | + bgColorText: '背景颜色', | ||
74 | + deactivateText: '停用', | ||
75 | + enableText: '启用', | ||
76 | + restoreDefaultText: 'Restore Default', | ||
77 | + setUpText: '设置', | ||
78 | + initValueText: '初始值', | ||
79 | + thicknessText: '粗细', | ||
80 | + spacingText: '间距', | ||
81 | + kerningText: '字距', | ||
82 | + spaceText: '行距', | ||
83 | + timeText: '时间', | ||
84 | + shadowText: '阴影', | ||
85 | + vagueText: '模糊', | ||
86 | + showShadowText: '展示阴影', | ||
87 | + borderColorText: '边框色', | ||
88 | + pointerText: '指针', | ||
89 | + fullScreenText: '全屏按钮', | ||
90 | + buttonText: '按钮', | ||
91 | + defaultColorText: '默认颜色', | ||
92 | + tText: '顶部', | ||
93 | + rText: '右边', | ||
94 | + lText: '左边', | ||
95 | + bText: '底部', | ||
96 | + scaleText: '缩放', | ||
97 | + textStyleText: '文字样式', | ||
98 | + clickUploadImgText: '点击上传图片', | ||
99 | + imageNeedsThanText: '图片需小于', | ||
100 | + placeImageNeedsText: | ||
101 | + '且只暂存在浏览器中。当前图片暂存上限5M,超过不再缓存新图片,请自行对接后端接口!现编译成 base64 进行渲染,对接后端后请使用【URL地址】进行交互!', | ||
102 | + rotateText: '旋转', | ||
103 | + searchComponentText: '搜索组件', | ||
104 | + closeText: '关闭', | ||
105 | + reduceText: '缩小', | ||
106 | + amplifyText: '放大', | ||
107 | + allText: '所有', | ||
108 | + saveOkText: '保存成功', | ||
109 | + | ||
110 | + minMaxText: '取值范围在最小值和最大值之间', | ||
111 | + | ||
112 | + positionText: '位置', | ||
113 | + upperText: '上', | ||
114 | + leftText: '左', | ||
115 | + notHaveText: '无', | ||
116 | + stateText: '状态', | ||
117 | + importText: '导入', | ||
118 | + exportText: '导出', | ||
119 | + downloadText: '下载', | ||
120 | + moreText: '「 更多 」', | ||
121 | + serviceText: '服务', | ||
122 | + retractText: '收起', | ||
123 | + expandText: '展开', | ||
124 | + saveSendText: '保存 & 发送请求', | ||
125 | + openText: '开启', | ||
126 | + defaultValueText: '默认值', | ||
127 | + isMultipleText: '是否多选', | ||
128 | + informationText: '信息', | ||
129 | + defaultText: '默认', | ||
130 | + uploadText: '上传', | ||
131 | + controlText: '控制', | ||
132 | + muteText: '静音', | ||
133 | + organizationText: '组织', | ||
134 | + | ||
135 | + cancelText: '取消', | ||
136 | + saveText: '保存', | ||
137 | + | ||
138 | + dataOkText: '数据应用成功!', | ||
139 | + dataFailText: '数据应用失败!', | ||
140 | + nameText: '名称', | ||
141 | + name: '名字', | ||
142 | + increaseText: '添加', | ||
143 | + unnamed: '未命名', | ||
144 | + | ||
145 | + actionOkText: '操作完成', | ||
146 | + | ||
147 | + fillInText: '请填入', | ||
148 | + histor: '历史记录', | ||
149 | + maxNumber100: '最多只保留{number}条记录', | ||
150 | + pageNumber: '第{number}页', | ||
151 | + shortcutKeys: '快捷键', | ||
152 | + lock: '锁定', | ||
153 | + Unlock: '解锁', | ||
154 | + currentProportion: '当前比例', | ||
155 | + topButtonSynchronous: '请通过顶部【同步内容】按钮同步最新数据!', | ||
156 | + style: '样式', | ||
157 | + setting: '设置', | ||
158 | + removeShadows: '去除阴影', | ||
159 | + showTag: '展示标签', | ||
160 | + inputWordSpacing: '输入字间距', | ||
161 | + uploadImage: { | ||
162 | + alt: '上传的图片', | ||
163 | + uploadDesc1: '上传文件需小于', | ||
164 | + uploadDesc2: '格式为', | ||
165 | + uploadDesc3: '的文件', | ||
166 | + uploadSuccess: '上传文件成功!', | ||
167 | + uploadFail: '上传文件失败,请稍后重试!', | ||
168 | + uploadFileError: '文件格式不符合,请重新上传!', | ||
169 | + uploadDesc4: '文件超出', | ||
170 | + uploadDesc5: 'M限制', | ||
171 | + uploadDesc6: '请重新上传!', | ||
172 | + uploadDesc7: '支持传多个' | ||
173 | + }, | ||
174 | + variableValue: '变量值', | ||
175 | + variableValueImage: '变量图片', | ||
176 | + tableSearchTag1: '配置分页接口查询参数键,以逗号分隔键名和键值', | ||
177 | + tableSearchTag2: '例如:设备名称,deviceName', | ||
178 | + tableSearchField: '搜索字段', | ||
179 | + tableSearch: '表格搜索', | ||
180 | + field: '字段', | ||
181 | + add: '增加', | ||
182 | + tableConfigText: '若配置无响应,请在预览页面查看效果', | ||
183 | + useFixedEndDate: '使用固定结束日期', | ||
184 | + displayDays: '显示天', | ||
185 | + unitFontConfiguration: '单位字体配置', | ||
186 | + copy: '复制', | ||
187 | + rename: '重命名', | ||
188 | + mate: '匹配', | ||
189 | + filterTooltip: '过滤器默认处理接口返回值的「data」字段', | ||
190 | + downloadTooltip: '点击【下载】查看完整数据', | ||
191 | + mapping: '映射', | ||
192 | + generalIdentification: '通用标识', | ||
193 | + dataItem: '数据项', | ||
194 | + notDataset: '此组件无数据源', | ||
195 | + globalConfig: '全局配置', | ||
196 | + publicInterfaceNotYetSelected: '暂未选择公共接口', | ||
197 | + editContent: '编辑内容', | ||
198 | + saveAndClose: '保存 & 关闭', | ||
199 | + address: '地址', | ||
200 | + subjectInformation: '主体信息', | ||
201 | + interfaceName: '接口名称', | ||
202 | + interfaceType: '接口类型', | ||
203 | + componentInterval: '组件间隔', | ||
204 | + globalInterval: '全局间隔(默认)', | ||
205 | + sourceAddress: '源地址', | ||
206 | + pleaseEnterTheSourceAddress: '请输入源地址', | ||
207 | + interfaceAddress: '接口地址', | ||
208 | + configType: '配置类型', | ||
209 | + noBody: '该接口没有 Body 体', | ||
210 | + globalPublicConfiguration: '全局公共配置', | ||
211 | + preURL: '前置 URL', | ||
212 | + updateInterval: '更新间隔,为 0 只会初始化', | ||
213 | + pleaseEnterANumber: '请输入数字', | ||
214 | + tokenConfig: 'Token配置', | ||
215 | + requestHeader: '请求标头', | ||
216 | + tokenValuePrefix: 'Token值前缀', | ||
217 | + requestMethodURLAddress: '请求方式 & URL地址', | ||
218 | + pleaseEnterTheURLAddress: '请输入URL地址', | ||
219 | + selectBy: '选择方式', | ||
220 | + ordinaryRequest: '普通请求', | ||
221 | + sqlRequest: '普通请求', | ||
222 | + defaultX: '默认值: X-Authorization', | ||
223 | + defaultB: '默认值: Bearer', | ||
224 | + pass: '通过', | ||
225 | + hasNo: '未', | ||
226 | + selfAdaption: '自适应', | ||
227 | + pleaseEnterThePageName: '请输入页面名称', | ||
228 | + blendModeEnumList: { | ||
229 | + normal: '正常', | ||
230 | + multiply: '正片叠底', | ||
231 | + overlay: '叠加', | ||
232 | + screen: '滤色', | ||
233 | + darken: '变暗', | ||
234 | + lighten: '变亮', | ||
235 | + colorDodge: '颜色减淡', | ||
236 | + colorBurn: '颜色加深', | ||
237 | + hardLight: '强光', | ||
238 | + softLight: '柔光', | ||
239 | + difference: '差值', | ||
240 | + exclusion: '排除', | ||
241 | + hue: '色相', | ||
242 | + saturation: '饱和度', | ||
243 | + color: '颜色', | ||
244 | + luminosity: '亮度' | ||
245 | + }, | ||
246 | + legendConfig: { | ||
247 | + lengendX: { | ||
248 | + left: '靠左', | ||
249 | + center: '居中', | ||
250 | + right: '靠右' | ||
251 | + }, | ||
252 | + lengendY: { | ||
253 | + top: '靠上', | ||
254 | + center: '居中', | ||
255 | + bottom: '靠下' | ||
256 | + }, | ||
257 | + orient: { | ||
258 | + horizontal: '水平', | ||
259 | + vertical: '垂直' | ||
260 | + }, | ||
261 | + shape: { | ||
262 | + circle: '圆形', | ||
263 | + rect: '方形', | ||
264 | + roundRect: '圆角方形', | ||
265 | + triangle: '三角形', | ||
266 | + pin: '钢笔形', | ||
267 | + arrow: '箭头形' | ||
268 | + } | ||
269 | + }, | ||
270 | + axisConfig: { | ||
271 | + xposition: { | ||
272 | + top: '顶部', | ||
273 | + bottom: '底部' | ||
274 | + }, | ||
275 | + yposition: { | ||
276 | + left: '左侧', | ||
277 | + right: '右侧' | ||
278 | + }, | ||
279 | + splitLint: { | ||
280 | + lineStyle: { | ||
281 | + solid: '实线', | ||
282 | + dashed: '虚线', | ||
283 | + dotted: '点线' | ||
284 | + }, | ||
285 | + visualMap: { | ||
286 | + horizontal: '水平', | ||
287 | + vertical: '垂直' | ||
288 | + } | ||
289 | + } | ||
290 | + }, | ||
291 | + rawData: '原始数据', | ||
292 | + bodyType: 'body 类型', | ||
293 | + sqlInfo: { | ||
294 | + key: '键名', | ||
295 | + value: '键值', | ||
296 | + hint: '需要后台提供专门处理sql的接口' | ||
297 | + }, | ||
298 | + requestContentType: { | ||
299 | + default: '普通请求', | ||
300 | + sql: 'SQL 请求' | ||
301 | + }, | ||
302 | + timeRangeInfo: { | ||
303 | + polymerizationMethod: '聚合方式', | ||
304 | + intervalTime: '间隔时间', | ||
305 | + pleaseEnterTheMaximumNumberOfEntries: '请输入最大条数', | ||
306 | + pleaseSelectATimeRange: '请选择时间范围' | ||
307 | + }, | ||
308 | + aggergationOptions: { | ||
309 | + avg: '平均值', | ||
310 | + min: '最小值', | ||
311 | + max: '最大值', | ||
312 | + sum: '求和', | ||
313 | + count: '计数', | ||
314 | + none: '空' | ||
315 | + }, | ||
316 | + validateInfo: { | ||
317 | + completeRequired: '需要填写完整', | ||
318 | + requiredField: '是必填项' | ||
319 | + }, | ||
320 | + pleaseSelectAPublicInterface: '请选择公共接口', | ||
321 | + videoText: '视频', | ||
322 | + requestName: '请求名称', | ||
323 | + editConfiguration: '编辑配置', | ||
324 | + test: '测试', | ||
325 | + defaultDataSet: ' 默认赋值给 dataset 字段', | ||
326 | + sendRequest: '发送请求', | ||
327 | + sendHandleMessage: { | ||
328 | + pleaseChooseAPublicInterface: '请选择一个公共接口!', | ||
329 | + filterErrorText: '您的数据不符合默认格式,请配置过滤器!', | ||
330 | + checkTheInterface: '没有拿到返回值,请检查接口!', | ||
331 | + checkTheParameters: '数据异常,请检查参数!' | ||
332 | + }, | ||
333 | + fullScreenView: '全屏查看', | ||
334 | + pieType: { | ||
335 | + normal: '常规图', | ||
336 | + ring: '环形图', | ||
337 | + rose: '玫瑰图' | ||
338 | + }, | ||
339 | + labelFormat: { | ||
340 | + dataName: '数据名', | ||
341 | + percentage: '百分比', | ||
342 | + columnNamePercentage: '列名:百分比' | ||
343 | + }, | ||
344 | + labelConfig: { | ||
345 | + outside: '外侧', | ||
346 | + inside: '内部', | ||
347 | + center: '中心' | ||
348 | + }, | ||
349 | + scatterEffectTypeEnumList: { | ||
350 | + scatter: '普通', | ||
351 | + effectScatter: '特效' | ||
352 | + }, | ||
353 | + symbolEnumList: { | ||
354 | + circle: '圆形', | ||
355 | + rect: '正方形', | ||
356 | + roundRect: '圆角正方形', | ||
357 | + triangle: '三角形', | ||
358 | + diamond: '菱形', | ||
359 | + pin: '水滴', | ||
360 | + arrow: '箭头', | ||
361 | + none: '无', | ||
362 | + polygon: '多边形', | ||
363 | + descending: '倒三角', | ||
364 | + ascending: '正三角', | ||
365 | + line: '线形', | ||
366 | + dashboard: '仪表盘', | ||
367 | + cardioid: '心形', | ||
368 | + triangleForward: '右三角形', | ||
369 | + pentagon: '五边形', | ||
370 | + star: '星星' | ||
371 | + }, | ||
372 | + loading: '加载中', | ||
373 | + back: '返回', | ||
374 | + displayTheSouthChinaSeaIslands: '显示南海群岛', | ||
375 | + historyAction: { | ||
376 | + title: '历史轨迹操作面板', | ||
377 | + startAnimation: '开始动画', | ||
378 | + pauseAnimation: '暂停动画', | ||
379 | + resumeAnimation: '继续动画', | ||
380 | + stopAnimation: '结束动画' | ||
381 | + }, | ||
382 | + funnelLabelPositionEnumList: { | ||
383 | + inside: '内部', | ||
384 | + outside: '外部', | ||
385 | + insideLeft: '内部左侧', | ||
386 | + insideRight: '内部右侧' | ||
387 | + }, | ||
388 | + orientList: { | ||
389 | + horizontal: '水平', | ||
390 | + vertical: '垂直' | ||
391 | + }, | ||
392 | + toolTipSwitch: { | ||
393 | + open: '开启', | ||
394 | + close: '关闭' | ||
395 | + }, | ||
396 | + fontWeight: { | ||
397 | + normal: '常规', | ||
398 | + bold: '加粗' | ||
399 | + }, | ||
400 | + textAlignOptions: { | ||
401 | + start: '左对齐', | ||
402 | + center: '居中', | ||
403 | + end: '右对齐' | ||
404 | + }, | ||
405 | + linkMethodOptions: { | ||
406 | + default: '默认', | ||
407 | + open: '新开窗口' | ||
408 | + }, | ||
409 | + fileUploadAction: { | ||
410 | + text: '上传文件' | ||
411 | + }, | ||
412 | + pageNotYetBound: '暂未绑定页面', | ||
413 | + theConfigurationPageHasNotBeenMadePublicYet: '组态页面暂未公开', | ||
414 | + switchCities: '切换城市', | ||
415 | + placeholder: { | ||
416 | + province: '请选择省份', | ||
417 | + country: '请选择区域' | ||
418 | + }, | ||
419 | + shortCutKeyInfo: { | ||
420 | + th1: '功能', | ||
421 | + th2: 'Win 快捷键', | ||
422 | + th3: 'Mac 快捷键', | ||
423 | + label1: '拖拽画布', | ||
424 | + label2: '向 上/右/下/左 移动', | ||
425 | + label3: '锁定', | ||
426 | + label4: '解锁', | ||
427 | + label5: '展示', | ||
428 | + label6: '隐藏', | ||
429 | + label7: '删除', | ||
430 | + label8: '复制', | ||
431 | + label9: '剪切', | ||
432 | + label10: '粘贴', | ||
433 | + label11: '后退', | ||
434 | + label12: '前进', | ||
435 | + label13: '多选', | ||
436 | + label14: '创建分组', | ||
437 | + label15: '解除分组' | ||
438 | + }, | ||
439 | + devicePositionDialog: { | ||
440 | + dialogTitle: '弹窗label', | ||
441 | + dialogField: '弹窗字段', | ||
442 | + precautionsForUse: '使用注意', | ||
443 | + use1: '弹窗字段里面配置的键值需要', | ||
444 | + use2: '和静态数据里的customField', | ||
445 | + use3: '对象里的键相对应' | ||
446 | + }, | ||
447 | + key: '键', | ||
448 | + value: '值', | ||
449 | + lastUpdateTime: '最后更新时间', | ||
450 | + chartData: { | ||
451 | + tag1: '分组返回的数据源', | ||
452 | + tag2: '目前支持实时多属性', | ||
453 | + c1: '组件id', | ||
454 | + c2: '组件名称', | ||
455 | + c3: '选择键值', | ||
456 | + c4: '数据内容' | ||
457 | + }, | ||
458 | + pageText: '页', | ||
459 | + numberText: '第', | ||
460 | + defaultNumberText: '第 1 页', | ||
461 | + copyText: '副本', | ||
462 | + computedScaleErrorText: '请先创建画布,再进行缩放', | ||
463 | + pressIt: '按下了「', | ||
464 | + keysIt: '」键', | ||
465 | + timeRangeShortcutsSelectText: { | ||
466 | + yesterday: '昨天', | ||
467 | + lastSevenDays: '最近7天', | ||
468 | + lastThirtyDays: '最近30天', | ||
469 | + thisWeek: '本周', | ||
470 | + thisMonth: '本月' | ||
471 | + }, | ||
472 | + formItemNameI18n: { | ||
473 | + dateRange: '日期区间', | ||
474 | + deviceProfileId: '所属产品', | ||
475 | + organizationId: '所属组织', | ||
476 | + entityId: '设备', | ||
477 | + keys: '属性' | ||
478 | + }, | ||
479 | + requestConfig: '请求配置', | ||
480 | + timeSelect: { | ||
481 | + second: '秒', | ||
482 | + minute: '分', | ||
483 | + hour: '时', | ||
484 | + day: '天' | ||
485 | + }, | ||
486 | + historyActionTypes: { | ||
487 | + add: '新增', | ||
488 | + delete: '删除', | ||
489 | + update: '更新', | ||
490 | + move: '移动', | ||
491 | + paste: '粘贴', | ||
492 | + copy: '复制', | ||
493 | + cut: '剪切', | ||
494 | + top: '置顶', | ||
495 | + bottom: '置底', | ||
496 | + up: '上移', | ||
497 | + down: '下移', | ||
498 | + group: '成组', | ||
499 | + unGroup: '解组', | ||
500 | + lock: '锁定', | ||
501 | + unlock: '解锁', | ||
502 | + hide: '隐藏', | ||
503 | + show: '显示', | ||
504 | + canvas: '画布初始化' | ||
505 | + }, | ||
506 | + defaultChartColors: { | ||
507 | + dark: '明亮', | ||
508 | + customed: '暗淡', | ||
509 | + macarons: '马卡龙', | ||
510 | + walden: '蓝绿', | ||
511 | + purplePassion: '深紫', | ||
512 | + vintage: '复古', | ||
513 | + chalk: '粉青', | ||
514 | + westeros: '灰粉', | ||
515 | + wonderland: '青草', | ||
516 | + essos: '橘红', | ||
517 | + shine: '深色', | ||
518 | + roma: '罗马红' | ||
519 | + }, | ||
520 | + accessToken: '访问令牌', | ||
521 | +} |
src/i18n/zh/component/index.ts
0 → 100644
1 | +export default { | ||
2 | + border1: '边框-01', | ||
3 | + color: '颜色', | ||
4 | + speed: '速度(s)', | ||
5 | + | ||
6 | + border2: '边框-02', | ||
7 | + border3: '边框-03', | ||
8 | + border4: '边框-04', | ||
9 | + border5: '边框-05', | ||
10 | + border6: '边框-06', | ||
11 | + border7: '边框-07', | ||
12 | + border8: '边框-08', | ||
13 | + border9: '边框-09', | ||
14 | + border10: '边框-10', | ||
15 | + border11: '边框-11', | ||
16 | + border12: '边框-12', | ||
17 | + border13: '边框-13', | ||
18 | + | ||
19 | + placeTitleContent: '请输入标题内容', | ||
20 | + turnReverse: '开启反向', | ||
21 | + | ||
22 | + decoration1: '装饰-01', | ||
23 | + decoration2: '装饰-02', | ||
24 | + decoration3: '装饰-03', | ||
25 | + decoration4: '装饰-04', | ||
26 | + decoration5: '装饰-05', | ||
27 | + decoration6: '装饰-06', | ||
28 | + decoration7: '装饰07', | ||
29 | + decoration8: '装饰08', | ||
30 | + decoration9: '装饰09', | ||
31 | + decoration10: '装饰10', | ||
32 | + decoration11: '装饰11', | ||
33 | + decoration12: '装饰12', | ||
34 | + decoration13: '装饰13', | ||
35 | + decoration14: '装饰14', | ||
36 | + decoration15: '装饰15', | ||
37 | + decoration16: '装饰16', | ||
38 | + | ||
39 | + specific: '具体', | ||
40 | + lineHeight: '线条高度', | ||
41 | + endLength: '末端长度', | ||
42 | + | ||
43 | + earth3d: '三维地球', | ||
44 | + numericCount: '数字计数', | ||
45 | + endPointValue: '终点值', | ||
46 | + accuracy: '精度', | ||
47 | + displaySeparator: '展示分割符', | ||
48 | + prefix: '前缀', | ||
49 | + suffix: '后缀', | ||
50 | + | ||
51 | + digitalFlip: '数字翻牌-需动态触发', | ||
52 | + flip: '翻牌', | ||
53 | + flipNumber: '翻牌个数', | ||
54 | + flipInterval: '翻牌间隔', | ||
55 | + behavior: '行为', | ||
56 | + flipDown: '下翻', | ||
57 | + flipUp: '上翻', | ||
58 | + flipSpeed: '翻牌速度(毫秒)', | ||
59 | + universalTime: '通用时间', | ||
60 | + showShadow: '展示阴影', | ||
61 | + countdown: '倒计时', | ||
62 | + timing: '计时(秒)', | ||
63 | + endDate: '结束日期', | ||
64 | + useFixedEndDate: '使用固定结束日期', | ||
65 | + style: '风格', | ||
66 | + hms: '时分秒', | ||
67 | + colon: '冒号', | ||
68 | + clock: '时钟', | ||
69 | + indexDial: '表盘', | ||
70 | + | ||
71 | + pipelineHor: '管道-横向', | ||
72 | + pipeline: '管道', | ||
73 | + pipelineColor: '管道颜色', | ||
74 | + waterColor: '水流颜色', | ||
75 | + flowDire: '流向', | ||
76 | + forword: '正向', | ||
77 | + reverse: '反向', | ||
78 | + cease: '停止', | ||
79 | + blue: '蓝', | ||
80 | + yellow: '黄', | ||
81 | + | ||
82 | + pipelineVer: '管道-纵向', | ||
83 | + iconColor: '图标(可配置弹窗)', | ||
84 | + icon: '图标', | ||
85 | + background: '背景色', | ||
86 | + fontColor: '字体色', | ||
87 | + dynamicEffect: '动效', | ||
88 | + effect: '效果', | ||
89 | + popConfig: '弹窗配置', | ||
90 | + widthHeight: '宽高', | ||
91 | + borderShadow: '边框阴影', | ||
92 | + leftLine: '背景线性渐变左', | ||
93 | + rightLine: '背景线性渐变右', | ||
94 | + arrowColor: '箭头颜色', | ||
95 | + lineColor: '线条颜色', | ||
96 | + titleColor: '标题颜色', | ||
97 | + boldTitle: '标题加粗', | ||
98 | + titleContent: '标题内容', | ||
99 | + contentKeyColor: '内容键文本颜色', | ||
100 | + contentValueColor: '内容值文本颜色', | ||
101 | + contentKey: '内容键', | ||
102 | + contentValue: '内容值', | ||
103 | + | ||
104 | + weather: '天气', | ||
105 | + weatherConfig: '天气配置', | ||
106 | + regionSelect: '区域选择', | ||
107 | + | ||
108 | + treeDimes: '三维模型', | ||
109 | + treeConfig: '三维配置', | ||
110 | + borderConfig: '边框配置', | ||
111 | + openBorder: '开启边框', | ||
112 | + uploadFile: '上传文件', | ||
113 | + maps: '贴图', | ||
114 | + modelPosition: '模型位置', | ||
115 | + modelPositionCoord: '模型位置坐标(x,y,z)', | ||
116 | + modelRota: '模型旋转', | ||
117 | + modelRotaCoord: '模型旋转坐标(x,y,z)', | ||
118 | + lightSelection: '灯光选择', | ||
119 | + lightSelectionName: '灯光选择((0,环境光),(1,方向光),(2,点光),(3,半球光))', | ||
120 | + lightConfig: '灯光配置', | ||
121 | + enableFps: '启用fps', | ||
122 | + labelConfig: 'label配置', | ||
123 | + characters: '文字', | ||
124 | + borderColor: '边框颜色', | ||
125 | + borderSize: '边框大小', | ||
126 | + borderRound: '边框圆角', | ||
127 | + attrConfig: '属性配置', | ||
128 | + needSceneColor: '场景色(需要这种格式HEX #000000,否则失效)', | ||
129 | + sceneTranspar: '场景透明度', | ||
130 | + enableDamping: '启用阻尼', | ||
131 | + dampingValue: '阻尼值', | ||
132 | + putputEncoding: '输出编码,可取值为 liner 或 sRGB。linear 是 LinearEncoding 线性编码, sRGB 即 sRGBEncoding rgb 模式编码(sRGBEncoding 能更好的还原材质颜色)', | ||
133 | + mtlRef: '比如mtl一般和obj搭配使用,fbx搭配jpg等', | ||
134 | + mappsJPGPNG: '贴图目前支持jpg/png格式', | ||
135 | + | ||
136 | + | ||
137 | + headline1: '大标题1', | ||
138 | + backgroundUpload: '背景上传', | ||
139 | + clearUploadBg: '清除上传背景', | ||
140 | + bgSelection: '背景选择', | ||
141 | + placeBg: '请选择您要使用的背景', | ||
142 | + positionX: '位置x轴', | ||
143 | + fontPositionX: '字体位置x轴', | ||
144 | + positionY: '位置y轴', | ||
145 | + fontPositionY: '字体位置y轴', | ||
146 | + rightSide: '右侧', | ||
147 | + timeColor: '时间颜色', | ||
148 | + addImageOk: '添加图片成功!', | ||
149 | + addImageFail: '添加图片失败,请稍后重试!', | ||
150 | + fontPosition: '字体位置', | ||
151 | + | ||
152 | + Headline2: '大标题2', | ||
153 | + config: '配置', | ||
154 | + leftSpac: '左间距', | ||
155 | + topSpac: '上间距', | ||
156 | + gradColorParmas: '渐变色参数', | ||
157 | + startValue: '起始值', | ||
158 | + endValue: '结束值', | ||
159 | + offsetAngle: '偏移角度', | ||
160 | + colorRota: '颜色旋转', | ||
161 | + fontLeftSpac: '字体左间距', | ||
162 | + fontTopSpac: '字体上间距', | ||
163 | + | ||
164 | + subtitle1: '小标题1', | ||
165 | + subtitle2: '小标题2', | ||
166 | + subtitle3: '小标题3', | ||
167 | + subtitle4: '小标题4', | ||
168 | + subtitle5: '小标题5', | ||
169 | + subtitle6: '小标题6', | ||
170 | + subtitle7: '小标题7', | ||
171 | + subtitle8: '小标题8', | ||
172 | + subtitle9: '小标题9', | ||
173 | + | ||
174 | + xAxisPos: 'x轴位置', | ||
175 | + yAxisPos: 'y轴位置', | ||
176 | + leftDecor: '左边装饰', | ||
177 | + rightDecor: '右边装饰', | ||
178 | + rectangDecor: '矩形装饰', | ||
179 | + otherDecor: '其他装饰', | ||
180 | + decor: '装饰', | ||
181 | + decorOnBoth: '两侧装饰', | ||
182 | + middleDecor: '中间装饰', | ||
183 | + upAndLowerDecor: '上下边线装饰', | ||
184 | + medallion: '圆形装饰', | ||
185 | + borderDecor: '边框装饰', | ||
186 | + squareDecor: '正方形装饰', | ||
187 | + dicing: '菱形装饰', | ||
188 | + bgDecor: '背景装饰', | ||
189 | + GraphicDecor: '图形装饰', | ||
190 | + graphicBorderDecor: '图形边框装饰', | ||
191 | + leftBgDecor: '左边背景装饰', | ||
192 | + rightBgDecor: '右边背景装饰', | ||
193 | + leftLineDecor: '左边线装饰', | ||
194 | + rightLineDecor: '右边线装饰', | ||
195 | + rightSquareDecor: '右边正方形装饰', | ||
196 | + leftGraphicDecor: '左边图形装饰', | ||
197 | + leftGraphicBorderDecor: '左边图形边框装饰', | ||
198 | + | ||
199 | + decorColor: '装饰颜色', | ||
200 | + dataPointConfig: '数据点配置', | ||
201 | + gridConfig: 'grid配置', | ||
202 | + internalCylinder: '内部圆柱', | ||
203 | + topColor: '顶部颜色', | ||
204 | + bottomColor: '底部颜色', | ||
205 | + numeralColor: '数字颜色', | ||
206 | + bottomGradient: '底部渐变色', | ||
207 | + externalCylinder: '外部圆柱', | ||
208 | + bottomInnerCircleColor: '底部内圆圈颜色', | ||
209 | + bottomOuterCircleColor: '底部外圆圈颜色', | ||
210 | + innerOuterBars: '内外bar和中间分隔高度', | ||
211 | + within: '内', | ||
212 | + outside: '外', | ||
213 | + separate: '分隔', | ||
214 | + internalBar: '内部bar', | ||
215 | + gradient: '渐变色', | ||
216 | + externalBar: '外部bar', | ||
217 | + styleConfig: '样式配置', | ||
218 | + dataSource: '数据源', | ||
219 | + | ||
220 | + animationDecor18: '动画装饰18', | ||
221 | + animationDecor19: '动画装饰19', | ||
222 | + animationDecor20: '动画装饰20', | ||
223 | + animationDecor21: '动画装饰21', | ||
224 | + animationDecor22: '动画装饰22', | ||
225 | + animationDecor23: '动画装饰23', | ||
226 | + animationDecor24: '动画装饰24', | ||
227 | + animationDecor25: '动画装饰25', | ||
228 | + animationDecor26: '动画装饰26', | ||
229 | + animationDecor27: '动画装饰27', | ||
230 | + animationDecor28: '动画装饰28', | ||
231 | + animationDecor29: '动画装饰29', | ||
232 | + animationDecor30: '动画装饰30', | ||
233 | + | ||
234 | + activateAnimation: '开启动画', | ||
235 | + animationSpeed: '动画速率', | ||
236 | + middleBall: '中间小球', | ||
237 | + colorOfTheBottom: '中间圆柱底部颜色', | ||
238 | + colorOfTheTop: '中间圆柱顶部颜色', | ||
239 | + titleFontConfig: '标题字体配置', | ||
240 | + dataSourceFontConfig: '数据源字体配置', | ||
241 | +} |
src/i18n/zh/enum.ts
0 → 100644
1 | +export default { | ||
2 | + selectCreateData: { | ||
3 | + STATIC: '静态数据', | ||
4 | + AJAX: '动态请求', | ||
5 | + Pond: '公共接口' | ||
6 | + }, | ||
7 | + timelineTitle: { | ||
8 | + FILTER: '数据过滤', | ||
9 | + MAPPING: '数据映射', | ||
10 | + CONTENT: '数据内容' | ||
11 | + }, | ||
12 | + requestContentTypeName: { | ||
13 | + DEFAULT: '普通请求', | ||
14 | + SQL: 'SQL请求', | ||
15 | + WEB_SOCKET: 'WebSocket请求' | ||
16 | + }, | ||
17 | + requestDataTypeName: { | ||
18 | + STATIC: '静态数据', | ||
19 | + AJAX: '自定义请求', | ||
20 | + Pond: '公共接口' | ||
21 | + }, | ||
22 | + iconBorderName: { | ||
23 | + ROUNDED: '圆形', | ||
24 | + RECT: '矩形' | ||
25 | + }, | ||
26 | + iconBorderStyleName: { | ||
27 | + SOLID: '实线', | ||
28 | + DASHED: '虚线', | ||
29 | + DOTTED: '圆点', | ||
30 | + DOUBLE: '双实线', | ||
31 | + NONE: '隐藏' | ||
32 | + }, | ||
33 | + iconDynamicEffectName: { | ||
34 | + JUMP: '跳动', | ||
35 | + SPIN: '旋转' | ||
36 | + }, | ||
37 | + interfaceTypeName: { | ||
38 | + SYSTEM: '系统默认', | ||
39 | + CUSTOM: '自定义' | ||
40 | + } | ||
41 | +} |
src/i18n/zh/external.ts
0 → 100644
1 | +export default { | ||
2 | + pageConfigText: '页面配置',//Page Configuration | ||
3 | + settingText: '定制',//Customized | ||
4 | + animationText: '动画',//Animation | ||
5 | + dataText: '数据',//Data | ||
6 | + groupText: '分组',//Grouping | ||
7 | + eventText: '事件', | ||
8 | + page: { | ||
9 | + backgroundImageText: '背景图需小于',//The background image needs to be smaller than | ||
10 | + fileTypeText: '格式为png/jpg/gif的文件',//A file in the format png/jpg/gif | ||
11 | + bgSelectText: '背景选择',//Background selection | ||
12 | + placeBg: '请选择您要使用的背景',//Please select the background you want to use | ||
13 | + bgColorText: '背景颜色',//Background color | ||
14 | + appTypeText: '应用类型',//Application type | ||
15 | + bgControlText: '背景控制',//Background control | ||
16 | + clearBgText: '清除背景',//Clear background | ||
17 | + clearColorText: '清除颜色',//Clear Color | ||
18 | + adapterText: '适配方式',//Adaptation method | ||
19 | + applyColorText: '应用颜色',//Apply Color | ||
20 | + applyBgText: '应用背景',//Application background | ||
21 | + themeColorText: '主题颜色',//Theme colors | ||
22 | + yText: 'Y轴滚动',//Y-axis rolling | ||
23 | + yDesc: 'X轴铺满,Y轴自适应滚动',//X-axis coverage, Y-axis adaptive rolling | ||
24 | + autoText: '自适应',//self-adaption | ||
25 | + autoDesc: '自适应比例展示,页面会有留白',//Adaptive proportional display with white space on the page | ||
26 | + xText: 'X轴滚动',//X-axis rolling | ||
27 | + xDesc: 'Y轴铺满,X轴自适应滚动',//Y-axis coverage, X-axis adaptive rolling | ||
28 | + fullText: '铺满',//Overspread | ||
29 | + fullDesc: '强行拉伸画面,填充所有视图',//Forcibly stretch the screen and fill all views | ||
30 | + imageExceedsText: '图片超出',//Image exceeds | ||
31 | + placeuploadText: '限制,请重新上传!',//Restricted, please upload again! | ||
32 | + fileUploadText: '文件格式不符合,请重新上传!',//The file format does not match, please upload again! | ||
33 | + | ||
34 | + dissolveGroupText: '解散分组',//Dissolve groups | ||
35 | + filterText: '滤镜',//Filter | ||
36 | + transformText: '变换',//Transformation | ||
37 | + fAndtText: '滤镜 / 变换',//Filter / Transformation | ||
38 | + alsoText: '也将消失!', | ||
39 | + hueText: '色相',//Hue | ||
40 | + valueText: '值:',//Value: | ||
41 | + saturationText: '饱和度',//Saturation | ||
42 | + contrastText: '对比度',//Contrast ratio | ||
43 | + brightnessText: '亮度',//Brightness | ||
44 | + transparencyText: '透明度',//Transparency | ||
45 | + mix: '混合',//Mix | ||
46 | + videoHeedText: '视频组件需要底色透明一般选中滤色',//Video components require a transparent background color. Generally, filter color is selected | ||
47 | + rotateText: '旋转°',//Rotate ° | ||
48 | + zAxisText: 'Z轴(平面) - 旋转', | ||
49 | + angleText: '角度',//Angle | ||
50 | + xRotateText: 'X轴 - 旋转',//X-axis - rotation | ||
51 | + yRotateText: 'Y轴 - 旋转',//Y-axis - rotation | ||
52 | + inclineText: '倾斜°',//incline | ||
53 | + xTiltText: 'X轴 - 倾斜',//X-axis - tilt | ||
54 | + yTiltText: 'Y轴 - 倾斜',//Y-axis - tilt | ||
55 | + perviewHeedText: '若预览时大屏模糊,可以尝试关闭滤镜进行修复',//If the large screen is blurry during preview, you can try turning off the filter to fix it | ||
56 | + customColorText: '自定义颜色',//Custom Colors | ||
57 | + applicationText: '应用数据',//Application Data | ||
58 | + noColorText: '暂无自定义颜色,',//There are currently no custom colors available, | ||
59 | + noSelectColorText: '暂未选择自定义颜色', | ||
60 | + isGiveUpText: '当前有变动未保存,是否直接放弃修改?',//There are currently changes that have not been saved. Do you want to discard the modifications directly? | ||
61 | + isColor: '是否删除此颜色?',//Do you want to delete this color? | ||
62 | + footer7dataText: '底部图表仅展示 7 条数据',//The bottom chart only displays 7 pieces of data | ||
63 | + delColorText: '删除颜色',//Delete Color | ||
64 | + defaultColor: '默认扩展色:',//Default extension color: | ||
65 | + transparetColor: '透明扩展色:',//Transparent Extended Color: | ||
66 | + }, | ||
67 | + customized: { | ||
68 | + placeChart: '请输入图表名称',//Please enter the chart name | ||
69 | + textRule1: '请输入至少一个字符!',//Please enter at least one character! | ||
70 | + LeftText: '局左',//Bureau Left | ||
71 | + xCenterText: 'X轴居中',//Centered X-axis | ||
72 | + rightText: '局右',//Bureau Right | ||
73 | + topText: '顶部',//Top | ||
74 | + yCenterText: 'Y轴居中',//Y-axis centered | ||
75 | + bottomText: '底部',//Bottom | ||
76 | + applyThisGroup: '应用此分组', | ||
77 | + | ||
78 | + rendererText: '渲染器',//Renderer | ||
79 | + allRenderText: '所有echarts图表组件默认都将采用所选的渲染器进行渲染',//All echarts chart components will default to using the selected renderer for rendering | ||
80 | + currentText: '当前',//Current | ||
81 | + onlyRenderText: '仅当前组件采用指定渲染器渲染',//Only the current component is rendered using the specified renderer | ||
82 | + color: '颜色',//Color | ||
83 | + sizeText: '大小',//Size | ||
84 | + subtitleText: '副标题',//Subtitle | ||
85 | + containerText: '容器',//Container | ||
86 | + distanceText: '距离',//Distance | ||
87 | + leftDistanceText: '左侧距离',//Left distance | ||
88 | + rightDistanceText: '右侧距离',//Right distance | ||
89 | + upperDistanceText: '上侧距离',//Upper distance | ||
90 | + lowerDistanceText: '下侧距离',//Lower distance | ||
91 | + xAxisText: 'X轴',//x-axis | ||
92 | + yAxisText: 'Y轴',//y-axis | ||
93 | + offset: '偏移量',//Offset | ||
94 | + axisText: '轴线',//Axis | ||
95 | + thicknessText: '粗细',//Thickness | ||
96 | + locationText: '位置', | ||
97 | + alignedText: '对齐零',//Aligned zero | ||
98 | + reverseText: '反向',//Reverse | ||
99 | + scaleText: '刻度',//Scale | ||
100 | + lengthText: '长度',//Length | ||
101 | + dividerText: '分割线',//Divder | ||
102 | + rangeText: '范围',//Range | ||
103 | + legend: '图例',//Legend | ||
104 | + legendText: '图例文字',//Legend text | ||
105 | + legendLocationText: '图例位置',//Legend location | ||
106 | + legendInfoText: '图例信息',//Legend information | ||
107 | + directionText: '方向',//Direction | ||
108 | + shapeText: '形状',//Shape | ||
109 | + legendSizeText: '图例大小',//Legend size | ||
110 | + visualMapText: '视觉映射',//Visual mapping | ||
111 | + levelText: '层级',//Level | ||
112 | + controlbkText: '控制块',//Control Block | ||
113 | + placeDirectionText: '放置方向',//Placement direction | ||
114 | + reversalText: '反转',//Reversal | ||
115 | + dragComponentText: '拖拽组件实时更新',//Real time updates of drag and drop components | ||
116 | + | ||
117 | + keepLeftText: "靠左",//Keep left | ||
118 | + centerText: '居中',//Center | ||
119 | + keepRightText: '靠右',//Keep right | ||
120 | + keepUpText: '靠上',//Up | ||
121 | + keepLowerText: "靠下",//Lower | ||
122 | + horizontalText: '水平',//Horizontal | ||
123 | + verticalText: '垂直',//Vertical | ||
124 | + circleText: '圆形',//Circle | ||
125 | + rectText: '方形',//Rect, | ||
126 | + roundRectTxt: '圆角方形',//Round Square | ||
127 | + triangleText: '三角形', | ||
128 | + penShapedText: '钢笔形',//Pen shaped | ||
129 | + arrowText: '箭头形',//Arrow shaped | ||
130 | + | ||
131 | + | ||
132 | + | ||
133 | + }, | ||
134 | + | ||
135 | + animation: { | ||
136 | + animationConfigText: '动画配置',//Animation configuration | ||
137 | + isEnabledAnimText: '是否开启动画',//Is animation enabled | ||
138 | + animationTimeText: '动画时间函数',//Animation time function | ||
139 | + animationDurText: '动画时长',//Animation duration | ||
140 | + animationDelayText: '动画延迟',//Animation Delay | ||
141 | + animationNumberText: '动画执行次数',//Animation execution times | ||
142 | + clearAnimationText: '清除动画',//Clear animation | ||
143 | + | ||
144 | + emphAnimationText: '强调动画',//Emphasize animation | ||
145 | + bounceText: '弹跳',//Bounce | ||
146 | + flashText: '闪烁',//Flashing | ||
147 | + zoomText: '放大缩小',//Zoom in/out | ||
148 | + zoomSpringText: '放大缩小弹簧',//Zoom in/out spring | ||
149 | + shakeText: '左右晃动',//Shake left and right | ||
150 | + swingText: '左右扇形摇摆',//Left and right fan-shaped swing | ||
151 | + zoomShakeText: '放大晃动缩小',//'Zoom in, shake out | ||
152 | + shapedText: '扇形摇摆',//Fan shaped wobble | ||
153 | + shakeDownText: '左右上下晃动',//Shake left and right up and down | ||
154 | + | ||
155 | + moveAnimationText: '移入动画',//Move into animation | ||
156 | + | ||
157 | + fadeIn: '渐显',//FadeIn | ||
158 | + fadeInLeft: '向右进入',//Enter Right | ||
159 | + fadeInRight: '向左进入',//Enter Left | ||
160 | + fadeInUp: '向上进入',//Enter Up | ||
161 | + fadeInDown: '向下进入',//Enter downwards | ||
162 | + fadeInLeftBig: '向右长距进入',//Long right entry | ||
163 | + fadeInRightBig: '向左长距进入',//Long left entry | ||
164 | + fadeInUpBig: '向上长距进入',//Enter Long Distance Up | ||
165 | + fadeInDownBig: '向下长距进入',//Enter down long distance | ||
166 | + rotateIn: '旋转进入',//rotate in | ||
167 | + rotateInDownLeft: '左顺时针旋转',//Left clockwise rotation | ||
168 | + rotateInDownRight: '右顺时针旋转',//Right clockwise rotation | ||
169 | + rotateInUpLeft: '左逆时针旋转',//Left counterclockwise rotation | ||
170 | + rotateInUpRight: '右逆时针旋转',//Right counterclockwise rotation | ||
171 | + bounceIn: '弹入',//Bounce in | ||
172 | + bounceInLeft: '向右弹入',//Pop Right | ||
173 | + bounceInRight: '向左弹入',//Pop Left | ||
174 | + bounceInUp: '向上弹入',//Pop Up | ||
175 | + bounceInDown: '向下弹入',//Pop Down | ||
176 | + lightSpeedInRight: '光速从右进入',//Light speed enters from right | ||
177 | + lightSpeedInLeft: '光速从左进入',//Light speed enters from left | ||
178 | + lightSpeedOutRight: '光速从右退出',//Light speed exits from right | ||
179 | + lightSpeedOutLeft: '光速从左退出',//Light speed exits from left | ||
180 | + flip: 'Y轴旋转',//Y-axis rotation | ||
181 | + flipInX: '中心X轴旋转',//Center X-axis rotation | ||
182 | + flipInY: '中心Y轴旋转',//Center Y-axis rotation | ||
183 | + rollIn: '左长半径旋转',//Left long radius rotation | ||
184 | + zoomIn: '由小变大进入',//Enter from small to large | ||
185 | + zoomInLeft: '左变大进入',//Enlarge left to enter | ||
186 | + zoomInRight: '右变大进入',//Enlarge right to enter | ||
187 | + zoomInUp: '向上变大进入',//Grow up to enter | ||
188 | + zoomInDown: '向下变大进入',//Grow down to enter | ||
189 | + slideInLeft: '向右滑动展开',//Slide Right to Expand | ||
190 | + slideInRight: '向左滑动展开',//Slide Left to Expand | ||
191 | + slideInUp: '向上滑动展开',//Slide Up to Expand | ||
192 | + slideInDown: '向下滑动展开',//slide down to expand | ||
193 | + }, | ||
194 | + data: { | ||
195 | + requestMethot: '请求方式',//Request method | ||
196 | + interfacemethod: '接口方式',//Interface method | ||
197 | + text: '测试',//Test | ||
198 | + defaultField: '默认赋值给 dataset 字段',//Default assignment to dataset field | ||
199 | + sendRequest: '发送请求',//Send request | ||
200 | + field: '字段',//Field | ||
201 | + mapping: '映射',//Mapping | ||
202 | + mate: '匹配',//Mate | ||
203 | + filterDefaultData: '过滤器默认处理接口返回值的「data」字段',//The filter defaults to processing the "data" field of the returned value from the interface | ||
204 | + componentNoData: '此组件无数据源',//This component has no data source | ||
205 | + general: '通用标识',//General identification | ||
206 | + dataItem: '数据项',//Data item | ||
207 | + clickDownload: '点击【下载】查看完整数据',//Click [Download] to view complete data | ||
208 | + configMethod: '请先配置请求',//Please configure the request first | ||
209 | + tag1: '当公共接口选择“实时轨迹或者获取设备经纬度历史数据”时,属性选择则选择经纬度即可(longitude,latitude)',//When selecting "real-time trajectory or obtaining device longitude and latitude historical data" for the public interface, select longitude and latitude for attribute selection (longitude, latitude) | ||
210 | + tag2: '如果是结构体属性的话,选择对应结构体属性即可,里面的经纬度,平台已经通过接口里面的过滤函数进行处理',//If it is a structural property, select the corresponding structural property. The longitude and latitude inside have been processed by the platform through the filtering function in the interface | ||
211 | + | ||
212 | + GlobalConfig: '全局公共配置',//Global public configuration | ||
213 | + preUrl: '前置 URL',//Pre URL | ||
214 | + updateInterval: '更新间隔,为 0 只会初始化',//Update interval, 0 will only initialize | ||
215 | + placeNumber: '请输入数字',//Please enter a number | ||
216 | + editConfig: '编辑配置',//Edit Configuration | ||
217 | + address: '地址',//Address | ||
218 | + requestURL: '请求方式 & URL地址',//Request Method&URL Address | ||
219 | + placeURL: '请输入URL地址',//Please enter the URL address | ||
220 | + selectMode: '选择方式',//Select mode | ||
221 | + ordinary: '普通请求',//Ordinary method | ||
222 | + SQL: 'SQL请求',//SQL request | ||
223 | + publicInterface: '公共接口',//Publice interface | ||
224 | + placePublice: "请选择公共接口",//Please select a public interface | ||
225 | + notBody: '该接口没有 Body 体',//This interface does not have a Body body | ||
226 | + serialNumber: '序号',//Serial Number | ||
227 | + insertRow: '插入行',//Insert row | ||
228 | + delRow: '删除行',//Delete row | ||
229 | + result: '结果',//Result | ||
230 | + | ||
231 | + requestConfig: '请求配置',//Request configuration | ||
232 | + way: '方式',//Way | ||
233 | + componentSpac: '组件间隔',//Component spacing | ||
234 | + globalInterval: '全局间隔(默认)',//Global interval (default) | ||
235 | + sourceAddress: '源地址',//Source address | ||
236 | + componentAddress: '组件地址', | ||
237 | + | ||
238 | + | ||
239 | + createFilter: '新增过滤器',//Create filter | ||
240 | + filterFunction: '过滤器函数编辑器',//Filter function Editor | ||
241 | + interfaceReturn: '接口返回数据(res):',//Interface return data (res): | ||
242 | + filterResults: '过滤器结果:',//Filter results | ||
243 | + rule: '规则',//Rule | ||
244 | + filterDefault: '过滤器默认处理接口返回值的「data」字段',//The filter defaults to processing the "data" field of the returned value from the interface | ||
245 | + filterErrorLog: '过滤函数错误,日志:',//Filter function error,log: | ||
246 | + isFilter: '是否删除过滤器',//Do you want to delete the filter | ||
247 | + filterErrorSave: '过滤函数错误,无法进行保存',//Filter function error, unable to save | ||
248 | + }, | ||
249 | + event: { | ||
250 | + associatedComponent: '关联组件',//Associated Components | ||
251 | + targetComponent: '选择目标组件',//Select target components | ||
252 | + triggerEvent: '触发事件',//Trigger Event | ||
253 | + binding: '绑定',//Binding | ||
254 | + doesnot: '不支持「静态组件」支持「组件」「公共APi」',//Does not support "static components" and supports "components" and "public APi" | ||
255 | + onlyComponent: '仅展示符合条件的组件',//Only display components that meet the criteria | ||
256 | + largeScreen: '大屏',//Large screen | ||
257 | + placeLarge: '请选择大屏',//Please select a large screen | ||
258 | + targetParams: '关联目标请求参数',//Associate target request parameters | ||
259 | + isModule: '是否删除此关联交互模块',//Do you want to delete this associated interaction module | ||
260 | + basicEventEditor: "基础事件编辑器",//Basic Event Editor | ||
261 | + echartsTip: '提示: ECharts 组件会拦截鼠标事件',//Tip: The ECharts component will intercept mouse events | ||
262 | + verResults: "验证结果",//Verification results | ||
263 | + errorFunction: '错误函数',//Error function | ||
264 | + errorInfo: '错误信息',//Error message | ||
265 | + stackInfo: '堆栈信息',//Stack information | ||
266 | + varDesc: '变量说明',//Variable Declaration | ||
267 | + mouse: '鼠标事件对象',//Mouse Event Object | ||
268 | + writingMethod: '编写方式同正常 JavaScript 写法',//The writing method is the same as normal JavaScript writing | ||
269 | + click: '单击',//Click | ||
270 | + double: '双击',//Double Click | ||
271 | + mouseEntry: '鼠标进入',//Mouse entry | ||
272 | + mouseRemoval: '鼠标移出',//Mouse removal | ||
273 | + eventFunctionError: '事件函数错误,无法进行保存',//Event function error, unable to save | ||
274 | + | ||
275 | + basicEventConfig: '基础事件配置',//Basic Event Configuration | ||
276 | + advancedConfig: '高级事件配置',//Advanced Event Configuration | ||
277 | + advancedEditor: '高级事件编辑器(配合源码使用)',//Advanced Event Editor (used in conjunction with source code) | ||
278 | + triggeringEvent: '触发对应生命周期事件时接收的参数',//Parameters received when triggering corresponding lifecycle events | ||
279 | + chartComponent: '图表组件实例',//Chart component instance | ||
280 | + largeScreenId: '当前大屏内所有组件的集合id 图表组件中的配置id,可以获取其他图表组件进行控制',//The set ID of all components in the current large screen is the configuration ID in the chart component, which can be obtained from other chart components for control | ||
281 | + packageCode: '以下是内置在代码环境中可用的包变量',//The following are the package variables that are built-in and available in the code environment | ||
282 | + introduceCase: '介绍案例',//Introduce case studies | ||
283 | + case: '案例',//Case | ||
284 | + paramsTooltip: '通过提供的参数可为图表增加定制化的tooltip、交互事件等等',//By providing parameters, customized tooltips, interactive events, and more can be added to the chart | ||
285 | + previous: '渲染之前',//Previous Render | ||
286 | + after: '渲染之后',//After rendering | ||
287 | + doesDomComponent: '此时组件 DOM 还未存在',//At this time, the component DOM does not yet exist | ||
288 | + alreadyDomComponent: '此时组件 DOM 已经存在',//At this point, the component DOM already exists | ||
289 | + } | ||
290 | +} |
1 | import login from './login' | 1 | import login from './login' |
2 | import project from './project' | 2 | import project from './project' |
3 | +import system from './system' | ||
4 | +import external from './external' | ||
5 | +import common from './common' | ||
6 | +import _enum from './enum' | ||
7 | +import charts from './charts/index' | ||
8 | +import information from './information/index' | ||
9 | +import list from './list/index' | ||
10 | +import component from './component/index' | ||
11 | +import business from './business' | ||
3 | 12 | ||
4 | const global = { | 13 | const global = { |
5 | doc_addr: '文档地址', | 14 | doc_addr: '文档地址', |
@@ -29,5 +38,14 @@ const global = { | @@ -29,5 +38,14 @@ const global = { | ||
29 | export default { | 38 | export default { |
30 | global, | 39 | global, |
31 | login, | 40 | login, |
32 | - project | 41 | + project, |
42 | + system, | ||
43 | + external, | ||
44 | + common, | ||
45 | + enum: _enum, | ||
46 | + charts, | ||
47 | + information, | ||
48 | + list, | ||
49 | + component, | ||
50 | + business | ||
33 | } | 51 | } |
src/i18n/zh/information/index.ts
0 → 100644
1 | +export default { | ||
2 | + paging: '分页', | ||
3 | + pageConfig: '分页配置', | ||
4 | + pageSetting: '分页设置', | ||
5 | + defaultPage: '默认页码', | ||
6 | + numberOfPage: '页数', | ||
7 | + | ||
8 | + inputBox: '输入框', | ||
9 | + inputConfig: '输入框配置', | ||
10 | + placeDefault: '若未输入,则默认值为0', | ||
11 | + | ||
12 | + image: "图片", | ||
13 | + attribute: '属性', | ||
14 | + path: '路径', | ||
15 | + fillet: '圆角', | ||
16 | + | ||
17 | + wordCloud: '词云', | ||
18 | + allowEdgeOut: '允许出边', | ||
19 | + fontRange: '字体区间(最小/最大字体)', | ||
20 | + rotaAngle: '旋转角度', | ||
21 | + | ||
22 | + customImage: '自定义图片', | ||
23 | + uploadImage: '上传图片', | ||
24 | + | ||
25 | + customCarChart: '自定义轮播图', | ||
26 | + player: '播放器', | ||
27 | + autoplay: '自动播放', | ||
28 | + intervalTime: '间隔时间', | ||
29 | + rotaDirection: '轮播方向', | ||
30 | + transition: '过渡效果', | ||
31 | + perPage: '每页数量', | ||
32 | + centerShow: '居中显示', | ||
33 | + imageStyle: '图片样式', | ||
34 | + indicator: '指示器', | ||
35 | + arrow: '箭头', | ||
36 | + dragSwitch: '拖曳切换', | ||
37 | + addedImageOk: '添加图片成功!', | ||
38 | + addedImageFail: '添加图片失败,请稍后重试!', | ||
39 | + drop: '点', | ||
40 | + line: '线', | ||
41 | + horizontal: '水平方向', | ||
42 | + vertical: '垂直方向', | ||
43 | + top: '上边', | ||
44 | + bootom: '下边', | ||
45 | + left: '左边', | ||
46 | + right: '右边', | ||
47 | + | ||
48 | + customSelect: '自定义下拉选择器', | ||
49 | + dropConfig: '下拉配置', | ||
50 | + selection: '选择项', | ||
51 | + | ||
52 | + samePageSwitch: '同一页面切换按钮', | ||
53 | + buttonConfig: '按钮配置', | ||
54 | + dashed: '虚线', | ||
55 | + transparent: '透明', | ||
56 | + border: '边框', | ||
57 | + restoreDefault: 'Restore Default', | ||
58 | + buttonText: '按钮文字', | ||
59 | + BoldText: '文字加粗', | ||
60 | + textSize: '文字大小', | ||
61 | + target: '目标', | ||
62 | + placeTarget: '请选择目标项', | ||
63 | + checkTarget: '勾选目标项,支持多个', | ||
64 | + | ||
65 | + switchmultiPage: '切换多页按钮', | ||
66 | + | ||
67 | + | ||
68 | + | ||
69 | + decorativeButton: '装饰按钮1', | ||
70 | + decorButtonConfig: '装饰按钮配置', | ||
71 | + dataSourceFont: '数据源字体', | ||
72 | + buttonBg: '按钮背景', | ||
73 | + unactivatedBg: '未激活背景', | ||
74 | + activeBg: '激活背景', | ||
75 | + popConfig: '弹窗配置', | ||
76 | + openPop: '开启弹窗', | ||
77 | + widthHeight: '宽高', | ||
78 | + width: '宽', | ||
79 | + height: '高', | ||
80 | + borderShadow: '边框阴影', | ||
81 | + bgLinearLeft: '背景线性渐变左', | ||
82 | + bgLinearRight: '背景线性渐变左', | ||
83 | + arrowColor: '箭头颜色', | ||
84 | + lineColor: '线条颜色', | ||
85 | + titleColor: '标题颜色', | ||
86 | + boldTitle: '标题加粗', | ||
87 | + titleContent: '标题内容', | ||
88 | + contentKeyTextColor: '内容键文本颜色', | ||
89 | + contentValueTextColor: '内容值文本颜色', | ||
90 | + contentKey: '内容键', | ||
91 | + contentValue: '内容值', | ||
92 | + | ||
93 | + customTree: '自定义树形控件', | ||
94 | + treeConfig: '树配置', | ||
95 | + accordion: '手风琴', | ||
96 | + selectionBox: '选择框', | ||
97 | + | ||
98 | + customWeb: '自定义远程网页', | ||
99 | + placeHttps: '请填写 https 协议的网址', | ||
100 | + | ||
101 | + customTime: '自定义时间选择器', | ||
102 | + demonstrations: '展示方式', | ||
103 | + selectBy: "选择方式", | ||
104 | + timeConfig: '时间配置', | ||
105 | + quickSelection: '快捷选择', | ||
106 | + date: '日期', | ||
107 | + staticDefault: '静态默认值', | ||
108 | + openPageUnit: '打开页面时浏览器操作系统的系统时间+偏移量(单位)', | ||
109 | + endValueOffset: '结束值动态偏移量', | ||
110 | + endValueUnit: '结束值偏移单位', | ||
111 | + dropDisplay: '下拉展示', | ||
112 | + panalDisplay: '面板展示', | ||
113 | + dateTime: '日期时间', | ||
114 | + dateRange: '日期范围', | ||
115 | + dateTimeRange: '日期时间范围', | ||
116 | + month: '月份', | ||
117 | + monthRange: '月份范围', | ||
118 | + year: '年份', | ||
119 | + yearRange: '年份范围', | ||
120 | + quarter: '季度', | ||
121 | + quarterRange: '季度范围', | ||
122 | + staticState: '静态', | ||
123 | + trends: '动态', | ||
124 | + startValueOffset: '开始值动态偏移量', | ||
125 | + dynamicOffset: '动态偏移量', | ||
126 | + startValueUnit: '开始值偏移单位', | ||
127 | + offsetUnit: '偏移单位', | ||
128 | + | ||
129 | + | ||
130 | + | ||
131 | + customLabel: '自定义标签选择器', | ||
132 | + TabConfig: '标签页配置', | ||
133 | + labbelType: '标签类型', | ||
134 | + line1: '线条', | ||
135 | + seg: '分段', | ||
136 | + | ||
137 | + customText: '自定义文字', | ||
138 | + text: '文字', | ||
139 | + link: '链接', | ||
140 | + jumpMethod: '跳转方式', | ||
141 | + jump: '跳转', | ||
142 | + fontWeight: '字体粗细', | ||
143 | + xAxisInner: 'X轴内边距', | ||
144 | + yAxisInner: 'Y轴内边距', | ||
145 | + horAlign: '水平对齐', | ||
146 | + textDirection: '文本方向', | ||
147 | + wordSpace: '字间距', | ||
148 | + leftJust: '左对齐', | ||
149 | + center: '居中', | ||
150 | + rightAlign: '右对齐', | ||
151 | + newWidow: '新开窗口', | ||
152 | + | ||
153 | + customBullet: '自定义弹幕文字', | ||
154 | + shadow: '阴影', | ||
155 | + showShadow: '展示阴影', | ||
156 | + vague: '模糊', | ||
157 | + animationSpeed: '动画速度', | ||
158 | + animationInterval: '动画间隔', | ||
159 | + | ||
160 | + customGradText: '自定义渐变文字', | ||
161 | + gradColorParams: '渐变色参数', | ||
162 | + startValue: '起始值', | ||
163 | + endValue: '结束值', | ||
164 | + offsetAngle: '偏移角度', | ||
165 | + | ||
166 | + customVideo: '自定义视频', | ||
167 | + video: '视频', | ||
168 | + loopPlay: '循环播放', | ||
169 | + | ||
170 | + multipleCameras: '多个摄像头', | ||
171 | + playerConfig: '播放器配置', | ||
172 | + enableSwitch: '开启切换', | ||
173 | + intervalDuration: '间隔时长', | ||
174 | + sourceType: '源类型', | ||
175 | + sourceAddress: '源地址', | ||
176 | + | ||
177 | + singleCamera: '单个摄像头', | ||
178 | + placeVideUrl: '请选择视频地址', | ||
179 | + custom: '自定义', | ||
180 | + platform: '平台获取', | ||
181 | + | ||
182 | + | ||
183 | + | ||
184 | + loadConfig: '加载组态', | ||
185 | + placeLoadingConfig: '请选择要加载的组态', | ||
186 | + isOpen: '是否公开', | ||
187 | + pageNumber: '页码', | ||
188 | + | ||
189 | + customEcharts: '自定义echarts组件', | ||
190 | + dataSourceConfigContent: '数据源(option配置里的内容,注意去除末尾分号)', | ||
191 | + | ||
192 | + | ||
193 | + | ||
194 | +} |
src/i18n/zh/list/index.ts
0 → 100644
1 | +export default { | ||
2 | + rollingRankingList: '滚动排名列表', | ||
3 | + tabulation: '列表', | ||
4 | + tableRow: '表行数', | ||
5 | + placeAutomatic: '请输入自动计算', | ||
6 | + rotationTime: '轮播时间(s)', | ||
7 | + placeRotaionTime: '请输入轮播时间', | ||
8 | + numberUnit: "数值单位", | ||
9 | + mainColor: '主体颜色', | ||
10 | + dataColor: '数据颜色', | ||
11 | + bottomLine: '底部线条', | ||
12 | + fontStyle: '字体样式', | ||
13 | + numberFont: '序号字体', | ||
14 | + leftDataFont: '左侧数据字体', | ||
15 | + rightDataFont: '右侧数据字体', | ||
16 | + | ||
17 | + carouselList: '轮播列表', | ||
18 | + headHeight: '表头高度', | ||
19 | + showNumber: '显示行号', | ||
20 | + config: '配置', | ||
21 | + headerData: '表头数据', | ||
22 | + headerDataSplit: "表头数据(英文', '分割)", | ||
23 | + columnAlignment: '列对齐方式', | ||
24 | + columnAlignmentSplit: "对齐方式(英文','分割)", | ||
25 | + columnWidth: '列宽度', | ||
26 | + columnWidthSplit: "列宽度(英文','分割)", | ||
27 | + rotationMethod: '轮播方式', | ||
28 | + singleCarousel: '单条轮播', | ||
29 | + fullPageRotation: '整页轮播', | ||
30 | + headerFont: '表头字体', | ||
31 | + contentFont: '内容字体', | ||
32 | + headerBg: '表头背景色', | ||
33 | + oddRowColor: '奇数行背景色', | ||
34 | + evenRowColor: '偶数行背景色', | ||
35 | + | ||
36 | + basicPageTable: '基础分页表格', | ||
37 | + tableSetting: '表格设置', | ||
38 | + noConfig: '若配置无响应,请在预览页面查看效果', | ||
39 | + align: '对齐方式', | ||
40 | + left: '靠左', | ||
41 | + center: '居中', | ||
42 | + right: '靠右', | ||
43 | + pagingSetting: '分页设置', | ||
44 | + defaultPageNumber: '默认页码', | ||
45 | + tableData: '表格数据', | ||
46 | + headerName: '表头名称', | ||
47 | + tableStyle: '表格样式', | ||
48 | + showBorder: '显示边框', | ||
49 | + bottomBorder: '底部边框', | ||
50 | + columnDividerLine: '列分割线', | ||
51 | + lineDivider: '行分割线', | ||
52 | + zebraStripes: '斑马条纹', | ||
53 | + borderWidth: '边框宽度', | ||
54 | + borderStyle: '边框样式', | ||
55 | + tableSearch: '表格搜索(前端静态搜索)', | ||
56 | + solidBorder: '实线边框', | ||
57 | + dashedBorder: '虚线边框', | ||
58 | + dotBorder: '点状边框', | ||
59 | + doubleBorder: '双线边框', | ||
60 | + devicelatestData: '设备最新数据轮播列表', | ||
61 | + pagingTable:'分页表格(适合告警或者设备列表)', | ||
62 | +} |
src/i18n/zh/system.ts
0 → 100644
1 | +export default { | ||
2 | + systemSettingText:'系统设置', | ||
3 | + menuCollText:'菜单折叠',//Menu collapse | ||
4 | + menuDesc:'首页菜单折叠时隐藏至界面外',//Hide the homepage menu outside the interface when folding | ||
5 | + hideClassText:'隐藏分类',//Hide classification | ||
6 | + hideDesc:'工作空间表单分类只有单项时隐藏',//Hide when workspace form classification only has single items | ||
7 | + switchLanguageText:'切换语言',//Switch language | ||
8 | + languageDesc:'切换语言重新加载页面',//Switching languages to reload pages | ||
9 | + languageTip:'若遇到部分区域语言切换失败,则建议开启',//If language switching in some regions fails, it is recommended to enable it | ||
10 | + hideToolbarText:'隐藏工具栏',//Hide the toolbar | ||
11 | + toolbarDesc:'鼠标移入时,会展示切换到展开模式',//When the mouse is moved in, it will display switching to flat mode | ||
12 | + showToolbarText:'工具栏展示',//Toolbar display | ||
13 | + showToolbarDesc:'工作空间工具栏展示方式',//How to display the workspace toolbar | ||
14 | + asideText:'侧边栏',//sidebar | ||
15 | + dockText:'底部 Dock',//Bottom Dock | ||
16 | + movingText:'移动距离',//Moving distance | ||
17 | + movingDesc:'工作空间方向键控制移动距离',//Workplace directional keys control movement distance | ||
18 | + adsorptionText:'吸附距离',//Adsorption distance | ||
19 | + adsorptionDesc:'工作空间移动图表时的吸附距离',//The adsorption distance when moving the workspace chart | ||
20 | +} |
1 | <template> | 1 | <template> |
2 | <!-- Echarts 全局设置 --> | 2 | <!-- Echarts 全局设置 --> |
3 | <global-setting :optionData="optionData"></global-setting> | 3 | <global-setting :optionData="optionData"></global-setting> |
4 | - <CollapseItem v-for="(item, index) in seriesList" :key="index" :name="`柱状图-${index + 1}`" :expanded="true"> | ||
5 | - <SettingItemBox name="图形"> | ||
6 | - <SettingItem name="宽度"> | 4 | + <CollapseItem v-for="(item, index) in seriesList" :key="index" :name="`${t('charts.chart.histogramText')}-${index + 1}`" :expanded="true"> |
5 | + <SettingItemBox :name="t('charts.chart.graphicalText')"> | ||
6 | + <SettingItem :name="t('common.widthText')"> | ||
7 | <n-input-number | 7 | <n-input-number |
8 | v-model:value="item.barWidth" | 8 | v-model:value="item.barWidth" |
9 | :min="1" | 9 | :min="1" |
10 | :max="100" | 10 | :max="100" |
11 | size="small" | 11 | size="small" |
12 | - placeholder="自动计算" | 12 | + :name="t('common.autoCalcText')" |
13 | ></n-input-number> | 13 | ></n-input-number> |
14 | </SettingItem> | 14 | </SettingItem> |
15 | - <SettingItem name="圆角"> | 15 | + <SettingItem :name="t('charts.chart.filletText')"> |
16 | <n-input-number v-model:value="item.itemStyle.borderRadius" :min="0" size="small"></n-input-number> | 16 | <n-input-number v-model:value="item.itemStyle.borderRadius" :min="0" size="small"></n-input-number> |
17 | </SettingItem> | 17 | </SettingItem> |
18 | </SettingItemBox> | 18 | </SettingItemBox> |
19 | - <setting-item-box name="标签"> | 19 | + <setting-item-box :name="t('common.labelText')"> |
20 | <setting-item> | 20 | <setting-item> |
21 | <n-space> | 21 | <n-space> |
22 | <n-switch v-model:value="item.label.show" size="small" /> | 22 | <n-switch v-model:value="item.label.show" size="small" /> |
23 | - <n-text>展示标签</n-text> | 23 | + <n-text>{{t('charts.chart.displayTagsText')}}</n-text> |
24 | </n-space> | 24 | </n-space> |
25 | </setting-item> | 25 | </setting-item> |
26 | - <setting-item name="大小"> | 26 | + <setting-item :name="t('charts.chart.sizeText')"> |
27 | <n-input-number v-model:value="item.label.fontSize" size="small" :min="1"></n-input-number> | 27 | <n-input-number v-model:value="item.label.fontSize" size="small" :min="1"></n-input-number> |
28 | </setting-item> | 28 | </setting-item> |
29 | - <setting-item name="颜色"> | 29 | + <setting-item :name="t('common.colorText')"> |
30 | <n-color-picker size="small" :modes="['hex']" v-model:value="item.label.color"></n-color-picker> | 30 | <n-color-picker size="small" :modes="['hex']" v-model:value="item.label.color"></n-color-picker> |
31 | </setting-item> | 31 | </setting-item> |
32 | - <setting-item name="位置"> | 32 | + <setting-item :name="t('common.positionText')"> |
33 | <n-select | 33 | <n-select |
34 | v-model:value="item.label.position" | 34 | v-model:value="item.label.position" |
35 | :options="[ | 35 | :options="[ |
@@ -56,6 +56,8 @@ const props = defineProps({ | @@ -56,6 +56,8 @@ const props = defineProps({ | ||
56 | } | 56 | } |
57 | }) | 57 | }) |
58 | 58 | ||
59 | +const t = window['$t'] | ||
60 | + | ||
59 | const seriesList = computed(() => { | 61 | const seriesList = computed(() => { |
60 | return props.optionData.series | 62 | return props.optionData.series |
61 | }) | 63 | }) |
1 | <template> | 1 | <template> |
2 | <!-- Echarts 全局设置 --> | 2 | <!-- Echarts 全局设置 --> |
3 | <global-setting :optionData="optionData"></global-setting> | 3 | <global-setting :optionData="optionData"></global-setting> |
4 | - <CollapseItem v-for="(item, index) in seriesList" :key="index" :name="`柱状图-${index+1}`" :expanded="true"> | ||
5 | - <SettingItemBox name="图形"> | ||
6 | - <SettingItem name="宽度"> | 4 | + <CollapseItem v-for="(item, index) in seriesList" :key="index" :name="`${t('charts.chart.histogramText')}-${index+1}`" :expanded="true"> |
5 | + <SettingItemBox :name="t('charts.chart.graphicalText')"> | ||
6 | + <SettingItem :name="t('common.widthText')"> | ||
7 | <n-input-number | 7 | <n-input-number |
8 | v-model:value="item.barWidth" | 8 | v-model:value="item.barWidth" |
9 | :min="1" | 9 | :min="1" |
10 | :max="100" | 10 | :max="100" |
11 | size="small" | 11 | size="small" |
12 | - placeholder="自动计算" | 12 | + :name="t('common.autoCalcText')" |
13 | ></n-input-number> | 13 | ></n-input-number> |
14 | </SettingItem> | 14 | </SettingItem> |
15 | - <SettingItem name="圆角"> | 15 | + <SettingItem :name="t('charts.chart.filletText')"> |
16 | <n-input-number | 16 | <n-input-number |
17 | v-model:value="item.itemStyle.borderRadius" | 17 | v-model:value="item.itemStyle.borderRadius" |
18 | :min="0" | 18 | :min="0" |
@@ -20,28 +20,28 @@ | @@ -20,28 +20,28 @@ | ||
20 | ></n-input-number> | 20 | ></n-input-number> |
21 | </SettingItem> | 21 | </SettingItem> |
22 | </SettingItemBox> | 22 | </SettingItemBox> |
23 | - <setting-item-box name="标签"> | 23 | + <setting-item-box :name="t('common.labelText')"> |
24 | <setting-item> | 24 | <setting-item> |
25 | <n-space> | 25 | <n-space> |
26 | <n-switch v-model:value="item.label.show" size="small" /> | 26 | <n-switch v-model:value="item.label.show" size="small" /> |
27 | - <n-text>展示标签</n-text> | 27 | + <n-text>{{t('charts.chart.displayTagsText')}}</n-text> |
28 | </n-space> | 28 | </n-space> |
29 | </setting-item> | 29 | </setting-item> |
30 | - <setting-item name="大小"> | 30 | + <setting-item :name="t('charts.chart.sizeText')"> |
31 | <n-input-number | 31 | <n-input-number |
32 | v-model:value="item.label.fontSize" | 32 | v-model:value="item.label.fontSize" |
33 | size="small" | 33 | size="small" |
34 | :min="1" | 34 | :min="1" |
35 | ></n-input-number> | 35 | ></n-input-number> |
36 | </setting-item> | 36 | </setting-item> |
37 | - <setting-item name="颜色"> | 37 | + <setting-item :name="t('common.colorText')"> |
38 | <n-color-picker | 38 | <n-color-picker |
39 | size="small" | 39 | size="small" |
40 | :modes="['hex']" | 40 | :modes="['hex']" |
41 | v-model:value="item.label.color" | 41 | v-model:value="item.label.color" |
42 | ></n-color-picker> | 42 | ></n-color-picker> |
43 | </setting-item> | 43 | </setting-item> |
44 | - <setting-item name="位置"> | 44 | + <setting-item :name="t('common.positionText')"> |
45 | <n-select | 45 | <n-select |
46 | v-model:value="item.label.position" | 46 | v-model:value="item.label.position" |
47 | :options="[ | 47 | :options="[ |
@@ -69,6 +69,8 @@ const props = defineProps({ | @@ -69,6 +69,8 @@ const props = defineProps({ | ||
69 | } | 69 | } |
70 | }) | 70 | }) |
71 | 71 | ||
72 | +const t = window['$t'] | ||
73 | + | ||
72 | const seriesList = computed(() => { | 74 | const seriesList = computed(() => { |
73 | return props.optionData.series | 75 | return props.optionData.series |
74 | }) | 76 | }) |
@@ -5,7 +5,7 @@ export const BarCrossrangeConfig: ConfigType = { | @@ -5,7 +5,7 @@ export const BarCrossrangeConfig: ConfigType = { | ||
5 | key: 'BarCrossrange', | 5 | key: 'BarCrossrange', |
6 | chartKey: 'VBarCrossrange', | 6 | chartKey: 'VBarCrossrange', |
7 | conKey: 'VCBarCrossrange', | 7 | conKey: 'VCBarCrossrange', |
8 | - title: '横向柱状图', | 8 | + title: 'charts.chart.hisBarChart', |
9 | category: ChatCategoryEnum.BAR, | 9 | category: ChatCategoryEnum.BAR, |
10 | categoryName: ChatCategoryEnumName.BAR, | 10 | categoryName: ChatCategoryEnumName.BAR, |
11 | package: PackagesCategoryEnum.CHARTS, | 11 | package: PackagesCategoryEnum.CHARTS, |