🌏 i18n: Improve i18n translation

This commit is contained in:
t0ng7u
2025-09-23 04:15:59 +08:00
parent e9e1dbff5e
commit 5706f0ee9f
2 changed files with 6 additions and 21 deletions

View File

@@ -272,25 +272,11 @@ export default function OAuth2ServerSettings(props) {
{!keysReady && isEnabled && (
<Banner
type='warning'
description={
<div>
<div>
尚未准备签名密钥建议立即初始化或轮换以发布 JWKS
</div>
<div>签名密钥用于 JWT 令牌的安全签发</div>
</div>
}
actions={
<Button
size='small'
type='primary'
onClick={() => setJwksVisible(true)}
loading={keysLoading}
>
打开密钥管理
</Button>
}
style={{ marginBottom: 16 }}
className='!rounded-lg'
closeIcon={null}
description={t(
'尚未准备签名密钥建议立即初始化或轮换以发布 JWKS。签名密钥用于 JWT 令牌的安全签发。',
)}
/>
)}

View File

@@ -2191,8 +2191,7 @@
"保存配置": "Save Configuration",
"密钥管理": "Key Management",
"打开密钥管理": "Open Key Management",
"⚠️ 尚未准备签名密钥,建议立即初始化或轮换以发布 JWKS。": "Signing key not prepared. Initialize or rotate to publish JWKS.",
"签名密钥用于 JWT 令牌的安全签发。": "Signing keys are used to securely issue JWT tokens.",
"尚未准备签名密钥,建议立即初始化或轮换以发布 JWKS。签名密钥用于 JWT 令牌的安全签发。": "Signing key not prepared. Initialize or rotate to publish JWKS. Signing keys are used to securely issue JWT tokens.",
"启用 OAuth2 & SSO": "Enable OAuth2 & SSO",
"开启后将允许以 OAuth2/OIDC 标准进行授权与登录": "Enables OAuth2/OIDC standard based authorization and login",
"发行人 (Issuer)": "Issuer",