fix(client): translate the dashboard, drop redundant font sizes, reword the header
Three fixes from an audit of the dashboard against docs/coding-conventions.md.
Translations. The dashboard shipped English-only: all 18 other locales
had an empty pages.dashboard block, so every non-English user saw raw key
paths like pages.dashboard.cards.monitorStatus.title. All 18 are now
seeded, reusing each locale's own existing vocabulary for uptime,
incidents, checks and so on so the dashboard reads consistently with the
rest of that translation. Verified: all 91 keys the code uses resolve in
all 19 locales, with no interpolation placeholder mismatches.
Rule 3. Thirty-one fontSize={typographyLevels.m} props removed. The
conventions doc is explicit that 13px is the body default and the prop
should be dropped entirely; setting it to the token was my error while
fixing an earlier font-size complaint. Only the two xxl figures keep an
explicit size, which is correct. Nine now-dead typographyLevels imports
went with them.
Header description. "What is wrong right now, across every monitor type."
was a negative sentence fragment; every other page uses a full sentence
describing what the page gives you and why it helps. Reworded to match.
Rules 1, 2, 4, 5 and the i18n rule already passed and needed no change.
Claude-Session: https://claude.ai/code/session_01AbYLvwpEaZFXktHVcqrFRd
This commit is contained in:
1 parent
e3a565d976
commit
dad32bc475
30 files changed
+2572
-114
No files matched your search
+142
-1
@@ -193,7 +193,8 @@
|
||||
"statusPages": "Pagine di stato",
|
||||
"maintenance": "Manutenzione",
|
||||
"logs": "Log",
|
||||
"settings": "Impostazioni"
|
||||
"settings": "Impostazioni",
|
||||
"dashboard": "Dashboard"
|
||||
},
|
||||
"bottomMenu": {
|
||||
"support": "Supporto",
|
||||
@@ -227,6 +228,146 @@
|
||||
}
|
||||
},
|
||||
"pages": {
|
||||
"dashboard": {
|
||||
"header": {
|
||||
"title": "Dashboard",
|
||||
"description": "Vedi uptime, infrastruttura, incidenti e verifiche in un unico posto, per individuare ciò che richiede attenzione senza aprire ogni pagina."
|
||||
},
|
||||
"card": {
|
||||
"error": "Impossibile caricare questa scheda."
|
||||
},
|
||||
"cards": {
|
||||
"monitorStatus": {
|
||||
"title": "Stato dei monitor",
|
||||
"empty": "Nessun monitor ancora.",
|
||||
"upOfTotal": "su {{total}} attivi"
|
||||
},
|
||||
"currentlyDown": {
|
||||
"title": "Attualmente offline",
|
||||
"empty": "Tutti i monitor sono attivi. Nessun incidente aperto.",
|
||||
"count": "{{count}} richiedono attenzione"
|
||||
},
|
||||
"monitorsByType": {
|
||||
"title": "Monitor per tipo",
|
||||
"empty": "Nessun monitor ancora.",
|
||||
"down": "{{count}} offline"
|
||||
},
|
||||
"recentIncidents": {
|
||||
"title": "Incidenti recenti",
|
||||
"empty": "Nessun incidente — tutti i sistemi sono sani.",
|
||||
"active": "{{count}} aperti",
|
||||
"ongoing": "In corso",
|
||||
"manual": "Manuale",
|
||||
"unknownMonitor": "Monitor sconosciuto"
|
||||
},
|
||||
"failedChecks": {
|
||||
"title": "Verifiche fallite",
|
||||
"empty": "Nessuna verifica ancora.",
|
||||
"ratio": "{{failed}} su {{total}} nell'ultimo giorno"
|
||||
},
|
||||
"checkmateServer": {
|
||||
"title": "Server Checkmate",
|
||||
"memory": "Memoria",
|
||||
"eventLoop": "Ritardo dell'event loop",
|
||||
"uptime": "Tempo di attività",
|
||||
"database": "Database",
|
||||
"readsWrites": "{{reads}} letture/s · {{writes}} scritture/s"
|
||||
},
|
||||
"ranking": {
|
||||
"topOf": "Top {{shown}} su {{total}}",
|
||||
"notEnough": "Non ci sono abbastanza monitor per una classifica."
|
||||
},
|
||||
"slowestMonitors": {
|
||||
"title": "Monitor più lenti"
|
||||
},
|
||||
"lowestUptime": {
|
||||
"title": "Uptime più basso"
|
||||
},
|
||||
"monitorsByGroup": {
|
||||
"title": "Monitor per gruppo",
|
||||
"empty": "Nessun gruppo ancora. I gruppi si impostano per monitor."
|
||||
},
|
||||
"busiestServers": {
|
||||
"title": "Server più carichi",
|
||||
"empty": "Nessun monitor infrastruttura ancora.",
|
||||
"cpu": "CPU",
|
||||
"memory": "Memoria",
|
||||
"disk": "Disco"
|
||||
},
|
||||
"incidentStats": {
|
||||
"title": "Statistiche incidenti",
|
||||
"openNow": "Aperti ora",
|
||||
"avgResolution": "Tempo medio di risoluzione",
|
||||
"hours": "{{hours}} h",
|
||||
"mostIncidents": "Più incidenti",
|
||||
"total": "totale",
|
||||
"resolved": "Risolti",
|
||||
"automatic": "Automatica",
|
||||
"manual": "Manuale",
|
||||
"autoManual": "{{automatic}} automatiche · {{manual}} manuali"
|
||||
},
|
||||
"notificationChannels": {
|
||||
"title": "Canali di notifica",
|
||||
"empty": "Nessun canale ancora."
|
||||
},
|
||||
"maintenance": {
|
||||
"title": "Finestre di manutenzione",
|
||||
"empty": "Nessuna manutenzione pianificata.",
|
||||
"runningNow": "In esecuzione",
|
||||
"next": "Prossima finestra"
|
||||
},
|
||||
"statusPages": {
|
||||
"title": "Pagine di stato",
|
||||
"empty": "Nessuna pagina di stato ancora.",
|
||||
"monitorCount": "{{count}} monitor",
|
||||
"published": "Pubblicata",
|
||||
"draft": "Bozza"
|
||||
},
|
||||
"checksOnSchedule": {
|
||||
"title": "Coda delle verifiche",
|
||||
"healthy": "Tutti i {{jobs}} job sono in orario su {{workers}} worker.",
|
||||
"failing": "Job falliti",
|
||||
"scheduled": "Job pianificati",
|
||||
"runningNow": "In esecuzione"
|
||||
},
|
||||
"recentErrors": {
|
||||
"title": "Errori recenti",
|
||||
"empty": "Nessun errore registrato.",
|
||||
"count": "{{count}} errori",
|
||||
"warnings": "Avvisi"
|
||||
},
|
||||
"team": {
|
||||
"title": "Membri del team",
|
||||
"members": "{{count}} membri",
|
||||
"unverified": "Non verificati"
|
||||
}
|
||||
},
|
||||
"picker": {
|
||||
"trigger": "Modifica schede",
|
||||
"title": "Schede della dashboard",
|
||||
"done": "Fatto",
|
||||
"reset": "Ripristina predefiniti",
|
||||
"groups": {
|
||||
"uptime": "Uptime",
|
||||
"infrastructure": "Infrastruttura",
|
||||
"incidents": "Incidenti",
|
||||
"notifications": "Notifiche",
|
||||
"maintenance": "Manutenzione",
|
||||
"statusPages": "Pagine di stato",
|
||||
"checks": "Verifiche",
|
||||
"logs": "Sistema",
|
||||
"settings": "Impostazioni"
|
||||
}
|
||||
},
|
||||
"empty": {
|
||||
"title": "Nessuna scheda nella tua dashboard",
|
||||
"description": "Scegli le schede da mostrare. La tua selezione viene ricordata in questo browser."
|
||||
},
|
||||
"reorder": {
|
||||
"moveUp": "Sposta su",
|
||||
"moveDown": "Sposta giù"
|
||||
}
|
||||
},
|
||||
"notFound": {
|
||||
"title": "Oh no! Hai fatto cadere il tuo sushi!",
|
||||
"subtitle": "L'URL non esiste, oppure non hai accesso."
|
||||
|
||||
Reference in new issue
Block a user