enhance: improve wording on recycle related ux

- Update confirmations so that tag and property are clearly explained as
  permanently deleted
- Deleted page/delete-confirmation non-en translations since the text
  has changed
This commit is contained in:
Gabriel Horner
2026-04-15 16:21:32 -04:00
parent 7edeae6971
commit eadad9df45
6 changed files with 6 additions and 6 deletions

View File

@@ -1038,7 +1038,7 @@
(ui/icon "alert-triangle")]]
[:div.mt-3.text-center.sm:mt-0.sm:ml-4.sm:text-left
[:h3#modal-headline.text-lg.leading-6.font-medium
(t :page/delete-confirmation)]]]
(t :page/batch-delete-confirmation)]]]
[:ol.p-2.pt-4
(for [page-item pages]

View File

@@ -71,7 +71,9 @@
{:title [:h3.text-lg.leading-6.font-medium.flex.gap-2.items-center
[:span.top-1.relative
(shui/tabler-icon "alert-triangle")]
(t :page/db-delete-confirmation)]
(if (or (ldb/class? page) (ldb/property? page))
(t :page/permanently-delete-confirmation)
(t :page/db-delete-confirmation))]
:content [:p.opacity-60 (str "- " (:block/title page))]
:outside-cancel? true})
(p/then #(delete-page! page))