diff --git a/mateclaw-ui/src/i18n/locales/en-US.ts b/mateclaw-ui/src/i18n/locales/en-US.ts index ef708d7e..01235326 100644 --- a/mateclaw-ui/src/i18n/locales/en-US.ts +++ b/mateclaw-ui/src/i18n/locales/en-US.ts @@ -3753,6 +3753,8 @@ export default { createWorkspaceWarning: 'This rule will auto-approve every tool call from every user in this workspace. Safety-floor patterns still block disaster commands, but every other risk gets bypassed. Confirm with your login password.', revokeBtn: 'Revoke', revokeConfirm: 'Revoking will disable this rule. Continue?', + revokeConfirmDetailed: 'After revoking, auto-approve for {tool} will no longer apply — the next call will require manual review again. Continue?', + anyTool: 'all tools', viewResolutions: 'View {count} auto-approve events triggered by this rule →', empty: 'No auto-approve rules configured yet', columns: { diff --git a/mateclaw-ui/src/i18n/locales/zh-CN.ts b/mateclaw-ui/src/i18n/locales/zh-CN.ts index 0f798271..f2e92c83 100644 --- a/mateclaw-ui/src/i18n/locales/zh-CN.ts +++ b/mateclaw-ui/src/i18n/locales/zh-CN.ts @@ -3845,6 +3845,8 @@ export default { createWorkspaceWarning: '该策略将允许此工作区内所有用户的所有工具调用自动通过审批。地板规则仍会阻断灾难性命令,但其他风险都将被绕过。请输入登录密码确认。', revokeBtn: '撤销', revokeConfirm: '撤销后此策略将不再生效。继续?', + revokeConfirmDetailed: '撤销后 {tool} 的自动批准将不再生效,下次调用会重新走人工审批。继续?', + anyTool: '所有工具', viewResolutions: '查看本规则触发的 {count} 次自动通过 →', empty: '尚未配置自动批准策略', columns: { diff --git a/mateclaw-ui/src/views/Security/AutoApproveGrants/index.vue b/mateclaw-ui/src/views/Security/AutoApproveGrants/index.vue index a6424817..4334d628 100644 --- a/mateclaw-ui/src/views/Security/AutoApproveGrants/index.vue +++ b/mateclaw-ui/src/views/Security/AutoApproveGrants/index.vue @@ -18,9 +18,13 @@
{{ t('approval.grant.desc') }}
@@ -283,13 +287,14 @@ +