feat: improve built-in auth providers' i18n (#6814)

#### What type of PR is this?

/area ui
/kind improvement
/milestone 2.20.x

#### What this PR does / why we need it:

完善内置的认证提供商的 i18n。

<img width="859" alt="image" src="https://github.com/user-attachments/assets/a145fc98-05f0-4d62-805a-f3b4f4380a04">

#### Does this PR introduce a user-facing change?

```release-note
None
```
pull/6816/head
Ryan Wang 2024-10-10 16:25:01 +08:00 committed by GitHub
parent d6c914f4c6
commit d0f3933095
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
4 changed files with 30 additions and 2 deletions

View File

@ -74,8 +74,18 @@ const handleChangeStatus = async () => {
</template>
</VEntityField>
<VEntityField
:title="authProvider.displayName"
:description="authProvider.description"
:title="
$t(
`core.identity_authentication.list.fields.display_name.${authProvider.name}`,
authProvider.displayName
)
"
:description="
$t(
`core.identity_authentication.list.fields.description.${authProvider.name}`,
authProvider.description || ''
)
"
:route="{
name: 'AuthProviderDetail',
params: { name: authProvider.name },

View File

@ -1135,6 +1135,12 @@ core:
title: Disable identity authentication method
disable_privileged:
tooltip: The authentication method reserved by the system cannot be disabled
list:
fields:
display_name:
local: Login with credentials
description:
local: Default login method built into Halo
detail:
title: Identity authentication detail
fields:

View File

@ -1063,6 +1063,12 @@ core:
title: 停用认证方式
disable_privileged:
tooltip: 系统保留的认证方式,无法禁用
list:
fields:
display_name:
local: 账号密码登录
description:
local: Halo 内置的默认登录方式
detail:
title: 身份认证详情
fields:

View File

@ -1040,6 +1040,12 @@ core:
title: 停用認證方式
disable_privileged:
tooltip: 系統保留的認證方式,無法禁用
list:
fields:
display_name:
local: 帳號密碼登入
description:
local: Halo 內建的默認登入方式
detail:
title: 身份認證詳情
fields: