fix:处理中英文完全一样的国际化为一个

This commit is contained in:
zhangyu
2022-06-16 15:58:17 +08:00
parent c5976c83ee
commit e65f37b5b5
159 changed files with 1194 additions and 599 deletions

View File

@@ -108,7 +108,7 @@
@mouseenter="labelHoverConfigs(scope.row, 0, true, $event)"
@mouseleave="labelHoverConfigs(scope.row, 0, false, $event)"
>
<span class="endpoint-cell-left"><i class="nz-icon nz-icon-Metrics colorFA901C" /> {{$t('project.endpoint.metrics')}} </span>
<span class="endpoint-cell-left"><i class="nz-icon nz-icon-Metrics colorFA901C" /> {{$t('project.metrics.metrics')}} </span>
<span v-if="scope.row.configs[0].state===0 || !scope.row.configs[0].state">
<span class="active-icon red-bg inline-block"></span>
</span>
@@ -128,7 +128,7 @@
<span style="width: auto;display: inline-block;cursor: pointer"
@mouseenter="labelHoverConfigs(scope.row, 1, true, $event)"
@mouseleave="labelHoverConfigs(scope.row, 1, false, $event)">
<span class="endpoint-cell-left" style="margin-left: 10px"><i class="nz-icon nz-icon-logs colorFA901C" /> {{$t('project.endpoint.logs')}} </span>
<span class="endpoint-cell-left" style="margin-left: 10px"><i class="nz-icon nz-icon-logs colorFA901C" /> {{$t('overall.logs')}} </span>
<span v-if="scope.row.configs[1].state===0 || !scope.row.configs[1].state">
<span class="active-icon red-bg inline-block"></span>
</span>
@@ -228,7 +228,7 @@ export default {
width: 80,
sortable: 'custom'
}, {
label: this.$t('project.endpoint.name'),
label: this.$t('overall.name'),
prop: 'name',
show: true,
minWidth: 200,
@@ -241,7 +241,7 @@ export default {
sortable: 'custom'
},
{
label: this.$t('project.endpoint.asset'),
label: this.$t('guide.asset'),
prop: 'asset',
show: true,
minWidth: 90,
@@ -253,20 +253,20 @@ export default {
show: true
},
{
label: this.$t('project.endpoint.configs'),
label: this.$t('project.module.configs'),
prop: 'configs',
minWidth: 150,
show: false
},
{
label: this.$t('project.endpoint.alerts'),
label: this.$t('overall.alert'),
prop: 'alerts',
show: true,
Width: 120,
sortable: 'custom'
},
{
label: this.$t('project.endpoint.state'),
label: this.$t('overall.state'),
prop: 'state',
show: true,
minWidth: 200