mirror of
https://github.com/fosrl/pangolin.git
synced 2026-02-27 23:36:39 +00:00
fix header auth formatting
This commit is contained in:
@@ -1745,9 +1745,10 @@
|
|||||||
"resourceHeaderAuthRemoveDescription": "Header authentication removed successfully.",
|
"resourceHeaderAuthRemoveDescription": "Header authentication removed successfully.",
|
||||||
"resourceErrorHeaderAuthRemove": "Failed to remove Header Authentication",
|
"resourceErrorHeaderAuthRemove": "Failed to remove Header Authentication",
|
||||||
"resourceErrorHeaderAuthRemoveDescription": "Could not remove header authentication for the resource.",
|
"resourceErrorHeaderAuthRemoveDescription": "Could not remove header authentication for the resource.",
|
||||||
"resourceHeaderAuthProtection": "Header Authentication Protection: {{status}}",
|
"resourceHeaderAuthProtectionEnabled": "Header Authentication Enabled",
|
||||||
"headerAuthRemove": "Remove",
|
"resourceHeaderAuthProtectionDisabled": "Header Authentication Disabled",
|
||||||
"headerAuthAdd": "Add",
|
"headerAuthRemove": "Remove Header Auth",
|
||||||
|
"headerAuthAdd": "Add Header Auth",
|
||||||
"resourceErrorHeaderAuthSetup": "Failed to set Header Authentication",
|
"resourceErrorHeaderAuthSetup": "Failed to set Header Authentication",
|
||||||
"resourceErrorHeaderAuthSetupDescription": "Could not set header authentication for the resource.",
|
"resourceErrorHeaderAuthSetupDescription": "Could not set header authentication for the resource.",
|
||||||
"resourceHeaderAuthSetup": "Header Authentication set successfully",
|
"resourceHeaderAuthSetup": "Header Authentication set successfully",
|
||||||
|
|||||||
@@ -836,11 +836,11 @@ export default function ResourceAuthenticationPage() {
|
|||||||
>
|
>
|
||||||
<Bot size="14" />
|
<Bot size="14" />
|
||||||
<span>
|
<span>
|
||||||
{t("resourceHeaderAuthProtection", {
|
{authInfo.headerAuth
|
||||||
status: authInfo.headerAuth
|
? t("resourceHeaderAuthProtection")
|
||||||
? t("enabled")
|
: t(
|
||||||
: t("disabled")
|
"resourceHeaderAuthProtectionDisabled"
|
||||||
})}
|
)}
|
||||||
</span>
|
</span>
|
||||||
</div>
|
</div>
|
||||||
<Button
|
<Button
|
||||||
|
|||||||
Reference in New Issue
Block a user