fix: i18n

This commit is contained in:
wxg0103 2025-02-11 10:19:57 +08:00
parent 10a35876bf
commit f333658ac6
5 changed files with 14 additions and 7 deletions

View File

@ -87,7 +87,9 @@ export default {
agentIdPlaceholder: 'Please enter agent ID', agentIdPlaceholder: 'Please enter agent ID',
callbackWarning: 'Please enter a valid URL address', callbackWarning: 'Please enter a valid URL address',
larkQrCode: 'Lark Scan Code Login', larkQrCode: 'Lark Scan Code Login',
dingtalkQrCode: 'DingTalk Scan Code Login' dingtalkQrCode: 'DingTalk Scan Code Login',
setting: ' Setting',
access: 'Access'
} }
}, },
theme: { theme: {

View File

@ -87,7 +87,9 @@ export default {
agentIdPlaceholder: '请输入 Agent Id', agentIdPlaceholder: '请输入 Agent Id',
callbackWarning: '请输入有效的 URL 地址', callbackWarning: '请输入有效的 URL 地址',
larkQrCode: '飞书扫码登录', larkQrCode: '飞书扫码登录',
dingtalkQrCode: '钉钉扫码登录' dingtalkQrCode: '钉钉扫码登录',
setting: '设置',
access: '接入'
} }
}, },
theme: { theme: {

View File

@ -88,7 +88,9 @@ export default {
agentIdPlaceholder: '請輸入 Agent Id', agentIdPlaceholder: '請輸入 Agent Id',
callbackWarning: '請輸入有效的 URL 位址', callbackWarning: '請輸入有效的 URL 位址',
larkQrCode: '飛書掃碼登錄', larkQrCode: '飛書掃碼登錄',
dingtalkQrCode: '釘釘掃碼登錄' dingtalkQrCode: '釘釘掃碼登錄',
setting: '設置',
access: '接入'
} }
}, },
theme: { theme: {

View File

@ -9,7 +9,9 @@ template
> >
<template #header> <template #header>
<div class="flex align-center" style="margin-left: -8px"> <div class="flex align-center" style="margin-left: -8px">
<h4>{{ currentPlatform.name }}</h4> <h4>
{{ currentPlatform.name + $t('views.system.authentication.scanTheQRCode.setting') }}
</h4>
</div> </div>
</template> </template>
@ -224,5 +226,4 @@ function saveConfig() {
} }
</script> </script>
<style lang="scss" scoped> <style lang="scss" scoped></style>
</style>

View File

@ -13,7 +13,7 @@
</div> </div>
<div> <div>
<el-button type="primary" v-if="!item.isValid" @click="showDialog(item)" <el-button type="primary" v-if="!item.isValid" @click="showDialog(item)"
>接入 >{{ $t('views.system.authentication.scanTheQRCode.access') }}
</el-button> </el-button>
<span v-if="item.isValid"> <span v-if="item.isValid">
<span class="mr-4">{{ <span class="mr-4">{{