Skip to content

Commit f333658

Browse files
committed
fix: i18n
1 parent 10a3587 commit f333658

File tree

5 files changed

+14
-7
lines changed

5 files changed

+14
-7
lines changed

ui/src/locales/lang/en-US/views/system.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,9 @@ export default {
8787
agentIdPlaceholder: 'Please enter agent ID',
8888
callbackWarning: 'Please enter a valid URL address',
8989
larkQrCode: 'Lark Scan Code Login',
90-
dingtalkQrCode: 'DingTalk Scan Code Login'
90+
dingtalkQrCode: 'DingTalk Scan Code Login',
91+
setting: ' Setting',
92+
access: 'Access'
9193
}
9294
},
9395
theme: {

ui/src/locales/lang/zh-CN/views/system.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,9 @@ export default {
8787
agentIdPlaceholder: '请输入 Agent Id',
8888
callbackWarning: '请输入有效的 URL 地址',
8989
larkQrCode: '飞书扫码登录',
90-
dingtalkQrCode: '钉钉扫码登录'
90+
dingtalkQrCode: '钉钉扫码登录',
91+
setting: '设置',
92+
access: '接入'
9193
}
9294
},
9395
theme: {

ui/src/locales/lang/zh-Hant/views/system.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,9 @@ export default {
8888
agentIdPlaceholder: '請輸入 Agent Id',
8989
callbackWarning: '請輸入有效的 URL 位址',
9090
larkQrCode: '飛書掃碼登錄',
91-
dingtalkQrCode: '釘釘掃碼登錄'
91+
dingtalkQrCode: '釘釘掃碼登錄',
92+
setting: '設置',
93+
access: '接入'
9294
}
9395
},
9496
theme: {

ui/src/views/authentication/component/EditModal.vue

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,9 @@ template
99
>
1010
<template #header>
1111
<div class="flex align-center" style="margin-left: -8px">
12-
<h4>{{ currentPlatform.name }}</h4>
12+
<h4>
13+
{{ currentPlatform.name + $t('views.system.authentication.scanTheQRCode.setting') }}
14+
</h4>
1315
</div>
1416
</template>
1517

@@ -224,5 +226,4 @@ function saveConfig() {
224226
}
225227
</script>
226228

227-
<style lang="scss" scoped>
228-
</style>
229+
<style lang="scss" scoped></style>

ui/src/views/authentication/component/SCAN.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
</div>
1414
<div>
1515
<el-button type="primary" v-if="!item.isValid" @click="showDialog(item)"
16-
>接入
16+
>{{ $t('views.system.authentication.scanTheQRCode.access') }}
1717
</el-button>
1818
<span v-if="item.isValid">
1919
<span class="mr-4">{{

0 commit comments

Comments
 (0)