mirror of
https://github.com/logseq/logseq.git
synced 2026-06-01 19:01:22 +00:00
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:
@@ -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]
|
||||
|
||||
@@ -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))
|
||||
|
||||
Reference in New Issue
Block a user