🐛 Fix delete account modal copy for users with organizations

This commit is contained in:
Juanfran 2026-05-26 12:00:39 +02:00
parent 10074bc700
commit 5c93ad0ab3
3 changed files with 11 additions and 1 deletions

View File

@ -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)}

View File

@ -3536,6 +3536,10 @@ msgstr "Yes, delete my account"
msgid "modals.delete-account.info"
msgstr "By removing your account youll 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?"

View File

@ -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?"