{
const viewDataInfo = dvMainStore.getViewDataDetails(viewInfo.value.id)
const viewInfoSource = dvMainStore.getViewDetails(viewInfo.value.id)
if (!viewDataInfo) {
- ElMessage.error('当前无字段,无法导出')
+ ElMessage.error(t('chart.field_is_empty_export_error'))
return
}
const chartExtRequest = dvMainStore.getLastViewRequestInfo(viewInfo.value.id)
@@ -366,7 +366,7 @@ const openMessageLoading = cb => {
const customClass = `de-message-loading de-message-export`
ElMessage({
message: h('p', null, [
- '后台导出中,可前往',
+ t('data_fill.exporting'),
h(
ElButton,
{
@@ -379,7 +379,7 @@ const openMessageLoading = cb => {
},
t('data_export.export_center')
),
- '查看进度,进行下载'
+ t('data_fill.progress_to_download')
]),
iconClass,
icon: h(RefreshLeft),
diff --git a/core/core-frontend/src/locales/en.ts b/core/core-frontend/src/locales/en.ts
index 7b69c701ed..8c8fc2511e 100644
--- a/core/core-frontend/src/locales/en.ts
+++ b/core/core-frontend/src/locales/en.ts
@@ -1858,7 +1858,11 @@ Scatter chart (bubble) chart: {a} (series name), {b} (data name), {c} (value arr
font_family_hei_ti: 'SimHei',
gauge_condition_style_tips: `Condition style settings, determine dashboard interval colors, leave blank to disable thresholds, range (0-100), incremental levels
Example: input 30,70; this means: divided into 3 segments, namely [0,30], (30,70], (70,100]`,
light_theme: 'Light Theme',
- dark_theme: 'Dark Theme'
+ dark_theme: 'Dark Theme',
+ 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'
},
dataset: {
scope_edit: 'only effective when editing',
diff --git a/core/core-frontend/src/locales/tw.ts b/core/core-frontend/src/locales/tw.ts
index 02366c3fdc..4367534736 100644
--- a/core/core-frontend/src/locales/tw.ts
+++ b/core/core-frontend/src/locales/tw.ts
@@ -1818,7 +1818,11 @@ export default {
font_family_hei_ti: '黑體',
gauge_condition_style_tips: `條件樣式設定,決定儀表板區間顏色,為空則不啟用閾值,範圍(0-100),逐級遞增
例如:輸入 30,70;表示:分為3段,分別為[0,30],(30,70],(70,100]`,
light_theme: '浅色主題',
- dark_theme: '暗色主題'
+ dark_theme: '暗色主題',
+ export_excel: '導出Excel',
+ export_excel_formatter: '導出Excel(帶格式)',
+ export_raw_details: '導出原始明細',
+ field_is_empty_export_error: '目前無欄位,無法匯出'
},
dataset: {
scope_edit: '僅編輯時生效',
diff --git a/core/core-frontend/src/locales/zh-CN.ts b/core/core-frontend/src/locales/zh-CN.ts
index 5b7ab64779..cacd7ee4e2 100644
--- a/core/core-frontend/src/locales/zh-CN.ts
+++ b/core/core-frontend/src/locales/zh-CN.ts
@@ -1820,7 +1820,11 @@ export default {
font_family_hei_ti: '黑体',
gauge_condition_style_tips: `条件样式设置,决定仪表盘区间颜色,为空则不开启阈值,范围(0-100),逐级递增
例如:输入 30,70;表示:分为3段,分别为[0,30],(30,70],(70,100]`,
light_theme: '浅色主题',
- dark_theme: '深色主题'
+ dark_theme: '深色主题',
+ export_excel: '导出Excel',
+ export_excel_formatter: '导出Excel(带格式)',
+ export_raw_details: '导出原始明细',
+ field_is_empty_export_error: '当前无字段,无法导出'
},
dataset: {
scope_edit: '仅编辑时生效',