From 5817b5fe1986f5dcdead27cf0e12bddf0475929b Mon Sep 17 00:00:00 2001 From: Alejandro Alonso Date: Fri, 25 Mar 2022 12:49:05 +0100 Subject: [PATCH] :bug: Fix completed export text not shown --- frontend/src/app/main/ui/export.cljs | 2 ++ frontend/translations/en.po | 4 ++++ frontend/translations/es.po | 6 +++++- 3 files changed, 11 insertions(+), 1 deletion(-) diff --git a/frontend/src/app/main/ui/export.cljs b/frontend/src/app/main/ui/export.cljs index f6c17187e..3b273c399 100644 --- a/frontend/src/app/main/ui/export.cljs +++ b/frontend/src/app/main/ui/export.cljs @@ -176,6 +176,7 @@ progress (:progress state) exports (:exports state) total (count exports) + complete? (= progress total) circ (* 2 Math/PI 12) pct (- circ (* circ (/ progress total))) @@ -188,6 +189,7 @@ (not healthy?) clr/warning) title (cond error? (tr "workspace.options.exporting-object-error") + complete? (tr "workspace.options.exporting-complete") healthy? (tr "workspace.options.exporting-object") (not healthy?) (tr "workspace.options.exporting-object-slow")) diff --git a/frontend/translations/en.po b/frontend/translations/en.po index 9ad21b2c0..ce9150436 100644 --- a/frontend/translations/en.po +++ b/frontend/translations/en.po @@ -2549,6 +2549,10 @@ msgstr "Suffix" msgid "workspace.options.exporting-object" msgstr "Exporting…" +#: src/app/main/ui/workspace/sidebar/options/menus/exports.cljs, src/app/main/ui/handoff/exports.cljs, src/app/main/ui/workspace/header.cljs +msgid "workspace.options.exporting-complete" +msgstr "Export complete" + #: src/app/main/ui/workspace/sidebar/options/menus/exports.cljs, src/app/main/ui/handoff/exports.cljs, src/app/main/ui/workspace/header.cljs msgid "workspace.options.exporting-object-error" msgstr "Export failed" diff --git a/frontend/translations/es.po b/frontend/translations/es.po index ccc402c43..c09e0e91b 100644 --- a/frontend/translations/es.po +++ b/frontend/translations/es.po @@ -2564,6 +2564,10 @@ msgstr "Sufijo" msgid "workspace.options.exporting-object" msgstr "Exportando..." +#: src/app/main/ui/workspace/sidebar/options/menus/exports.cljs, src/app/main/ui/handoff/exports.cljs, src/app/main/ui/workspace/header.cljs +msgid "workspace.options.exporting-complete" +msgstr "Exportación completa" + #: src/app/main/ui/workspace/sidebar/options/menus/exports.cljs, src/app/main/ui/handoff/exports.cljs, src/app/main/ui/workspace/header.cljs msgid "workspace.options.exporting-object-error" msgstr "Exportación fallida" @@ -3671,4 +3675,4 @@ msgid "workspace.updates.update" msgstr "Actualizar" msgid "workspace.viewport.click-to-close-path" -msgstr "Pulsar para cerrar la ruta" \ No newline at end of file +msgstr "Pulsar para cerrar la ruta"