fix header auth formatting

This commit is contained in:
miloschwartz
2025-10-13 14:39:41 -07:00
parent 0c63ea1f50
commit 2c99cfacc0
2 changed files with 9 additions and 8 deletions

View File

@@ -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",

View File

@@ -836,11 +836,11 @@ export default function ResourceAuthenticationPage() {
>
<Bot size="14" />
<span>
{t("resourceHeaderAuthProtection", {
status: authInfo.headerAuth
? t("enabled")
: t("disabled")
})}
{authInfo.headerAuth
? t("resourceHeaderAuthProtection")
: t(
"resourceHeaderAuthProtectionDisabled"
)}
</span>
</div>
<Button