Skip to content

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

web: localize more missing strings

Abdullah Atta06333cf9aa7a
diff --git a/apps/web/src/common/multi-select.ts b/apps/web/src/common/multi-select.ts
index 05bca871e..86fabff7a 100644
--- a/apps/web/src/common/multi-select.ts
+++ b/apps/web/src/common/multi-select.ts
@@ -63,9 +63,28 @@ async function moveNotesToTrash(ids: string[], confirm = true) {
async function moveNotebooksToTrash(ids: string[]) {
if (!ids.length) return;
- const isMultiselect = ids.length > 1;
- if (isMultiselect) {
- if (!(await showMultiDeleteConfirmation(ids.length))) return;
+ const result = await ConfirmDialog.show({
+ title: strings.doActions.delete.notebook(ids.length),
+ positiveButtonText: strings.yes(),
+ negativeButtonText: strings.no(),
+ checks: {
+ deleteContainingNotes: {
+ text: strings.deleteContainingNotes(ids.length)
+ }
+ }
+ });
+
+ if (!result) return;
+
+ if (result.deleteContainingNotes) {
+ await Multiselect.moveNotesToTrash(
+ Array.from(
+ new Set(
+ (await Promise.all(ids.map((id) => db.notebooks.notes(id)))).flat()
+ )
+ ),
+ false
+ );
}
await TaskManager.startTask({
diff --git a/apps/web/src/components/notebook/index.tsx b/apps/web/src/components/notebook/index.tsx
index 538e1f419..4fa6c6749 100644
--- a/apps/web/src/components/notebook/index.tsx
+++ b/apps/web/src/components/notebook/index.tsx
@@ -37,13 +37,11 @@ import {
import { hashNavigate, navigate } from "../../navigation";
import IconTag from "../icon-tag";
import { Multiselect } from "../../common/multi-select";
-import { pluralize } from "@notesnook/common";
import { getFormattedDate } from "@notesnook/common";
import { MenuItem } from "@notesnook/ui";
import { Notebook as NotebookType } from "@notesnook/core";
import { handleDrop } from "../../common/drop-handler";
import { useDragHandler } from "../../hooks/use-drag-handler";
-import { ConfirmDialog } from "../../dialogs/confirm";
import { useStore as useSelectionStore } from "../../stores/selection-store";
import { strings } from "@notesnook/intl";
@@ -210,30 +208,7 @@ export const notebookMenuItems: (
title: strings.moveToTrash(),
variant: "dangerous",
icon: Trash.path,
- onClick: async () => {
- const result = await ConfirmDialog.show({
- title: `Delete ${pluralize(ids.length, "notebook")}?`,
- positiveButtonText: strings.yes(),
- negativeButtonText: strings.no(),
- checks: {
- deleteContainingNotes: {
- text: `Move all notes in ${
- ids.length > 1 ? "these notebooks" : "this notebook"
- } to trash`
- }
- }
- });
-
- if (result) {
- if (result.deleteContainingNotes) {
- await Multiselect.moveNotesToTrash(
- await db.notebooks.notes(notebook.id),
- false
- );
- }
- await Multiselect.moveNotebooksToTrash(ids);
- }
- },
+ onClick: () => Multiselect.moveNotebooksToTrash(ids),
multiSelect: true
}
];
diff --git a/packages/intl/lingui.config.js b/packages/intl/lingui.config.js
index 210493678..c7ee534ad 100644
--- a/packages/intl/lingui.config.js
+++ b/packages/intl/lingui.config.js
@@ -28,7 +28,7 @@ module.exports = {
catalogs: [
{
path: "<rootDir>/locale/{locale}",
- include: ["src"]
+ include: ["src", "generated"]
}
],
format: "po",
diff --git a/packages/intl/locale/en.po b/packages/intl/locale/en.po
index a621105b3..c34707059 100644
--- a/packages/intl/locale/en.po
+++ b/packages/intl/locale/en.po
@@ -61,6 +61,34 @@ msgstr "{count, plural, one {1 hour} other {# hours}}"
msgid "{count, plural, one {1 minute} other {# minutes}}"
msgstr "{count, plural, one {1 minute} other {# minutes}}"
+#: generated/action-confirmations.ts:32
+msgid "{count, plural, one {Are you sure you want to delete this attachment?} other {Are you sure you to delete these attachments?}}"
+msgstr "{count, plural, one {Are you sure you want to delete this attachment?} other {Are you sure you to delete these attachments?}}"
+
+#: generated/action-confirmations.ts:28
+msgid "{count, plural, one {Are you sure you want to delete this color?} other {Are you sure you to delete these colors?}}"
+msgstr "{count, plural, one {Are you sure you want to delete this color?} other {Are you sure you to delete these colors?}}"
+
+#: generated/action-confirmations.ts:12
+msgid "{count, plural, one {Are you sure you want to delete this item?} other {Are you sure you to delete these items?}}"
+msgstr "{count, plural, one {Are you sure you want to delete this item?} other {Are you sure you to delete these items?}}"
+
+#: generated/action-confirmations.ts:8
+msgid "{count, plural, one {Are you sure you want to delete this note?} other {Are you sure you to delete these notes?}}"
+msgstr "{count, plural, one {Are you sure you want to delete this note?} other {Are you sure you to delete these notes?}}"
+
+#: generated/action-confirmations.ts:20
+msgid "{count, plural, one {Are you sure you want to delete this notebook?} other {Are you sure you to delete these notebooks?}}"
+msgstr "{count, plural, one {Are you sure you want to delete this notebook?} other {Are you sure you to delete these notebooks?}}"
+
+#: generated/action-confirmations.ts:16
+msgid "{count, plural, one {Are you sure you want to delete this reminder?} other {Are you sure you to delete these reminders?}}"
+msgstr "{count, plural, one {Are you sure you want to delete this reminder?} other {Are you sure you to delete these reminders?}}"
+
+#: generated/action-confirmations.ts:24
+msgid "{count, plural, one {Are you sure you want to delete this tag?} other {Are you sure you to delete these tags?}}"
+msgstr "{count, plural, one {Are you sure you want to delete this tag?} other {Are you sure you to delete these tags?}}"
+
#: src/strings.ts:72
msgid "{count, plural, one {Are you sure you want to download all attachments of this note?} other {Are you sure you want to download all attachments?}}"
msgstr "{count, plural, one {Are you sure you want to download all attachments of this note?} other {Are you sure you want to download all attachments?}}"
@@ -69,18 +97,106 @@ msgstr "{count, plural, one {Are you sure you want to download all attachments o
msgid "{count, plural, one {Are you sure you want to move this notebook to {selectedNotebookTitle}?} other {Are you sure you want to move these # notebooks {selectedNotebookTitle}?}}"
msgstr "{count, plural, one {Are you sure you want to move this notebook to {selectedNotebookTitle}?} other {Are you sure you want to move these # notebooks {selectedNotebookTitle}?}}"
+#: generated/action-confirmations.ts:38
+msgid "{count, plural, one {Are you sure you want to permanently delete this note?} other {Are you sure you to permanently delete these notes?}}"
+msgstr "{count, plural, one {Are you sure you want to permanently delete this note?} other {Are you sure you to permanently delete these notes?}}"
+
+#: generated/action-confirmations.ts:42
+msgid "{count, plural, one {Are you sure you want to permanently delete this notebook?} other {Are you sure you to permanently delete these notebooks?}}"
+msgstr "{count, plural, one {Are you sure you want to permanently delete this notebook?} other {Are you sure you to permanently delete these notebooks?}}"
+
#: src/strings.ts:122
msgid "{count, plural, one {Attach image} other {Attach # images}}"
msgstr "{count, plural, one {Attach image} other {Attach # images}}"
+#: generated/actions.ts:8
+msgid "{count, plural, one {Attachment deleted} other {# attachments deleted}}"
+msgstr "{count, plural, one {Attachment deleted} other {# attachments deleted}}"
+
#: src/strings.ts:67
msgid "{count, plural, one {Attachment downloaded at {path}} other {#/{total} attachments downloaded as a zip file at {path}}}"
msgstr "{count, plural, one {Attachment downloaded at {path}} other {#/{total} attachments downloaded as a zip file at {path}}}"
+#: generated/actions.ts:90
+msgid "{count, plural, one {Color renamed} other {# colors renamed}}"
+msgstr "{count, plural, one {Color renamed} other {# colors renamed}}"
+
+#: generated/do-actions.ts:32
+msgid "{count, plural, one {Delete attachment} other {Delete # attachments}}"
+msgstr "{count, plural, one {Delete attachment} other {Delete # attachments}}"
+
+#: generated/do-actions.ts:28
+msgid "{count, plural, one {Delete color} other {Delete # colors}}"
+msgstr "{count, plural, one {Delete color} other {Delete # colors}}"
+
+#: generated/do-actions.ts:12
+msgid "{count, plural, one {Delete item} other {Delete # items}}"
+msgstr "{count, plural, one {Delete item} other {Delete # items}}"
+
+#: generated/do-actions.ts:8
+msgid "{count, plural, one {Delete note} other {Delete # notes}}"
+msgstr "{count, plural, one {Delete note} other {Delete # notes}}"
+
+#: generated/do-actions.ts:20
+msgid "{count, plural, one {Delete notebook} other {Delete # notebooks}}"
+msgstr "{count, plural, one {Delete notebook} other {Delete # notebooks}}"
+
+#: generated/do-actions.ts:16
+msgid "{count, plural, one {Delete reminder} other {Delete # reminders}}"
+msgstr "{count, plural, one {Delete reminder} other {Delete # reminders}}"
+
+#: generated/do-actions.ts:24
+msgid "{count, plural, one {Delete tag} other {Delete # tags}}"
+msgstr "{count, plural, one {Delete tag} other {Delete # tags}}"
+
+#: generated/in-progress-actions.ts:16
+msgid "{count, plural, one {Deleting attachment...} other {Deleting # attachments...}}"
+msgstr "{count, plural, one {Deleting attachment...} other {Deleting # attachments...}}"
+
+#: generated/in-progress-actions.ts:8
+msgid "{count, plural, one {Deleting note...} other {Deleting # notes...}}"
+msgstr "{count, plural, one {Deleting note...} other {Deleting # notes...}}"
+
+#: generated/in-progress-actions.ts:12
+msgid "{count, plural, one {Deleting notebook...} other {Deleting # notebooks...}}"
+msgstr "{count, plural, one {Deleting notebook...} other {Deleting # notebooks...}}"
+
+#: generated/in-progress-actions.ts:24
+msgid "{count, plural, one {Deleting reminder...} other {Deleting # reminders...}}"
+msgstr "{count, plural, one {Deleting reminder...} other {Deleting # reminders...}}"
+
+#: generated/in-progress-actions.ts:20
+msgid "{count, plural, one {Deleting tag...} other {Deleting # tags...}}"
+msgstr "{count, plural, one {Deleting tag...} other {Deleting # tags...}}"
+
+#: generated/do-actions.ts:132
+msgid "{count, plural, one {Download attachment} other {Download # attachments}}"
+msgstr "{count, plural, one {Download attachment} other {Download # attachments}}"
+
+#: generated/do-actions.ts:94
+msgid "{count, plural, one {Edit notebook} other {Edit # notebooks}}"
+msgstr "{count, plural, one {Edit notebook} other {Edit # notebooks}}"
+
+#: generated/do-actions.ts:98
+msgid "{count, plural, one {Edit reminder} other {Edit # reminders}}"
+msgstr "{count, plural, one {Edit reminder} other {Edit # reminders}}"
+
+#: generated/do-actions.ts:90
+msgid "{count, plural, one {Edit tag} other {Edit # tags}}"
+msgstr "{count, plural, one {Edit tag} other {Edit # tags}}"
+
#: src/strings.ts:62
msgid "{count, plural, one {Failed to download attachment} other {Failed to download # attachments}}"
msgstr "{count, plural, one {Failed to download attachment} other {Failed to download # attachments}}"
+#: generated/actions.ts:60
+msgid "{count, plural, one {Item restored} other {# items restored}}"
+msgstr "{count, plural, one {Item restored} other {# items restored}}"
+
+#: src/strings.ts:2372
+msgid "{count, plural, one {Move all notes in this notebook to trash} other {Move all notes in these notebooks to trash}}"
+msgstr "{count, plural, one {Move all notes in this notebook to trash} other {Move all notes in these notebooks to trash}}"
+
#: src/strings.ts:823
msgid "{count, plural, one {Move notebook} other {Move # notebooks}}"
msgstr "{count, plural, one {Move notebook} other {Move # notebooks}}"
@@ -89,10 +205,38 @@ msgstr "{count, plural, one {Move notebook} other {Move # notebooks}}"
msgid "{count, plural, one {Moving {title}} other {Moving # notebooks}}"
msgstr "{count, plural, one {Moving {title}} other {Moving # notebooks}}"
+#: generated/action-errors.ts:14
+msgid "{count, plural, one {Note could not be published} other {# notes could not be published}}"
+msgstr "{count, plural, one {Note could not be published} other {# notes could not be published}}"
+
+#: generated/action-errors.ts:8
+msgid "{count, plural, one {Note could not be unpublished} other {# notes could not be unpublished}}"
+msgstr "{count, plural, one {Note could not be unpublished} other {# notes could not be unpublished}}"
+
+#: generated/actions.ts:20
+msgid "{count, plural, one {Note deleted} other {# notes deleted}}"
+msgstr "{count, plural, one {Note deleted} other {# notes deleted}}"
+
#: src/strings.ts:205
msgid "{count, plural, one {Note exported} other {# notes exported}}"
msgstr "{count, plural, one {Note exported} other {# notes exported}}"
+#: generated/actions.ts:26
+msgid "{count, plural, one {Note moved to trash} other {# notes moved to trash}}"
+msgstr "{count, plural, one {Note moved to trash} other {# notes moved to trash}}"
+
+#: generated/actions.ts:36
+msgid "{count, plural, one {Note permanently deleted} other {# notes permanently deleted}}"
+msgstr "{count, plural, one {Note permanently deleted} other {# notes permanently deleted}}"
+
+#: generated/actions.ts:46
+msgid "{count, plural, one {Note published} other {# notes published}}"
+msgstr "{count, plural, one {Note published} other {# notes published}}"
+
+#: generated/actions.ts:52
+msgid "{count, plural, one {Note restored} other {# notes restored}}"
+msgstr "{count, plural, one {Note restored} other {# notes restored}}"
+
#: src/strings.ts:881
msgid "{count, plural, one {Note will be automatically deleted from all other devices & any future changes won't get synced. Are you sure you want to continue?} other {# notes will be automatically deleted from all other devices & any future changes won't get synced. Are you sure you want to continue?}}"
msgstr "{count, plural, one {Note will be automatically deleted from all other devices & any future changes won't get synced. Are you sure you want to continue?} other {# notes will be automatically deleted from all other devices & any future changes won't get synced. Are you sure you want to continue?}}"
@@ -101,10 +245,114 @@ msgstr "{count, plural, one {Note will be automatically deleted from all other d
msgid "{count, plural, one {note} other {# notes}}"
msgstr "{count, plural, one {note} other {# notes}}"
+#: generated/actions.ts:76
+msgid "{count, plural, one {Notebook created} other {# notebooks created}}"
+msgstr "{count, plural, one {Notebook created} other {# notebooks created}}"
+
+#: generated/actions.ts:70
+msgid "{count, plural, one {Notebook edited} other {# notebooks edited}}"
+msgstr "{count, plural, one {Notebook edited} other {# notebooks edited}}"
+
+#: generated/actions.ts:30
+msgid "{count, plural, one {Notebook moved to trash} other {# notebooks moved to trash}}"
+msgstr "{count, plural, one {Notebook moved to trash} other {# notebooks moved to trash}}"
+
+#: generated/actions.ts:40
+msgid "{count, plural, one {Notebook permanently deleted} other {# notebooks permanently deleted}}"
+msgstr "{count, plural, one {Notebook permanently deleted} other {# notebooks permanently deleted}}"
+
+#: generated/actions.ts:56
+msgid "{count, plural, one {Notebook restored} other {# notebooks restored}}"
+msgstr "{count, plural, one {Notebook restored} other {# notebooks restored}}"
+
+#: generated/do-actions.ts:70
+msgid "{count, plural, one {Permanently delete attachment} other {Permanently delete # attachments}}"
+msgstr "{count, plural, one {Permanently delete attachment} other {Permanently delete # attachments}}"
+
+#: generated/do-actions.ts:74
+msgid "{count, plural, one {Permanently delete item} other {Permanently delete # items}}"
+msgstr "{count, plural, one {Permanently delete item} other {Permanently delete # items}}"
+
+#: generated/do-actions.ts:48
+msgid "{count, plural, one {Pin note} other {Pin # notes}}"
+msgstr "{count, plural, one {Pin note} other {Pin # notes}}"
+
+#: generated/do-actions.ts:52
+msgid "{count, plural, one {Pin notebook} other {Pin # notebooks}}"
+msgstr "{count, plural, one {Pin notebook} other {Pin # notebooks}}"
+
#: src/strings.ts:876
msgid "{count, plural, one {Prevent note from syncing} other {Prevent # notes from syncing}}"
msgstr "{count, plural, one {Prevent note from syncing} other {Prevent # notes from syncing}}"
+#: generated/do-actions.ts:64
+msgid "{count, plural, one {Publish note} other {Publish # notes}}"
+msgstr "{count, plural, one {Publish note} other {Publish # notes}}"
+
+#: generated/actions.ts:12
+msgid "{count, plural, one {Reminder deleted} other {# reminders deleted}}"
+msgstr "{count, plural, one {Reminder deleted} other {# reminders deleted}}"
+
+#: generated/do-actions.ts:126
+msgid "{count, plural, one {Remove attachment} other {Remove # attachments}}"
+msgstr "{count, plural, one {Remove attachment} other {Remove # attachments}}"
+
+#: generated/do-actions.ts:122
+msgid "{count, plural, one {Remove color} other {Remove # colors}}"
+msgstr "{count, plural, one {Remove color} other {Remove # colors}}"
+
+#: generated/do-actions.ts:118
+msgid "{count, plural, one {Remove shortcut} other {Remove # shortcuts}}"
+msgstr "{count, plural, one {Remove shortcut} other {Remove # shortcuts}}"
+
+#: generated/do-actions.ts:104
+msgid "{count, plural, one {Rename attachment} other {Rename # attachments}}"
+msgstr "{count, plural, one {Rename attachment} other {Rename # attachments}}"
+
+#: generated/do-actions.ts:108
+msgid "{count, plural, one {Rename color} other {Rename # colors}}"
+msgstr "{count, plural, one {Rename color} other {Rename # colors}}"
+
+#: generated/do-actions.ts:112
+msgid "{count, plural, one {Rename tag} other {Rename # tags}}"
+msgstr "{count, plural, one {Rename tag} other {Rename # tags}}"
+
+#: generated/do-actions.ts:80
+msgid "{count, plural, one {Restore note} other {Restore # notes}}"
+msgstr "{count, plural, one {Restore note} other {Restore # notes}}"
+
+#: generated/do-actions.ts:84
+msgid "{count, plural, one {Restore notebook} other {Restore # notebooks}}"
+msgstr "{count, plural, one {Restore notebook} other {Restore # notebooks}}"
+
+#: generated/actions.ts:84
+msgid "{count, plural, one {Shortcut created} other {# shortcuts created}}"
+msgstr "{count, plural, one {Shortcut created} other {# shortcuts created}}"
+
+#: generated/actions.ts:80
+msgid "{count, plural, one {Tag created} other {# tags created}}"
+msgstr "{count, plural, one {Tag created} other {# tags created}}"
+
+#: generated/actions.ts:16
+msgid "{count, plural, one {Tag deleted} other {# tags deleted}}"
+msgstr "{count, plural, one {Tag deleted} other {# tags deleted}}"
+
+#: generated/actions.ts:66
+msgid "{count, plural, one {Tag edited} other {# tags edited}}"
+msgstr "{count, plural, one {Tag edited} other {# tags edited}}"
+
+#: generated/do-actions.ts:38
+msgid "{count, plural, one {Unpin note} other {Unpin # notes}}"
+msgstr "{count, plural, one {Unpin note} other {Unpin # notes}}"
+
+#: generated/do-actions.ts:42
+msgid "{count, plural, one {Unpin notebook} other {Unpin # notebooks}}"
+msgstr "{count, plural, one {Unpin notebook} other {Unpin # notebooks}}"
+
+#: generated/do-actions.ts:58
+msgid "{count, plural, one {Unpublish note} other {Unpublish # notes}}"
+msgstr "{count, plural, one {Unpublish note} other {Unpublish # notes}}"
+
#: src/strings.ts:1503
msgid "{days, plural, one {1 day} other {# days}}"
msgstr "{days, plural, one {1 day} other {# days}}"
diff --git a/packages/intl/locale/pseudo-LOCALE.po b/packages/intl/locale/pseudo-LOCALE.po
index 7dbe15422..b7ef30834 100644
--- a/packages/intl/locale/pseudo-LOCALE.po
+++ b/packages/intl/locale/pseudo-LOCALE.po
@@ -61,6 +61,34 @@ msgstr ""
msgid "{count, plural, one {1 minute} other {# minutes}}"
msgstr ""
+#: generated/action-confirmations.ts:32
+msgid "{count, plural, one {Are you sure you want to delete this attachment?} other {Are you sure you to delete these attachments?}}"
+msgstr ""
+
+#: generated/action-confirmations.ts:28
+msgid "{count, plural, one {Are you sure you want to delete this color?} other {Are you sure you to delete these colors?}}"
+msgstr ""
+
+#: generated/action-confirmations.ts:12
+msgid "{count, plural, one {Are you sure you want to delete this item?} other {Are you sure you to delete these items?}}"
+msgstr ""
+
+#: generated/action-confirmations.ts:8
+msgid "{count, plural, one {Are you sure you want to delete this note?} other {Are you sure you to delete these notes?}}"
+msgstr ""
+
+#: generated/action-confirmations.ts:20
+msgid "{count, plural, one {Are you sure you want to delete this notebook?} other {Are you sure you to delete these notebooks?}}"
+msgstr ""
+
+#: generated/action-confirmations.ts:16
+msgid "{count, plural, one {Are you sure you want to delete this reminder?} other {Are you sure you to delete these reminders?}}"
+msgstr ""
+
+#: generated/action-confirmations.ts:24
+msgid "{count, plural, one {Are you sure you want to delete this tag?} other {Are you sure you to delete these tags?}}"
+msgstr ""
+
#: src/strings.ts:72
msgid "{count, plural, one {Are you sure you want to download all attachments of this note?} other {Are you sure you want to download all attachments?}}"
msgstr ""
@@ -69,18 +97,106 @@ msgstr ""
msgid "{count, plural, one {Are you sure you want to move this notebook to {selectedNotebookTitle}?} other {Are you sure you want to move these # notebooks {selectedNotebookTitle}?}}"
msgstr ""
+#: generated/action-confirmations.ts:38
+msgid "{count, plural, one {Are you sure you want to permanently delete this note?} other {Are you sure you to permanently delete these notes?}}"
+msgstr ""
+
+#: generated/action-confirmations.ts:42
+msgid "{count, plural, one {Are you sure you want to permanently delete this notebook?} other {Are you sure you to permanently delete these notebooks?}}"
+msgstr ""
+
#: src/strings.ts:122
msgid "{count, plural, one {Attach image} other {Attach # images}}"
msgstr ""
+#: generated/actions.ts:8
+msgid "{count, plural, one {Attachment deleted} other {# attachments deleted}}"
+msgstr ""
+
#: src/strings.ts:67
msgid "{count, plural, one {Attachment downloaded at {path}} other {#/{total} attachments downloaded as a zip file at {path}}}"
msgstr ""
+#: generated/actions.ts:90
+msgid "{count, plural, one {Color renamed} other {# colors renamed}}"
+msgstr ""
+
+#: generated/do-actions.ts:32
+msgid "{count, plural, one {Delete attachment} other {Delete # attachments}}"
+msgstr ""
+
+#: generated/do-actions.ts:28
+msgid "{count, plural, one {Delete color} other {Delete # colors}}"
+msgstr ""
+
+#: generated/do-actions.ts:12
+msgid "{count, plural, one {Delete item} other {Delete # items}}"
+msgstr ""
+
+#: generated/do-actions.ts:8
+msgid "{count, plural, one {Delete note} other {Delete # notes}}"
+msgstr ""
+
+#: generated/do-actions.ts:20
+msgid "{count, plural, one {Delete notebook} other {Delete # notebooks}}"
+msgstr ""
+
+#: generated/do-actions.ts:16
+msgid "{count, plural, one {Delete reminder} other {Delete # reminders}}"
+msgstr ""
+
+#: generated/do-actions.ts:24
+msgid "{count, plural, one {Delete tag} other {Delete # tags}}"
+msgstr ""
+
+#: generated/in-progress-actions.ts:16
+msgid "{count, plural, one {Deleting attachment...} other {Deleting # attachments...}}"
+msgstr ""
+
+#: generated/in-progress-actions.ts:8
+msgid "{count, plural, one {Deleting note...} other {Deleting # notes...}}"
+msgstr ""
+
+#: generated/in-progress-actions.ts:12
+msgid "{count, plural, one {Deleting notebook...} other {Deleting # notebooks...}}"
+msgstr ""
+
+#: generated/in-progress-actions.ts:24
+msgid "{count, plural, one {Deleting reminder...} other {Deleting # reminders...}}"
+msgstr ""
+
+#: generated/in-progress-actions.ts:20
+msgid "{count, plural, one {Deleting tag...} other {Deleting # tags...}}"
+msgstr ""
+
+#: generated/do-actions.ts:132
+msgid "{count, plural, one {Download attachment} other {Download # attachments}}"
+msgstr ""
+
+#: generated/do-actions.ts:94
+msgid "{count, plural, one {Edit notebook} other {Edit # notebooks}}"
+msgstr ""
+
+#: generated/do-actions.ts:98
+msgid "{count, plural, one {Edit reminder} other {Edit # reminders}}"
+msgstr ""
+
+#: generated/do-actions.ts:90
+msgid "{count, plural, one {Edit tag} other {Edit # tags}}"
+msgstr ""
+
#: src/strings.ts:62
msgid "{count, plural, one {Failed to download attachment} other {Failed to download # attachments}}"
msgstr ""
+#: generated/actions.ts:60
+msgid "{count, plural, one {Item restored} other {# items restored}}"
+msgstr ""
+
+#: src/strings.ts:2372
+msgid "{count, plural, one {Move all notes in this notebook to trash} other {Move all notes in these notebooks to trash}}"
+msgstr ""
+
#: src/strings.ts:823
msgid "{count, plural, one {Move notebook} other {Move # notebooks}}"
msgstr ""
@@ -89,10 +205,38 @@ msgstr ""
msgid "{count, plural, one {Moving {title}} other {Moving # notebooks}}"
msgstr ""
+#: generated/action-errors.ts:14
+msgid "{count, plural, one {Note could not be published} other {# notes could not be published}}"
+msgstr ""
+
+#: generated/action-errors.ts:8
+msgid "{count, plural, one {Note could not be unpublished} other {# notes could not be unpublished}}"
+msgstr ""
+
+#: generated/actions.ts:20
+msgid "{count, plural, one {Note deleted} other {# notes deleted}}"
+msgstr ""
+
#: src/strings.ts:205
msgid "{count, plural, one {Note exported} other {# notes exported}}"
msgstr ""
+#: generated/actions.ts:26
+msgid "{count, plural, one {Note moved to trash} other {# notes moved to trash}}"
+msgstr ""
+
+#: generated/actions.ts:36
+msgid "{count, plural, one {Note permanently deleted} other {# notes permanently deleted}}"
+msgstr ""
+
+#: generated/actions.ts:46
+msgid "{count, plural, one {Note published} other {# notes published}}"
+msgstr ""
+
+#: generated/actions.ts:52
+msgid "{count, plural, one {Note restored} other {# notes restored}}"
+msgstr ""
+
#: src/strings.ts:881
msgid "{count, plural, one {Note will be automatically deleted from all other devices & any future changes won't get synced. Are you sure you want to continue?} other {# notes will be automatically deleted from all other devices & any future changes won't get synced. Are you sure you want to continue?}}"
msgstr ""
@@ -101,10 +245,114 @@ msgstr ""
msgid "{count, plural, one {note} other {# notes}}"
msgstr ""
+#: generated/actions.ts:76
+msgid "{count, plural, one {Notebook created} other {# notebooks created}}"
+msgstr ""
+
+#: generated/actions.ts:70
+msgid "{count, plural, one {Notebook edited} other {# notebooks edited}}"
+msgstr ""
+
+#: generated/actions.ts:30
+msgid "{count, plural, one {Notebook moved to trash} other {# notebooks moved to trash}}"
+msgstr ""
+
+#: generated/actions.ts:40
+msgid "{count, plural, one {Notebook permanently deleted} other {# notebooks permanently deleted}}"
+msgstr ""
+
+#: generated/actions.ts:56
+msgid "{count, plural, one {Notebook restored} other {# notebooks restored}}"
+msgstr ""
+
+#: generated/do-actions.ts:70
+msgid "{count, plural, one {Permanently delete attachment} other {Permanently delete # attachments}}"
+msgstr ""
+
+#: generated/do-actions.ts:74
+msgid "{count, plural, one {Permanently delete item} other {Permanently delete # items}}"
+msgstr ""
+
+#: generated/do-actions.ts:48
+msgid "{count, plural, one {Pin note} other {Pin # notes}}"
+msgstr ""
+
+#: generated/do-actions.ts:52
+msgid "{count, plural, one {Pin notebook} other {Pin # notebooks}}"
+msgstr ""
+
#: src/strings.ts:876
msgid "{count, plural, one {Prevent note from syncing} other {Prevent # notes from syncing}}"
msgstr ""
+#: generated/do-actions.ts:64
+msgid "{count, plural, one {Publish note} other {Publish # notes}}"
+msgstr ""
+
+#: generated/actions.ts:12
+msgid "{count, plural, one {Reminder deleted} other {# reminders deleted}}"
+msgstr ""
+
+#: generated/do-actions.ts:126
+msgid "{count, plural, one {Remove attachment} other {Remove # attachments}}"
+msgstr ""
+
+#: generated/do-actions.ts:122
+msgid "{count, plural, one {Remove color} other {Remove # colors}}"
+msgstr ""
+
+#: generated/do-actions.ts:118
+msgid "{count, plural, one {Remove shortcut} other {Remove # shortcuts}}"
+msgstr ""
+
+#: generated/do-actions.ts:104
+msgid "{count, plural, one {Rename attachment} other {Rename # attachments}}"
+msgstr ""
+
+#: generated/do-actions.ts:108
+msgid "{count, plural, one {Rename color} other {Rename # colors}}"
+msgstr ""
+
+#: generated/do-actions.ts:112
+msgid "{count, plural, one {Rename tag} other {Rename # tags}}"
+msgstr ""
+
+#: generated/do-actions.ts:80
+msgid "{count, plural, one {Restore note} other {Restore # notes}}"
+msgstr ""
+
+#: generated/do-actions.ts:84
+msgid "{count, plural, one {Restore notebook} other {Restore # notebooks}}"
+msgstr ""
+
+#: generated/actions.ts:84
+msgid "{count, plural, one {Shortcut created} other {# shortcuts created}}"
+msgstr ""
+
+#: generated/actions.ts:80
+msgid "{count, plural, one {Tag created} other {# tags created}}"
+msgstr ""
+
+#: generated/actions.ts:16
+msgid "{count, plural, one {Tag deleted} other {# tags deleted}}"
+msgstr ""
+
+#: generated/actions.ts:66
+msgid "{count, plural, one {Tag edited} other {# tags edited}}"
+msgstr ""
+
+#: generated/do-actions.ts:38
+msgid "{count, plural, one {Unpin note} other {Unpin # notes}}"
+msgstr ""
+
+#: generated/do-actions.ts:42
+msgid "{count, plural, one {Unpin notebook} other {Unpin # notebooks}}"
+msgstr ""
+
+#: generated/do-actions.ts:58
+msgid "{count, plural, one {Unpublish note} other {Unpublish # notes}}"
+msgstr ""
+
#: src/strings.ts:1503
msgid "{days, plural, one {1 day} other {# days}}"
msgstr ""
diff --git a/packages/intl/src/strings.ts b/packages/intl/src/strings.ts
index fc3ced0a2..302356d63 100644
--- a/packages/intl/src/strings.ts
+++ b/packages/intl/src/strings.ts
@@ -2375,5 +2375,10 @@ Use this if changes from other devices are not appearing on this device. This wi
schoolWorkDesc: () => t`Everything related to my school in one place.`,
recipes: () => t`Recipes`,
recipesDesc: () => t`I love cooking and collecting recipes.`,
- error: () => t`Error`
+ error: () => t`Error`,
+ deleteContainingNotes: (count: number) =>
+ plural(count, {
+ one: `Move all notes in this notebook to trash`,
+ other: `Move all notes in these notebooks to trash`
+ })
};