diff --git a/messages/en-US.json b/messages/en-US.json index b7470f62..01047ecd 100644 --- a/messages/en-US.json +++ b/messages/en-US.json @@ -1745,9 +1745,10 @@ "resourceHeaderAuthRemoveDescription": "Header authentication removed successfully.", "resourceErrorHeaderAuthRemove": "Failed to remove Header Authentication", "resourceErrorHeaderAuthRemoveDescription": "Could not remove header authentication for the resource.", - "resourceHeaderAuthProtection": "Header Authentication Protection: {{status}}", - "headerAuthRemove": "Remove", - "headerAuthAdd": "Add", + "resourceHeaderAuthProtectionEnabled": "Header Authentication Enabled", + "resourceHeaderAuthProtectionDisabled": "Header Authentication Disabled", + "headerAuthRemove": "Remove Header Auth", + "headerAuthAdd": "Add Header Auth", "resourceErrorHeaderAuthSetup": "Failed to set Header Authentication", "resourceErrorHeaderAuthSetupDescription": "Could not set header authentication for the resource.", "resourceHeaderAuthSetup": "Header Authentication set successfully", diff --git a/src/app/[orgId]/settings/resources/[niceId]/authentication/page.tsx b/src/app/[orgId]/settings/resources/[niceId]/authentication/page.tsx index fb79c59a..e0ab26c7 100644 --- a/src/app/[orgId]/settings/resources/[niceId]/authentication/page.tsx +++ b/src/app/[orgId]/settings/resources/[niceId]/authentication/page.tsx @@ -836,11 +836,11 @@ export default function ResourceAuthenticationPage() { > - {t("resourceHeaderAuthProtection", { - status: authInfo.headerAuth - ? t("enabled") - : t("disabled") - })} + {authInfo.headerAuth + ? t("resourceHeaderAuthProtection") + : t( + "resourceHeaderAuthProtectionDisabled" + )}