From 738c87b81938055a0aae35a948f1c48772a6c7a0 Mon Sep 17 00:00:00 2001
From: wangjiahao <1522128093@qq.com>
Date: Fri, 25 Nov 2022 18:37:33 +0800
Subject: [PATCH] =?UTF-8?q?refactor(=E4=BB=AA=E8=A1=A8=E6=9D=BF):=20?=
=?UTF-8?q?=E4=BB=AA=E8=A1=A8=E6=9D=BF=E7=BB=84=E4=BB=B6=E4=BD=8D=E7=BD=AE?=
=?UTF-8?q?=E8=B0=83=E6=95=B4=E4=BC=98=E5=8C=96?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.../canvas/components/editor/SettingMenu.vue | 10 +--
frontend/src/lang/en.js | 1 +
frontend/src/lang/tw.js | 1 +
frontend/src/lang/zh.js | 1 +
frontend/src/views/chart/view/ChartEdit.vue | 74 +++++++++++--------
5 files changed, 52 insertions(+), 35 deletions(-)
diff --git a/frontend/src/components/canvas/components/editor/SettingMenu.vue b/frontend/src/components/canvas/components/editor/SettingMenu.vue
index c1c1ac35bd..038d2ea8e9 100644
--- a/frontend/src/components/canvas/components/editor/SettingMenu.vue
+++ b/frontend/src/components/canvas/components/editor/SettingMenu.vue
@@ -5,7 +5,7 @@
trigger="click"
@mouseup="handleMouseUp"
>
-
+
- {{ $t('panel.level') }}
+ {{ $t('panel.level') }}
-
+
{{ $t('panel.hyperlinks') }}
-
+
{{ $t('panel.position_adjust') }}
diff --git a/frontend/src/lang/en.js b/frontend/src/lang/en.js
index 76152bc1ab..ded6766bf5 100644
--- a/frontend/src/lang/en.js
+++ b/frontend/src/lang/en.js
@@ -1883,6 +1883,7 @@ export default {
back_parent: 'Back to previous'
},
panel: {
+ position_adjust_component: 'Position adjust',
active_font_size: 'Active font size',
carousel: 'Carousel',
switch_time: 'Switch time',
diff --git a/frontend/src/lang/tw.js b/frontend/src/lang/tw.js
index 009ea1ba5d..f5c2cfac92 100644
--- a/frontend/src/lang/tw.js
+++ b/frontend/src/lang/tw.js
@@ -1883,6 +1883,7 @@ export default {
back_parent: '返回上一級'
},
panel: {
+ position_adjust_component: '位置調整',
active_font_size: '激活字體大小',
carousel: '輪播',
switch_time: '切換時間',
diff --git a/frontend/src/lang/zh.js b/frontend/src/lang/zh.js
index 7acc7b7a0b..3e9f6fa760 100644
--- a/frontend/src/lang/zh.js
+++ b/frontend/src/lang/zh.js
@@ -1883,6 +1883,7 @@ export default {
back_parent: '返回上一级'
},
panel: {
+ position_adjust_component: '位置调整',
active_font_size: '激活字体大小',
carousel: '轮播',
switch_time: '切换时间',
diff --git a/frontend/src/views/chart/view/ChartEdit.vue b/frontend/src/views/chart/view/ChartEdit.vue
index 9b0b7ff39e..3ec4fe64b3 100644
--- a/frontend/src/views/chart/view/ChartEdit.vue
+++ b/frontend/src/views/chart/view/ChartEdit.vue
@@ -192,7 +192,7 @@
@command="chartFieldEdit"
>
-
+
-
+
{{ $t('chart.change_chart_type') }}
-
+
@@ -490,8 +490,8 @@
>
{{
- $t('chart.drag_block_table_data_column')
- }}
+ $t('chart.drag_block_table_data_column')
+ }}
{{ $t('chart.drag_block_type_axis') }}
@@ -499,18 +499,18 @@
v-else-if="view.type && view.type.includes('pie')"
>{{ $t('chart.drag_block_pie_label') }}
{{
- $t('chart.drag_block_funnel_split')
- }}
+ $t('chart.drag_block_funnel_split')
+ }}
{{
- $t('chart.drag_block_radar_label')
- }}
+ $t('chart.drag_block_radar_label')
+ }}
{{ $t('chart.area') }}
{{
- $t('chart.drag_block_treemap_label')
- }}
+ $t('chart.drag_block_treemap_label')
+ }}
{{
- $t('chart.drag_block_word_cloud_label')
- }}
+ $t('chart.drag_block_word_cloud_label')
+ }}
{{ $t('chart.drag_block_label') }}
/
{{ $t('chart.dimension') }}
@@ -633,8 +633,8 @@
>
{{
- $t('chart.drag_block_table_data_column')
- }}
+ $t('chart.drag_block_table_data_column')
+ }}
{{ $t('chart.drag_block_value_axis') }}
@@ -642,30 +642,30 @@
v-else-if="view.type && view.type.includes('pie')"
>{{ $t('chart.drag_block_pie_angel') }}
{{
- $t('chart.drag_block_funnel_width')
- }}
+ $t('chart.drag_block_funnel_width')
+ }}
{{
- $t('chart.drag_block_radar_length')
- }}
+ $t('chart.drag_block_radar_length')
+ }}
{{
- $t('chart.drag_block_gauge_angel')
- }}
+ $t('chart.drag_block_gauge_angel')
+ }}
{{ $t('chart.drag_block_label_value') }}
{{ $t('chart.chart_data') }}
{{
- $t('chart.drag_block_treemap_size')
- }}
+ $t('chart.drag_block_treemap_size')
+ }}
{{
- $t('chart.drag_block_value_axis_main')
- }}
+ $t('chart.drag_block_value_axis_main')
+ }}
{{ $t('chart.drag_block_progress') }}
{{
- $t('chart.drag_block_word_cloud_size')
- }}
+ $t('chart.drag_block_word_cloud_size')
+ }}
/
{{ $t('chart.quota') }}
-
+
+
@@ -1268,7 +1281,7 @@
width="800px"
class="dialog-css"
>
-
+