diff --git a/core/core-frontend/src/locales/en.ts b/core/core-frontend/src/locales/en.ts index f0542879ac..8623868512 100644 --- a/core/core-frontend/src/locales/en.ts +++ b/core/core-frontend/src/locales/en.ts @@ -2809,8 +2809,8 @@ Scatter chart (bubble) chart: {a} (series name), {b} (data name), {c} (value arr }, visualization: { dashboard_adaptor: 'Zoom Mode', - scale_keep_height_and_width: 'Default Aspect Ratio', - scale_with_width: 'Actual Aspect Ratio', + scale_keep_height_and_width: 'Canvas Ratio', + scale_with_width: 'Component Ratio', multi_selected: '{0} components selected', number1: '1', number2: '2', diff --git a/core/core-frontend/src/locales/tw.ts b/core/core-frontend/src/locales/tw.ts index fa169ee2da..cc6776e589 100644 --- a/core/core-frontend/src/locales/tw.ts +++ b/core/core-frontend/src/locales/tw.ts @@ -2737,8 +2737,8 @@ export default { }, visualization: { dashboard_adaptor: '縮放模式', - scale_keep_height_and_width: '按預設寬高比例縮放', - scale_with_width: '按照實際寬高比例縮放', + scale_keep_height_and_width: '按畫布比例縮放', + scale_with_width: '按元件比例縮放', multi_selected: '已選{0}項', number1: '一', number2: '二', diff --git a/core/core-frontend/src/locales/zh-CN.ts b/core/core-frontend/src/locales/zh-CN.ts index b4344616bc..74ed6b0dc7 100644 --- a/core/core-frontend/src/locales/zh-CN.ts +++ b/core/core-frontend/src/locales/zh-CN.ts @@ -2739,8 +2739,8 @@ export default { }, visualization: { dashboard_adaptor: '缩放模式', - scale_keep_height_and_width: '按默认宽高比例缩放', - scale_with_width: '按照实际宽高比例缩放', + scale_keep_height_and_width: '按画布比例缩放', + scale_with_width: '按组件比例缩放', multi_selected: '已选{0}项', number1: '一', number2: '二', diff --git a/core/core-frontend/src/views/chart/components/views/index.vue b/core/core-frontend/src/views/chart/components/views/index.vue index 7afe0fce96..281695e05f 100644 --- a/core/core-frontend/src/views/chart/components/views/index.vue +++ b/core/core-frontend/src/views/chart/components/views/index.vue @@ -920,6 +920,8 @@ const vClickOutside = { } function onTitleChange() { + element.value.name = view.value.title + element.value.label = view.value.title snapshotStore.recordSnapshotCache('onTitleChange') }