From 5c93ad0ab31d98802c015d942bbff8392de64ba1 Mon Sep 17 00:00:00 2001 From: Juanfran Date: Tue, 26 May 2026 12:00:39 +0200 Subject: [PATCH] :bug: Fix delete account modal copy for users with organizations --- frontend/src/app/main/ui/settings/delete_account.cljs | 4 +++- frontend/translations/en.po | 4 ++++ frontend/translations/es.po | 4 ++++ 3 files changed, 11 insertions(+), 1 deletion(-) diff --git a/frontend/src/app/main/ui/settings/delete_account.cljs b/frontend/src/app/main/ui/settings/delete_account.cljs index 9cd19f1f59..c294c8c240 100644 --- a/frontend/src/app/main/ui/settings/delete_account.cljs +++ b/frontend/src/app/main/ui/settings/delete_account.cljs @@ -67,7 +67,9 @@ [:div {:class (stl/css :modal-content)} [:& context-notification {:level :warning - :content (tr "modals.delete-account.info")}] + :content (tr (if has-orgs? + "modals.delete-account.info.with-orgs" + "modals.delete-account.info"))}] (when has-orgs? [:div {:class (stl/css :orgs-section)} diff --git a/frontend/translations/en.po b/frontend/translations/en.po index b155071e18..8383975a62 100644 --- a/frontend/translations/en.po +++ b/frontend/translations/en.po @@ -3536,6 +3536,10 @@ msgstr "Yes, delete my account" msgid "modals.delete-account.info" msgstr "By removing your account you’ll lose all your current projects and archives." +#: src/app/main/ui/settings/delete_account.cljs +msgid "modals.delete-account.info.with-orgs" +msgstr "This action is irreversible. Your account, subscription, and organizations will be deleted immediately. You will also lose access to your current projects and files." + #: src/app/main/ui/settings/delete_account.cljs:43 msgid "modals.delete-account.title" msgstr "Are you sure you want to delete your account?" diff --git a/frontend/translations/es.po b/frontend/translations/es.po index 7b2264197b..ee6f9cbaa1 100644 --- a/frontend/translations/es.po +++ b/frontend/translations/es.po @@ -3435,6 +3435,10 @@ msgstr "Si, borrar mi cuenta" msgid "modals.delete-account.info" msgstr "Si borras tu cuenta perderás todos tus proyectos y archivos." +#: src/app/main/ui/settings/delete_account.cljs +msgid "modals.delete-account.info.with-orgs" +msgstr "Esta acción es irreversible. Tu cuenta, suscripción y organizaciones se eliminarán inmediatamente. También perderás el acceso a tus proyectos y archivos actuales." + #: src/app/main/ui/settings/delete_account.cljs:43 msgid "modals.delete-account.title" msgstr "¿Seguro que quieres borrar tu cuenta?"