diff --git a/public/locales/es/common.json b/public/locales/es/common.json index fa755aca8..37d4b0e6b 100644 --- a/public/locales/es/common.json +++ b/public/locales/es/common.json @@ -670,9 +670,9 @@ "maxPlayers": "Jugadores máximos", "bots": "Bots", "ping": "Ping", - "status": "Status", - "online": "Online", - "offline": "Offline" + "status": "Estado", + "online": "En línea", + "offline": "Sin conexión" }, "azuredevops": { "result": "Resultado", diff --git a/public/locales/fr/common.json b/public/locales/fr/common.json index 655aa356f..8d76d83f4 100644 --- a/public/locales/fr/common.json +++ b/public/locales/fr/common.json @@ -670,9 +670,9 @@ "maxPlayers": "Joueurs max", "bots": "Bots", "ping": "Ping", - "status": "Status", - "online": "Online", - "offline": "Offline" + "status": "Statut", + "online": "En ligne", + "offline": "Hors ligne" }, "azuredevops": { "result": "Résultat", diff --git a/src/widgets/octoprint/component.jsx b/src/widgets/octoprint/component.jsx index 7d3d5a1d7..ce87548e1 100644 --- a/src/widgets/octoprint/component.jsx +++ b/src/widgets/octoprint/component.jsx @@ -31,7 +31,7 @@ export default function Component({ service }) { const printingStateFalgs = ["Printing", "Paused", "Pausing", "Resuming"]; if (printingStateFalgs.includes(state)) { - const { completion } = jobStats.progress; + const { completion } = jobStats?.progress ?? undefined; if (!jobStats || !completion) { return (