diff --git a/frontend/src/i18n/locales/en-US.ts b/frontend/src/i18n/locales/en-US.ts index 0214bf50..f99828e8 100755 --- a/frontend/src/i18n/locales/en-US.ts +++ b/frontend/src/i18n/locales/en-US.ts @@ -5862,7 +5862,8 @@ export default { tokenHeaderDesc: 'Clients send the backend-signed JWT in this fixed header.', hmacSecret: 'HMAC secret', hmacSecretDesc: 'Same secret stored in WeKnora; used only on your backend to sign JWTs—never send it as a request header.', - secretConfigured: 'Secret configured; enter a new value to rotate', + secretConfigured: 'Secret configured (not shown again); enter a new value to rotate', + secretSavedCopyHint: 'Secret saved. Copy it to your backend now — you will not be able to view it again after leaving this page.', generateSecret: 'Generate secret', hmacSecretResetConfirmTitle: 'Reset HMAC secret?', hmacSecretResetConfirmBody: 'After reset, the old HMAC secret is revoked immediately. Every backend service signing JWTs with the old secret must switch to the new secret to keep signed-token calls working. This action cannot be undone.', diff --git a/frontend/src/i18n/locales/ko-KR.ts b/frontend/src/i18n/locales/ko-KR.ts index 06bdd5a4..b48c2561 100755 --- a/frontend/src/i18n/locales/ko-KR.ts +++ b/frontend/src/i18n/locales/ko-KR.ts @@ -5873,7 +5873,8 @@ export default { tokenHeaderDesc: "클라이언트는 이 고정 헤더에 백엔드가 서명한 JWT를 전달합니다.", hmacSecret: "HMAC secret", hmacSecretDesc: "WeKnora에 저장된 것과 동일한 secret. 백엔드에서 JWT 서명에만 사용하며 요청 헤더로 보내지 않습니다.", - secretConfigured: "Secret configured; enter a new value to rotate", + secretConfigured: "Secret configured (not shown again); enter a new value to rotate", + secretSavedCopyHint: "Secret saved. Copy it to your backend now — you will not be able to view it again after leaving this page.", generateSecret: "Secret 생성", hmacSecretResetConfirmTitle: "HMAC secret을 재설정할까요?", hmacSecretResetConfirmBody: "재설정하면 기존 HMAC secret은 즉시 무효화됩니다. 기존 secret으로 JWT를 서명하는 모든 백엔드 서비스는 새 secret으로 교체해야 서명 토큰 호출을 계속 사용할 수 있습니다. 이 작업은 되돌릴 수 없습니다.", diff --git a/frontend/src/i18n/locales/ru-RU.ts b/frontend/src/i18n/locales/ru-RU.ts index 550a6b5a..2380e039 100755 --- a/frontend/src/i18n/locales/ru-RU.ts +++ b/frontend/src/i18n/locales/ru-RU.ts @@ -5694,7 +5694,8 @@ export default { tokenHeaderDesc: 'Клиент передаёт JWT, подписанный backend, в этом фиксированном заголовке.', hmacSecret: 'HMAC secret', hmacSecretDesc: 'Тот же secret, что в WeKnora; только для подписи JWT на backend — не отправляйте его в заголовке запроса.', - secretConfigured: 'Secret настроен; введите новое значение для ротации', + secretConfigured: 'Secret настроен (повторно не показывается); введите новое значение для ротации', + secretSavedCopyHint: 'Secret сохранён. Скопируйте его в backend сейчас — после ухода со страницы просмотреть его будет нельзя.', generateSecret: 'Сгенерировать secret', hmacSecretResetConfirmTitle: 'Сбросить HMAC secret?', hmacSecretResetConfirmBody: 'После сброса старый HMAC secret немедленно перестанет действовать. Все backend-сервисы, подписывающие JWT старым secret, должны перейти на новый secret, чтобы вызовы signed token продолжили работать. Это действие нельзя отменить.', diff --git a/frontend/src/i18n/locales/zh-CN.ts b/frontend/src/i18n/locales/zh-CN.ts index 96265eb1..ab541b7a 100755 --- a/frontend/src/i18n/locales/zh-CN.ts +++ b/frontend/src/i18n/locales/zh-CN.ts @@ -5875,7 +5875,8 @@ export default { tokenHeaderDesc: "客户端在该固定请求头中携带后端签发的 JWT。", hmacSecret: "HMAC 密钥", hmacSecretDesc: "与 WeKnora 保存的同一份密钥;仅用于后端签发 JWT,不要作为请求头发送。", - secretConfigured: "已配置密钥;输入新值可轮换", + secretConfigured: "已配置密钥(不可回看);输入新值可轮换", + secretSavedCopyHint: "密钥已保存,请立即复制到后端配置。离开本页后将无法再次查看。", generateSecret: "生成密钥", hmacSecretResetConfirmTitle: "确认重置 HMAC 密钥?", hmacSecretResetConfirmBody: "重置后,旧的 HMAC 密钥会立即失效,所有使用旧密钥签发 JWT 的后端服务必须更换为新密钥才可继续通过签名 Token 调用。此操作不可撤销。", diff --git a/frontend/src/views/integrations/ApiIntegrationSettings.vue b/frontend/src/views/integrations/ApiIntegrationSettings.vue index 0024c84c..9e7c5ee3 100644 --- a/frontend/src/views/integrations/ApiIntegrationSettings.vue +++ b/frontend/src/views/integrations/ApiIntegrationSettings.vue @@ -249,36 +249,46 @@
{{ $t('integrations.api.hmacSecretDesc') }}
-+ {{ $t('integrations.api.secretSavedCopyHint') }} +