Skip to content

Commit

Permalink
fix: login i18n bug
Browse files Browse the repository at this point in the history
--bug=1051922 --user=王孝刚 【国际化】扫码登录没有国际化 https://www.tapd.cn/57709429/s/1649970
  • Loading branch information
wxg0103 committed Jan 22, 2025
1 parent bb77448 commit 88447cb
Show file tree
Hide file tree
Showing 9 changed files with 353 additions and 342 deletions.
8 changes: 5 additions & 3 deletions ui/src/locales/lang/en-US/views/system.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ export default {
ldap_filterPlaceholder: 'Please enter user filter',
ldap_mapping: 'LDAP Attribute Mapping',
ldap_mappingPlaceholder: 'Please enter LDAP attribute mapping',
enableAuthentication: 'Enable LDAP Authentication',
enableAuthentication: 'Enable LDAP Authentication'
},
cas: {
title: 'CAS Settings',
Expand Down Expand Up @@ -85,7 +85,9 @@ export default {
appSecretPlaceholder: 'Please enter APP secret',
corpIdPlaceholder: 'Please enter corp 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',
dingtalkQrCode: 'DingTalk Scan Code Login'
}
},
theme: {
Expand Down Expand Up @@ -143,6 +145,6 @@ export default {
smtpPassword: 'SMTP Password',
smtpPasswordPlaceholder: 'Please enter SMTP password',
enableSSL: 'Enable SSL (if the SMTP port is 465, you usually need to enable SSL)',
enableTLS: 'Enable TLS (if the SMTP port is 587, you usually need to enable TLS)',
enableTLS: 'Enable TLS (if the SMTP port is 587, you usually need to enable TLS)'
}
}
4 changes: 3 additions & 1 deletion ui/src/locales/lang/zh-CN/views/system.ts
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,9 @@ export default {
appSecretPlaceholder: '请输入 App Secret',
corpIdPlaceholder: '请输入 Corp Id',
agentIdPlaceholder: '请输入 Agent Id',
callbackWarning: '请输入有效的 URL 地址'
callbackWarning: '请输入有效的 URL 地址',
larkQrCode: '飞书扫码登录',
dingtalkQrCode: '钉钉扫码登录'
}
},
theme: {
Expand Down
8 changes: 5 additions & 3 deletions ui/src/locales/lang/zh-Hant/views/system.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ export default {
ldap_filterPlaceholder: '請輸入使用者過濾器',
ldap_mapping: 'LDAP 屬性對應',
ldap_mappingPlaceholder: '請輸入 LDAP 屬性對應',
enableAuthentication: '啟用 LDAP 認證',
enableAuthentication: '啟用 LDAP 認證'
},
cas: {
title: 'CAS 設定',
Expand Down Expand Up @@ -86,7 +86,9 @@ export default {
appSecretPlaceholder: '請輸入 App Secret',
corpIdPlaceholder: '請輸入 Corp Id',
agentIdPlaceholder: '請輸入 Agent Id',
callbackWarning: '請輸入有效的 URL 位址'
callbackWarning: '請輸入有效的 URL 位址',
larkQrCode: '飛書掃碼登錄',
dingtalkQrCode: '釘釘掃碼登錄'
}
},
theme: {
Expand Down Expand Up @@ -142,6 +144,6 @@ export default {
smtpPassword: '發件人密碼',
smtpPasswordPlaceholder: '請輸入發件人密碼',
enableSSL: '啟用 SSL(如果 SMTP 端口是 465,通常需要啟用 SSL)',
enableTLS: '啟用 TLS(如果 SMTP 端口是 587,通常需要啟用 TLS)',
enableTLS: '啟用 TLS(如果 SMTP 端口是 587,通常需要啟用 TLS)'
}
}
Loading

0 comments on commit 88447cb

Please sign in to comment.