Skip to content

A fully open source & end-to-end encrypted note taking alternative to Evernote.

web: clarify notebook/topic delete dialog wording

Abdullah Atta4de5691428a2
diff --git a/apps/web/src/components/notebook/index.js b/apps/web/src/components/notebook/index.js
index e6249b461..b05e1f80a 100644
--- a/apps/web/src/components/notebook/index.js
+++ b/apps/web/src/components/notebook/index.js
@@ -161,7 +161,9 @@ const menuItems = [
negativeButtonText: "No",
checks: {
deleteContainingNotes: {
- text: `Delete all containing notes`
+ text: `Move all notes in ${
+ items.length > 1 ? "these notebooks" : "this notebook"
+ } to trash`
}
}
});
diff --git a/apps/web/src/components/topic/index.js b/apps/web/src/components/topic/index.js
index 41f4e06b3..7ab133914 100644
--- a/apps/web/src/components/topic/index.js
+++ b/apps/web/src/components/topic/index.js
@@ -101,7 +101,9 @@ const menuItems = [
negativeButtonText: "No",
checks: {
deleteContainingNotes: {
- text: `Delete all containing notes`
+ text: `Move all notes in ${
+ items.length > 1 ? "these topics" : "this topic"
+ } to trash`
}
}
});