diff --git a/web/src/components/settings/oauth2/OAuth2ServerSettings.jsx b/web/src/components/settings/oauth2/OAuth2ServerSettings.jsx index 3b84dc98b..01e30319a 100644 --- a/web/src/components/settings/oauth2/OAuth2ServerSettings.jsx +++ b/web/src/components/settings/oauth2/OAuth2ServerSettings.jsx @@ -272,25 +272,11 @@ export default function OAuth2ServerSettings(props) { {!keysReady && isEnabled && ( -
- ⚠️ 尚未准备签名密钥,建议立即初始化或轮换以发布 JWKS。 -
-
签名密钥用于 JWT 令牌的安全签发。
- - } - actions={ - - } - style={{ marginBottom: 16 }} + className='!rounded-lg' + closeIcon={null} + description={t( + '尚未准备签名密钥,建议立即初始化或轮换以发布 JWKS。签名密钥用于 JWT 令牌的安全签发。', + )} /> )} diff --git a/web/src/i18n/locales/en.json b/web/src/i18n/locales/en.json index 7f1cc6b62..9dc7f9361 100644 --- a/web/src/i18n/locales/en.json +++ b/web/src/i18n/locales/en.json @@ -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",