Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FIX(PN-13701) Modali di loading #1483

Merged
merged 3 commits into from
Feb 25, 2025
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ import { CircularProgress, Modal } from '@mui/material';
import { Box } from '@mui/system';

import { appStateSelectors } from '../../redux';
import { getLocalizedOrDefaultLabel } from '../../utility/localization.utility';

export function LoadingOverlay() {
const loading = useSelector(appStateSelectors.selectLoading);
Expand All @@ -19,7 +20,12 @@ export function LoadingOverlay() {
outline: 0,
}}
>
<CircularProgress id="spinner-loading" role="loadingSpinner" sx={{ color: 'white' }} />
<CircularProgress
id="spinner-loading"
role="loadingSpinner"
aria-label={getLocalizedOrDefaultLabel('common', 'loading', 'Caricamento in corso')}
sx={{ color: 'white' }}
/>
</Box>
</Modal>
);
Expand Down
1 change: 1 addition & 0 deletions packages/pn-pa-webapp/public/locales/it/common.json
Original file line number Diff line number Diff line change
Expand Up @@ -147,6 +147,7 @@
"too-short-field-error": "Scrivi minimo {{minLength}} caratteri",
"no-spaces-at-edges": "Elimina gli spazi all'inizio o alla fine",
"invalid": "non valido",
"loading": "Caricamento in corso",
"upload-file": {
"or": "oppure",
"select-file": "carica il file",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -137,6 +137,7 @@
"required-fields": "*Campi obbligatori",
"required-field": "Campo obbligatorio",
"too-long-field-error": "Scrivi massimo {{maxLength}} caratteri",
"loading": "Caricamento in corso",
"validation": {
"search-pattern-length-limit": "ricerca max {{maxLength}} caratteri",
"invalid-characters-not-inserted": "I caratteri non validi non sono stati inseriti."
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,7 @@
"access-denied": "Non hai le autorizzazioni necessarie per accedere a questa pagina",
"not-logged": "Accedi a SEND",
"not-logged-subtitle": "Per vedere e gestire le tue notifiche, accedi con SPID o CIE.",
"loading": "Caricamento in corso",
"not-found": {
"title": "404: La pagina che stai cercando non esiste",
"descpription": "Sei qui per errore, prova ad usare la navigazione."
Expand Down