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

View File

@@ -102,7 +102,6 @@
:page/logseq-is-having-a-problem "Logseq يواجه مشكلة. لمحاولة إعادته إلى حالة العمل، يرجى اتباع الخطوات الآمنة التالية بالترتيب:"
:page/step "الخطوة {1}"
:page/try "حاول"
:page/delete-confirmation "هل أنت متأكد من رغبتك في حذف هذه الصفحة؟"
:page/db-delete-confirmation "هل أنت متأكد من رغبتك في حذف هذه الصفحة؟"
:page/make-public "اجعلها متاحة للنشر"
:page/make-private "اجعله خاصاً"

View File

@@ -196,7 +196,6 @@
:page/created-at "Erstellt am"
:page/db-delete-confirmation "Diese Seite wirklich entfernen?"
:page/delete "Seite löschen"
:page/delete-confirmation "Diese Seite wirklich entfernen?"
:page/logseq-is-having-a-problem "Logseq hat ein Problem festgestellt. Versuche zurückzukehren ..."
:page/make-private "Privat machen"
:page/make-public "Beim Export in HTML veröffentlichen"

View File

@@ -102,8 +102,9 @@
:page/logseq-is-having-a-problem "Logseq is having a problem. To try to get it back to a working state, please try the following safe steps in order:"
:page/step "Step {1}"
:page/try "Try"
:page/delete-confirmation "Are you sure you want to delete this page?"
:page/batch-delete-confirmation "Are you sure you want to delete these page(s)? Properties and tags will be permanently deleted and pages will be recycled."
:page/db-delete-confirmation "Are you sure you want to delete this page?"
:page/permanently-delete-confirmation "Are you sure you want to permanently delete this page?"
:page/make-public "Make it public for publishing"
:page/make-private "Make it private"
:page/delete "Delete page"

View File

@@ -101,7 +101,6 @@
:page/logseq-is-having-a-problem "Logseq está com um problema. Para tentar fazê-lo voltar a funcionar, siga as etapas seguras a seguir:"
:page/step "Etapa {1}"
:page/try "Tentar"
:page/delete-confirmation "Você tem certeza que quer deletar essa página?"
:page/db-delete-confirmation "Você tem certeza que quer deletar essa página?"
:page/make-public "Torná-la pública para publicação"
:page/make-private "Tornar privado"