Merge pull request #13929 from dataease/pr@dev-v2@chart-chart-type-view-i18n

style(图表): 国际化(图表类型弹框)
This commit is contained in:
jianneng-fit2cloud 2024-12-10 11:03:13 +08:00 committed by GitHub
commit 98fd272aff
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
23 changed files with 45 additions and 24 deletions

File diff suppressed because one or more lines are too long

Before

Width:  |  Height:  |  Size: 61 KiB

After

Width:  |  Height:  |  Size: 60 KiB

File diff suppressed because one or more lines are too long

Before

Width:  |  Height:  |  Size: 62 KiB

After

Width:  |  Height:  |  Size: 62 KiB

File diff suppressed because one or more lines are too long

Before

Width:  |  Height:  |  Size: 61 KiB

After

Width:  |  Height:  |  Size: 61 KiB

File diff suppressed because one or more lines are too long

Before

Width:  |  Height:  |  Size: 62 KiB

After

Width:  |  Height:  |  Size: 62 KiB

File diff suppressed because one or more lines are too long

Before

Width:  |  Height:  |  Size: 64 KiB

After

Width:  |  Height:  |  Size: 64 KiB

File diff suppressed because one or more lines are too long

Before

Width:  |  Height:  |  Size: 62 KiB

After

Width:  |  Height:  |  Size: 62 KiB

File diff suppressed because one or more lines are too long

Before

Width:  |  Height:  |  Size: 62 KiB

After

Width:  |  Height:  |  Size: 62 KiB

File diff suppressed because one or more lines are too long

Before

Width:  |  Height:  |  Size: 64 KiB

After

Width:  |  Height:  |  Size: 64 KiB

File diff suppressed because one or more lines are too long

Before

Width:  |  Height:  |  Size: 62 KiB

After

Width:  |  Height:  |  Size: 62 KiB

File diff suppressed because one or more lines are too long

Before

Width:  |  Height:  |  Size: 147 KiB

After

Width:  |  Height:  |  Size: 147 KiB

File diff suppressed because one or more lines are too long

Before

Width:  |  Height:  |  Size: 97 KiB

After

Width:  |  Height:  |  Size: 97 KiB

File diff suppressed because one or more lines are too long

Before

Width:  |  Height:  |  Size: 147 KiB

After

Width:  |  Height:  |  Size: 147 KiB

File diff suppressed because one or more lines are too long

Before

Width:  |  Height:  |  Size: 63 KiB

After

Width:  |  Height:  |  Size: 63 KiB

File diff suppressed because one or more lines are too long

Before

Width:  |  Height:  |  Size: 65 KiB

After

Width:  |  Height:  |  Size: 65 KiB

File diff suppressed because one or more lines are too long

Before

Width:  |  Height:  |  Size: 63 KiB

After

Width:  |  Height:  |  Size: 63 KiB

View File

@ -84,6 +84,7 @@ const groupActiveChange = category => {
class="item-top"
draggable="true"
:data-id="groupInfo.category + '&' + chartInfo.value"
:title="chartInfo.title"
>
<Icon
v-if="['outer_svg', 'graphical'].includes(chartInfo.type)"
@ -179,6 +180,10 @@ const groupActiveChange = category => {
color: #a6a6a6;
font-size: 12px;
text-align: center;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
width: 88px;
}
}

View File

@ -138,6 +138,7 @@ const loadPluginCategory = data => {
class="item-top"
draggable="true"
:data-id="'UserView&' + chartInfo.value"
:title="chartInfo.title"
>
<Icon
class-name="item-top-icon"
@ -290,6 +291,10 @@ const loadPluginCategory = data => {
font-size: 12px;
text-align: center;
margin-top: 4px;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
width: 88px;
}
}

View File

@ -1676,13 +1676,13 @@ export default {
font_family: 'font',
letter_space: 'letter spacing',
font_shadow: 'font shadow',
chart_area: 'area chart',
chart_area: 'Area chart',
fix: 'fixed value',
dynamic: 'dynamic value',
gauge_size_field_delete: 'field in dynamic value has changed, please re-edit',
chart_group: 'subcategory',
chart_bar_group: 'grouped bar chart',
chart_bar_group_stack: 'grouped stacked bar chart',
chart_bar_group: 'Grouped bar chart',
chart_bar_group_stack: 'Grouped stacked bar chart',
field_dynamic: 'dynamic value',
aggregation: 'aggregation method',
filter_between: 'between',
@ -1862,7 +1862,9 @@ Scatter chart (bubble) chart: {a} (series name), {b} (data name), {c} (value arr
export_excel: 'Excel',
export_excel_formatter: 'Excel(with Formatting)',
export_raw_details: 'Raw Details',
field_is_empty_export_error: 'No fields available, unable to export'
field_is_empty_export_error: 'No fields available, unable to export',
chart_symbolic_map: 'Symbolic map',
chart_stock_line: 'K line'
},
dataset: {
scope_edit: 'only effective when editing',

View File

@ -1822,7 +1822,9 @@ export default {
export_excel: '導出Excel',
export_excel_formatter: '導出Excel(帶格式)',
export_raw_details: '導出原始明細',
field_is_empty_export_error: '目前無欄位無法匯出'
field_is_empty_export_error: '目前無欄位無法匯出',
chart_symbolic_map: '符號地圖',
chart_stock_line: 'K 線圖'
},
dataset: {
scope_edit: '僅編輯時生效',

View File

@ -1824,7 +1824,9 @@ export default {
export_excel: '导出Excel',
export_excel_formatter: '导出Excel(带格式)',
export_raw_details: '导出原始明细',
field_is_empty_export_error: '当前无字段无法导出'
field_is_empty_export_error: '当前无字段无法导出',
chart_symbolic_map: '符号地图',
chart_stock_line: 'K 线图'
},
dataset: {
scope_edit: '仅编辑时生效',

View File

@ -95,6 +95,7 @@ const groupActiveChange = category => {
class="item-top"
:class="props.type === chartInfo.value ? 'item-active' : ''"
:data-id="'UserView&' + chartInfo.value"
:title="chartInfo.title"
>
<Icon
class-name="item-top-icon"
@ -232,6 +233,10 @@ const groupActiveChange = category => {
color: #a6a6a6;
font-size: 12px;
text-align: center;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
width: 88px;
}
}

View File

@ -1361,7 +1361,7 @@ export const CHART_TYPE_CONFIGS = [
render: 'antv',
category: 'trend',
value: 'stock-line',
title: 'K 线图',
title: t('chart.chart_stock_line'),
icon: 'stock-line'
}
]
@ -1459,7 +1459,7 @@ export const CHART_TYPE_CONFIGS = [
render: 'antv',
category: 'map',
value: 'symbolic-map',
title: '符号地图',
title: t('chart.chart_symbolic_map'),
icon: 'symbolic-map'
}
]

@ -1 +1 @@
Subproject commit 41dd10e730d40da5b83f1b7c782ec20c2ff1793a
Subproject commit 2f08e32ac4d9457bda077a210a939b7f0e2cd1e3