perf(i18n): 国际化

This commit is contained in:
junjun 2022-09-14 18:17:56 +08:00
parent edf5259bed
commit 9554e06767
4 changed files with 19 additions and 7 deletions

View File

@ -1016,7 +1016,8 @@ export default {
table_item_fontsize: 'Table font size',
table_header_bg: 'Header Background',
table_item_bg: 'Table Background',
table_item_font_color: 'Font Color',
table_header_font_color: 'Header Font',
table_item_font_color: 'Table Font',
stripe: 'Zebra pattern',
start_angle: 'Start Angle',
end_angle: 'End Angle',
@ -1329,7 +1330,10 @@ export default {
chart_group: 'Sub Type',
chart_bar_group: 'Bar Group',
field_dynamic: 'Dynamic',
aggregation: 'Aggregation'
aggregation: 'Aggregation',
filter_between: 'Between',
field_not_empty: 'Field can not be empty',
summary_not_empty: 'Summary can not be empty'
},
dataset: {
parse_filed: 'Parse Field',

View File

@ -1016,7 +1016,8 @@ export default {
table_item_fontsize: '錶格字體大小',
table_header_bg: '錶頭背景',
table_item_bg: '錶格背景',
table_item_font_color: '字體顔色',
table_header_font_color: '表頭字體',
table_item_font_color: '表格字體',
stripe: '斑馬紋',
start_angle: '起始角度',
end_angle: '結束角度',
@ -1329,7 +1330,10 @@ export default {
chart_group: '子類別',
chart_bar_group: '分組柱狀圖',
field_dynamic: '動態值',
aggregation: '聚合方式'
aggregation: '聚合方式',
filter_between: '介於',
field_not_empty: '字段不能為空',
summary_not_empty: '聚合方式不能為空'
},
dataset: {
parse_filed: '解析字段',

View File

@ -1016,7 +1016,8 @@ export default {
table_item_fontsize: '表格字体大小',
table_header_bg: '表头背景',
table_item_bg: '表格背景',
table_item_font_color: '字体颜色',
table_header_font_color: '表头字体',
table_item_font_color: '表格字体',
stripe: '斑马纹',
start_angle: '起始角度',
end_angle: '结束角度',
@ -1329,7 +1330,10 @@ export default {
chart_group: '子类别',
chart_bar_group: '分组柱状图',
field_dynamic: '动态值',
aggregation: '聚合方式'
aggregation: '聚合方式',
filter_between: '介于',
field_not_empty: '字段不能为空',
summary_not_empty: '聚合方式不能为空'
},
dataset: {
parse_filed: '解析字段',

View File

@ -36,7 +36,7 @@
<span style="float: left; color: #8492a6; font-size: 12px">{{ quota.name }}</span>
</el-option>
</el-select>
<el-select v-model="item.summary" size="mini" class="select-item" :placeholder="$t('chart.summary')" @change="changeAssistLine">
<el-select v-model="item.summary" size="mini" class="select-item" :placeholder="$t('chart.aggregation')" @change="changeAssistLine">
<el-option v-if="item.curField && item.curField.id && item.curField.deType !== 0 && item.curField.deType !== 1 && item.curField.deType !== 5" key="sum" value="sum" :label="$t('chart.sum')" />
<el-option v-if="item.curField && item.curField.id && item.curField.deType !== 0 && item.curField.deType !== 1 && item.curField.deType !== 5" key="avg" value="avg" :label="$t('chart.avg')" />
<el-option v-if="item.curField && item.curField.id && item.curField.deType !== 0 && item.curField.deType !== 1 && item.curField.deType !== 5" key="max" value="max" :label="$t('chart.max')" />