mirror of
https://github.com/fosrl/pangolin.git
synced 2026-02-01 15:49:08 +00:00
fix header auth formatting
This commit is contained in:
@@ -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",
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user