From 89f40dcda231cc50af032f3862279e5ef4261eb0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Elena=20Torr=C3=B3?= Date: Mon, 19 Jan 2026 11:24:19 +0100 Subject: [PATCH] :wrench: Move WebGL context error message to 'errors' namespace (#8117) --- frontend/src/app/main/ui/static.cljs | 4 ++-- frontend/translations/en.po | 12 ++++++------ frontend/translations/es.po | 12 ++++++------ 3 files changed, 14 insertions(+), 14 deletions(-) diff --git a/frontend/src/app/main/ui/static.cljs b/frontend/src/app/main/ui/static.cljs index 96ec92fd8b..668fe8dae0 100644 --- a/frontend/src/app/main/ui/static.cljs +++ b/frontend/src/app/main/ui/static.cljs @@ -312,8 +312,8 @@ [] (let [on-reload (mf/use-fn #(js/location.reload))] [:> error-container* {} - [:div {:class (stl/css :main-message)} (tr "labels.webgl-context-lost.main-message")] - [:div {:class (stl/css :desc-message)} (tr "labels.webgl-context-lost.desc-message")] + [:div {:class (stl/css :main-message)} (tr "errors.webgl-context-lost.main-message")] + [:div {:class (stl/css :desc-message)} (tr "errors.webgl-context-lost.desc-message")] [:div {:class (stl/css :buttons-container)} [:> button* {:variant "primary" :on-click on-reload} (tr "labels.reload-page")]]])) diff --git a/frontend/translations/en.po b/frontend/translations/en.po index 8524ffd135..840a85a8d4 100644 --- a/frontend/translations/en.po +++ b/frontend/translations/en.po @@ -1559,6 +1559,12 @@ msgstr "Old password is incorrect" msgid "feedback.description" msgstr "Description" +msgid "errors.webgl-context-lost.main-message" +msgstr "Oops! The canvas context was lost" + +msgid "errors.webgl-context-lost.desc-message" +msgstr "WebGL has stopped working. Please reload the page to reset it" + #: src/app/main/ui/settings/feedback.cljs:122 msgid "feedback.description-placeholder" msgstr "Please describe the reason of your feedback" @@ -8478,12 +8484,6 @@ msgstr "Recent" msgid "labels.deleted" msgstr "Deleted" -msgid "labels.webgl-context-lost.main-message" -msgstr "Oops! The canvas context was lost" - -msgid "labels.webgl-context-lost.desc-message" -msgstr "WebGL has stopped working. Please reload the page to reset it" - msgid "dashboard.restore-all-deleted-button" msgstr "Restore All" diff --git a/frontend/translations/es.po b/frontend/translations/es.po index ff4edb86de..18867cf814 100644 --- a/frontend/translations/es.po +++ b/frontend/translations/es.po @@ -1552,6 +1552,12 @@ msgstr "El email o la contraseña son incorrectos." msgid "errors.wrong-old-password" msgstr "La contraseña anterior no es correcta" +msgid "errors.webgl-context-lost.main-message" +msgstr "Ups! Se ha perdido el contexto del canvas" + +msgid "errors.webgl-context-lost.desc-message" +msgstr "WebGL ha dejado de funcionar. Por favor, recarga la página para restaurarlo" + #: src/app/main/ui/settings/feedback.cljs:120 msgid "feedback.description" msgstr "Descripción" @@ -8331,12 +8337,6 @@ msgstr "Recientes" msgid "labels.deleted" msgstr "Eliminados" -msgid "labels.webgl-context-lost.main-message" -msgstr "Ups! Se ha perdido el contexto del canvas" - -msgid "labels.webgl-context-lost.desc-message" -msgstr "WebGL ha dejado de funcionar. Por favor, recarga la página para restaurarlo" - msgid "dashboard.restore-all-deleted-button" msgstr "Restaurar todo"