fixed labels (#27034)

related to #26360

Signed-off-by: Erik Jan de Wit <erikjan.dewit@gmail.com>
This commit is contained in:
Erik Jan de Wit 2024-02-20 14:03:45 +01:00 committed by GitHub
parent b1a6a5a1b0
commit 767ae13db4
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 3 additions and 3 deletions

View file

@ -281,7 +281,7 @@ const AuthorizationEvaluateContent = ({ client }: Props) => {
</Panel>
<Panel>
<PanelHeader>
<Title headingLevel="h2">{t("identityInformation")}</Title>
<Title headingLevel="h2">{t("permissions")}</Title>
</PanelHeader>
<PanelMainBody>
<FormAccess isHorizontal role="view-clients">

View file

@ -246,7 +246,7 @@ export const KeyBasedAttributeInput = ({
<Tr>
<Td>
<Button
aria-label={t("addAttribute")}
aria-label={t("addAttribute", { label: t("attribute") })}
id={`${name}-plus-icon`}
variant="link"
className="kc-attributes__plus-icon"
@ -258,7 +258,7 @@ export const KeyBasedAttributeInput = ({
isDisabled={!watchLastValue}
data-testid="attribute-add-row"
>
{t("addAttribute")}
{t("addAttribute", { label: t("attribute") })}
</Button>
</Td>
</Tr>