fixed message for disabling clients (#25672)

fixes: #25636

Signed-off-by: Erik Jan de Wit <erikjan.dewit@gmail.com>
This commit is contained in:
Erik Jan de Wit 2024-01-09 14:40:36 +01:00 committed by GitHub
parent 2a0ca1cb84
commit 6ea9df2cf2
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 5 additions and 3 deletions

View file

@ -17,7 +17,7 @@ secretHasExpired=Secret has expired, please generate a new one by clicking the "
requiredRoles=Please add at least one role.
addLdapWizardTitle=Add LDAP user federation provider
wantAssertionsSignedHelp=Indicates whether this service provider expects a signed Assertion.
disableConfirm=Are you sure you want to disable the provider '{{provider}}'
disableConfirm=Are you sure you want to disable '{{name}}'
eventTypes.CUSTOM_REQUIRED_ACTION.description=Custom required action
flowName=Flow name
userInfoResponseEncryptionContentEncryptionAlgorithm=User info response encryption content encryption algorithm
@ -892,6 +892,8 @@ eventTypes.FEDERATED_IDENTITY_LINK_ERROR.name=Federated identity link error
eventTypes.EXECUTE_ACTIONS.name=Execute actions
encryptAssertions=Encrypt assertions
disableConfirmTitle=Disable realm?
disableConfirmTitleClient=Disable client?
dirableConfirmClient=Are you sure you want to disable this client?
custom=Custom Attribute...
keyTab=Key tab
addSamlProvider=Add SAML provider

View file

@ -94,8 +94,8 @@ const ClientDetailHeader = ({
}: ClientDetailHeaderProps) => {
const { t } = useTranslation();
const [toggleDisableDialog, DisableConfirm] = useConfirmDialog({
titleKey: "disableConfirmTitle",
messageKey: "disableConfirm",
titleKey: "disableConfirmClientTitle",
messageKey: "disableConfirmClient",
continueButtonLabel: "disable",
onConfirm: () => {
onChange(!value);