diff --git a/ui/src/i18n/locales/en.ts b/ui/src/i18n/locales/en.ts index 99a00c64e41f..a17ff5f65284 100644 --- a/ui/src/i18n/locales/en.ts +++ b/ui/src/i18n/locales/en.ts @@ -2798,14 +2798,9 @@ export const en: TranslationMap = { acknowledgeRisk: "Acknowledge risk and install", defaultRiskWarning: "Review the ClawHub warning before installing this plugin.", policyReviewTitle: "Security review needed", - policyReviewBodyUnknown: "Policy flagged this plugin. Not installed.", policyReviewBodyKnown: "Policy warnings: {count}. Not installed.", policyReviewFindings: "Findings", policyReviewTechnicalDetails: "Details", - policyReviewPolicyResponse: "Reason", - policyReviewRule: "Rule {count}", - policyReviewLocation: "Location", - policyReviewEvidence: "Evidence", installAnyway: "Install anyway", connectToChange: "Connect to the gateway to change plugins.", adminRequired: "Browsing only. Plugin changes require operator.admin access.", diff --git a/ui/src/pages/plugins/view.ts b/ui/src/pages/plugins/view.ts index 2d0161ce7611..42d9a4800a0d 100644 --- a/ui/src/pages/plugins/view.ts +++ b/ui/src/pages/plugins/view.ts @@ -389,7 +389,7 @@ function renderRowMessage( const findings = details.findings ?? []; const reviewBody = findings.length === 0 - ? t("pluginsPage.policyReviewBodyUnknown") + ? details.reason : t("pluginsPage.policyReviewBodyKnown", { count: String(findings.length) }); return html`