refactor: 国际化等变更

This commit is contained in:
wangjiahao 2025-01-20 18:50:46 +08:00 committed by 王嘉豪
parent f8fa564c4f
commit 3ef7b3da94
4 changed files with 8 additions and 6 deletions

View File

@ -2809,8 +2809,8 @@ Scatter chart (bubble) chart: {a} (series name), {b} (data name), {c} (value arr
}, },
visualization: { visualization: {
dashboard_adaptor: 'Zoom Mode', dashboard_adaptor: 'Zoom Mode',
scale_keep_height_and_width: 'Default Aspect Ratio', scale_keep_height_and_width: 'Canvas Ratio',
scale_with_width: 'Actual Aspect Ratio', scale_with_width: 'Component Ratio',
multi_selected: '{0} components selected', multi_selected: '{0} components selected',
number1: '1', number1: '1',
number2: '2', number2: '2',

View File

@ -2737,8 +2737,8 @@ export default {
}, },
visualization: { visualization: {
dashboard_adaptor: '縮放模式', dashboard_adaptor: '縮放模式',
scale_keep_height_and_width: '預設寬高比例縮放', scale_keep_height_and_width: '畫布比例縮放',
scale_with_width: '照實際寬高比例縮放', scale_with_width: '元件比例縮放',
multi_selected: '已選{0}', multi_selected: '已選{0}',
number1: '一', number1: '一',
number2: '二', number2: '二',

View File

@ -2739,8 +2739,8 @@ export default {
}, },
visualization: { visualization: {
dashboard_adaptor: '缩放模式', dashboard_adaptor: '缩放模式',
scale_keep_height_and_width: '默认宽高比例缩放', scale_keep_height_and_width: '画布比例缩放',
scale_with_width: '照实际宽高比例缩放', scale_with_width: '组件比例缩放',
multi_selected: '已选{0}', multi_selected: '已选{0}',
number1: '一', number1: '一',
number2: '二', number2: '二',

View File

@ -920,6 +920,8 @@ const vClickOutside = {
} }
function onTitleChange() { function onTitleChange() {
element.value.name = view.value.title
element.value.label = view.value.title
snapshotStore.recordSnapshotCache('onTitleChange') snapshotStore.recordSnapshotCache('onTitleChange')
} }