NEZ-1735 fix: 部分内容未进行国际化显示

This commit is contained in:
zhangyu
2022-03-25 14:12:03 +08:00
parent fda7713cda
commit 5b276cf845
8 changed files with 33 additions and 33 deletions

View File

@@ -185,8 +185,8 @@ export default {
filterPanel: '',
groupArr: [],
varTypeArr: [
{ name: 'Asset', id: 1 },
{ name: 'Endpoint', id: 2 }
{ name: this.$t('asset.asset'), id: 1 },
{ name: this.$t('asset.endpoint'), id: 2 }
],
panelName: '',
rules: {

View File

@@ -36,13 +36,13 @@ export default {
statisticsList: this.$CONSTANTS.statisticsList,
legendPositionList: [
{
label: 'bottom',
label: this.$t('overall.bottom'),
value: 'bottom'
}, {
label: 'left',
label: this.$t('overall.left'),
value: 'left'
}, {
label: 'right',
label: this.$t('overall.right'),
value: 'right'
}
],
@@ -156,16 +156,16 @@ export default {
],
textList: [
{
label: 'All',
label: this.$t('config.assetLabel.all'),
value: 'all'
}, {
label: 'Value',
label: this.$t('overall.value'),
value: 'value'
}, {
label: 'Legend',
label: this.$t('dashboard.panel.chartForm.legend'),
value: 'legend'
}, {
label: 'None',
label: this.$t('config.assetLabel.all'),
value: 'none'
}
],