Wrong message for sync actions on LDAP role mapper

Closes #21491
This commit is contained in:
Pedro Igor 2023-07-06 09:31:00 -03:00
parent 4ece83dd3d
commit c3c544b907
2 changed files with 7 additions and 5 deletions

View file

@ -10,8 +10,6 @@
"addLdapWizardTitle": "Add LDAP user federation provider",
"syncChangedUsers": "Sync changed users",
"syncAllUsers": "Sync all users",
"syncLDAPGroupsToKeycloak": "Sync LDAP groups to Keycloak",
"syncKeycloakGroupsToLDAP": "Sync Keycloak groups to LDAP",
"syncLDAPGroupsSuccessful": "Data successfully synced {{result}}",
"syncLDAPGroupsError": "Data could not be synced due {{error}}",
"unlinkUsers": "Unlink users",
@ -173,5 +171,9 @@
"providerType": "Provider Type",
"parentId": "Parent ID",
"kerberosPrincipal": "Kerberos Principal",
"kerberosKeyTab": "Kerberos Key Tab"
"kerberosKeyTab": "Kerberos Key Tab",
"sync-ldap-roles-to-keycloak": "Sync LDAP roles to Keycloak",
"sync-keycloak-roles-to-ldap": "Sync Keycloak roles to LDAP",
"sync-ldap-groups-to-keycloak": "Sync LDAP groups to Keycloak",
"sync-keycloak-groups-to-ldap": "Sync Keycloak groups to LDAP"
}

View file

@ -188,7 +188,7 @@ export default function LdapMapperDetails() {
key="fedSync"
onClick={() => sync("fedToKeycloak")}
>
{t("syncLDAPGroupsToKeycloak")}
{t(mapper?.metadata.fedToKeycloakSyncMessage)}
</DropdownItem>,
]
: []),
@ -200,7 +200,7 @@ export default function LdapMapperDetails() {
sync("keycloakToFed");
}}
>
{t("syncKeycloakGroupsToLDAP")}
{t(mapper?.metadata.keycloakToFedSyncMessage)}
</DropdownItem>,
]
: []),