feat(ui):i18n (#352)

This commit is contained in:
wang-liang0615
2024-01-03 13:29:38 +08:00
committed by GitHub
parent 9ee2776bdd
commit ec884c92e1
15 changed files with 62 additions and 795 deletions

View File

@@ -103,9 +103,9 @@ export default {
},
httpMap() {
return {
[this.$t('cmdb.components.aliyun')]: { name: 'aliyun' },
[this.$t('cmdb.components.tencentcloud')]: { name: 'tencentcloud' },
[this.$t('cmdb.components.huaweicloud')]: { name: 'huaweicloud' },
阿里云: { name: 'aliyun' },
腾讯云: { name: 'tencentcloud' },
华为云: { name: 'huaweicloud' },
AWS: { name: 'aws' },
}
},

View File

@@ -114,7 +114,7 @@
type="primary"
icon="plus"
>
定制仪表盘
{{ $t('cmdb.menu.customDashboard') }}
</a-button>
<span v-else>{{ $t('cmdb.custom_dashboard.noCustomDashboard') }}</span>
</div>

View File

@@ -16,7 +16,7 @@
height: '23px',
fontSize: '14px',
}"
/></span
/></span
>
<span
class="cmdb-preference-left-card-content"
@@ -31,7 +31,7 @@
height: '23px',
fontSize: '14px',
}"
/></span
/></span
>
</div>
<div class="cmdb-preference-group" v-for="(group, index) in myPreferences" :key="group.name">