From 9a3eb5a2b31eaaef149fd9e62d6ca225eba91c04 Mon Sep 17 00:00:00 2001 From: gallegonovato Date: Wed, 9 Aug 2023 14:44:01 +0000 Subject: [PATCH 1/3] Translated using Weblate (Spanish) Currently translated at 100.0% (503 of 503 strings) Translation: Homepage/Homepage Translate-URL: https://hosted.weblate.org/projects/homepage/homepage/es/ --- public/locales/es/common.json | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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", From 19bf7a0e5a1db07f8f0ab3cf2b4e74e00aaf2e74 Mon Sep 17 00:00:00 2001 From: Nonoss117 Date: Wed, 9 Aug 2023 08:38:37 +0000 Subject: [PATCH 2/3] Translated using Weblate (French) Currently translated at 100.0% (503 of 503 strings) Translation: Homepage/Homepage Translate-URL: https://hosted.weblate.org/projects/homepage/homepage/fr/ --- public/locales/fr/common.json | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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", From 5c25279439a7b42e2bd38a733a014d89e1e645ff Mon Sep 17 00:00:00 2001 From: shamoon <4887959+shamoon@users.noreply.github.com> Date: Fri, 11 Aug 2023 07:55:38 -0700 Subject: [PATCH 3/3] Fix jobStats potentially accessed before instantiated --- src/widgets/octoprint/component.jsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 (