mirror of
https://github.com/QuantumNous/new-api.git
synced 2026-04-17 22:27:26 +00:00
🌏 i18n: Improve i18n translation
This commit is contained in:
@@ -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 令牌的安全签发。',
|
||||
)}
|
||||
/>
|
||||
)}
|
||||
|
||||
|
||||
@@ -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",
|
||||
|
||||
Reference in New Issue
Block a user