perf(系统设置): 国际化

This commit is contained in:
fit2cloud-chenyw
2025-01-02 18:54:55 +08:00
committed by xuwei-fit2cloud
parent 2fa356441b
commit 373595ff41
3 changed files with 13 additions and 2 deletions

View File

@@ -587,6 +587,8 @@ export default {
edit_embedded_application: 'Edit an embedded application',
application_name: 'Application name',
cross_domain_settings: 'Cross-domain settings',
embedded_del_confirm: 'Are you sure you want to delete {0} applications?',
embedded_search_placeholder: 'Search by application name, APP ID, or cross-domain settings',
embedded_secret_len_change:
'The key length has changed. The key will be reset soon. Are you sure?',
embedded_management: 'Embedded management',

View File

@@ -203,7 +203,9 @@
<geometry-edit ref="editor" @saved="loadTreeData(false)" />
<el-dialog
v-model="customAreaDialog"
:title="`${editedCustomArea.id ? t('common.edit') : t('common.add') + t('system.custom_area')}`"
:title="`${editedCustomArea.id ? t('common.edit') : t('common.add')} ${t(
'system.custom_area'
)}`"
width="500"
destroy-on-close
>

View File

@@ -9,7 +9,7 @@
:class="{ active: activeIndex === item.id }"
@click="selectHandler(index)"
>
<span>{{ t(item.name) }}</span>
<span :title="t(item.name)">{{ t(item.name) }}</span>
</div>
</div>
</el-aside>
@@ -65,6 +65,13 @@ const selectHandler = (index: number) => {
&:hover {
background: #1f232926;
}
span {
display: block;
width: 150px;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
}
.active {
background: var(--ed-color-primary-1a, #3370ff1a);