Fixed resource and permission names and tooltip message (#26385)

* fixed typo

Signed-off-by: Agnieszka Gancarczyk <agancarc@redhat.com>

* renamed key

Signed-off-by: Agnieszka Gancarczyk <agancarc@redhat.com>

---------

Signed-off-by: Agnieszka Gancarczyk <agancarc@redhat.com>
Co-authored-by: Agnieszka Gancarczyk <agancarc@redhat.com>
This commit is contained in:
agagancarczyk 2024-01-22 14:47:18 +00:00 committed by GitHub
parent 4a49759aa0
commit 37e0f8f92b
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
5 changed files with 11 additions and 4 deletions

View file

@ -3033,7 +3033,7 @@ selectEvictionMinute=Select eviction minute
selectEditMode=Select edit mode
emptySelection=Empty selection
readOnlySelection=Read only selection
writtableSelection=Writable selection
writableSelection=Writable selection
unsyncedSelection=Unsynced selection
selectMapperType=Select mapper type
editBtn=Edit button
@ -3041,4 +3041,5 @@ acceptBtn=Accept editing button
cancelBtn=Cancel editing button
chooseBindingType=Choose binding type
selectFlowType=Select flow type
selectClientAssertionSigningAlg=Select client assertion signing algorithm
selectClientAssertionSigningAlg=Select client assertion signing algorithm
resourceDetailsTypeHelp=The type of this resource. It can be used to group different resource instances with the same type.

View file

@ -129,6 +129,7 @@ export default function PermissionDetails() {
{ id, type: permissionType },
permission,
);
setPermission(result);
navigate(
toPermissionDetails({
realm,

View file

@ -114,6 +114,7 @@ export default function ResourceDetails() {
{ id },
resource,
);
setResource(resource);
navigate(toResourceDetails({ realm, id, resourceId: result._id! }));
}
addAlert(
@ -250,7 +251,10 @@ export default function ResourceDetails() {
label={t("type")}
fieldId="type"
labelIcon={
<HelpItem helpText={t("clientTypeHelp")} fieldLabelId="type" />
<HelpItem
helpText={t("resourceDetailsTypeHelp")}
fieldLabelId="type"
/>
}
>
<KeycloakTextInput id="type" {...register("type")} />

View file

@ -134,6 +134,7 @@ const Fields = ({ readOnly }: DiscoverySettingsProps) => {
<FormGroupField label="validatingPublicKey">
<KeycloakTextArea
data-testid="validatingPublicKey"
aria-label={t("validatingPublicKey")}
{...register("config.publicKeySignatureVerifier")}
/>
</FormGroupField>

View file

@ -100,7 +100,7 @@ export const LdapSettingsSearching = ({
value="READ_ONLY"
/>
<SelectOption
aria-label={t("writtableSelection")}
aria-label={t("writableSelection")}
value="WRITABLE"
/>
<SelectOption