forked from keycloak/keycloak
-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fixed a11y violations and typos in translations for messages in the d…
…ialog message for disabling clients. (keycloak#26395) * fixed critical violations Signed-off-by: Agnieszka Gancarczyk <[email protected]> * fixed more a11y violations Signed-off-by: Agnieszka Gancarczyk <[email protected]> * renamed translation Signed-off-by: Agnieszka Gancarczyk <[email protected]> * added area-label Signed-off-by: Agnieszka Gancarczyk <[email protected]> * added area-label Signed-off-by: Agnieszka Gancarczyk <[email protected]> * renamed spinners translation Signed-off-by: Agnieszka Gancarczyk <[email protected]> --------- Signed-off-by: Agnieszka Gancarczyk <[email protected]> Co-authored-by: Agnieszka Gancarczyk <[email protected]>
- Loading branch information
1 parent
d9f8a1b
commit 73e5c82
Showing
7 changed files
with
29 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
15 changes: 10 additions & 5 deletions
15
js/apps/admin-ui/src/components/keycloak-spinner/KeycloakSpinner.tsx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,12 @@ | ||
import { Bullseye, Spinner } from "@patternfly/react-core"; | ||
import { useTranslation } from "react-i18next"; | ||
|
||
export const KeycloakSpinner = () => ( | ||
<Bullseye> | ||
<Spinner /> | ||
</Bullseye> | ||
); | ||
export const KeycloakSpinner = () => { | ||
const { t } = useTranslation(); | ||
|
||
return ( | ||
<Bullseye> | ||
<Spinner aria-label={t("spinnerLoading")} /> | ||
</Bullseye> | ||
); | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters