mirror of
https://github.com/dataease/dataease.git
synced 2025-02-25 03:52:59 +08:00
refactor: 国际化调整
This commit is contained in:
parent
b89425404e
commit
2ede1c7f9f
@ -25,7 +25,7 @@
|
||||
<div class="bar-content">
|
||||
<div class="bar-diver" />
|
||||
<div v-show="fromLink" class="link-icon-active">
|
||||
<el-tooltip content="返回上一级">
|
||||
<el-tooltip :content="t('visualization.back_parent')">
|
||||
<el-icon style="width: 16px; height: 16px" @click="back2Last">
|
||||
<Icon name="icon_left_outlined">
|
||||
<icon_left_outlined class="svg-icon" />
|
||||
@ -34,7 +34,7 @@
|
||||
</el-tooltip>
|
||||
</div>
|
||||
<div class="link-icon-active">
|
||||
<el-tooltip content="导出PDF">
|
||||
<el-tooltip :content="t('visualization.export_pdf')">
|
||||
<el-icon style="width: 16px; height: 16px" @click="exportPDF">
|
||||
<Icon name="icon_download_outlined">
|
||||
<icon_download_outlined class="svg-icon" />
|
||||
@ -43,7 +43,11 @@
|
||||
</el-tooltip>
|
||||
</div>
|
||||
<div id="fullscreenElement" class="link-icon-active" style="padding-right: 4px">
|
||||
<el-tooltip :content="fullscreenFlag ? '退出全屏' : '全屏'">
|
||||
<el-tooltip
|
||||
:content="
|
||||
fullscreenFlag ? t('visualization.ext_fullscreen') : t('visualization.fullscreen')
|
||||
"
|
||||
>
|
||||
<el-icon style="width: 16px; height: 16px" @click="toggleFullscreen">
|
||||
<Icon name="icon_minify_outlined" v-if="fullscreenFlag">
|
||||
<icon_minify_outlined class="svg-icon" />
|
||||
@ -72,6 +76,7 @@ import icon_magnify_outlined from '@/assets/svg/icon_magnify_outlined.svg'
|
||||
import { useEmitt } from '@/hooks/web/useEmitt'
|
||||
import { dvMainStoreWithOut } from '@/store/modules/data-visualization/dvMain'
|
||||
import { storeToRefs } from 'pinia'
|
||||
import { useI18n } from '@/hooks/web/useI18n'
|
||||
const dvMainStore = dvMainStoreWithOut()
|
||||
const props = defineProps({
|
||||
canvasStyleData: {
|
||||
@ -82,6 +87,7 @@ const props = defineProps({
|
||||
|
||||
const { canvasStyleData } = toRefs(props)
|
||||
const { fullscreenFlag } = storeToRefs(dvMainStore)
|
||||
const { t } = useI18n()
|
||||
|
||||
const state = reactive({
|
||||
fullscreenElement: null,
|
||||
|
@ -2650,6 +2650,8 @@ Scatter chart (bubble) chart: {a} (series name), {b} (data name), {c} (value arr
|
||||
column_name: 'Field name'
|
||||
},
|
||||
visualization: {
|
||||
back_parent: 'Back to Parent',
|
||||
ext_fullscreen: 'Exit Fullscreen',
|
||||
no_edit_auth: 'No edit permissions for the target resource, please contact the administrator!',
|
||||
select_target_dashboard_tips: 'Please select the target dashboard',
|
||||
select_target_screen_tips: 'Please select the target data screen',
|
||||
|
@ -2588,6 +2588,8 @@ export default {
|
||||
column_name: '欄位名稱'
|
||||
},
|
||||
visualization: {
|
||||
back_parent: '返回上一級',
|
||||
ext_fullscreen: '退出全屏',
|
||||
no_edit_auth: '目標資源沒有編輯權限,請聯繫管理員!',
|
||||
select_target_dashboard_tips: '請選擇目標儀表板',
|
||||
select_target_screen_tips: '請選擇目標數據大屏',
|
||||
|
@ -2591,6 +2591,8 @@ export default {
|
||||
column_name: '字段名称'
|
||||
},
|
||||
visualization: {
|
||||
back_parent: '返回上一级',
|
||||
ext_fullscreen: '退出全屏',
|
||||
no_edit_auth: '目标资源没有编辑权限,请联系管理员!',
|
||||
select_target_dashboard_tips: '请选择目标仪表板',
|
||||
select_target_screen_tips: '请选择目标数据大屏',
|
||||
|
Loading…
Reference in New Issue
Block a user