Skip to content

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

mobile: migrate more strings

Ammar Ahmedd31f6688f86a
diff --git a/apps/mobile/app/components/attachments/actions.tsx b/apps/mobile/app/components/attachments/actions.tsx
index 97bf6355e..41aada248 100644
--- a/apps/mobile/app/components/attachments/actions.tsx
+++ b/apps/mobile/app/components/attachments/actions.tsx
@@ -166,7 +166,7 @@ const Actions = ({
eSendEvent(eDBItemUpdate, attachment.id);
}
},
- positiveText: "Rename"
+ positiveText: strings.rename()
});
},
icon: "form-textbox"
diff --git a/apps/mobile/app/components/dialogs/result/index.js b/apps/mobile/app/components/dialogs/result/index.js
index 9fd956654..1249ddcb8 100644
--- a/apps/mobile/app/components/dialogs/result/index.js
+++ b/apps/mobile/app/components/dialogs/result/index.js
@@ -39,10 +39,9 @@ const ResultDialog = () => {
const { colors } = useThemeColors();
const [visible, setVisible] = useState(false);
const [dialogData, setDialogData] = useState({
- title: "Thank you for signing up!",
- paragraph:
- "Try out all features of Notesnook free for 7 days. No limitations. No commitments.",
- button: "Start taking notes"
+ title: "",
+ paragraph: "",
+ button: ""
});
useEffect(() => {
eSubscribeEvent(eOpenResultDialog, open);
diff --git a/apps/mobile/app/components/dialogs/vault/index.js b/apps/mobile/app/components/dialogs/vault/index.js
index 57cfddeaf..a1f6cc556 100644
--- a/apps/mobile/app/components/dialogs/vault/index.js
+++ b/apps/mobile/app/components/dialogs/vault/index.js
@@ -179,7 +179,7 @@ export class VaultDialog extends Component {
if (this.state.loading) {
ToastManager.show({
heading: this.state.title,
- message: "Please wait and do not close the app.",
+ message: strings.pleaseWait() + "...",
type: "success",
context: "local"
});
@@ -214,8 +214,7 @@ export class VaultDialog extends Component {
if (!this.password) {
ToastManager.show({
- heading: "Password not entered",
- message: "Enter a password for the vault and try again.",
+ heading: strings.passwordNotEntered(),
type: "error",
context: "local"
});
@@ -225,7 +224,7 @@ export class VaultDialog extends Component {
if (!this.state.novault) {
if (this.password !== this.confirmPassword) {
ToastManager.show({
- heading: "Passwords do not match",
+ heading: strings.passwordNotMatched(),
type: "error",
context: "local"
});
@@ -251,7 +250,7 @@ export class VaultDialog extends Component {
this._enrollFingerprint(this.newPassword);
}
ToastManager.show({
- heading: "Vault password updated successfully",
+ heading: strings.passwordUpdated(),
type: "success",
context: "global"
});
@@ -263,8 +262,7 @@ export class VaultDialog extends Component {
});
if (e.message === db.vault.ERRORS.wrongPassword) {
ToastManager.show({
- heading: "Incorrect password",
- message: "Please enter the correct password and try again",
+ heading: strings.passwordIncorrect(),
type: "error",
context: "local"
});
@@ -275,8 +273,7 @@ export class VaultDialog extends Component {
} else if (this.state.locked) {
if (!this.password || this.password.trim() === 0) {
ToastManager.show({
- heading: "Incorrect password",
- message: "Please enter the correct password and try again",
+ heading: strings.passwordIncorrect(),
type: "error",
context: "local"
});
@@ -344,8 +341,7 @@ export class VaultDialog extends Component {
this.close();
} else {
ToastManager.show({
- heading: "Account password incorrect",
- message: "Please enter correct password for your account.",
+ heading: strings.passwordIncorrect(),
type: "error",
context: "local"
});
@@ -386,8 +382,7 @@ export class VaultDialog extends Component {
eSendEvent("vaultUpdated");
} catch (e) {
ToastManager.show({
- heading: "Vault password incorrect",
- message: "Please enter correct password to clear vault.",
+ heading: strings.passwordIncorrect(),
type: "error",
context: "local"
});
@@ -400,7 +395,7 @@ export class VaultDialog extends Component {
async _lockNote() {
if (!this.password || this.password.trim() === 0) {
ToastManager.show({
- heading: "Incorrect password",
+ heading: strings.passwordIncorrect(),
type: "error",
context: "local"
});
@@ -413,7 +408,7 @@ export class VaultDialog extends Component {
this.close();
ToastManager.show({
- message: "Note locked successfully",
+ message: strings.noteLocked(),
type: "error",
context: "local"
});
@@ -426,8 +421,7 @@ export class VaultDialog extends Component {
async _unlockNote() {
if (!this.password || this.password.trim() === 0) {
ToastManager.show({
- heading: "Incorrect password",
- message: "Please enter the correct password and try again",
+ heading: strings.passwordIncorrect(),
type: "error",
context: "local"
});
@@ -484,8 +478,7 @@ export class VaultDialog extends Component {
});
eSendEvent("vaultUpdated");
ToastManager.show({
- heading: "Biometric unlocking enabled!",
- message: "Now you can unlock notes in vault with biometrics.",
+ heading: strings.biometricUnlockEnabled(),
type: "success",
context: "global"
});
@@ -493,9 +486,7 @@ export class VaultDialog extends Component {
} catch (e) {
this.close();
ToastManager.show({
- heading: "Incorrect password",
- message:
- "Please enter the correct vault password to enable biometrics.",
+ heading: strings.passwordIncorrect(),
type: "error",
context: "local"
});
@@ -520,7 +511,7 @@ export class VaultDialog extends Component {
loading: false
});
ToastManager.show({
- heading: "Note added to vault",
+ heading: strings.noteLocked(),
type: "success",
context: "global"
});
@@ -528,7 +519,7 @@ export class VaultDialog extends Component {
} else {
eSendEvent("vaultUpdated");
ToastManager.show({
- heading: "Vault created successfully",
+ heading: strings.vaultCreated(),
type: "success",
context: "global"
});
@@ -541,7 +532,7 @@ export class VaultDialog extends Component {
.remove(this.state.note.id, this.password)
.then(() => {
ToastManager.show({
- heading: "Note permanently unlocked.",
+ heading: strings.noteUnlocked(),
type: "success",
context: "global"
});
@@ -568,9 +559,8 @@ export class VaultDialog extends Component {
async _copyNote(note) {
Clipboard.setString((await convertNoteToText(note, true)) || "");
ToastManager.show({
- heading: "Note copied",
+ heading: strings.noteCopied(),
type: "success",
- message: "Note has been copied to clipboard!",
context: "global"
});
this.close();
@@ -580,7 +570,7 @@ export class VaultDialog extends Component {
this.close();
try {
await Share.open({
- heading: "Share note",
+ heading: note.title,
failOnCancel: false,
message: (await convertNoteToText(note)) || ""
});
@@ -600,7 +590,7 @@ export class VaultDialog extends Component {
});
setTimeout(() => {
ToastManager.show({
- heading: "Incorrect password",
+ heading: strings.passwordIncorrect(),
type: "error",
context: "local"
});
@@ -615,14 +605,13 @@ export class VaultDialog extends Component {
await BiometricService.resetCredentials();
eSendEvent("vaultUpdated");
ToastManager.show({
- heading: "Biometric unlocking disabled!",
+ heading: strings.biometricUnlockDisabled(),
type: "success",
context: "global"
});
} catch (e) {
ToastManager.show({
- heading: "Failed to disable Biometric unlocking.",
- message: e.message,
+ heading: e.message,
type: "success",
context: "global"
});
diff --git a/apps/mobile/app/components/intro/index.js b/apps/mobile/app/components/intro/index.js
index 0f2e84eae..93acf19c2 100644
--- a/apps/mobile/app/components/intro/index.js
+++ b/apps/mobile/app/components/intro/index.js
@@ -97,11 +97,13 @@ const Intro = ({ navigation }) => {
extraBold
size={SIZE.xxl}
>
- {heading}
+ {heading()}
</Heading>
))}
- {item.body ? <Paragraph size={SIZE.sm}>{item.body}</Paragraph> : null}
+ {item.body ? (
+ <Paragraph size={SIZE.sm}>{item.body()}</Paragraph>
+ ) : null}
{item.tesimonial ? (
<Paragraph
@@ -113,7 +115,7 @@ const Intro = ({ navigation }) => {
Linking.openURL(item.link);
}}
>
- {item.tesimonial} — {item.user}
+ {item.tesimonial()} — {item.user}
</Paragraph>
) : null}
</View>
@@ -153,26 +155,7 @@ const Intro = ({ navigation }) => {
index={0}
useReactNativeGestureHandler={true}
showPagination
- data={[
- {
- headings: ["Open source.", "End to end encrypted.", "Private."],
- body: "Write notes with freedom, no spying, no tracking."
- },
- {
- headings: [
- "Privacy for everyone",
- "— not just the",
- "privileged few"
- ],
- body: "Your privacy matters to us, no matter who you are. In a world where everyone is trying to spy on you, Notesnook encrypts all your data before it leaves your device. With Notesnook no one can ever sell your data again."
- },
- {
- tesimonial:
- "You simply cannot get any better of a note taking app than @notesnook. The UI is clean and slick, it is feature rich, encrypted, reasonably priced (esp. for students & educators) & open source",
- link: "https://twitter.com/andrewsayer/status/1637817220113002503",
- user: "@andrewsayer on Twitter"
- }
- ]}
+ data={strings.introData()}
paginationActiveColor={colors.primary.accent}
paginationStyleItem={{
width: 10,
diff --git a/apps/mobile/app/components/list-items/headers/notebook-header.tsx b/apps/mobile/app/components/list-items/headers/notebook-header.tsx
index c7d8d4506..8d0f154f6 100644
--- a/apps/mobile/app/components/list-items/headers/notebook-header.tsx
+++ b/apps/mobile/app/components/list-items/headers/notebook-header.tsx
@@ -58,7 +58,7 @@ export const NotebookHeader = ({
}
});
ToastManager.show({
- heading: "Shortcut created",
+ heading: strings.shortcutCreated(),
type: "success"
});
}
diff --git a/apps/mobile/app/components/list-items/notebook/wrapper.tsx b/apps/mobile/app/components/list-items/notebook/wrapper.tsx
index 61fc2933a..7e3ef6f82 100644
--- a/apps/mobile/app/components/list-items/notebook/wrapper.tsx
+++ b/apps/mobile/app/components/list-items/notebook/wrapper.tsx
@@ -28,6 +28,7 @@ import { useSelectionStore } from "../../../stores/use-selection-store";
import { useTrashStore } from "../../../stores/use-trash-store";
import { presentDialog } from "../../dialog/functions";
import SelectionWrapper, { selectItem } from "../selection-wrapper";
+import { strings } from "@notesnook/intl";
export const openNotebook = (item: Notebook | BaseTrashItem<Notebook>) => {
const isTrash = item.type === "trash";
@@ -36,16 +37,15 @@ export const openNotebook = (item: Notebook | BaseTrashItem<Notebook>) => {
if (isTrash) {
presentDialog({
- title: `Restore notebook`,
- paragraph: `Restore or delete notebook forever`,
- positiveText: "Restore",
- negativeText: "Delete",
+ title: strings.restoreNotebook(),
+ positiveText: strings.restore(),
+ negativeText: strings.delete(),
positivePress: async () => {
await db.trash.restore(item.id);
Navigation.queueRoutesForUpdate();
useSelectionStore.getState().setSelectionMode(undefined);
ToastManager.show({
- heading: "Restore successful",
+ heading: strings.notebookRestored(),
type: "success"
});
},
@@ -54,7 +54,7 @@ export const openNotebook = (item: Notebook | BaseTrashItem<Notebook>) => {
useTrashStore.getState().refresh();
useSelectionStore.getState().setSelectionMode(undefined);
ToastManager.show({
- heading: "Permanently deleted items",
+ heading: strings.permanentlyDeletedNotebook(),
type: "success",
context: "local"
});
diff --git a/apps/mobile/app/components/note-history/preview.js b/apps/mobile/app/components/note-history/preview.js
index 171b33ba5..5bb1f447f 100644
--- a/apps/mobile/app/components/note-history/preview.js
+++ b/apps/mobile/app/components/note-history/preview.js
@@ -52,7 +52,7 @@ export default function NotePreview({ session, content, note }) {
Navigation.queueRoutesForUpdate();
useSelectionStore.getState().setSelectionMode(false);
ToastManager.show({
- heading: "Restore successful",
+ heading: strings.noteRestored(),
type: "success"
});
eSendEvent(eCloseSheet);
@@ -73,7 +73,7 @@ export default function NotePreview({ session, content, note }) {
Navigation.queueRoutesForUpdate();
ToastManager.show({
- heading: "Note restored successfully",
+ heading: strings.noteRestoredFromHistory(),
type: "success"
});
}
@@ -84,17 +84,17 @@ export default function NotePreview({ session, content, note }) {
const deleteNote = async () => {
presentDialog({
- title: `Delete note permanently`,
- paragraph: `Are you sure you want to delete this note from trash permanentaly`,
- positiveText: "Delete",
- negativeText: "Cancel",
+ title: strings.deleteNote(),
+ paragraph: strings.deleteNoteConfirmation(),
+ positiveText: strings.delete(),
+ negativeText: strings.cancel(),
context: "local",
positivePress: async () => {
await db.trash.delete(note.id);
useTrashStore.getState().refresh();
useSelectionStore.getState().setSelectionMode(false);
ToastManager.show({
- heading: "Permanently deleted items",
+ heading: strings.noteDeleted(),
type: "success",
context: "local"
});
diff --git a/apps/mobile/app/components/selection-header/index.tsx b/apps/mobile/app/components/selection-header/index.tsx
index 8158aa9bb..db9bdfd05 100644
--- a/apps/mobile/app/components/selection-header/index.tsx
+++ b/apps/mobile/app/components/selection-header/index.tsx
@@ -46,6 +46,7 @@ import { MoveNotebookSheet } from "../sheets/move-notebook";
import { Button } from "../ui/button";
import { IconButton } from "../ui/icon-button";
import Heading from "../ui/typography/heading";
+import { strings } from "@notesnook/intl";
export const SelectionHeader = React.memo(
({
@@ -94,21 +95,20 @@ export const SelectionHeader = React.memo(
clearSelection();
ToastManager.show({
- heading: "Restore successful",
+ heading: strings.restored(),
type: "success"
});
};
const deleteItem = async () => {
presentDialog({
- title: `Delete ${selectedItemsList.length > 1 ? "items" : "item"}`,
- paragraph: `Are you sure you want to delete ${
- selectedItemsList.length > 1
- ? "these items permanently?"
- : "this item permanently?"
- }`,
- positiveText: "Delete",
- negativeText: "Cancel",
+ title: strings.deleteItems(type as string, selectedItemsList.length),
+ paragraph: strings.deleteItemsConfirmation(
+ type as string,
+ selectedItemsList.length
+ ),
+ positiveText: strings.delete(),
+ negativeText: strings.cancel(),
positivePress: async () => {
if (!selectedItemsList.length) return;
await db.trash.delete(...selectedItemsList);
@@ -236,10 +236,7 @@ export const SelectionHeader = React.memo(
>
{[
{
- title:
- selectedItemsList.length > 1
- ? "Move notebooks"
- : "Move notebook",
+ title: strings.move(),
onPress: async () => {
const ids = selectedItemsList;
const notebooks = await db.notebooks.all.items(ids);
@@ -249,7 +246,7 @@ export const SelectionHeader = React.memo(
icon: "arrow-right-bold-box-outline"
},
{
- title: "Manage tags",
+ title: strings.manageTags(),
onPress: async () => {
await sleep(100);
ManageTagsSheet.present(selectedItemsList);
@@ -258,7 +255,7 @@ export const SelectionHeader = React.memo(
icon: "pound"
},
{
- title: "Export",
+ title: strings.export(),
onPress: async () => {
await sleep(100);
ExportNotesSheet.present(selectedItemsList);
@@ -267,7 +264,7 @@ export const SelectionHeader = React.memo(
icon: "export"
},
{
- title: "Link notebook",
+ title: strings.linkNotebook(),
onPress: async () => {
await sleep(100);
MoveNoteSheet.present();
@@ -276,7 +273,7 @@ export const SelectionHeader = React.memo(
icon: "plus"
},
{
- title: "Unlink notebook",
+ title: strings.unlinkNotebook(),
onPress: async () => {
if (!id) return;
await db.notes.removeFromNotebook(id, ...selectedItemsList);
@@ -288,13 +285,13 @@ export const SelectionHeader = React.memo(
icon: "minus"
},
{
- title: "Unfavorite",
+ title: strings.unfavorite(),
onPress: addToFavorite,
visible: focusedRouteId === "Favorites",
icon: "star-off"
},
{
- title: `Move to trash`,
+ title: strings.moveToTrash(),
onPress: async () => {
deleteItems(
undefined,
@@ -308,13 +305,13 @@ export const SelectionHeader = React.memo(
icon: "delete"
},
{
- title: `Restore`,
+ title: strings.restore(),
onPress: restoreItem,
visible: type === "trash",
icon: "delete-restore"
},
{
- title: `Delete`,
+ title: strings.delete(),
onPress: deleteItem,
visible: type === "trash",
icon: "delete"
diff --git a/apps/mobile/app/components/sheets/add-notebook/index.tsx b/apps/mobile/app/components/sheets/add-notebook/index.tsx
index 623091aea..22174039e 100644
--- a/apps/mobile/app/components/sheets/add-notebook/index.tsx
+++ b/apps/mobile/app/components/sheets/add-notebook/index.tsx
@@ -63,18 +63,18 @@ export const AddNotebookSheet = ({
const onSaveChanges = async () => {
if (loading) return;
- setLoading(true);
if (!title.current || title?.current.trim().length === 0) {
ToastManager.show({
- heading: "Notebook title is required",
+ heading: strings.enterNotebookTitle(),
type: "error",
context: "local"
});
- setLoading(false);
return;
}
+ setLoading(true);
+
const id = await db.notebooks.add({
title: title.current,
description: description.current,
diff --git a/apps/mobile/app/components/sheets/change-email/index.tsx b/apps/mobile/app/components/sheets/change-email/index.tsx
index 4c8386b10..e8155366d 100644
--- a/apps/mobile/app/components/sheets/change-email/index.tsx
+++ b/apps/mobile/app/components/sheets/change-email/index.tsx
@@ -89,8 +89,7 @@ export const ChangeEmail = ({ close }: ChangeEmailProps) => {
eSendEvent(eUserLoggedIn);
close?.();
ToastManager.show({
- heading: `Email changed`,
- message: `Your account email has been updated to ${emailChangeData.current.email}`,
+ heading: strings.emailUpdated(emailChangeData.current.email),
type: "success",
context: "global"
});
diff --git a/apps/mobile/app/components/sheets/export-notes/index.tsx b/apps/mobile/app/components/sheets/export-notes/index.tsx
index d3911c585..75d701b08 100644
--- a/apps/mobile/app/components/sheets/export-notes/index.tsx
+++ b/apps/mobile/app/components/sheets/export-notes/index.tsx
@@ -119,7 +119,6 @@ const ExportNotesSheet = ({
await exportNoteAs("pdf");
},
icon: "file-pdf-box",
- desc: "View in any pdf reader app",
id: notesnook.ids.dialogs.export.pdf,
pro: premium
},
@@ -129,7 +128,6 @@ const ExportNotesSheet = ({
await exportNoteAs("md");
},
icon: "language-markdown",
- desc: "View in any text or markdown editor",
id: notesnook.ids.dialogs.export.md,
pro: premium
},
@@ -139,7 +137,6 @@ const ExportNotesSheet = ({
await exportNoteAs("md-frontmatter");
},
icon: "language-markdown",
- desc: "View in any text or markdown editor",
id: notesnook.ids.dialogs.export.md,
pro: premium
},
@@ -149,7 +146,6 @@ const ExportNotesSheet = ({
await exportNoteAs("txt");
},
icon: "card-text",
- desc: "View in any text editor",
id: notesnook.ids.dialogs.export.text,
pro: true
},
@@ -159,7 +155,6 @@ const ExportNotesSheet = ({
await exportNoteAs("html");
},
icon: "language-html5",
- desc: "View in any web browser & html reader",
id: notesnook.ids.dialogs.export.html,
pro: premium
}
@@ -232,13 +227,13 @@ const ExportNotesSheet = ({
<Heading style={{ marginLeft: 10 }} size={SIZE.md}>
{item.title}
</Heading>
- <Paragraph
+ {/* <Paragraph
style={{ marginLeft: 10 }}
size={SIZE.sm}
color={colors.secondary.paragraph}
>
{item.desc}
- </Paragraph>
+ </Paragraph> */}
</View>
</Pressable>
</Fragment>
@@ -311,8 +306,7 @@ const ExportNotesSheet = ({
showAppsSuggestions: true
}).catch((e) => {
ToastManager.show({
- heading: "Cannot open",
- message: `No application found to open ${result.name} file.`,
+ heading: strings.noApplicationFound(result.name),
type: "success",
context: "local"
});
diff --git a/apps/mobile/app/components/sheets/export-notes/share.js b/apps/mobile/app/components/sheets/export-notes/share.js
index 50464cfa2..2de6caf49 100644
--- a/apps/mobile/app/components/sheets/export-notes/share.js
+++ b/apps/mobile/app/components/sheets/export-notes/share.js
@@ -42,8 +42,7 @@ export const ShareComponent = ({ uri, name, padding }) => {
showAppsSuggestions: true
}).catch(() => {
ToastManager.show({
- heading: "Cannot open",
- message: `No application found to open ${name} file.`,
+ heading: strings.noApplicationFound(name),
type: "success",
context: "local"
});
diff --git a/apps/mobile/app/components/sheets/github/issue.js b/apps/mobile/app/components/sheets/github/issue.js
index c23ff8aec..3b9dd55d1 100644
--- a/apps/mobile/app/components/sheets/github/issue.js
+++ b/apps/mobile/app/components/sheets/github/issue.js
@@ -76,8 +76,7 @@ Logged in: ${user ? "yes" : "no"}`,
} catch (e) {
setLoading(false);
ToastManager.show({
- heading: "An error occured",
- message: e.message,
+ heading: e.message,
type: "error"
});
}
diff --git a/apps/mobile/app/components/sheets/manage-tags/index.tsx b/apps/mobile/app/components/sheets/manage-tags/index.tsx
index 8a71facf1..a14334e2a 100644
--- a/apps/mobile/app/components/sheets/manage-tags/index.tsx
+++ b/apps/mobile/app/components/sheets/manage-tags/index.tsx
@@ -139,11 +139,6 @@ const ManageTagsSheet = (props: {
const onSubmit = async () => {
if (!query || query === "" || query.trimStart().length == 0) {
- ToastManager.show({
- heading: "Tag field is empty",
- type: "error",
- context: "local"
- });
return;
}
@@ -182,12 +177,7 @@ const ManageTagsSheet = (props: {
useTagStore.getState().refresh();
setQuery(undefined);
} catch (e) {
- ToastManager.show({
- heading: "Cannot add tag",
- type: "error",
- message: (e as Error).message,
- context: "local"
- });
+ ToastManager.error(e as Error);
}
Navigation.queueRoutesForUpdate();
diff --git a/apps/mobile/app/components/sheets/move-notebook/index.tsx b/apps/mobile/app/components/sheets/move-notebook/index.tsx
index c65e61485..57e05cb47 100644
--- a/apps/mobile/app/components/sheets/move-notebook/index.tsx
+++ b/apps/mobile/app/components/sheets/move-notebook/index.tsx
@@ -97,17 +97,12 @@ export const MoveNotebookSheet = ({
selectedNotebooks={selectedNotebooks}
onPress={async (selectedNotebook) => {
presentDialog({
- title: `Move ${
- selectedNotebooks.length > 1
- ? selectedNotebooks.length + " notebooks"
- : selectedNotebooks[0].title
- }`,
- paragraph: `Are you sure you want to move ${
- selectedNotebooks.length > 1
- ? selectedNotebooks.length + " notebooks"
- : selectedNotebooks[0].title
- } to ${selectedNotebook.title}?`,
- positiveText: "Move",
+ title: strings.moveNotebooks(selectedNotebooks.length),
+ paragraph: strings.moveNotebooksConfirm(
+ selectedNotebooks.length,
+ selectedNotebook.title
+ ),
+ positiveText: strings.move(),
context: "move-notebook",
positivePress: async () => {
for (const notebook of selectedNotebooks) {
diff --git a/apps/mobile/app/components/sheets/publish-note/index.tsx b/apps/mobile/app/components/sheets/publish-note/index.tsx
index cf5bc716c..a03a291ce 100644
--- a/apps/mobile/app/components/sheets/publish-note/index.tsx
+++ b/apps/mobile/app/components/sheets/publish-note/index.tsx
@@ -77,7 +77,7 @@ const PublishNoteSheet = ({
requestInAppReview();
} catch (e) {
ToastManager.show({
- heading: "Could not publish note",
+ heading: strings.failedToPublish(),
message: (e as Error).message,
type: "error",
context: "local"
@@ -103,7 +103,7 @@ const PublishNoteSheet = ({
}
} catch (e) {
ToastManager.show({
- heading: "Could not unpublish note",
+ heading: strings.failedToUnpublish(),
message: (e as Error).message,
type: "error",
context: "local"
@@ -194,7 +194,7 @@ const PublishNoteSheet = ({
onPress={() => {
Clipboard.setString(publishUrl as string);
ToastManager.show({
- heading: "Note publish url copied",
+ heading: strings.monographUrlCopied(),
type: "success",
context: "local"
});
diff --git a/apps/mobile/app/components/sheets/recovery-key/index.js b/apps/mobile/app/components/sheets/recovery-key/index.js
index 50a3e854d..04db61ec8 100644
--- a/apps/mobile/app/components/sheets/recovery-key/index.js
+++ b/apps/mobile/app/components/sheets/recovery-key/index.js
@@ -76,8 +76,8 @@ class RecoveryKeySheet extends React.Component {
close = () => {
if (this.tapCount === 0) {
ToastManager.show({
- heading: "Did you save recovery key?",
- message: "Tap one more time to confirm.",
+ heading: strings.recoveryKeySaved(),
+ message: strings.recoveryKeySavedDesc(),
type: "success",
context: "local"
});
@@ -130,9 +130,7 @@ class RecoveryKeySheet extends React.Component {
await RNFetchBlob.fs.writeFile(path + fileName, data, "base64");
}
ToastManager.show({
- heading: "Recovery key QR-Code saved",
- message:
- "QR-Code image has been saved to Gallery at " + path + fileName,
+ heading: strings.recoveryKeyQRCodeSaved(),
type: "success",
context: "local"
});
@@ -165,8 +163,7 @@ class RecoveryKeySheet extends React.Component {
}
ToastManager.show({
- heading: "Recovery key text file saved",
- message: "Recovery key saved in text file.",
+ heading: strings.recoveryKeyTextFileSaved(),
type: "success",
context: "local"
});
@@ -284,7 +281,7 @@ class RecoveryKeySheet extends React.Component {
onPress={() => {
Clipboard.setString(this.state.key);
ToastManager.show({
- heading: "Recovery key copied!",
+ heading: strings.recoveryKeyCopied(),
type: "success",
context: "local"
});
diff --git a/apps/mobile/app/components/sheets/reminder-notify/index.tsx b/apps/mobile/app/components/sheets/reminder-notify/index.tsx
index e1d70fbfa..5e071f266 100644
--- a/apps/mobile/app/components/sheets/reminder-notify/index.tsx
+++ b/apps/mobile/app/components/sheets/reminder-notify/index.tsx
@@ -68,19 +68,19 @@ export default function ReminderNotify({
const QuickActions = [
{
- title: "5 min",
+ title: `5 ${strings.timeShort.minute}`,
time: 5
},
{
- title: "15 min",
+ title: `15 ${strings.timeShort.minute}`,
time: 15
},
{
- title: "30 min",
+ title: `30 ${strings.timeShort.minute}`,
time: 30
},
{
- title: "1 hour",
+ title: `1 ${strings.timeShort.hour}`,
time: 60
}
];
diff --git a/apps/mobile/app/components/sheets/reminder/index.tsx b/apps/mobile/app/components/sheets/reminder/index.tsx
index ba0ec9992..f03ebedc5 100644
--- a/apps/mobile/app/components/sheets/reminder/index.tsx
+++ b/apps/mobile/app/components/sheets/reminder/index.tsx
@@ -206,12 +206,6 @@ export default function ReminderSheet({
if (!reminderId) return;
const _reminder = await db.reminders?.reminder(reminderId);
- if (!_reminder) {
- ToastManager.show({
- heading: "Failed to add a new reminder",
- context: "local"
- });
- }
if (reference && _reminder) {
await db.relations?.add(reference, {
id: _reminder?.id as string,
diff --git a/apps/mobile/app/hooks/use-actions.tsx b/apps/mobile/app/hooks/use-actions.tsx
index b02ec059b..675b55b4a 100644
--- a/apps/mobile/app/hooks/use-actions.tsx
+++ b/apps/mobile/app/hooks/use-actions.tsx
@@ -68,6 +68,7 @@ import { sleep } from "../utils/time";
import { ReferencesList } from "../components/sheets/references";
import { createInternalLink } from "@notesnook/core";
import { MoveNotebookSheet } from "../components/sheets/move-notebook";
+import { strings } from "@notesnook/intl";
export const useActions = ({
close,
@@ -194,8 +195,7 @@ export const useActions = ({
close();
await sleep(300);
presentDialog({
- title: "Rename tag",
- paragraph: "Change the title of the tag " + item.title,
+ title: strings.renameTag(),
positivePress: async (value: string) => {
if (!value || value === "" || value.trimStart().length == 0) return;
try {
@@ -218,7 +218,7 @@ export const useActions = ({
input: true,
defaultValue: item.title,
inputPlaceholder: "Enter title of tag",
- positiveText: "Save"
+ positiveText: strings.save()
});
}
@@ -227,11 +227,10 @@ export const useActions = ({
close();
await sleep(300);
presentDialog({
- title: "Rename color",
+ title: strings.renameColor(),
input: true,
- inputPlaceholder: "Enter name for this color",
+ inputPlaceholder: strings.name(),
defaultValue: item.title,
- paragraph: "You are renaming the color " + item.title,
positivePress: async (value) => {
if (!value || value.trim().length === 0) return;
await db.colors.add({
@@ -242,7 +241,7 @@ export const useActions = ({
eSendEvent(Navigation.routeNames.ColoredNotes);
useMenuStore.getState().setColorNotes();
},
- positiveText: "Rename"
+ positiveText: strings.rename()
});
}
@@ -275,7 +274,7 @@ export const useActions = ({
useRelationStore.getState().update();
});
},
- positiveText: "Delete",
+ positiveText: strings.delete(),
positiveType: "errorShade"
});
return;
@@ -287,8 +286,8 @@ export const useActions = ({
novault: true,
locked: true,
item: item,
- title: "Delete note",
- description: "Unlock note to delete it."
+ title: strings.deleteNote(),
+ description: strings.unlockToDelete()
});
} else {
try {
@@ -305,17 +304,17 @@ export const useActions = ({
close();
await sleep(300);
presentDialog({
- title: "Permanent delete",
- paragraph: `Are you sure you want to delete this ${item.itemType} permanently from trash?`,
- positiveText: "Delete",
- negativeText: "Cancel",
+ title: strings.delete(),
+ paragraph: strings.deleteItemsConfirmation(item.itemType, 1),
+ positiveText: strings.delete(),
+ negativeText: strings.cancel(),
positivePress: async () => {
await db.trash.delete(item.id);
setImmediate(() => {
Navigation.queueRoutesForUpdate();
useSelectionStore.getState().setSelectionMode(undefined);
ToastManager.show({
- heading: "Permanently deleted items",
+ heading: strings.itemDeleted(1, item.itemType),
type: "success",
context: "local"
});
@@ -358,7 +357,7 @@ export const useActions = ({
if (item.type === "tag") {
actions.push({
id: "rename-tag",
- title: "Rename",
+ title: strings.rename(),
icon: "square-edit-outline",
func: renameTag
});
@@ -367,14 +366,14 @@ export const useActions = ({
if (item.type === "color") {
actions.push({
id: "rename-color",
- title: "Rename",
+ title: strings.rename(),
icon: "square-edit-outline",
func: renameColor
});
actions.push({
id: "reorder",
- title: "Reorder",
+ title: strings.reorder(),
icon: "sort-ascending",
func: () => {
useSideBarDraggingStore.setState({
@@ -389,7 +388,9 @@ export const useActions = ({
actions.push(
{
id: "disable-reminder",
- title: !item.disabled ? "Turn off reminder" : "Turn on reminder",
+ title: !item.disabled
+ ? strings.turnOffReminder()
+ : strings.turnOnReminder(),
icon: !item.disabled ? "bell-off-outline" : "bell",
func: async () => {
close();
@@ -404,7 +405,7 @@ export const useActions = ({
},
{
id: "edit-reminder",
- title: "Edit reminder",
+ title: strings.editReminder(),
icon: "pencil",
func: async () => {
ReminderSheet.present(item);
@@ -418,13 +419,13 @@ export const useActions = ({
actions.push(
{
id: "restore",
- title: "Restore " + item.itemType,
+ title: strings.restore(),
icon: "delete-restore",
func: restoreTrashItem
},
{
id: "delete",
- title: "Delete " + item.itemType,
+ title: strings.delete(),
icon: "delete",
func: deleteTrashItem
}
@@ -434,7 +435,7 @@ export const useActions = ({
if (item.type === "tag" || item.type === "notebook") {
actions.push({
id: "add-shortcut",
- title: isPinnedToMenu ? "Remove Shortcut" : "Add Shortcut",
+ title: isPinnedToMenu ? strings.removeShortcut() : strings.addShortcut(),
icon: isPinnedToMenu ? "link-variant-remove" : "link-variant",
func: createMenuShortcut,
close: false,
@@ -448,7 +449,7 @@ export const useActions = ({
actions.push(
{
id: "add-notebook",
- title: "Add notebook",
+ title: strings.addNotebook(),
icon: "plus",
func: async () => {
AddNotebookSheet.present(undefined, item);
@@ -456,7 +457,7 @@ export const useActions = ({
},
{
id: "edit-notebook",
- title: "Edit notebook",
+ title: strings.editNotebook(),
icon: "square-edit-outline",
func: async () => {
AddNotebookSheet.present(item);
@@ -465,7 +466,9 @@ export const useActions = ({
{
id: "default-notebook",
title:
- defaultNotebook === item.id ? "Remove as default" : "Set as default",
+ defaultNotebook === item.id
+ ? strings.removeAsDefault()
+ : strings.setAsDefault(),
hidden: item.type !== "notebook",
icon: "notebook",
func: async () => {
@@ -485,7 +488,7 @@ export const useActions = ({
},
{
id: "move-notes",
- title: "Move notes",
+ title: strings.moveNotes(),
hidden: item.type !== "notebook",
icon: "text",
func: () => {
@@ -494,7 +497,7 @@ export const useActions = ({
},
{
id: "move-notebook",
- title: "Move notebook",
+ title: strings.moveNotebookFix(),
icon: "arrow-right-bold-box-outline",
func: () => {
MoveNotebookSheet.present([item]);
@@ -506,7 +509,7 @@ export const useActions = ({
if (item.type === "notebook" || item.type === "note") {
actions.push({
id: "pin",
- title: item.pinned ? "Unpin" : "Pin",
+ title: item.pinned ? strings.unpin() : strings.pin(),
icon: item.pinned ? "pin-off-outline" : "pin-outline",
func: pinItem,
close: false,
@@ -593,9 +596,8 @@ export const useActions = ({
}
if (locked) {
ToastManager.show({
- heading: "Note is locked",
+ heading: strings.lockedNotesPinnedFailed(),
type: "error",
- message: "Locked notes cannot be pinned to notifications",
context: "local"
});
return;
@@ -619,8 +621,7 @@ export const useActions = ({
if (!checkItemSynced()) return;
if (!user) {
ToastManager.show({
- heading: "Login required",
- message: "Login to publish note",
+ heading: strings.loginRequired(),
context: "local",
func: () => {
eSendEvent(eOpenLoginDialog);
@@ -632,15 +633,14 @@ export const useActions = ({
if (!user?.isEmailConfirmed) {
ToastManager.show({
- heading: "Email is not verified",
- message: "Please verify your email first.",
+ heading: strings.confirmEmailToPublish(),
context: "local"
});
return;
}
if (locked) {
ToastManager.show({
- heading: "Locked notes cannot be published",
+ heading: strings.lockedNotesPublishFailed(),
type: "error",
context: "local"
});
@@ -654,8 +654,7 @@ export const useActions = ({
if (processingId.current === "shareNote") {
ToastManager.show({
- heading: "Please wait...",
- message: "We are preparing your note for sharing",
+ heading: strings.pleaseWait() + "...",
context: "local"
});
return;
@@ -669,15 +668,14 @@ export const useActions = ({
novault: true,
locked: true,
share: true,
- title: "Share note",
- description: "Unlock note to share it."
+ title: strings.shareNote()
});
} else {
processingId.current = "shareNote";
const convertedText = await convertNoteToText(item);
processingId.current = undefined;
Share.open({
- title: "Share note to",
+ title: strings.shareNote(),
failOnCancel: false,
message: convertedText || ""
});
@@ -696,8 +694,7 @@ export const useActions = ({
novault: true,
locked: true,
permanant: true,
- title: "Unlock note",
- description: "Remove note from the vault."
+ title: strings.unlockNote()
});
return;
}
@@ -717,8 +714,7 @@ export const useActions = ({
openVault({
item: item,
novault: false,
- title: "Create vault",
- description: "Set a password to create a vault and lock note."
+ title: strings.createVault()
});
break;
case VAULT_ERRORS.vaultLocked:
@@ -726,8 +722,7 @@ export const useActions = ({
item: item,
novault: true,
locked: true,
- title: "Lock note",
- description: "Give access to vault to lock this note."
+ title: strings.lockNote()
});
break;
}
@@ -738,8 +733,7 @@ export const useActions = ({
try {
if (processingId.current === "copyContent") {
ToastManager.show({
- heading: "Please wait...",
- message: "We are preparing your note for copy to clipboard",
+ heading: strings.pleaseWait() + "...",
context: "local"
});
return;
@@ -753,8 +747,7 @@ export const useActions = ({
novault: true,
locked: true,
item: item,
- title: "Copy note",
- description: "Unlock note to copy to clipboard."
+ title: strings.copyNote()
});
} else {
processingId.current = "copyContent";
@@ -762,7 +755,7 @@ export const useActions = ({
Clipboard.setString(text || "");
processingId.current = undefined;
ToastManager.show({
- heading: "Note copied to clipboard",
+ heading: strings.noteCopied(),
type: "success",
context: "local"
});
@@ -787,31 +780,31 @@ export const useActions = ({
},
{
id: "remove-from-notebook",
- title: "Remove from notebook",
+ title: strings.removeFromNotebook(),
hidden: noteInCurrentNotebook,
icon: "minus-circle-outline",
func: removeNoteFromNotebook
},
{
id: "attachments",
- title: "Attachments",
+ title: strings.attachments(),
icon: "attachment",
func: showAttachments
},
{
id: "history",
- title: "History",
+ title: strings.history(),
icon: "history",
func: openHistory
},
{
id: "copy-link",
- title: "Copy link",
+ title: strings.copyLink(),
icon: "link",
func: () => {
Clipboard.setString(createInternalLink("note", item.id));
ToastManager.show({
- heading: "Note link copied",
+ heading: strings.linkCopied(),
message: createInternalLink("note", item.id),
context: "local",
type: "success"
@@ -820,17 +813,17 @@ export const useActions = ({
},
{
id: "reminders",
- title: "Reminders",
+ title: strings.dataTypesPluralCamelCase.reminder(),
icon: "clock-outline",
func: async () => {
RelationsList.present({
reference: item,
referenceType: "reminder",
relationType: "from",
- title: "Reminders",
+ title: strings.dataTypesPluralCamelCase.reminder(),
onAdd: () => ReminderSheet.present(undefined, item, true),
button: {
- title: "Add",
+ title: strings.add(),
type: "accent",
onPress: () => ReminderSheet.present(undefined, item, true),
icon: "plus"
@@ -842,40 +835,40 @@ export const useActions = ({
{
id: "copy",
- title: "Copy",
+ title: strings.copy(),
icon: "content-copy",
func: copyContent
},
{
id: "share",
- title: "Share",
+ title: strings.share(),
icon: "share-variant",
func: shareNote
},
{
id: "read-only",
- title: "Readonly",
+ title: strings.readOnly(),
icon: "pencil-lock",
func: toggleReadyOnlyMode,
on: item.readonly
},
{
id: "local-only",
- title: "Sync off",
+ title: strings.syncOff(),
icon: "sync-off",
func: toggleLocalOnly,
on: item.localOnly
},
{
id: "duplicate",
- title: "Duplicate",
+ title: strings.duplicate(),
icon: "content-duplicate",
func: duplicateNote
},
{
id: "add-reminder",
- title: "Remind me",
+ title: strings.remindMe(),
icon: "clock-plus-outline",
func: () => {
ReminderSheet.present(undefined, { id: item.id, type: "note" });
@@ -884,14 +877,14 @@ export const useActions = ({
},
{
id: "lock-unlock",
- title: locked ? "Unlock" : "Lock",
+ title: locked ? strings.unlock() : strings.lock(),
icon: locked ? "lock-open-outline" : "key-outline",
func: addToVault,
on: locked
},
{
id: "publish",
- title: isPublished ? "Published" : "Publish",
+ title: isPublished ? strings.published() : strings.publish(),
icon: "cloud-upload-outline",
on: isPublished,
func: publishNote
@@ -899,7 +892,7 @@ export const useActions = ({
{
id: "export",
- title: "Export",
+ title: strings.export(),
icon: "export",
func: exportNote
},
@@ -907,8 +900,8 @@ export const useActions = ({
{
id: "pin-to-notifications",
title: notifPinned
- ? "Unpin from notifications"
- : "Pin to notifications",
+ ? strings.unpinFromNotifications()
+ : strings.pinToNotifications(),
icon: "message-badge-outline",
on: !!notifPinned,
func: pinToNotifications
@@ -916,19 +909,19 @@ export const useActions = ({
{
id: "notebooks",
- title: "Link Notebooks",
+ title: strings.linkNotebooks(),
icon: "book-outline",
func: addTo
},
{
id: "add-tag",
- title: "Add tags",
+ title: strings.addTags(),
icon: "pound",
func: addTo
},
{
id: "references",
- title: "References",
+ title: strings.references(),
icon: "vector-link",
func: () => {
ReferencesList.present({
diff --git a/apps/mobile/app/hooks/use-app-events.tsx b/apps/mobile/app/hooks/use-app-events.tsx
index 913ecac80..46391b632 100644
--- a/apps/mobile/app/hooks/use-app-events.tsx
+++ b/apps/mobile/app/hooks/use-app-events.tsx
@@ -92,6 +92,7 @@ import { tabBarRef } from "../utils/global-refs";
import { sleep } from "../utils/time";
import { NotesnookModule } from "../utils/notesnook-module";
import { changeSystemBarColors } from "../stores/use-theme-store";
+import { strings } from "@notesnook/intl";
const onCheckSyncStatus = async (type: SyncStatusEvent) => {
const { disableSync, disableAutoSync } = SettingsService.get();
@@ -266,7 +267,7 @@ const onSuccessfulSubscription = async (
const onSubscriptionError = async (error: RNIap.PurchaseError) => {
ToastManager.show({
- heading: "Failed to subscribe",
+ heading: strings.failedToSubscribe(),
type: "error",
message: error.message,
context: "local"
diff --git a/apps/mobile/app/hooks/use-shortcut-manager.ts b/apps/mobile/app/hooks/use-shortcut-manager.ts
index c0f3507d9..16f9aae68 100644
--- a/apps/mobile/app/hooks/use-shortcut-manager.ts
+++ b/apps/mobile/app/hooks/use-shortcut-manager.ts
@@ -23,6 +23,7 @@ import { useRef } from "react";
import { Platform } from "react-native";
import { Linking } from "react-native";
import deviceInfoModule from "react-native-device-info";
+import { strings } from "@notesnook/intl";
const ShortcutsEmitter = new NativeEventEmitter(
Shortcuts as unknown as NativeModule
);
@@ -33,8 +34,8 @@ function isSupported() {
const defaultShortcuts: ShortcutItem[] = [
{
type: "notesnook.action.newnote",
- title: "Create a new note",
- shortTitle: "New note",
+ title: strings.createNewNote(),
+ shortTitle: strings.newNote(),
iconName: Platform.OS === "android" ? "ic_newnote" : "plus"
}
];
diff --git a/apps/mobile/app/navigation/navigation-stack.js b/apps/mobile/app/navigation/navigation-stack.js
index c66e05ce9..53c62f692 100644
--- a/apps/mobile/app/navigation/navigation-stack.js
+++ b/apps/mobile/app/navigation/navigation-stack.js
@@ -44,6 +44,7 @@ import useNavigationStore from "../stores/use-navigation-store";
import { useSelectionStore } from "../stores/use-selection-store";
import { useSettingStore } from "../stores/use-setting-store";
import { rootNavigatorRef } from "../utils/global-refs";
+import { strings } from "@notesnook/intl";
const NativeStack = createNativeStackNavigator();
const IntroStack = createNativeStackNavigator();
@@ -114,7 +115,7 @@ const _Tabs = () => {
initialParams={{
item: { type: "monograph" },
canGoBack: false,
- title: "Monographs"
+ title: strings.monographs()
}}
component={Monographs}
/>
diff --git a/apps/mobile/app/screens/editor/index.tsx b/apps/mobile/app/screens/editor/index.tsx
index d5dfd99fe..274ddfe8c 100755
--- a/apps/mobile/app/screens/editor/index.tsx
+++ b/apps/mobile/app/screens/editor/index.tsx
@@ -59,6 +59,7 @@ import {
randId
} from "./tiptap/utils";
import { tabBarRef } from "../../utils/global-refs";
+import { strings } from "@notesnook/intl";
const style: ViewStyle = {
height: "100%",
@@ -257,8 +258,7 @@ const useLockedNoteHandler = () => {
if (!tabRef.current?.noteId || !tabRef.current) return;
if (!password || password.trim().length === 0) {
ToastManager.show({
- heading: "Password not entered",
- message: "Enter a password for the vault and try again.",
+ heading: strings.passwordNotEntered(),
type: "error"
});
return;
@@ -273,8 +273,7 @@ const useLockedNoteHandler = () => {
await BiometricService.storeCredentials(password);
eSendEvent("vaultUpdated");
ToastManager.show({
- heading: "Biometric unlocking enabled!",
- message: "Now you can unlock notes in vault with biometrics.",
+ heading: strings.biometricUnlockEnabled(),
type: "success",
context: "global"
});
@@ -288,9 +287,7 @@ const useLockedNoteHandler = () => {
syncTabs();
} catch (e) {
ToastManager.show({
- heading: "Incorrect password",
- message:
- "Please enter the correct vault password to enable biometrics.",
+ heading: strings.passwordIncorrect(),
type: "error"
});
}
@@ -304,7 +301,7 @@ const useLockedNoteHandler = () => {
} catch (e) {
console.log(e);
ToastManager.show({
- heading: "Incorrect password",
+ heading: strings.passwordIncorrect(),
type: "error"
});
}
diff --git a/apps/mobile/app/screens/editor/tiptap/picker.ts b/apps/mobile/app/screens/editor/tiptap/picker.ts
index 93defce49..34a78472a 100644
--- a/apps/mobile/app/screens/editor/tiptap/picker.ts
+++ b/apps/mobile/app/screens/editor/tiptap/picker.ts
@@ -42,11 +42,12 @@ import { FILE_SIZE_LIMIT, IMAGE_SIZE_LIMIT } from "../../../utils/constants";
import { eCloseSheet } from "../../../utils/events";
import { useTabStore } from "./use-tab-store";
import { editorController, editorState } from "./utils";
+import { strings } from "@notesnook/intl";
const showEncryptionSheet = (file: DocumentPickerResponse) => {
presentSheet({
- title: "Encrypting attachment",
- paragraph: `Please wait while we encrypt ${file.name} file for upload`,
+ title: strings.encryptingAttachment(),
+ paragraph: strings.encryptingAttachmentDesc(file.name),
icon: "attachment"
});
};
@@ -92,8 +93,8 @@ const file = async (fileOptions: PickerOptions) => {
if ((file.size || 0) > FILE_SIZE_LIMIT) {
ToastManager.show({
- heading: "File too large",
- message: "The maximum allowed size per file is 500 MB",
+ heading: strings.fileTooLarge(),
+ message: strings.fileTooLargeDesc(500),
type: "error"
});
return;
@@ -101,7 +102,7 @@ const file = async (fileOptions: PickerOptions) => {
if (file.copyError) {
ToastManager.show({
- heading: "Failed to open file",
+ heading: strings.failToOpen(),
message: file.copyError,
type: "error",
context: "global"
@@ -166,8 +167,7 @@ const file = async (fileOptions: PickerOptions) => {
} catch (e) {
eSendEvent(eCloseSheet);
ToastManager.show({
- heading: "Failed to attach file",
- message: (e as Error).message,
+ heading: (e as Error).message,
type: "error",
context: "global"
});
@@ -231,7 +231,6 @@ const gallery = async (options: PickerOptions) => {
useSettingStore.getState().setAppDidEnterBackgroundForAction(false);
ToastManager.show({
heading: (e as Error).message,
- message: "You need internet access to attach a file",
type: "error",
context: "global"
});
@@ -289,8 +288,8 @@ const handleImageResponse = async (
if (image.size > IMAGE_SIZE_LIMIT) {
ToastManager.show({
- heading: "File too large",
- message: "The maximum allowed size per image is 50 MB",
+ heading: strings.fileTooLarge(),
+ message: strings.fileTooLargeDesc(50),
type: "error"
});
return;
@@ -361,8 +360,7 @@ export async function attachFile(
let encryptionInfo: any;
if (options?.hash && options.hash !== hash) {
ToastManager.show({
- heading: "Please select the same file for reuploading",
- message: `Expected hash ${options.hash} but got ${hash}.`,
+ heading: strings.fileMismatch(),
type: "error",
context: "local"
});
diff --git a/apps/mobile/app/screens/editor/tiptap/use-editor-events.tsx b/apps/mobile/app/screens/editor/tiptap/use-editor-events.tsx
index 07e29b83f..d388373b8 100644
--- a/apps/mobile/app/screens/editor/tiptap/use-editor-events.tsx
+++ b/apps/mobile/app/screens/editor/tiptap/use-editor-events.tsx
@@ -76,13 +76,13 @@ import { EventTypes } from "./editor-events";
import { EditorMessage, EditorProps, useEditorType } from "./types";
import { useTabStore } from "./use-tab-store";
import { EditorEvents, editorState, openInternalLink } from "./utils";
+import { strings } from "@notesnook/intl";
const publishNote = async () => {
const user = useUserStore.getState().user;
if (!user) {
ToastManager.show({
- heading: "Login required",
- message: "Login to publish",
+ heading: strings.loginRequired(),
context: "global",
func: () => {
eSendEvent(eOpenLoginDialog);
@@ -94,8 +94,7 @@ const publishNote = async () => {
if (!user?.isEmailConfirmed) {
ToastManager.show({
- heading: "Email not verified",
- message: "Please verify your email first.",
+ heading: strings.emailNotConfirmed(),
context: "global"
});
return;
@@ -109,7 +108,7 @@ const publishNote = async () => {
const locked = note && (await db.vaults.itemExists(note));
if (locked) {
ToastManager.show({
- heading: "Locked notes cannot be published",
+ heading: strings.lockedNotesPublishFailed(),
type: "error",
context: "global"
});
@@ -135,7 +134,7 @@ const showActionsheet = async () => {
Properties.present(note, ["Dark Mode"]);
} else {
ToastManager.show({
- heading: "Start writing to create a new note",
+ heading: strings.noNoteProperties(),
type: "success",
context: "global"
});
@@ -428,7 +427,7 @@ export const useEditorEvents = (
case EventTypes.reminders:
if (!noteId) {
ToastManager.show({
- heading: "Create a note first to add a reminder",
+ heading: strings.createNoteFirst(),
type: "success"
});
return;
@@ -439,14 +438,14 @@ export const useEditorEvents = (
reference: note as any,
referenceType: "reminder",
relationType: "from",
- title: "Reminders",
+ title: strings.dataTypesPluralCamelCase.reminder(),
onAdd: () => ReminderSheet.present(undefined, note, true)
});
break;
case EventTypes.newtag:
if (!noteId) {
ToastManager.show({
- heading: "Create a note first to add a tag",
+ heading: strings.createNoteFirst(),
type: "success"
});
return;
diff --git a/apps/mobile/app/screens/editor/tiptap/use-editor.ts b/apps/mobile/app/screens/editor/tiptap/use-editor.ts
index fb3a9e678..78ae6a745 100644
--- a/apps/mobile/app/screens/editor/tiptap/use-editor.ts
+++ b/apps/mobile/app/screens/editor/tiptap/use-editor.ts
@@ -74,6 +74,7 @@ import {
post
} from "./utils";
import { sleep } from "../../../utils/time";
+import { strings } from "@notesnook/intl";
type NoteWithContent = Note & {
content?: NoteContent<false>;
@@ -342,14 +343,11 @@ export const useEditor = (
if (!db.vault.unlocked) {
if (pendingChanges) await sleep(3000);
const unlocked = await unlockVault({
- title: "Unlock vault to save note",
- paragraph: `This note is locked, unlock to save ${
- pendingChanges ? "some pending" : ""
- } changes`,
+ title: strings.unlockNote(),
+ paragraph: strings.noteLockedSave(),
context: "global"
});
- if (!unlocked)
- throw new Error("Could not save note, vault is locked");
+ if (!unlocked) throw new Error(strings.saveFailedVaultLocked());
}
// eslint-disable-next-line @typescript-eslint/no-explicit-any
if (typeof noteData.title === "string") {
diff --git a/apps/mobile/package-lock.json b/apps/mobile/package-lock.json
index 4b5d1e744..0d249eedf 100644
--- a/apps/mobile/package-lock.json
+++ b/apps/mobile/package-lock.json
@@ -33288,10 +33288,14 @@
"version": "0.3.25",
"license": "MIT",
"dependencies": {
- "@jridgewell/resolve-uri": "^3.1.0",
- "@jridgewell/sourcemap-codec": "^1.4.14"
+ "@jridgewell/resolve-uri": "3.1.0",
+ "@jridgewell/sourcemap-codec": "1.4.14"
}
},
+ "node_modules/@jridgewell/trace-mapping/node_modules/@jridgewell/sourcemap-codec": {
+ "version": "1.4.14",
+ "license": "MIT"
+ },
"node_modules/@lingui/core": {
"version": "4.11.2",
"resolved": "https://registry.npmjs.org/@lingui/core/-/core-4.11.2.tgz",
diff --git a/apps/theme-builder/package-lock.json b/apps/theme-builder/package-lock.json
index bbab00b03..d70e1c3b8 100644
--- a/apps/theme-builder/package-lock.json
+++ b/apps/theme-builder/package-lock.json
@@ -992,7 +992,8 @@
"@dnd-kit/sortable": "^8.0.0",
"@emotion/react": "11.11.1",
"@hazae41/foras": "^2.1.4",
- "@henrygd/queue": "^1.0.6",
+ "@lingui/core": "4.11.2",
+ "@lingui/react": "4.11.2",
"@mdi/js": "^7.2.96",
"@mdi/react": "^1.6.1",
"@notesnook-importer/core": "^2.1.1",
@@ -1001,6 +1002,7 @@
"@notesnook/crypto": "file:../../packages/crypto",
"@notesnook/desktop": "file:../desktop",
"@notesnook/editor": "file:../../packages/editor",
+ "@notesnook/intl": "file:../../packages/intl",
"@notesnook/logger": "file:../../packages/logger",
"@notesnook/streamable-fs": "file:../../packages/streamable-fs",
"@notesnook/theme": "file:../../packages/theme",
@@ -1058,6 +1060,7 @@
"react-virtuoso": "^4.6.2",
"timeago.js": "4.0.2",
"tinycolor2": "^1.6.0",
+ "vite-plugin-commonjs": "^0.10.1",
"w3c-keyname": "^2.2.6",
"web-streams-polyfill": "^3.1.1",
"wouter": "2.12.1",
diff --git a/apps/web/package-lock.json b/apps/web/package-lock.json
index 264bca0ea..241a6ec3e 100644
--- a/apps/web/package-lock.json
+++ b/apps/web/package-lock.json
@@ -4718,7 +4718,7 @@
},
"../../extensions/web-clipper/node_modules/@types/prop-types": {
"version": "15.7.11",
- "devOptional": true,
+ "dev": true,
"license": "MIT"
},
"../../extensions/web-clipper/node_modules/@types/q": {
@@ -4735,7 +4735,7 @@
},
"../../extensions/web-clipper/node_modules/@types/react": {
"version": "18.2.39",
- "devOptional": true,
+ "dev": true,
"license": "MIT",
"dependencies": {
"@types/prop-types": "*",
@@ -4780,7 +4780,7 @@
},
"../../extensions/web-clipper/node_modules/@types/scheduler": {
"version": "0.16.8",
- "devOptional": true,
+ "dev": true,
"license": "MIT"
},
"../../extensions/web-clipper/node_modules/@types/semver": {
@@ -11208,7 +11208,7 @@
},
"../../extensions/web-clipper/node_modules/growly": {
"version": "1.3.0",
- "devOptional": true,
+ "dev": true,
"license": "MIT"
},
"../../extensions/web-clipper/node_modules/gzip-size": {
@@ -16910,7 +16910,7 @@
},
"../../extensions/web-clipper/node_modules/node-notifier": {
"version": "10.0.1",
- "devOptional": true,
+ "dev": true,
"license": "MIT",
"dependencies": {
"growly": "^1.3.0",
@@ -16923,7 +16923,7 @@
},
"../../extensions/web-clipper/node_modules/node-notifier/node_modules/lru-cache": {
"version": "6.0.0",
- "devOptional": true,
+ "dev": true,
"license": "ISC",
"dependencies": {
"yallist": "^4.0.0"
@@ -16934,7 +16934,7 @@
},
"../../extensions/web-clipper/node_modules/node-notifier/node_modules/semver": {
"version": "7.5.4",
- "devOptional": true,
+ "dev": true,
"license": "ISC",
"dependencies": {
"lru-cache": "^6.0.0"
@@ -16948,7 +16948,7 @@
},
"../../extensions/web-clipper/node_modules/node-notifier/node_modules/yallist": {
"version": "4.0.0",
- "devOptional": true,
+ "dev": true,
"license": "ISC"
},
"../../extensions/web-clipper/node_modules/node-releases": {
@@ -16956,154 +16956,7 @@
"license": "MIT"
},
"../../extensions/web-clipper/node_modules/node-sass": {
- "version": "9.0.0",
- "devOptional": true,
- "hasInstallScript": true,
- "license": "MIT",
- "dependencies": {
- "async-foreach": "^0.1.3",
- "chalk": "^4.1.2",
- "cross-spawn": "^7.0.3",
- "gaze": "^1.0.0",
- "get-stdin": "^4.0.1",
- "glob": "^7.0.3",
- "lodash": "^4.17.15",
- "make-fetch-happen": "^10.0.4",
- "meow": "^9.0.0",
- "nan": "^2.17.0",
- "node-gyp": "^8.4.1",
- "sass-graph": "^4.0.1",
- "stdout-stream": "^1.4.0",
- "true-case-path": "^2.2.1"
- },
- "bin": {
- "node-sass": "bin/node-sass"
- },
- "engines": {
- "node": ">=16"
- }
- },
- "../../extensions/web-clipper/node_modules/node-sass/node_modules/ansi-styles": {
- "version": "4.3.0",
- "devOptional": true,
- "license": "MIT",
- "dependencies": {
- "color-convert": "^2.0.1"
- },
- "engines": {
- "node": ">=8"
- },
- "funding": {
- "url": "https://github.com/chalk/ansi-styles?sponsor=1"
- }
- },
- "../../extensions/web-clipper/node_modules/node-sass/node_modules/chalk": {
- "version": "4.1.2",
- "devOptional": true,
- "license": "MIT",
- "dependencies": {
- "ansi-styles": "^4.1.0",
- "supports-color": "^7.1.0"
- },
- "engines": {
- "node": ">=10"
- },
- "funding": {
- "url": "https://github.com/chalk/chalk?sponsor=1"
- }
- },
- "../../extensions/web-clipper/node_modules/node-sass/node_modules/color-convert": {
- "version": "2.0.1",
- "devOptional": true,
- "license": "MIT",
- "dependencies": {
- "color-name": "~1.1.4"
- },
- "engines": {
- "node": ">=7.0.0"
- }
- },
- "../../extensions/web-clipper/node_modules/node-sass/node_modules/color-name": {
- "version": "1.1.4",
- "devOptional": true,
- "license": "MIT"
- },
- "../../extensions/web-clipper/node_modules/node-sass/node_modules/has-flag": {
- "version": "4.0.0",
- "devOptional": true,
- "license": "MIT",
- "engines": {
- "node": ">=8"
- }
- },
- "../../extensions/web-clipper/node_modules/node-sass/node_modules/supports-color": {
- "version": "7.2.0",
- "devOptional": true,
- "license": "MIT",
- "dependencies": {
- "has-flag": "^4.0.0"
- },
- "engines": {
- "node": ">=8"
- }
- },
- "../../extensions/web-clipper/node_modules/nopt": {
- "version": "5.0.0",
- "devOptional": true,
- "license": "ISC",
- "dependencies": {
- "abbrev": "1"
- },
- "bin": {
- "nopt": "bin/nopt.js"
- },
- "engines": {
- "node": ">=6"
- }
- },
- "../../extensions/web-clipper/node_modules/normalize-package-data": {
- "version": "3.0.3",
- "devOptional": true,
- "license": "BSD-2-Clause",
- "dependencies": {
- "hosted-git-info": "^4.0.1",
- "is-core-module": "^2.5.0",
- "semver": "^7.3.4",
- "validate-npm-package-license": "^3.0.1"
- },
- "engines": {
- "node": ">=10"
- }
- },
- "../../extensions/web-clipper/node_modules/normalize-package-data/node_modules/lru-cache": {
- "version": "6.0.0",
- "devOptional": true,
- "license": "ISC",
- "dependencies": {
- "yallist": "^4.0.0"
- },
- "engines": {
- "node": ">=10"
- }
- },
- "../../extensions/web-clipper/node_modules/normalize-package-data/node_modules/semver": {
- "version": "7.5.4",
- "devOptional": true,
- "license": "ISC",
- "dependencies": {
- "lru-cache": "^6.0.0"
- },
- "bin": {
- "semver": "bin/semver.js"
- },
- "engines": {
- "node": ">=10"
- }
- },
- "../../extensions/web-clipper/node_modules/normalize-package-data/node_modules/yallist": {
- "version": "4.0.0",
- "devOptional": true,
- "license": "ISC"
+ "dev": true
},
"../../extensions/web-clipper/node_modules/normalize-path": {
"version": "3.0.0",
@@ -21037,7 +20890,7 @@
},
"../../extensions/web-clipper/node_modules/shellwords": {
"version": "0.1.1",
- "devOptional": true,
+ "dev": true,
"license": "MIT"
},
"../../extensions/web-clipper/node_modules/side-channel": {
@@ -31752,6 +31605,7 @@
},
"../../packages/editor/node_modules/js-tokens": {
"version": "4.0.0",
+ "dev": true,
"license": "MIT"
},
"../../packages/editor/node_modules/json-parse-even-better-errors": {
@@ -31807,6 +31661,7 @@
},
"../../packages/editor/node_modules/loose-envify": {
"version": "1.4.0",
+ "dev": true,
"license": "MIT",
"dependencies": {
"js-tokens": "^3.0.0 || ^4.0.0"
@@ -32326,6 +32181,7 @@
},
"../../packages/editor/node_modules/react": {
"version": "18.2.0",
+ "dev": true,
"license": "MIT",
"dependencies": {
"loose-envify": "^1.1.0"
@@ -32344,6 +32200,7 @@
},
"../../packages/editor/node_modules/react-dom": {
"version": "18.2.0",
+ "dev": true,
"license": "MIT",
"dependencies": {
"loose-envify": "^1.1.0",
@@ -32463,6 +32320,7 @@
},
"../../packages/editor/node_modules/scheduler": {
"version": "0.23.0",
+ "dev": true,
"license": "MIT",
"dependencies": {
"loose-envify": "^1.1.0"
@@ -37818,6 +37676,7 @@
},
"../desktop/node_modules/@electron/get": {
"version": "2.0.2",
+ "dev": true,
"license": "MIT",
"dependencies": {
"debug": "^4.1.1",
@@ -37837,6 +37696,7 @@
},
"../desktop/node_modules/@electron/get/node_modules/fs-extra": {
"version": "8.1.0",
+ "dev": true,
"license": "MIT",
"dependencies": {
"graceful-fs": "^4.2.0",
@@ -37849,6 +37709,7 @@
},
"../desktop/node_modules/@electron/get/node_modules/jsonfile": {
"version": "4.0.0",
+ "dev": true,
"license": "MIT",
"optionalDependencies": {
"graceful-fs": "^4.1.6"
@@ -37856,6 +37717,7 @@
},
"../desktop/node_modules/@electron/get/node_modules/semver": {
"version": "6.3.0",
+ "dev": true,
"license": "ISC",
"bin": {
"semver": "bin/semver.js"
@@ -37863,6 +37725,7 @@
},
"../desktop/node_modules/@electron/get/node_modules/universalify": {
"version": "0.1.2",
+ "dev": true,
"license": "MIT",
"engines": {
"node": ">= 4.0.0"
@@ -38141,6 +38004,7 @@
},
"../desktop/node_modules/@sindresorhus/is": {
"version": "4.6.0",
+ "dev": true,
"license": "MIT",
"engines": {
"node": ">=10"
@@ -38151,6 +38015,7 @@
},
"../desktop/node_modules/@szmarczak/http-timer": {
"version": "4.0.6",
+ "dev": true,
"license": "MIT",
"dependencies": {
"defer-to-connect": "^2.0.0"
@@ -38190,6 +38055,7 @@
},
"../desktop/node_modules/@types/cacheable-request": {
"version": "6.0.3",
+ "dev": true,
"license": "MIT",
"dependencies": {
"@types/http-cache-semantics": "*",
@@ -38216,10 +38082,12 @@
},
"../desktop/node_modules/@types/http-cache-semantics": {
"version": "4.0.1",
+ "dev": true,
"license": "MIT"
},
"../desktop/node_modules/@types/keyv": {
"version": "3.1.4",
+ "dev": true,
"license": "MIT",
"dependencies": {
"@types/node": "*"
@@ -38232,10 +38100,12 @@
},
"../desktop/node_modules/@types/node": {
"version": "18.16.1",
+ "dev": true,
"license": "MIT"
},
"../desktop/node_modules/@types/responselike": {
"version": "1.0.0",
+ "dev": true,
"license": "MIT",
"dependencies": {
"@types/node": "*"
@@ -38256,6 +38126,7 @@
},
"../desktop/node_modules/@types/yauzl": {
"version": "2.10.0",
+ "dev": true,
"license": "MIT",
"optional": true,
"dependencies": {
@@ -38492,6 +38363,7 @@
},
"../desktop/node_modules/boolean": {
"version": "3.2.0",
+ "dev": true,
"license": "MIT",
"optional": true
},
@@ -38538,6 +38410,7 @@
},
"../desktop/node_modules/buffer-crc32": {
"version": "0.2.13",
+ "dev": true,
"license": "MIT",
"engines": {
"node": "*"
@@ -38595,6 +38468,7 @@
},
"../desktop/node_modules/cacheable-lookup": {
"version": "5.0.4",
+ "dev": true,
"license": "MIT",
"engines": {
"node": ">=10.6.0"
@@ -38602,6 +38476,7 @@
},
"../desktop/node_modules/cacheable-request": {
"version": "7.0.4",
+ "dev": true,
"license": "MIT",
"dependencies": {
"clone-response": "^1.0.2",
@@ -38698,6 +38573,7 @@
},
"../desktop/node_modules/clone-response": {
"version": "1.0.3",
+ "dev": true,
"license": "MIT",
"dependencies": {
"mimic-response": "^1.0.0"
@@ -38858,6 +38734,7 @@
},
"../desktop/node_modules/decompress-response": {
"version": "6.0.0",
+ "dev": true,
"license": "MIT",
"dependencies": {
"mimic-response": "^3.1.0"
@@ -38871,6 +38748,7 @@
},
"../desktop/node_modules/decompress-response/node_modules/mimic-response": {
"version": "3.1.0",
+ "dev": true,
"license": "MIT",
"engines": {
"node": ">=10"
@@ -38888,6 +38766,7 @@
},
"../desktop/node_modules/defer-to-connect": {
"version": "2.0.1",
+ "dev": true,
"license": "MIT",
"engines": {
"node": ">=10"
@@ -38895,6 +38774,7 @@
},
"../desktop/node_modules/define-properties": {
"version": "1.2.0",
+ "dev": true,
"license": "MIT",
"optional": true,
"dependencies": {
@@ -38925,6 +38805,7 @@
},
"../desktop/node_modules/detect-node": {
"version": "2.1.0",
+ "dev": true,
"license": "MIT",
"optional": true
},
@@ -39006,7 +38887,8 @@
}
},
"../desktop/node_modules/electron": {
- "version": "29.3.1",
+ "version": "25.9.8",
+ "dev": true,
"hasInstallScript": true,
"license": "MIT",
"dependencies": {
@@ -39099,6 +38981,7 @@
},
"../desktop/node_modules/end-of-stream": {
"version": "1.4.4",
+ "dev": true,
"license": "MIT",
"dependencies": {
"once": "^1.4.0"
@@ -39106,6 +38989,7 @@
},
"../desktop/node_modules/env-paths": {
"version": "2.2.1",
+ "dev": true,
"license": "MIT",
"engines": {
"node": ">=6"
@@ -39118,6 +39002,7 @@
},
"../desktop/node_modules/es6-error": {
"version": "4.1.1",
+ "dev": true,
"license": "MIT",
"optional": true
},
@@ -39168,6 +39053,7 @@
},
"../desktop/node_modules/escape-string-regexp": {
"version": "4.0.0",
+ "dev": true,
"license": "MIT",
"optional": true,
"engines": {
@@ -39186,6 +39072,7 @@
},
"../desktop/node_modules/extract-zip": {
"version": "2.0.1",
+ "dev": true,
"license": "BSD-2-Clause",
"dependencies": {
"debug": "^4.1.1",
@@ -39214,6 +39101,7 @@
},
"../desktop/node_modules/fd-slicer": {
"version": "1.1.0",
+ "dev": true,
"license": "MIT",
"dependencies": {
"pend": "~1.2.0"
@@ -39341,6 +39229,7 @@
},
"../desktop/node_modules/function-bind": {
"version": "1.1.1",
+ "dev": true,
"license": "MIT",
"optional": true
},
@@ -39353,6 +39242,7 @@
},
"../desktop/node_modules/get-intrinsic": {
"version": "1.2.1",
+ "dev": true,
"license": "MIT",
"optional": true,
"dependencies": {
@@ -39367,6 +39257,7 @@
},
"../desktop/node_modules/get-stream": {
"version": "5.2.0",
+ "dev": true,
"license": "MIT",
"dependencies": {
"pump": "^3.0.0"
@@ -39434,6 +39325,7 @@
},
"../desktop/node_modules/global-agent": {
"version": "3.0.0",
+ "dev": true,
"license": "BSD-3-Clause",
"optional": true,
"dependencies": {
@@ -39450,6 +39342,7 @@
},
"../desktop/node_modules/globalthis": {
"version": "1.0.3",
+ "dev": true,
"license": "MIT",
"optional": true,
"dependencies": {
@@ -39464,6 +39357,7 @@
},
"../desktop/node_modules/got": {
"version": "11.8.6",
+ "dev": true,
"license": "MIT",
"dependencies": {
"@sindresorhus/is": "^4.0.0",
@@ -39491,6 +39385,7 @@
},
"../desktop/node_modules/has": {
"version": "1.0.3",
+ "dev": true,
"license": "MIT",
"optional": true,
"dependencies": {
@@ -39510,6 +39405,7 @@
},
"../desktop/node_modules/has-property-descriptors": {
"version": "1.0.0",
+ "dev": true,
"license": "MIT",
"optional": true,
"dependencies": {
@@ -39521,6 +39417,7 @@
},
"../desktop/node_modules/has-proto": {
"version": "1.0.1",
+ "dev": true,
"license": "MIT",
"optional": true,
"engines": {
@@ -39532,6 +39429,7 @@
},
"../desktop/node_modules/has-symbols": {
"version": "1.0.3",
+ "dev": true,
"license": "MIT",
"optional": true,
"engines": {
@@ -39554,6 +39452,7 @@
},
"../desktop/node_modules/http-cache-semantics": {
"version": "4.1.1",
+ "dev": true,
"license": "BSD-2-Clause"
},
"../desktop/node_modules/http-proxy-agent": {
@@ -39571,6 +39470,7 @@
},
"../desktop/node_modules/http2-wrapper": {
"version": "1.0.3",
+ "dev": true,
"license": "MIT",
"dependencies": {
"quick-lru": "^5.1.1",
@@ -39795,6 +39695,7 @@
},
"../desktop/node_modules/json-buffer": {
"version": "3.0.1",
+ "dev": true,
"license": "MIT"
},
"../desktop/node_modules/json-schema-traverse": {
@@ -39804,6 +39705,7 @@
},
"../desktop/node_modules/json-stringify-safe": {
"version": "5.0.1",
+ "dev": true,
"license": "ISC",
"optional": true
},
@@ -39830,6 +39732,7 @@
},
"../desktop/node_modules/keyv": {
"version": "4.5.2",
+ "dev": true,
"license": "MIT",
"dependencies": {
"json-buffer": "3.0.1"
@@ -39854,6 +39757,7 @@
},
"../desktop/node_modules/lowercase-keys": {
"version": "2.0.0",
+ "dev": true,
"license": "MIT",
"engines": {
"node": ">=8"
@@ -39871,6 +39775,7 @@
},
"../desktop/node_modules/matcher": {
"version": "3.0.0",
+ "dev": true,
"license": "MIT",
"optional": true,
"dependencies": {
@@ -39912,6 +39817,7 @@
},
"../desktop/node_modules/mimic-response": {
"version": "1.0.1",
+ "dev": true,
"license": "MIT",
"engines": {
"node": ">=4"
@@ -40019,6 +39925,7 @@
},
"../desktop/node_modules/normalize-url": {
"version": "6.1.0",
+ "dev": true,
"license": "MIT",
"engines": {
"node": ">=10"
@@ -40040,6 +39947,7 @@
},
"../desktop/node_modules/object-keys": {
"version": "1.1.1",
+ "dev": true,
"license": "MIT",
"optional": true,
"engines": {
@@ -40048,6 +39956,7 @@
},
"../desktop/node_modules/once": {
"version": "1.4.0",
+ "dev": true,
"license": "ISC",
"dependencies": {
"wrappy": "1"
@@ -40055,6 +39964,7 @@
},
"../desktop/node_modules/p-cancelable": {
"version": "2.1.1",
+ "dev": true,
"license": "MIT",
"engines": {
"node": ">=8"
@@ -40125,6 +40035,7 @@
},
"../desktop/node_modules/pend": {
"version": "1.2.0",
+ "dev": true,
"license": "MIT"
},
"../desktop/node_modules/picomatch": {
@@ -40200,6 +40111,7 @@
},
"../desktop/node_modules/progress": {
"version": "2.0.3",
+ "dev": true,
"license": "MIT",
"engines": {
"node": ">=0.4.0"
@@ -40219,6 +40131,7 @@
},
"../desktop/node_modules/pump": {
"version": "3.0.0",
+ "dev": true,
"license": "MIT",
"dependencies": {
"end-of-stream": "^1.1.0",
@@ -40235,6 +40148,7 @@
},
"../desktop/node_modules/quick-lru": {
"version": "5.1.1",
+ "dev": true,
"license": "MIT",
"engines": {
"node": ">=10"
@@ -40318,10 +40232,12 @@
},
"../desktop/node_modules/resolve-alpn": {
"version": "1.2.1",
+ "dev": true,
"license": "MIT"
},
"../desktop/node_modules/responselike": {
"version": "2.0.1",
+ "dev": true,
"license": "MIT",
"dependencies": {
"lowercase-keys": "^2.0.0"
@@ -40340,6 +40256,7 @@
},
"../desktop/node_modules/roarr": {
"version": "2.15.4",
+ "dev": true,
"license": "BSD-3-Clause",
"optional": true,
"dependencies": {
@@ -40412,11 +40329,13 @@
},
"../desktop/node_modules/semver-compare": {
"version": "1.0.0",
+ "dev": true,
"license": "MIT",
"optional": true
},
"../desktop/node_modules/serialize-error": {
"version": "7.0.1",
+ "dev": true,
"license": "MIT",
"optional": true,
"dependencies": {
@@ -40431,6 +40350,7 @@
},
"../desktop/node_modules/serialize-error/node_modules/type-fest": {
"version": "0.13.1",
+ "dev": true,
"license": "(MIT OR CC0-1.0)",
"optional": true,
"engines": {
@@ -40529,7 +40449,8 @@
}
},
"../desktop/node_modules/sprintf-js": {
- "version": "1.1.3",
+ "version": "1.1.2",
+ "dev": true,
"license": "BSD-3-Clause",
"optional": true
},
@@ -40620,6 +40541,7 @@
},
"../desktop/node_modules/sumchecker": {
"version": "3.0.1",
+ "dev": true,
"license": "Apache-2.0",
"dependencies": {
"debug": "^4.1.0"
@@ -40876,6 +40798,7 @@
},
"../desktop/node_modules/wrappy": {
"version": "1.0.2",
+ "dev": true,
"license": "ISC"
},
"../desktop/node_modules/xmlbuilder": {
@@ -40922,6 +40845,7 @@
},
"../desktop/node_modules/yauzl": {
"version": "2.10.0",
+ "dev": true,
"license": "MIT",
"dependencies": {
"buffer-crc32": "~0.2.3",
@@ -40937,6 +40861,7 @@
},
"node_modules/@ampproject/remapping": {
"version": "2.2.1",
+ "dev": true,
"license": "Apache-2.0",
"dependencies": {
"@jridgewell/gen-mapping": "^0.3.0",
@@ -41039,7 +40964,9 @@
},
"node_modules/@babel/core": {
"version": "7.24.6",
- "license": "MIT",
+ "resolved": "https://registry.npmjs.org/@babel/core/-/core-7.24.6.tgz",
+ "integrity": "sha512-qAHSfAdVyFmIvl0VHELib8xar7ONuSHrE2hLnsaWkYNTI68dmi1x8GYDhJjMI/e7XWal9QBlZkwbOnkcw7Z8gQ==",
+ "dev": true,
"dependencies": {
"@ampproject/remapping": "^2.2.0",
"@babel/code-frame": "^7.24.6",
@@ -41067,7 +40994,9 @@
},
"node_modules/@babel/generator": {
"version": "7.24.6",
- "license": "MIT",
+ "resolved": "https://registry.npmjs.org/@babel/generator/-/generator-7.24.6.tgz",
+ "integrity": "sha512-S7m4eNa6YAPJRHmKsLHIDJhNAGNKoWNiWefz1MBbpnt8g9lvMDl1hir4P9bo/57bQEmuwEhnRU/AMWsD0G/Fbg==",
+ "dev": true,
"dependencies": {
"@babel/types": "^7.24.6",
"@jridgewell/gen-mapping": "^0.3.5",
@@ -41168,14 +41097,18 @@
},
"node_modules/@babel/helper-environment-visitor": {
"version": "7.24.6",
- "license": "MIT",
+ "resolved": "https://registry.npmjs.org/@babel/helper-environment-visitor/-/helper-environment-visitor-7.24.6.tgz",
+ "integrity": "sha512-Y50Cg3k0LKLMjxdPjIl40SdJgMB85iXn27Vk/qbHZCFx/o5XO3PSnpi675h1KEmmDb6OFArfd5SCQEQ5Q4H88g==",
+ "dev": true,
"engines": {
"node": ">=6.9.0"
}
},
"node_modules/@babel/helper-function-name": {
"version": "7.24.6",
- "license": "MIT",
+ "resolved": "https://registry.npmjs.org/@babel/helper-function-name/-/helper-function-name-7.24.6.tgz",
+ "integrity": "sha512-xpeLqeeRkbxhnYimfr2PC+iA0Q7ljX/d1eZ9/inYbmfG2jpl8Lu3DyXvpOAnrS5kxkfOWJjioIMQsaMBXFI05w==",
+ "dev": true,
"dependencies": {
"@babel/template": "^7.24.6",
"@babel/types": "^7.24.6"
@@ -41186,7 +41119,9 @@
},
"node_modules/@babel/helper-hoist-variables": {
"version": "7.24.6",
- "license": "MIT",
+ "resolved": "https://registry.npmjs.org/@babel/helper-hoist-variables/-/helper-hoist-variables-7.24.6.tgz",
+ "integrity": "sha512-SF/EMrC3OD7dSta1bLJIlrsVxwtd0UpjRJqLno6125epQMJ/kyFmpTT4pbvPbdQHzCHg+biQ7Syo8lnDtbR+uA==",
+ "dev": true,
"dependencies": {
"@babel/types": "^7.24.6"
},
@@ -41217,7 +41152,9 @@
},
"node_modules/@babel/helper-module-transforms": {
"version": "7.24.6",
- "license": "MIT",
+ "resolved": "https://registry.npmjs.org/@babel/helper-module-transforms/-/helper-module-transforms-7.24.6.tgz",
+ "integrity": "sha512-Y/YMPm83mV2HJTbX1Qh2sjgjqcacvOlhbzdCCsSlblOKjSYmQqEbO6rUniWQyRo9ncyfjT8hnUjlG06RXDEmcA==",
+ "dev": true,
"dependencies": {
"@babel/helper-environment-visitor": "^7.24.6",
"@babel/helper-module-imports": "^7.24.6",
@@ -41284,7 +41221,9 @@
},
"node_modules/@babel/helper-simple-access": {
"version": "7.24.6",
- "license": "MIT",
+ "resolved": "https://registry.npmjs.org/@babel/helper-simple-access/-/helper-simple-access-7.24.6.tgz",
+ "integrity": "sha512-nZzcMMD4ZhmB35MOOzQuiGO5RzL6tJbsT37Zx8M5L/i9KSrukGXWTjLe1knIbb/RmxoJE9GON9soq0c0VEMM5g==",
+ "dev": true,
"dependencies": {
"@babel/types": "^7.24.6"
},
@@ -41305,7 +41244,9 @@
},
"node_modules/@babel/helper-split-export-declaration": {
"version": "7.24.6",
- "license": "MIT",
+ "resolved": "https://registry.npmjs.org/@babel/helper-split-export-declaration/-/helper-split-export-declaration-7.24.6.tgz",
+ "integrity": "sha512-CvLSkwXGWnYlF9+J3iZUvwgAxKiYzK3BWuo+mLzD/MDGOZDj7Gq8+hqaOkMxmJwmlv0iu86uH5fdADd9Hxkymw==",
+ "dev": true,
"dependencies": {
"@babel/types": "^7.24.6"
},
@@ -41349,7 +41290,9 @@
},
"node_modules/@babel/helpers": {
"version": "7.24.6",
- "license": "MIT",
+ "resolved": "https://registry.npmjs.org/@babel/helpers/-/helpers-7.24.6.tgz",
+ "integrity": "sha512-V2PI+NqnyFu1i0GyTd/O/cTpxzQCYioSkUIRmgo7gFEHKKCg5w46+r/A6WeUR1+P3TeQ49dspGPNd/E3n9AnnA==",
+ "dev": true,
"dependencies": {
"@babel/template": "^7.24.6",
"@babel/types": "^7.24.6"
@@ -41430,7 +41373,9 @@
},
"node_modules/@babel/parser": {
"version": "7.24.6",
- "license": "MIT",
+ "resolved": "https://registry.npmjs.org/@babel/parser/-/parser-7.24.6.tgz",
+ "integrity": "sha512-eNZXdfU35nJC2h24RznROuOpO94h6x8sg9ju0tT9biNtLZ2vuP8SduLqqV+/8+cebSLV9SJEAN5Z3zQbJG/M+Q==",
+ "dev": true,
"bin": {
"parser": "bin/babel-parser.js"
},
@@ -42591,7 +42536,9 @@
},
"node_modules/@babel/template": {
"version": "7.24.6",
- "license": "MIT",
+ "resolved": "https://registry.npmjs.org/@babel/template/-/template-7.24.6.tgz",
+ "integrity": "sha512-3vgazJlLwNXi9jhrR1ef8qiB65L1RK90+lEQwv4OxveHnqC3BfmnHdgySwRLzf6akhlOYenT+b7AfWq+a//AHw==",
+ "dev": true,
"dependencies": {
"@babel/code-frame": "^7.24.6",
"@babel/parser": "^7.24.6",
@@ -42603,7 +42550,9 @@
},
"node_modules/@babel/traverse": {
"version": "7.24.6",
- "license": "MIT",
+ "resolved": "https://registry.npmjs.org/@babel/traverse/-/traverse-7.24.6.tgz",
+ "integrity": "sha512-OsNjaJwT9Zn8ozxcfoBc+RaHdj3gFmCmYoQLUII1o6ZrUwku0BMg80FoOTPx+Gi6XhcQxAYE4xyjPTo4SxEQqw==",
+ "dev": true,
"dependencies": {
"@babel/code-frame": "^7.24.6",
"@babel/generator": "^7.24.6",
@@ -42696,27 +42645,6 @@
"react": ">=16.8.0"
}
},
- "node_modules/@electron/get": {
- "version": "2.0.3",
- "resolved": "https://registry.npmjs.org/@electron/get/-/get-2.0.3.tgz",
- "integrity": "sha512-Qkzpg2s9GnVV2I2BjRksUi43U5e6+zaQMcjoJy0C+C5oxaKl+fmckGDQFtRpZpZV0NQekuZZ+tGz7EA9TVnQtQ==",
- "peer": true,
- "dependencies": {
- "debug": "^4.1.1",
- "env-paths": "^2.2.0",
- "fs-extra": "^8.1.0",
- "got": "^11.8.5",
- "progress": "^2.0.3",
- "semver": "^6.2.0",
- "sumchecker": "^3.0.1"
- },
- "engines": {
- "node": ">=12"
- },
- "optionalDependencies": {
- "global-agent": "^3.0.0"
- }
- },
"node_modules/@emotion/babel-plugin": {
"version": "11.11.0",
"license": "MIT",
@@ -42875,7 +42803,9 @@
},
"node_modules/@jridgewell/gen-mapping": {
"version": "0.3.5",
- "license": "MIT",
+ "resolved": "https://registry.npmjs.org/@jridgewell/gen-mapping/-/gen-mapping-0.3.5.tgz",
+ "integrity": "sha512-IzL8ZoEDIBRWEzlCcRhOaCupYyN5gdIK+Q6fbFdPDg6HqX6jpkItn7DFIpW9LQzXG6Df9sA7+OKnq0qlz/GaQg==",
+ "dev": true,
"dependencies": {
"@jridgewell/set-array": "^1.2.1",
"@jridgewell/sourcemap-codec": "^1.4.10",
@@ -42887,6 +42817,7 @@
},
"node_modules/@jridgewell/resolve-uri": {
"version": "3.1.1",
+ "dev": true,
"license": "MIT",
"engines": {
"node": ">=6.0.0"
@@ -42894,7 +42825,9 @@
},
"node_modules/@jridgewell/set-array": {
"version": "1.2.1",
- "license": "MIT",
+ "resolved": "https://registry.npmjs.org/@jridgewell/set-array/-/set-array-1.2.1.tgz",
+ "integrity": "sha512-R8gLRTZeyp03ymzP/6Lil/28tGeGEzhx1q2k703KGWRAI1VdvPIXdG70VJc2pAMw3NA6JKL5hhFu1sJX0Mnn/A==",
+ "dev": true,
"engines": {
"node": ">=6.0.0"
}
@@ -42914,7 +42847,9 @@
},
"node_modules/@jridgewell/trace-mapping": {
"version": "0.3.25",
- "license": "MIT",
+ "resolved": "https://registry.npmjs.org/@jridgewell/trace-mapping/-/trace-mapping-0.3.25.tgz",
+ "integrity": "sha512-vNk6aEwybGtawWmy/PzwnGDOjCkLWSD2wqvjGGAgOAwCGWySYXfYoxt00IJkTF+8Lb57DwOb3Aa0o9CApepiYQ==",
+ "dev": true,
"dependencies": {
"@jridgewell/resolve-uri": "^3.1.0",
"@jridgewell/sourcemap-codec": "^1.4.14"
@@ -44228,18 +44163,6 @@
"@swc/counter": "^0.1.3"
}
},
- "node_modules/@szmarczak/http-timer": {
- "version": "4.0.6",
- "resolved": "https://registry.npmjs.org/@szmarczak/http-timer/-/http-timer-4.0.6.tgz",
- "integrity": "sha512-4BAffykYOgO+5nzBWYwE3W90sBgLJoUPRWWcL8wlyiM8IB8ipJz3UMJ9KXQd1RKQXpKp8Tutn80HZtWsu2u76w==",
- "peer": true,
- "dependencies": {
- "defer-to-connect": "^2.0.0"
- },
- "engines": {
- "node": ">=10"
- }
- },
"node_modules/@tanstack/query-core": {
"version": "4.36.1",
"license": "MIT",
@@ -44304,21 +44227,6 @@
"polished": "^4.0.5"
}
},
- "node_modules/@theme-ui/color-modes": {
- "version": "0.16.2",
- "resolved": "https://registry.npmjs.org/@theme-ui/color-modes/-/color-modes-0.16.2.tgz",
- "integrity": "sha512-jWEWx53lxNgWCT38i/kwLV2rsvJz8lVZgi5oImnVwYba9VejXD23q1ckbNFJHosQ8KKXY87ht0KPC6BQFIiHtQ==",
- "peer": true,
- "dependencies": {
- "@theme-ui/core": "^0.16.2",
- "@theme-ui/css": "^0.16.2",
- "deepmerge": "^4.2.2"
- },
- "peerDependencies": {
- "@emotion/react": "^11.11.1",
- "react": ">=18"
- }
- },
"node_modules/@theme-ui/components": {
"version": "0.16.2",
"license": "MIT",
@@ -44358,21 +44266,6 @@
"@emotion/react": "^11.11.1"
}
},
- "node_modules/@theme-ui/theme-provider": {
- "version": "0.16.2",
- "resolved": "https://registry.npmjs.org/@theme-ui/theme-provider/-/theme-provider-0.16.2.tgz",
- "integrity": "sha512-LRnVevODcGqO0JyLJ3wht+PV3ZoZcJ7XXLJAJWDoGeII4vZcPQKwVy4Lpz/juHsZppQxKcB3U+sQDGBnP25irQ==",
- "peer": true,
- "dependencies": {
- "@theme-ui/color-modes": "^0.16.2",
- "@theme-ui/core": "^0.16.2",
- "@theme-ui/css": "^0.16.2"
- },
- "peerDependencies": {
- "@emotion/react": "^11.11.1",
- "react": ">=18"
- }
- },
"node_modules/@trpc/client": {
"version": "10.45.2",
"resolved": "https://registry.npmjs.org/@trpc/client/-/client-10.45.2.tgz",
@@ -44444,18 +44337,6 @@
"@babel/types": "^7.20.7"
}
},
- "node_modules/@types/cacheable-request": {
- "version": "6.0.3",
- "resolved": "https://registry.npmjs.org/@types/cacheable-request/-/cacheable-request-6.0.3.tgz",
- "integrity": "sha512-IQ3EbTzGxIigb1I3qPZc1rWJnH0BmSKv5QYTalEwweFvyBDLSAe24zP0le/hyi7ecGfZVlIVAg4BZqb8WBwKqw==",
- "peer": true,
- "dependencies": {
- "@types/http-cache-semantics": "*",
- "@types/keyv": "^3.1.4",
- "@types/node": "*",
- "@types/responselike": "^1.0.0"
- }
- },
"node_modules/@types/debug": {
"version": "4.1.12",
"license": "MIT",
@@ -44463,28 +44344,6 @@
"@types/ms": "*"
}
},
- "node_modules/@types/eslint": {
- "version": "9.6.1",
- "resolved": "https://registry.npmjs.org/@types/eslint/-/eslint-9.6.1.tgz",
- "integrity": "sha512-FXx2pKgId/WyYo2jXw63kk7/+TY7u7AziEJxJAnSFzHlqTAS3Ync6SvgYAN/k4/PQpnnVuzoMuVnByKK2qp0ag==",
- "dev": true,
- "peer": true,
- "dependencies": {
- "@types/estree": "*",
- "@types/json-schema": "*"
- }
- },
- "node_modules/@types/eslint-scope": {
- "version": "3.7.7",
- "resolved": "https://registry.npmjs.org/@types/eslint-scope/-/eslint-scope-3.7.7.tgz",
- "integrity": "sha512-MzMFlSLBqNF2gcHWO0G1vP/YQyfvrxZ0bF+u7mzUdZ1/xK4A4sru+nraZz5i3iEIk1l1uyicaDVTB4QbbEkAYg==",
- "dev": true,
- "peer": true,
- "dependencies": {
- "@types/eslint": "*",
- "@types/estree": "*"
- }
- },
"node_modules/@types/estree": {
"version": "1.0.5",
"dev": true,
@@ -44507,12 +44366,6 @@
"@types/unist": "^2"
}
},
- "node_modules/@types/http-cache-semantics": {
- "version": "4.0.4",
- "resolved": "https://registry.npmjs.org/@types/http-cache-semantics/-/http-cache-semantics-4.0.4.tgz",
- "integrity": "sha512-1m0bIFVc7eJWyve9S0RnuRgcQqF/Xd5QsUZAZeQFr1Q3/p9JWoQQEqmVy+DPTNpGXwhgIetAoYF8JSc33q29QA==",
- "peer": true
- },
"node_modules/@types/json-schema": {
"version": "7.0.15",
"dev": true,
@@ -44522,15 +44375,6 @@
"version": "0.16.7",
"license": "MIT"
},
- "node_modules/@types/keyv": {
- "version": "3.1.4",
- "resolved": "https://registry.npmjs.org/@types/keyv/-/keyv-3.1.4.tgz",
- "integrity": "sha512-BQ5aZNSCpj7D6K2ksrRCTmKRLEpnPvWDiLPfoGyhZ++8YtiK9d/3DBKPJgry359X/P1PfruyYwvnvwFjuEiEIg==",
- "peer": true,
- "dependencies": {
- "@types/node": "*"
- }
- },
"node_modules/@types/marked": {
"version": "4.3.2",
"dev": true,
@@ -44549,6 +44393,7 @@
},
"node_modules/@types/node": {
"version": "20.9.0",
+ "dev": true,
"license": "MIT",
"dependencies": {
"undici-types": "~5.26.4"
@@ -44578,10 +44423,12 @@
},
"node_modules/@types/prop-types": {
"version": "15.7.10",
+ "dev": true,
"license": "MIT"
},
"node_modules/@types/react": {
"version": "18.2.65",
+ "dev": true,
"license": "MIT",
"dependencies": {
"@types/prop-types": "*",
@@ -44626,17 +44473,9 @@
"dev": true,
"license": "MIT"
},
- "node_modules/@types/responselike": {
- "version": "1.0.3",
- "resolved": "https://registry.npmjs.org/@types/responselike/-/responselike-1.0.3.tgz",
- "integrity": "sha512-H/+L+UkTV33uf49PH5pCAUBVPNj2nDBXTN+qS1dOwyyg24l3CcicicCA7ca+HMvJBZcFgl5r8e+RR6elsb4Lyw==",
- "peer": true,
- "dependencies": {
- "@types/node": "*"
- }
- },
"node_modules/@types/scheduler": {
"version": "0.16.8",
+ "dev": true,
"license": "MIT"
},
"node_modules/@types/styled-system": {
@@ -44665,16 +44504,6 @@
"dev": true,
"license": "MIT"
},
- "node_modules/@types/yauzl": {
- "version": "2.10.3",
- "resolved": "https://registry.npmjs.org/@types/yauzl/-/yauzl-2.10.3.tgz",
- "integrity": "sha512-oJoftv0LSuaDZE3Le4DbKX+KS9G36NzOeSap90UIK0yMA/NhKJhqlSGtNDORNRaIbQfzjXDrQa0ytJ6mNRGz/Q==",
- "optional": true,
- "peer": true,
- "dependencies": {
- "@types/node": "*"
- }
- },
"node_modules/@vitejs/plugin-react-swc": {
"version": "3.7.0",
"dev": true,
@@ -44758,181 +44587,6 @@
"@types/estree": "^1.0.0"
}
},
- "node_modules/@webassemblyjs/ast": {
- "version": "1.12.1",
- "resolved": "https://registry.npmjs.org/@webassemblyjs/ast/-/ast-1.12.1.tgz",
- "integrity": "sha512-EKfMUOPRRUTy5UII4qJDGPpqfwjOmZ5jeGFwid9mnoqIFK+e0vqoi1qH56JpmZSzEL53jKnNzScdmftJyG5xWg==",
- "dev": true,
- "peer": true,
- "dependencies": {
- "@webassemblyjs/helper-numbers": "1.11.6",
- "@webassemblyjs/helper-wasm-bytecode": "1.11.6"
- }
- },
- "node_modules/@webassemblyjs/floating-point-hex-parser": {
- "version": "1.11.6",
- "resolved": "https://registry.npmjs.org/@webassemblyjs/floating-point-hex-parser/-/floating-point-hex-parser-1.11.6.tgz",
- "integrity": "sha512-ejAj9hfRJ2XMsNHk/v6Fu2dGS+i4UaXBXGemOfQ/JfQ6mdQg/WXtwleQRLLS4OvfDhv8rYnVwH27YJLMyYsxhw==",
- "dev": true,
- "peer": true
- },
- "node_modules/@webassemblyjs/helper-api-error": {
- "version": "1.11.6",
- "resolved": "https://registry.npmjs.org/@webassemblyjs/helper-api-error/-/helper-api-error-1.11.6.tgz",
- "integrity": "sha512-o0YkoP4pVu4rN8aTJgAyj9hC2Sv5UlkzCHhxqWj8butaLvnpdc2jOwh4ewE6CX0txSfLn/UYaV/pheS2Txg//Q==",
- "dev": true,
- "peer": true
- },
- "node_modules/@webassemblyjs/helper-buffer": {
- "version": "1.12.1",
- "resolved": "https://registry.npmjs.org/@webassemblyjs/helper-buffer/-/helper-buffer-1.12.1.tgz",
- "integrity": "sha512-nzJwQw99DNDKr9BVCOZcLuJJUlqkJh+kVzVl6Fmq/tI5ZtEyWT1KZMyOXltXLZJmDtvLCDgwsyrkohEtopTXCw==",
- "dev": true,
- "peer": true
- },
- "node_modules/@webassemblyjs/helper-numbers": {
- "version": "1.11.6",
- "resolved": "https://registry.npmjs.org/@webassemblyjs/helper-numbers/-/helper-numbers-1.11.6.tgz",
- "integrity": "sha512-vUIhZ8LZoIWHBohiEObxVm6hwP034jwmc9kuq5GdHZH0wiLVLIPcMCdpJzG4C11cHoQ25TFIQj9kaVADVX7N3g==",
- "dev": true,
- "peer": true,
- "dependencies": {
- "@webassemblyjs/floating-point-hex-parser": "1.11.6",
- "@webassemblyjs/helper-api-error": "1.11.6",
- "@xtuc/long": "4.2.2"
- }
- },
- "node_modules/@webassemblyjs/helper-wasm-bytecode": {
- "version": "1.11.6",
- "resolved": "https://registry.npmjs.org/@webassemblyjs/helper-wasm-bytecode/-/helper-wasm-bytecode-1.11.6.tgz",
- "integrity": "sha512-sFFHKwcmBprO9e7Icf0+gddyWYDViL8bpPjJJl0WHxCdETktXdmtWLGVzoHbqUcY4Be1LkNfwTmXOJUFZYSJdA==",
- "dev": true,
- "peer": true
- },
- "node_modules/@webassemblyjs/helper-wasm-section": {
- "version": "1.12.1",
- "resolved": "https://registry.npmjs.org/@webassemblyjs/helper-wasm-section/-/helper-wasm-section-1.12.1.tgz",
- "integrity": "sha512-Jif4vfB6FJlUlSbgEMHUyk1j234GTNG9dBJ4XJdOySoj518Xj0oGsNi59cUQF4RRMS9ouBUxDDdyBVfPTypa5g==",
- "dev": true,
- "peer": true,
- "dependencies": {
- "@webassemblyjs/ast": "1.12.1",
- "@webassemblyjs/helper-buffer": "1.12.1",
- "@webassemblyjs/helper-wasm-bytecode": "1.11.6",
- "@webassemblyjs/wasm-gen": "1.12.1"
- }
- },
- "node_modules/@webassemblyjs/ieee754": {
- "version": "1.11.6",
- "resolved": "https://registry.npmjs.org/@webassemblyjs/ieee754/-/ieee754-1.11.6.tgz",
- "integrity": "sha512-LM4p2csPNvbij6U1f19v6WR56QZ8JcHg3QIJTlSwzFcmx6WSORicYj6I63f9yU1kEUtrpG+kjkiIAkevHpDXrg==",
- "dev": true,
- "peer": true,
- "dependencies": {
- "@xtuc/ieee754": "^1.2.0"
- }
- },
- "node_modules/@webassemblyjs/leb128": {
- "version": "1.11.6",
- "resolved": "https://registry.npmjs.org/@webassemblyjs/leb128/-/leb128-1.11.6.tgz",
- "integrity": "sha512-m7a0FhE67DQXgouf1tbN5XQcdWoNgaAuoULHIfGFIEVKA6tu/edls6XnIlkmS6FrXAquJRPni3ZZKjw6FSPjPQ==",
- "dev": true,
- "peer": true,
- "dependencies": {
- "@xtuc/long": "4.2.2"
- }
- },
- "node_modules/@webassemblyjs/utf8": {
- "version": "1.11.6",
- "resolved": "https://registry.npmjs.org/@webassemblyjs/utf8/-/utf8-1.11.6.tgz",
- "integrity": "sha512-vtXf2wTQ3+up9Zsg8sa2yWiQpzSsMyXj0qViVP6xKGCUT8p8YJ6HqI7l5eCnWx1T/FYdsv07HQs2wTFbbof/RA==",
- "dev": true,
- "peer": true
- },
- "node_modules/@webassemblyjs/wasm-edit": {
- "version": "1.12.1",
- "resolved": "https://registry.npmjs.org/@webassemblyjs/wasm-edit/-/wasm-edit-1.12.1.tgz",
- "integrity": "sha512-1DuwbVvADvS5mGnXbE+c9NfA8QRcZ6iKquqjjmR10k6o+zzsRVesil54DKexiowcFCPdr/Q0qaMgB01+SQ1u6g==",
- "dev": true,
- "peer": true,
- "dependencies": {
- "@webassemblyjs/ast": "1.12.1",
- "@webassemblyjs/helper-buffer": "1.12.1",
- "@webassemblyjs/helper-wasm-bytecode": "1.11.6",
- "@webassemblyjs/helper-wasm-section": "1.12.1",
- "@webassemblyjs/wasm-gen": "1.12.1",
- "@webassemblyjs/wasm-opt": "1.12.1",
- "@webassemblyjs/wasm-parser": "1.12.1",
- "@webassemblyjs/wast-printer": "1.12.1"
- }
- },
- "node_modules/@webassemblyjs/wasm-gen": {
- "version": "1.12.1",
- "resolved": "https://registry.npmjs.org/@webassemblyjs/wasm-gen/-/wasm-gen-1.12.1.tgz",
- "integrity": "sha512-TDq4Ojh9fcohAw6OIMXqiIcTq5KUXTGRkVxbSo1hQnSy6lAM5GSdfwWeSxpAo0YzgsgF182E/U0mDNhuA0tW7w==",
- "dev": true,
- "peer": true,
- "dependencies": {
- "@webassemblyjs/ast": "1.12.1",
- "@webassemblyjs/helper-wasm-bytecode": "1.11.6",
- "@webassemblyjs/ieee754": "1.11.6",
- "@webassemblyjs/leb128": "1.11.6",
- "@webassemblyjs/utf8": "1.11.6"
- }
- },
- "node_modules/@webassemblyjs/wasm-opt": {
- "version": "1.12.1",
- "resolved": "https://registry.npmjs.org/@webassemblyjs/wasm-opt/-/wasm-opt-1.12.1.tgz",
- "integrity": "sha512-Jg99j/2gG2iaz3hijw857AVYekZe2SAskcqlWIZXjji5WStnOpVoat3gQfT/Q5tb2djnCjBtMocY/Su1GfxPBg==",
- "dev": true,
- "peer": true,
- "dependencies": {
- "@webassemblyjs/ast": "1.12.1",
- "@webassemblyjs/helper-buffer": "1.12.1",
- "@webassemblyjs/wasm-gen": "1.12.1",
- "@webassemblyjs/wasm-parser": "1.12.1"
- }
- },
- "node_modules/@webassemblyjs/wasm-parser": {
- "version": "1.12.1",
- "resolved": "https://registry.npmjs.org/@webassemblyjs/wasm-parser/-/wasm-parser-1.12.1.tgz",
- "integrity": "sha512-xikIi7c2FHXysxXe3COrVUPSheuBtpcfhbpFj4gmu7KRLYOzANztwUU0IbsqvMqzuNK2+glRGWCEqZo1WCLyAQ==",
- "dev": true,
- "peer": true,
- "dependencies": {
- "@webassemblyjs/ast": "1.12.1",
- "@webassemblyjs/helper-api-error": "1.11.6",
- "@webassemblyjs/helper-wasm-bytecode": "1.11.6",
- "@webassemblyjs/ieee754": "1.11.6",
- "@webassemblyjs/leb128": "1.11.6",
- "@webassemblyjs/utf8": "1.11.6"
- }
- },
- "node_modules/@webassemblyjs/wast-printer": {
- "version": "1.12.1",
- "resolved": "https://registry.npmjs.org/@webassemblyjs/wast-printer/-/wast-printer-1.12.1.tgz",
- "integrity": "sha512-+X4WAlOisVWQMikjbcvY2e0rwPsKQ9F688lksZhBcPycBBuii3O7m8FACbDMWDojpAqvjIncrG8J0XHKyQfVeA==",
- "dev": true,
- "peer": true,
- "dependencies": {
- "@webassemblyjs/ast": "1.12.1",
- "@xtuc/long": "4.2.2"
- }
- },
- "node_modules/@xtuc/ieee754": {
- "version": "1.2.0",
- "resolved": "https://registry.npmjs.org/@xtuc/ieee754/-/ieee754-1.2.0.tgz",
- "integrity": "sha512-DX8nKgqcGwsc0eJSqYt5lwP4DH5FlHnmuWWBRy7X0NcaGR0ZtuyeESgMwTYVEtxmsNGY+qit4QYT/MIYTOTPeA==",
- "dev": true,
- "peer": true
- },
- "node_modules/@xtuc/long": {
- "version": "4.2.2",
- "resolved": "https://registry.npmjs.org/@xtuc/long/-/long-4.2.2.tgz",
- "integrity": "sha512-NuHqBY1PB/D8xU6s/thBgOAiAP7HOYDQ32+BFZILJ8ivkUkAHQnWfn6WhL79Owj1qmUnoN/YPhktdIoucipkAQ==",
- "dev": true,
- "peer": true
- },
"node_modules/@zip.js/zip.js": {
"version": "2.7.32",
"license": "BSD-3-Clause",
@@ -44959,16 +44613,6 @@
"node": ">=0.4.0"
}
},
- "node_modules/acorn-import-attributes": {
- "version": "1.9.5",
- "resolved": "https://registry.npmjs.org/acorn-import-attributes/-/acorn-import-attributes-1.9.5.tgz",
- "integrity": "sha512-n02Vykv5uA3eHGM/Z2dQrcD56kL8TyDb2p1+0P83PClMnC/nc+anbQRhIOWnSq4Ke/KvDPrY3C9hDtC/A3eHnQ==",
- "dev": true,
- "peer": true,
- "peerDependencies": {
- "acorn": "^8"
- }
- },
"node_modules/acorn-walk": {
"version": "8.3.2",
"dev": true,
@@ -45415,15 +45059,6 @@
"ieee754": "^1.2.1"
}
},
- "node_modules/buffer-crc32": {
- "version": "0.2.13",
- "resolved": "https://registry.npmjs.org/buffer-crc32/-/buffer-crc32-0.2.13.tgz",
- "integrity": "sha512-VO9Ht/+p3SN7SKWqcrgEzjGbRSJYTx+Q1pTQC0wrWqHx0vpJraQ6GtHx8tvcg1rlK1byhU5gccxgOgj7B0TDkQ==",
- "peer": true,
- "engines": {
- "node": "*"
- }
- },
"node_modules/buffer-equal-constant-time": {
"version": "1.0.1",
"license": "BSD-3-Clause"
@@ -45452,33 +45087,6 @@
"node": ">=8"
}
},
- "node_modules/cacheable-lookup": {
- "version": "5.0.4",
- "resolved": "https://registry.npmjs.org/cacheable-lookup/-/cacheable-lookup-5.0.4.tgz",
- "integrity": "sha512-2/kNscPhpcxrOigMZzbiWF7dz8ilhb/nIHU3EyZiXWXpeq/au8qJ8VhdftMkty3n7Gj6HIGalQG8oiBNB3AJgA==",
- "peer": true,
- "engines": {
- "node": ">=10.6.0"
- }
- },
- "node_modules/cacheable-request": {
- "version": "7.0.4",
- "resolved": "https://registry.npmjs.org/cacheable-request/-/cacheable-request-7.0.4.tgz",
- "integrity": "sha512-v+p6ongsrp0yTGbJXjgxPow2+DL93DASP4kXCDKb8/bwRtt9OEF3whggkkDkGNzgcWy2XaF4a8nZglC7uElscg==",
- "peer": true,
- "dependencies": {
- "clone-response": "^1.0.2",
- "get-stream": "^5.1.0",
- "http-cache-semantics": "^4.0.0",
- "keyv": "^4.0.0",
- "lowercase-keys": "^2.0.0",
- "normalize-url": "^6.0.1",
- "responselike": "^2.0.0"
- },
- "engines": {
- "node": ">=8"
- }
- },
"node_modules/call-bind": {
"version": "1.0.7",
"dev": true,
@@ -45630,16 +45238,6 @@
"node": ">=10"
}
},
- "node_modules/chrome-trace-event": {
- "version": "1.0.4",
- "resolved": "https://registry.npmjs.org/chrome-trace-event/-/chrome-trace-event-1.0.4.tgz",
- "integrity": "sha512-rNjApaLzuwaOTjCiT8lSDdGN1APCiqkChLMJxJPWLunPAt5fy8xgU9/jNOchV84wfIxrA0lRQB7oCT8jrn/wrQ==",
- "dev": true,
- "peer": true,
- "engines": {
- "node": ">=6.0"
- }
- },
"node_modules/clipboard-polyfill": {
"version": "4.0.0",
"license": "MIT"
@@ -45657,18 +45255,6 @@
"node": ">=12"
}
},
- "node_modules/clone-response": {
- "version": "1.0.3",
- "resolved": "https://registry.npmjs.org/clone-response/-/clone-response-1.0.3.tgz",
- "integrity": "sha512-ROoL94jJH2dUVML2Y/5PEDNaSHgeOdSDicUyS7izcF63G6sTc/FTjLub4b8Il9S8S0beOfYt0TaA5qvFK+w0wA==",
- "peer": true,
- "dependencies": {
- "mimic-response": "^1.0.0"
- },
- "funding": {
- "url": "https://github.com/sponsors/sindresorhus"
- }
- },
"node_modules/color-convert": {
"version": "2.0.1",
"dev": true,
@@ -45748,6 +45334,7 @@
},
"node_modules/convert-source-map": {
"version": "2.0.0",
+ "dev": true,
"license": "MIT"
},
"node_modules/core-js-compat": {
@@ -45932,6 +45519,7 @@
},
"node_modules/decompress-response": {
"version": "6.0.0",
+ "devOptional": true,
"license": "MIT",
"dependencies": {
"mimic-response": "^3.1.0"
@@ -45945,6 +45533,7 @@
},
"node_modules/decompress-response/node_modules/mimic-response": {
"version": "3.1.0",
+ "devOptional": true,
"license": "MIT",
"engines": {
"node": ">=10"
@@ -45979,15 +45568,6 @@
"node": ">=0.10.0"
}
},
- "node_modules/defer-to-connect": {
- "version": "2.0.1",
- "resolved": "https://registry.npmjs.org/defer-to-connect/-/defer-to-connect-2.0.1.tgz",
- "integrity": "sha512-4tvttepXG1VaYGrRibk5EwJd1t4udunSOVMdLSAL6mId1ix438oPwPZMALY41FCijukO1L0twNcGsdzS7dHgDg==",
- "peer": true,
- "engines": {
- "node": ">=10"
- }
- },
"node_modules/define-data-property": {
"version": "1.1.4",
"devOptional": true,
@@ -46240,6 +45820,7 @@
},
"node_modules/end-of-stream": {
"version": "1.4.4",
+ "devOptional": true,
"license": "MIT",
"dependencies": {
"once": "^1.4.0"
@@ -46269,15 +45850,6 @@
"url": "https://github.com/fb55/entities?sponsor=1"
}
},
- "node_modules/env-paths": {
- "version": "2.2.1",
- "resolved": "https://registry.npmjs.org/env-paths/-/env-paths-2.2.1.tgz",
- "integrity": "sha512-+h1lkLKhZMTYjog1VEpJNG7NZJWcuc2DDk/qsqSTRRCOXiLjeQ1d1/udrUGhqMxUgAlwKNZ0cf2uqan5GLuS2A==",
- "peer": true,
- "engines": {
- "node": ">=6"
- }
- },
"node_modules/error-ex": {
"version": "1.3.2",
"license": "MIT",
@@ -46471,20 +46043,6 @@
"url": "https://github.com/sponsors/sindresorhus"
}
},
- "node_modules/eslint-scope": {
- "version": "5.1.1",
- "resolved": "https://registry.npmjs.org/eslint-scope/-/eslint-scope-5.1.1.tgz",
- "integrity": "sha512-2NxwbF/hZ0KpepYN0cNbo+FN6XoK7GaHlQhgx/hIZl6Va0bF45RQOOwhLIy8lQDbuCiadSLCBnH2CFYquit5bw==",
- "dev": true,
- "peer": true,
- "dependencies": {
- "esrecurse": "^4.3.0",
- "estraverse": "^4.1.1"
- },
- "engines": {
- "node": ">=8.0.0"
- }
- },
"node_modules/esprima": {
"version": "4.0.1",
"license": "BSD-2-Clause",
@@ -46496,39 +46054,6 @@
"node": ">=4"
}
},
- "node_modules/esrecurse": {
- "version": "4.3.0",
- "resolved": "https://registry.npmjs.org/esrecurse/-/esrecurse-4.3.0.tgz",
- "integrity": "sha512-KmfKL3b6G+RXvP8N1vr3Tq1kL/oCFgn2NYXEtqP8/L3pKapUA4G8cFVaoF3SU323CD4XypR/ffioHmkti6/Tag==",
- "dev": true,
- "peer": true,
- "dependencies": {
- "estraverse": "^5.2.0"
- },
- "engines": {
- "node": ">=4.0"
- }
- },
- "node_modules/esrecurse/node_modules/estraverse": {
- "version": "5.3.0",
- "resolved": "https://registry.npmjs.org/estraverse/-/estraverse-5.3.0.tgz",
- "integrity": "sha512-MMdARuVEQziNTeJD8DgMqmhwR11BRQ/cBP+pLtYdSTnf3MIO8fFeiINEbX36ZdNlfU/7A9f3gUw49B3oQsvwBA==",
- "dev": true,
- "peer": true,
- "engines": {
- "node": ">=4.0"
- }
- },
- "node_modules/estraverse": {
- "version": "4.3.0",
- "resolved": "https://registry.npmjs.org/estraverse/-/estraverse-4.3.0.tgz",
- "integrity": "sha512-39nnKffWz8xN1BU/2c79n9nB9HDzo0niYUqx6xyqUnyoAnQyyWpOTdZEeiCch8BBu515t4wp9ZmgVfVhn9EBpw==",
- "dev": true,
- "peer": true,
- "engines": {
- "node": ">=4.0"
- }
- },
"node_modules/estree-walker": {
"version": "2.0.2",
"dev": true,
@@ -46546,16 +46071,6 @@
"version": "1.0.31",
"license": "MIT"
},
- "node_modules/events": {
- "version": "3.3.0",
- "resolved": "https://registry.npmjs.org/events/-/events-3.3.0.tgz",
- "integrity": "sha512-mQw+2fkQbALzQ7V0MY0IqdnXNOeTtP4r0lN9z7AAawCXgqea7bDii20AYrIBrFd/Hx0M2Ocz6S111CaFkUcb0Q==",
- "dev": true,
- "peer": true,
- "engines": {
- "node": ">=0.8.x"
- }
- },
"node_modules/execa": {
"version": "8.0.1",
"dev": true,
@@ -46637,26 +46152,6 @@
"node": ">=0.10.0"
}
},
- "node_modules/extract-zip": {
- "version": "2.0.1",
- "resolved": "https://registry.npmjs.org/extract-zip/-/extract-zip-2.0.1.tgz",
- "integrity": "sha512-GDhU9ntwuKyGXdZBUgTIe+vXnWj0fppUEtMDL0+idd5Sta8TGpHssn/eusA9mrPr9qNDym6SxAYZjNvCn/9RBg==",
- "peer": true,
- "dependencies": {
- "debug": "^4.1.1",
- "get-stream": "^5.1.0",
- "yauzl": "^2.10.0"
- },
- "bin": {
- "extract-zip": "cli.js"
- },
- "engines": {
- "node": ">= 10.17.0"
- },
- "optionalDependencies": {
- "@types/yauzl": "^2.9.1"
- }
- },
"node_modules/fast-deep-equal": {
"version": "3.1.3",
"dev": true,
@@ -46688,15 +46183,6 @@
"reusify": "^1.0.4"
}
},
- "node_modules/fd-slicer": {
- "version": "1.1.0",
- "resolved": "https://registry.npmjs.org/fd-slicer/-/fd-slicer-1.1.0.tgz",
- "integrity": "sha512-cE1qsB/VwyQozZ+q1dGxR8LBYNZeofhEdUNGSMbQD3Gw2lAzX9Zb3uIU6Ebc/Fmyjo9AWWfnn0AUCHqtevs/8g==",
- "peer": true,
- "dependencies": {
- "pend": "~1.2.0"
- }
- },
"node_modules/fflate": {
"version": "0.8.1",
"license": "MIT"
@@ -46872,20 +46358,6 @@
"devOptional": true,
"license": "MIT"
},
- "node_modules/fs-extra": {
- "version": "8.1.0",
- "resolved": "https://registry.npmjs.org/fs-extra/-/fs-extra-8.1.0.tgz",
- "integrity": "sha512-yhlQgA6mnOJUKOsRUFsgJdQCvkKhcz8tlZG5HBQfReYZy46OwLcY+Zia0mtdHsOo9y/hP+CxMN0TU9QxoOtG4g==",
- "peer": true,
- "dependencies": {
- "graceful-fs": "^4.2.0",
- "jsonfile": "^4.0.0",
- "universalify": "^0.1.0"
- },
- "engines": {
- "node": ">=6 <7 || >=8"
- }
- },
"node_modules/fs-minipass": {
"version": "2.1.0",
"license": "ISC",
@@ -46979,6 +46451,7 @@
},
"node_modules/gensync": {
"version": "1.0.0-beta.2",
+ "dev": true,
"license": "MIT",
"engines": {
"node": ">=6.9.0"
@@ -47023,21 +46496,6 @@
"dev": true,
"license": "ISC"
},
- "node_modules/get-stream": {
- "version": "5.2.0",
- "resolved": "https://registry.npmjs.org/get-stream/-/get-stream-5.2.0.tgz",
- "integrity": "sha512-nBF+F1rAZVCu/p7rjzgA+Yb4lfYXrpl7a6VmJrU8wF9I1CKvP/QwPNZHnOlwbTkY6dvtFIzFMSyQXbLoTQPRpA==",
- "peer": true,
- "dependencies": {
- "pump": "^3.0.0"
- },
- "engines": {
- "node": ">=8"
- },
- "funding": {
- "url": "https://github.com/sponsors/sindresorhus"
- }
- },
"node_modules/get-symbol-description": {
"version": "1.0.2",
"dev": true,
@@ -47088,47 +46546,11 @@
"node": ">= 6"
}
},
- "node_modules/glob-to-regexp": {
- "version": "0.4.1",
- "resolved": "https://registry.npmjs.org/glob-to-regexp/-/glob-to-regexp-0.4.1.tgz",
- "integrity": "sha512-lkX1HJXwyMcprw/5YUZc2s7DrpAiHB21/V+E1rHUrVNokkvB6bqMzT0VfV6/86ZNabt1k14YOIaT7nDvOX3Iiw==",
- "dev": true,
- "peer": true
- },
- "node_modules/global-agent": {
- "version": "3.0.0",
- "resolved": "https://registry.npmjs.org/global-agent/-/global-agent-3.0.0.tgz",
- "integrity": "sha512-PT6XReJ+D07JvGoxQMkT6qji/jVNfX/h364XHZOWeRzy64sSFr+xJ5OX7LI3b4MPQzdL4H8Y8M0xzPpsVMwA8Q==",
- "optional": true,
- "peer": true,
- "dependencies": {
- "boolean": "^3.0.1",
- "es6-error": "^4.1.1",
- "matcher": "^3.0.0",
- "roarr": "^2.15.3",
- "semver": "^7.3.2",
- "serialize-error": "^7.0.1"
- },
- "engines": {
- "node": ">=10.0"
- }
- },
- "node_modules/global-agent/node_modules/semver": {
- "version": "7.6.3",
- "resolved": "https://registry.npmjs.org/semver/-/semver-7.6.3.tgz",
- "integrity": "sha512-oVekP1cKtI+CTDvHWYFUcMtsK/00wmAEfyqKfNdARm8u1wNVhSgaX7A8d4UuIlUI5e84iEwOhs7ZPYRmzU9U6A==",
- "optional": true,
- "peer": true,
- "bin": {
- "semver": "bin/semver.js"
- },
- "engines": {
- "node": ">=10"
- }
- },
"node_modules/globals": {
"version": "11.12.0",
- "license": "MIT",
+ "resolved": "https://registry.npmjs.org/globals/-/globals-11.12.0.tgz",
+ "integrity": "sha512-WOBp/EEGUiIsJSp7wcv/y6MO+lV9UoncWqxuFfm8eBwzWNgyfBd6Gz+IeKQ9jCmyhoH99g15M3T+QaVHFjizVA==",
+ "dev": true,
"engines": {
"node": ">=4"
}
@@ -47166,34 +46588,11 @@
"url": "https://github.com/sponsors/ljharb"
}
},
- "node_modules/got": {
- "version": "11.8.6",
- "resolved": "https://registry.npmjs.org/got/-/got-11.8.6.tgz",
- "integrity": "sha512-6tfZ91bOr7bOXnK7PRDCGBLa1H4U080YHNaAQ2KsMGlLEzRbk44nsZF2E1IeRc3vtJHPVbKCYgdFbaGO2ljd8g==",
- "peer": true,
- "dependencies": {
- "@sindresorhus/is": "^4.0.0",
- "@szmarczak/http-timer": "^4.0.5",
- "@types/cacheable-request": "^6.0.1",
- "@types/responselike": "^1.0.0",
- "cacheable-lookup": "^5.0.3",
- "cacheable-request": "^7.0.2",
- "decompress-response": "^6.0.0",
- "http2-wrapper": "^1.0.0-beta.5.2",
- "lowercase-keys": "^2.0.0",
- "p-cancelable": "^2.0.0",
- "responselike": "^2.0.0"
- },
- "engines": {
- "node": ">=10.19.0"
- },
- "funding": {
- "url": "https://github.com/sindresorhus/got?sponsor=1"
- }
- },
"node_modules/graceful-fs": {
"version": "4.2.11",
- "license": "ISC"
+ "resolved": "https://registry.npmjs.org/graceful-fs/-/graceful-fs-4.2.11.tgz",
+ "integrity": "sha512-RbJ5/jmFcNNCcDV5o9eTnBLJ/HszWV0P73bc+Ff4nS/rJj+YaS6IGyiOL0VoBYX+l1Wrl3k63h/KrH+nhJ0XvQ==",
+ "dev": true
},
"node_modules/gray-matter": {
"version": "4.0.3",
@@ -47483,25 +46882,6 @@
"entities": "^4.4.0"
}
},
- "node_modules/http-cache-semantics": {
- "version": "4.1.1",
- "resolved": "https://registry.npmjs.org/http-cache-semantics/-/http-cache-semantics-4.1.1.tgz",
- "integrity": "sha512-er295DKPVsV82j5kw1Gjt+ADA/XYHsajl82cGNQG2eyoPkvgUhX+nDIyelzhIWbbsXP39EHcI6l5tYs2FYqYXQ==",
- "peer": true
- },
- "node_modules/http2-wrapper": {
- "version": "1.0.3",
- "resolved": "https://registry.npmjs.org/http2-wrapper/-/http2-wrapper-1.0.3.tgz",
- "integrity": "sha512-V+23sDMr12Wnz7iTcDeJr3O6AIxlnvT/bmaAAAP/Xda35C90p9599p0F1eHR/N1KILWSoWVAiOMFjBBXaXSMxg==",
- "peer": true,
- "dependencies": {
- "quick-lru": "^5.1.1",
- "resolve-alpn": "^1.0.0"
- },
- "engines": {
- "node": ">=10.19.0"
- }
- },
"node_modules/https-proxy-agent": {
"version": "5.0.1",
"license": "MIT",
@@ -48033,7 +47413,9 @@
},
"node_modules/jsesc": {
"version": "2.5.2",
- "license": "MIT",
+ "resolved": "https://registry.npmjs.org/jsesc/-/jsesc-2.5.2.tgz",
+ "integrity": "sha512-OYu7XEzjkCQ3C5Ps3QIZsQfNpqoJyZZA99wd9aWd05NCtC5pWOkShK2mkL6HXQR6/Cy2lbNdPlZBpuQHXE63gA==",
+ "dev": true,
"bin": {
"jsesc": "bin/jsesc"
},
@@ -48041,12 +47423,6 @@
"node": ">=4"
}
},
- "node_modules/json-buffer": {
- "version": "3.0.1",
- "resolved": "https://registry.npmjs.org/json-buffer/-/json-buffer-3.0.1.tgz",
- "integrity": "sha512-4bV5BfR2mqfQTJm+V5tPPdf+ZpuhiIvTuAB5g8kcrXOZpTT/QwwVRWBywX1ozr6lEuPdbHxwaJlm9G6mI2sfSQ==",
- "peer": true
- },
"node_modules/json-parse-even-better-errors": {
"version": "2.3.1",
"license": "MIT"
@@ -48070,6 +47446,7 @@
},
"node_modules/json5": {
"version": "2.2.3",
+ "dev": true,
"license": "MIT",
"bin": {
"json5": "lib/cli.js"
@@ -48078,15 +47455,6 @@
"node": ">=6"
}
},
- "node_modules/jsonfile": {
- "version": "4.0.0",
- "resolved": "https://registry.npmjs.org/jsonfile/-/jsonfile-4.0.0.tgz",
- "integrity": "sha512-m6F1R3z8jjlf2imQHS2Qez5sjKWQzbuuhuJ/FKYFRZvPE3PuHcSMVZzfsLhGVOkfd20obL5SWEBew5ShlquNxg==",
- "peer": true,
- "optionalDependencies": {
- "graceful-fs": "^4.1.6"
- }
- },
"node_modules/jsonpointer": {
"version": "5.0.1",
"dev": true,
@@ -48191,15 +47559,6 @@
"prebuild-install": "^7.0.1"
}
},
- "node_modules/keyv": {
- "version": "4.5.4",
- "resolved": "https://registry.npmjs.org/keyv/-/keyv-4.5.4.tgz",
- "integrity": "sha512-oxVHkHR/EJf2CNXnWxRLW6mg7JyCCUcG0DtEGmL2ctUo1PNTin1PUil+r/+4r5MpVgC/fn1kjsx7mjSujKqIpw==",
- "peer": true,
- "dependencies": {
- "json-buffer": "3.0.1"
- }
- },
"node_modules/kind-of": {
"version": "6.0.3",
"license": "MIT",
@@ -48226,16 +47585,6 @@
"version": "1.2.4",
"license": "MIT"
},
- "node_modules/loader-runner": {
- "version": "4.3.0",
- "resolved": "https://registry.npmjs.org/loader-runner/-/loader-runner-4.3.0.tgz",
- "integrity": "sha512-3R/1M+yS3j5ou80Me59j7F9IMs4PXs3VqRrm0TU3AbKPxlmpoY1TNscJV/oGJXo8qCatFGTfDbY6W6ipGOYXfg==",
- "dev": true,
- "peer": true,
- "engines": {
- "node": ">=6.11.5"
- }
- },
"node_modules/loader-utils": {
"version": "2.0.4",
"dev": true,
@@ -48366,15 +47715,6 @@
"tslib": "^2.0.3"
}
},
- "node_modules/lowercase-keys": {
- "version": "2.0.0",
- "resolved": "https://registry.npmjs.org/lowercase-keys/-/lowercase-keys-2.0.0.tgz",
- "integrity": "sha512-tqNXrS78oMOE73NMxK4EMLQsQowWf8jKooH9g7xPavRT706R6bkQJ6DY2Te7QukaZsulxa30wQ7bk0pm4XiHmA==",
- "peer": true,
- "engines": {
- "node": ">=8"
- }
- },
"node_modules/lru-cache": {
"version": "5.1.1",
"license": "ISC",
@@ -49272,15 +48612,6 @@
"url": "https://github.com/sponsors/sindresorhus"
}
},
- "node_modules/mimic-response": {
- "version": "1.0.1",
- "resolved": "https://registry.npmjs.org/mimic-response/-/mimic-response-1.0.1.tgz",
- "integrity": "sha512-j5EctnkH7amfV/q5Hgmoal1g2QHFJRraOtmx0JpIqkxhBhI/lJSl1nMpQ45hVarwNETOoWEimndZ4QK0RHxuxQ==",
- "peer": true,
- "engines": {
- "node": ">=4"
- }
- },
"node_modules/minimatch": {
"version": "3.1.2",
"devOptional": true,
@@ -49413,13 +48744,6 @@
"devOptional": true,
"license": "MIT"
},
- "node_modules/neo-async": {
- "version": "2.6.2",
- "resolved": "https://registry.npmjs.org/neo-async/-/neo-async-2.6.2.tgz",
- "integrity": "sha512-Yd3UES5mWCSqR+qNT93S3UoYUkqAZ9lLg8a7g9rimsWmYGK8cVToA4/sF3RrshdyV3sAGMXVUmpMYOw+dLpOuw==",
- "dev": true,
- "peer": true
- },
"node_modules/no-case": {
"version": "3.0.4",
"dev": true,
@@ -49520,18 +48844,6 @@
"node": ">=0.10.0"
}
},
- "node_modules/normalize-url": {
- "version": "6.1.0",
- "resolved": "https://registry.npmjs.org/normalize-url/-/normalize-url-6.1.0.tgz",
- "integrity": "sha512-DlL+XwOy3NxAQ8xuC0okPgK46iuVNAK01YN7RueYBqqFeGsBjV9XmCAzAdgt+667bCl5kPh9EqKKDwnaPG1I7A==",
- "peer": true,
- "engines": {
- "node": ">=10"
- },
- "funding": {
- "url": "https://github.com/sponsors/sindresorhus"
- }
- },
"node_modules/npm-run-path": {
"version": "5.3.0",
"dev": true,
@@ -49621,6 +48933,7 @@
},
"node_modules/once": {
"version": "1.4.0",
+ "devOptional": true,
"license": "ISC",
"dependencies": {
"wrappy": "1"
@@ -49666,15 +48979,6 @@
"@otplib/preset-v11": "^12.0.1"
}
},
- "node_modules/p-cancelable": {
- "version": "2.1.1",
- "resolved": "https://registry.npmjs.org/p-cancelable/-/p-cancelable-2.1.1.tgz",
- "integrity": "sha512-BZOr3nRQHOntUjTrH8+Lh54smKHoHyur8We1V8DSMVrl5A2malOOwuJRnKRDjSnkoeBh4at6BwEnb5I7Jl31wg==",
- "peer": true,
- "engines": {
- "node": ">=8"
- }
- },
"node_modules/p-limit": {
"version": "5.0.0",
"dev": true,
@@ -49780,12 +49084,6 @@
"canvas": "^2.11.2"
}
},
- "node_modules/pend": {
- "version": "1.2.0",
- "resolved": "https://registry.npmjs.org/pend/-/pend-1.2.0.tgz",
- "integrity": "sha512-F3asv42UuXchdzt+xXqfW1OGlVBe+mxa2mqI0pg5yAHZPvFmY3Y6drSf/GQ1A86WgWEN9Kzh/WrgKa6iGcHXLg==",
- "peer": true
- },
"node_modules/phone": {
"version": "3.1.41",
"license": "MIT",
@@ -49988,15 +49286,6 @@
"dev": true,
"license": "MIT"
},
- "node_modules/progress": {
- "version": "2.0.3",
- "resolved": "https://registry.npmjs.org/progress/-/progress-2.0.3.tgz",
- "integrity": "sha512-7PiHtLll5LdnKIMw100I+8xJXR5gW2QwWYkT6iJva0bXitZKa/XMrSbdmg3r2Xnaidz9Qumd0VPaMrZlF9V9sA==",
- "peer": true,
- "engines": {
- "node": ">=0.4.0"
- }
- },
"node_modules/prop-types": {
"version": "15.8.1",
"license": "MIT",
@@ -50020,6 +49309,7 @@
},
"node_modules/pump": {
"version": "3.0.0",
+ "devOptional": true,
"license": "MIT",
"dependencies": {
"end-of-stream": "^1.1.0",
@@ -50060,18 +49350,6 @@
],
"license": "MIT"
},
- "node_modules/quick-lru": {
- "version": "5.1.1",
- "resolved": "https://registry.npmjs.org/quick-lru/-/quick-lru-5.1.1.tgz",
- "integrity": "sha512-WuyALRjWPDGtt/wzJiadO5AXY+8hZ80hVpe6MyivgraREW751X3SbhRvG3eLKOYN+8VEvqLcf3wdnt44Z4S4SA==",
- "peer": true,
- "engines": {
- "node": ">=10"
- },
- "funding": {
- "url": "https://github.com/sponsors/sindresorhus"
- }
- },
"node_modules/randombytes": {
"version": "2.1.0",
"license": "MIT",
@@ -50515,12 +49793,6 @@
"url": "https://github.com/sponsors/ljharb"
}
},
- "node_modules/resolve-alpn": {
- "version": "1.2.1",
- "resolved": "https://registry.npmjs.org/resolve-alpn/-/resolve-alpn-1.2.1.tgz",
- "integrity": "sha512-0a1F4l73/ZFZOakJnQ3FvkJ2+gSTQWz/r2KE5OdDY0TxPm5h4GkqkWWfM47T7HsbnOtcJVEF4epCVy6u7Q3K+g==",
- "peer": true
- },
"node_modules/resolve-from": {
"version": "4.0.0",
"license": "MIT",
@@ -50528,18 +49800,6 @@
"node": ">=4"
}
},
- "node_modules/responselike": {
- "version": "2.0.1",
- "resolved": "https://registry.npmjs.org/responselike/-/responselike-2.0.1.tgz",
- "integrity": "sha512-4gl03wn3hj1HP3yzgdI7d3lCkF95F21Pz4BPGvKHinyQzALR5CapwC8yIi0Rh58DEMQ/SguC03wFj2k0M/mHhw==",
- "peer": true,
- "dependencies": {
- "lowercase-keys": "^2.0.0"
- },
- "funding": {
- "url": "https://github.com/sponsors/sindresorhus"
- }
- },
"node_modules/reusify": {
"version": "1.0.4",
"license": "MIT",
@@ -51225,18 +50485,6 @@
"version": "4.2.0",
"license": "MIT"
},
- "node_modules/sumchecker": {
- "version": "3.0.1",
- "resolved": "https://registry.npmjs.org/sumchecker/-/sumchecker-3.0.1.tgz",
- "integrity": "sha512-MvjXzkz/BOfyVDkG0oFOtBxHX2u3gKbMHIF/dXblZsgD3BWOFLmHovIpZY7BykJdAjcqRCBi1WYBNdEC9yI7vg==",
- "peer": true,
- "dependencies": {
- "debug": "^4.1.0"
- },
- "engines": {
- "node": ">= 8.0"
- }
- },
"node_modules/supports-color": {
"version": "7.2.0",
"dev": true,
@@ -51263,16 +50511,6 @@
"dev": true,
"license": "MIT"
},
- "node_modules/tapable": {
- "version": "2.2.1",
- "resolved": "https://registry.npmjs.org/tapable/-/tapable-2.2.1.tgz",
- "integrity": "sha512-GNzQvQTOIP6RyTfE2Qxb8ZVlNmw0n88vp1szwWRimP02mnTsx3Wtn5qRdqY9w2XduFNUgvOwhNnQsjwCp+kqaQ==",
- "dev": true,
- "peer": true,
- "engines": {
- "node": ">=6"
- }
- },
"node_modules/tar": {
"version": "6.2.0",
"license": "ISC",
@@ -51378,41 +50616,6 @@
"node": ">=10"
}
},
- "node_modules/terser-webpack-plugin": {
- "version": "5.3.10",
- "resolved": "https://registry.npmjs.org/terser-webpack-plugin/-/terser-webpack-plugin-5.3.10.tgz",
- "integrity": "sha512-BKFPWlPDndPs+NGGCr1U59t0XScL5317Y0UReNrHaw9/FwhPENlq6bfgs+4yPfyP51vqC1bQ4rp1EfXW5ZSH9w==",
- "dev": true,
- "peer": true,
- "dependencies": {
- "@jridgewell/trace-mapping": "^0.3.20",
- "jest-worker": "^27.4.5",
- "schema-utils": "^3.1.1",
- "serialize-javascript": "^6.0.1",
- "terser": "^5.26.0"
- },
- "engines": {
- "node": ">= 10.13.0"
- },
- "funding": {
- "type": "opencollective",
- "url": "https://opencollective.com/webpack"
- },
- "peerDependencies": {
- "webpack": "^5.1.0"
- },
- "peerDependenciesMeta": {
- "@swc/core": {
- "optional": true
- },
- "esbuild": {
- "optional": true
- },
- "uglify-js": {
- "optional": true
- }
- }
- },
"node_modules/terser/node_modules/commander": {
"version": "2.20.3",
"dev": true,
@@ -51622,6 +50825,7 @@
},
"node_modules/undici-types": {
"version": "5.26.5",
+ "dev": true,
"license": "MIT"
},
"node_modules/unicode-canonical-property-names-ecmascript": {
@@ -52146,20 +51350,6 @@
"loose-envify": "^1.0.0"
}
},
- "node_modules/watchpack": {
- "version": "2.4.2",
- "resolved": "https://registry.npmjs.org/watchpack/-/watchpack-2.4.2.tgz",
- "integrity": "sha512-TnbFSbcOCcDgjZ4piURLCbJ3nJhznVh9kw6F6iokjiFPl8ONxe9A6nMDVXDiNbrSfLILs6vB07F7wLBrwPYzJw==",
- "dev": true,
- "peer": true,
- "dependencies": {
- "glob-to-regexp": "^0.4.1",
- "graceful-fs": "^4.1.2"
- },
- "engines": {
- "node": ">=10.13.0"
- }
- },
"node_modules/web-namespaces": {
"version": "2.0.1",
"license": "MIT",
@@ -52745,6 +51935,7 @@
},
"node_modules/wrappy": {
"version": "1.0.2",
+ "devOptional": true,
"license": "ISC"
},
"node_modules/y18n": {
@@ -52791,16 +51982,6 @@
"node": ">=12"
}
},
- "node_modules/yauzl": {
- "version": "2.10.0",
- "resolved": "https://registry.npmjs.org/yauzl/-/yauzl-2.10.0.tgz",
- "integrity": "sha512-p4a9I6X6nu6IhoGmBqAcbJy1mlC4j27vEPZX9F4L4/vZT3Lyq1VkFHw/V/PUcB9Buo+DG3iHkT0x3Qya58zc3g==",
- "peer": true,
- "dependencies": {
- "buffer-crc32": "~0.2.3",
- "fd-slicer": "~1.1.0"
- }
- },
"node_modules/yocto-queue": {
"version": "1.0.0",
"dev": true,
diff --git a/packages/intl/locale/en.po b/packages/intl/locale/en.po
index a20ae2087..c944bd5c1 100644
--- a/packages/intl/locale/en.po
+++ b/packages/intl/locale/en.po
@@ -13,6 +13,10 @@ msgstr ""
"Language-Team: \n"
"Plural-Forms: \n"
+#: src/strings.tsx:688
+msgid "— not just the"
+msgstr "— not just the"
+
#: src/strings.tsx:461
msgid "\"I understand, change my password\""
msgstr "\"I understand, change my password\""
@@ -37,10 +41,18 @@ msgstr "{0}... Please wait"
msgid "{count, plural, one {# note} other {# notes} _0 {No notes}}"
msgstr "{count, plural, one {# note} other {# notes} _0 {No notes}}"
+#: src/strings.tsx:721
+msgid "{count, plural, one {Are you sure you want to delete this {0} permanently?} other {Are you sure you want to delete these {1} permanently?}}"
+msgstr "{count, plural, one {Are you sure you want to delete this {0} permanently?} other {Are you sure you want to delete these {1} permanently?}}"
+
#: src/strings.tsx:55
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?}}"
+#: src/strings.tsx:742
+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}?}}"
+
#: src/strings.tsx:105
msgid "{count, plural, one {Attach image} other {Attach # images}}"
msgstr "{count, plural, one {Attach image} other {Attach # images}}"
@@ -49,6 +61,10 @@ msgstr "{count, plural, one {Attach image} other {Attach # images}}"
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}}}"
+#: src/strings.tsx:712
+msgid "{count, plural, one {Delete {0}} other {Delete {1}}}"
+msgstr "{count, plural, one {Delete {0}} other {Delete {1}}}"
+
#: src/strings.tsx:49
#~ msgid "{count, plural, one {Failed to download attachment {count}} other {Failed to download # attachments {count}}}"
#~ msgstr "{count, plural, one {Failed to download attachment {count}} other {Failed to download # attachments {count}}}"
@@ -61,6 +77,10 @@ msgstr "{count, plural, one {Attachment downloaded at {path}} other {#/{total} a
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}}"
+#: src/strings.tsx:740
+msgid "{count, plural, one {Move notebook} other {Move # notebooks}}"
+msgstr "{count, plural, one {Move notebook} other {Move # notebooks}}"
+
#: src/strings.tsx:403
msgid "{count, plural, one {Moving {title}} other {Moving # notebooks}}"
msgstr "{count, plural, one {Moving {title}} other {Moving # notebooks}}"
@@ -210,6 +230,10 @@ msgstr "Applied as light theme"
msgid "Apply changes"
msgstr "Apply changes"
+#: src/strings.tsx:708
+msgid "Are you sure you want to delete this note permanently?"
+msgstr "Are you sure you want to delete this note permanently?"
+
#: src/strings.tsx:64
#~ msgid "Are you sure you want to download all attachments"
#~ msgstr "Are you sure you want to download all attachments"
@@ -246,6 +270,14 @@ msgstr "Audio"
msgid "Backup failed"
msgstr "Backup failed"
+#: src/strings.tsx:760
+msgid "Backup is encrypted"
+msgstr "Backup is encrypted"
+
+#: src/strings.tsx:766
+msgid "Backup restored"
+msgstr "Backup restored"
+
#: src/strings.tsx:414
msgid "Backups"
msgstr "Backups"
@@ -262,6 +294,14 @@ msgstr "Basic"
msgid "BETA"
msgstr "BETA"
+#: src/strings.tsx:672
+msgid "Biometric unlocking disabled"
+msgstr "Biometric unlocking disabled"
+
+#: src/strings.tsx:671
+msgid "Biometric unlocking enabled"
+msgstr "Biometric unlocking enabled"
+
#: src/strings.tsx:341
msgid "By"
msgstr "By"
@@ -444,6 +484,10 @@ msgstr "Delete permanently"
msgid "Deleted on {date}"
msgstr "Deleted on {date}"
+#: src/strings.tsx:749
+msgid "Did you save recovery key?"
+msgstr "Did you save recovery key?"
+
#: src/strings.tsx:135
msgid "Disabled"
msgstr "Disabled"
@@ -472,6 +516,10 @@ msgstr "Done"
msgid "Download"
msgstr "Download"
+#: src/strings.tsx:666
+msgid "Download started... Please wait"
+msgstr "Download started... Please wait"
+
#: src/strings.tsx:434
msgid "Download successful"
msgstr "Download successful"
@@ -517,6 +565,10 @@ msgstr "Email is required"
msgid "Email not confirmed"
msgstr "Email not confirmed"
+#: src/strings.tsx:736
+msgid "Email updated to {email}"
+msgstr "Email updated to {email}"
+
#: src/strings.tsx:121
msgid "Enable"
msgstr "Enable"
@@ -529,6 +581,10 @@ msgstr "Enable two-factor authentication to add an extra layer of security to yo
msgid "Encrypted and synced"
msgstr "Encrypted and synced"
+#: src/strings.tsx:680
+msgid "End to end encrypted."
+msgstr "End to end encrypted."
+
#: src/strings.tsx:335
msgid "Enter 6 digit code"
msgstr "Enter 6 digit code"
@@ -537,6 +593,10 @@ msgstr "Enter 6 digit code"
msgid "Enter code from authenticator app"
msgstr "Enter code from authenticator app"
+#: src/strings.tsx:735
+msgid "Enter notebook title"
+msgstr "Enter notebook title"
+
#: src/strings.tsx:665
msgid "Enter password"
msgstr "Enter password"
@@ -657,6 +717,10 @@ msgstr "Hash copied"
msgid "Help improve Notesnook by sending completely anonymized"
msgstr "Help improve Notesnook by sending completely anonymized"
+#: src/strings.tsx:758
+msgid "hr"
+msgstr "hr"
+
#: src/strings.tsx:95
msgid "I don't have access to authenticator app"
msgstr "I don't have access to authenticator app"
@@ -757,6 +821,10 @@ msgstr "Light"
msgid "LINK TO A SECTION"
msgstr "LINK TO A SECTION"
+#: src/strings.tsx:730
+msgid "Link to notebook"
+msgstr "Link to notebook"
+
#: src/strings.tsx:501
msgid "Linked notes"
msgstr "Linked notes"
@@ -817,6 +885,10 @@ msgstr "Logout from this device"
msgid "Manage subscription on desktop"
msgstr "Manage subscription on desktop"
+#: src/strings.tsx:729
+msgid "Manage tags"
+msgstr "Manage tags"
+
#: src/strings.tsx:213
msgid "Migrating {0} {1}... please wait"
msgstr "Migrating {0} {1}... please wait"
@@ -825,6 +897,10 @@ msgstr "Migrating {0} {1}... please wait"
#~ msgid "Migrating database{0} {1}... please wait"
#~ msgstr "Migrating database{0} {1}... please wait"
+#: src/strings.tsx:757
+msgid "min"
+msgstr "min"
+
#: src/strings.tsx:578
msgid "mo"
msgstr "mo"
@@ -837,6 +913,10 @@ msgstr "Mon"
msgid "Monday"
msgstr "Monday"
+#: src/strings.tsx:748
+msgid "Monograph URL copied"
+msgstr "Monograph URL copied"
+
#: src/strings.tsx:305
msgid "month"
msgstr "month"
@@ -850,6 +930,10 @@ msgstr "Month"
msgid "Monthly"
msgstr "Monthly"
+#: src/strings.tsx:731
+msgid "Move"
+msgstr "Move"
+
#: src/strings.tsx:491
msgid "Move selected notes"
msgstr "Move selected notes"
@@ -858,6 +942,14 @@ msgstr "Move selected notes"
msgid "Move to top"
msgstr "Move to top"
+#: src/strings.tsx:734
+msgid "Move to trash"
+msgstr "Move to trash"
+
+#: src/strings.tsx:764
+msgid "Name"
+msgstr "Name"
+
#: src/strings.tsx:327
msgid "Never"
msgstr "Never"
@@ -898,6 +990,10 @@ msgstr "Next"
msgid "No"
msgstr "No"
+#: src/strings.tsx:738
+msgid "No application found to open {fileToOpen}"
+msgstr "No application found to open {fileToOpen}"
+
#: src/strings.tsx:60
msgid "No attachments."
msgstr "No attachments."
@@ -963,10 +1059,34 @@ msgstr "note"
msgid "Note"
msgstr "Note"
+#: src/strings.tsx:675
+msgid "Note copied to clipboard"
+msgstr "Note copied to clipboard"
+
+#: src/strings.tsx:709
+msgid "Note deleted"
+msgstr "Note deleted"
+
#: src/strings.tsx:386
msgid "Note history"
msgstr "Note history"
+#: src/strings.tsx:670
+msgid "Note locked"
+msgstr "Note locked"
+
+#: src/strings.tsx:706
+msgid "Note restored"
+msgstr "Note restored"
+
+#: src/strings.tsx:705
+msgid "Note restored from history"
+msgstr "Note restored from history"
+
+#: src/strings.tsx:674
+msgid "Note unlocked"
+msgstr "Note unlocked"
+
#: src/strings.tsx:148
msgid "Note version history is local only."
msgstr "Note version history is local only."
@@ -979,6 +1099,10 @@ msgstr "notebook"
msgid "Notebook"
msgstr "Notebook"
+#: src/strings.tsx:702
+msgid "Notebook restored"
+msgstr "Notebook restored"
+
#: src/strings.tsx:264
msgid "notebooks"
msgstr "notebooks"
@@ -1035,6 +1159,14 @@ msgstr "Open in browser"
msgid "Open issue"
msgstr "Open issue"
+#: src/strings.tsx:679
+msgid "Open source."
+msgstr "Open source."
+
+#: src/strings.tsx:761
+msgid "Password"
+msgstr "Password"
+
#: src/strings.tsx:645
msgid "Password change failed"
msgstr "Password change failed"
@@ -1043,6 +1175,10 @@ msgstr "Password change failed"
msgid "Password changed successfully"
msgstr "Password changed successfully"
+#: src/strings.tsx:668
+msgid "Password does not match"
+msgstr "Password does not match"
+
#: src/strings.tsx:657
msgid "Password incorrect"
msgstr "Password incorrect"
@@ -1051,10 +1187,18 @@ msgstr "Password incorrect"
#~ msgid "Password is too short"
#~ msgstr "Password is too short"
+#: src/strings.tsx:667
+msgid "Password not entered"
+msgstr "Password not entered"
+
#: src/strings.tsx:227
msgid "Password protection"
msgstr "Password protection"
+#: src/strings.tsx:669
+msgid "Password updated"
+msgstr "Password updated"
+
#: src/strings.tsx:662
msgid "PDF is password protected"
msgstr "PDF is password protected"
@@ -1063,6 +1207,10 @@ msgstr "PDF is password protected"
msgid "Permanent"
msgstr "Permanent"
+#: src/strings.tsx:704
+msgid "Permanently deleted notebook"
+msgstr "Permanently deleted notebook"
+
#: src/strings.tsx:438
msgid "Pinned"
msgstr "Pinned"
@@ -1075,6 +1223,10 @@ msgstr "Please enter the password to unlock the PDF and view the content."
msgid "Please fill all the fields to continue."
msgstr "Please fill all the fields to continue."
+#: src/strings.tsx:751
+msgid "Please make sure you have saved the recovery key. Tap one more time to confirm."
+msgstr "Please make sure you have saved the recovery key. Tap one more time to confirm."
+
#: src/strings.tsx:275
#~ msgid ""
#~ "Please note that we will respond to your issue on the given\n"
@@ -1115,6 +1267,10 @@ msgstr "PRESETS"
msgid "Preview not available, content is encrypted."
msgstr "Preview not available, content is encrypted."
+#: src/strings.tsx:687
+msgid "Privacy for everyone"
+msgstr "Privacy for everyone"
+
#: src/strings.tsx:74
msgid "Privacy Policy."
msgstr "Privacy Policy."
@@ -1123,6 +1279,14 @@ msgstr "Privacy Policy."
msgid "private analytics and bug reports."
msgstr "private analytics and bug reports."
+#: src/strings.tsx:681
+msgid "Private."
+msgstr "Private."
+
+#: src/strings.tsx:689
+msgid "privileged few"
+msgstr "privileged few"
+
#: src/strings.tsx:337
msgid "Protect your notes"
msgstr "Protect your notes"
@@ -1175,6 +1339,18 @@ msgstr "Recovery email has been sent to your email address. Please check your in
msgid "Recovery email sent!"
msgstr "Recovery email sent!"
+#: src/strings.tsx:754
+msgid "Recovery key copied"
+msgstr "Recovery key copied"
+
+#: src/strings.tsx:752
+msgid "Recovery key QR code saved"
+msgstr "Recovery key QR code saved"
+
+#: src/strings.tsx:753
+msgid "Recovery key text file saved"
+msgstr "Recovery key text file saved"
+
#: src/strings.tsx:309
msgid "REFERENCED IN"
msgstr "REFERENCED IN"
@@ -1215,10 +1391,18 @@ msgstr "Remove shortcut"
msgid "Rename"
msgstr "Rename"
+#: src/strings.tsx:763
+msgid "Rename color"
+msgstr "Rename color"
+
#: src/strings.tsx:629
msgid "Rename file"
msgstr "Rename file"
+#: src/strings.tsx:762
+msgid "Rename tag"
+msgstr "Rename tag"
+
#: src/strings.tsx:503
msgid "Repeat"
msgstr "Repeat"
@@ -1243,6 +1427,18 @@ msgstr "Resend code in ({seconds})"
msgid "Restore"
msgstr "Restore"
+#: src/strings.tsx:767
+msgid "Restore failed"
+msgstr "Restore failed"
+
+#: src/strings.tsx:703
+msgid "Restore notebook"
+msgstr "Restore notebook"
+
+#: src/strings.tsx:710
+msgid "Restored successfully"
+msgstr "Restored successfully"
+
#: src/strings.tsx:313
msgid "Restoring"
msgstr "Restoring"
@@ -1419,6 +1615,10 @@ msgstr "Share note"
msgid "Share to cloud"
msgstr "Share to cloud"
+#: src/strings.tsx:701
+msgid "Shortcut created"
+msgstr "Shortcut created"
+
#: src/strings.tsx:66
msgid "Sign up"
msgstr "Sign up"
@@ -1612,6 +1812,14 @@ msgstr "Two-factor authentication enabled"
msgid "Undo"
msgstr "Undo"
+#: src/strings.tsx:733
+msgid "Unfavorite"
+msgstr "Unfavorite"
+
+#: src/strings.tsx:732
+msgid "Unlink notebook"
+msgstr "Unlink notebook"
+
#: src/strings.tsx:127
msgid "Unlock"
msgstr "Unlock"
@@ -1621,6 +1829,10 @@ msgstr "Unlock"
msgid "Unlock note"
msgstr "Unlock note"
+#: src/strings.tsx:765
+msgid "Unlock note to delete it"
+msgstr "Unlock note to delete it"
+
#: src/strings.tsx:454
msgid "Unlock with biometrics"
msgstr "Unlock with biometrics"
@@ -1700,6 +1912,10 @@ msgstr ""
"$count$: Number of notes + 1.\n"
"$headline$: Use starting line of the note as title."
+#: src/strings.tsx:673
+msgid "Vault created"
+msgstr "Vault created"
+
#: src/strings.tsx:377
msgid "Vault Fingerprint Unlock"
msgstr "Vault Fingerprint Unlock"
@@ -1757,6 +1973,10 @@ msgstr "Weekly"
msgid "Welcome back, {email}"
msgstr "Welcome back, {email}"
+#: src/strings.tsx:683
+msgid "Write notes with freedom, no spying, no tracking."
+msgstr "Write notes with freedom, no spying, no tracking."
+
#: src/strings.tsx:306
msgid "year"
msgstr "year"
@@ -1782,6 +2002,10 @@ msgstr "You also agree to recieve marketing emails from us which you can opt-out
msgid "You can track your issue at"
msgstr "You can track your issue at"
+#: src/strings.tsx:696
+msgid "You simply cannot get any better of a note taking app than @notesnook. The UI is clean and slick, it is feature rich, encrypted, reasonably priced (esp. for students & educators) & open source"
+msgstr "You simply cannot get any better of a note taking app than @notesnook. The UI is clean and slick, it is feature rich, encrypted, reasonably priced (esp. for students & educators) & open source"
+
#: src/strings.tsx:592
msgid "You subscribed to Notesnook Pro on Android Phone/Tablet using Google In App Purchase."
msgstr "You subscribed to Notesnook Pro on Android Phone/Tablet using Google In App Purchase."
@@ -1806,6 +2030,10 @@ msgstr "Your account is now 100% secure against unauthorized logins."
msgid "Your email is not confirmed. Please confirm your email address to change account password."
msgstr "Your email is not confirmed. Please confirm your email address to change account password."
+#: src/strings.tsx:692
+msgid "Your privacy matters to us, no matter who you are. In a world where everyone is trying to spy on you, Notesnook encrypts all your data before it leaves your device. With Notesnook no one can ever sell your data again."
+msgstr "Your privacy matters to us, no matter who you are. In a world where everyone is trying to spy on you, Notesnook encrypts all your data before it leaves your device. With Notesnook no one can ever sell your data again."
+
#: src/strings.tsx:69
msgid "Your session has expired. Please enter password for {obfuscatedEmail} to continue."
msgstr "Your session has expired. Please enter password for {obfuscatedEmail} to continue."
diff --git a/packages/intl/src/strings.tsx b/packages/intl/src/strings.tsx
index 695de873f..c1cf9f0cd 100644
--- a/packages/intl/src/strings.tsx
+++ b/packages/intl/src/strings.tsx
@@ -676,5 +676,162 @@ $headline$: Use starting line of the note as title.`,
fileLengthMismatch: (expectedSize: number, currentSize: number) =>
t`File length mismatch. Expected ${expectedSize} but got ${currentSize} bytes. Please upload this file again from the attachment manager.`,
failedToResolvedDownloadUrl: () => t`Failed to resolve download url`,
- fileSize: () => `File size`
+ fileSize: () => `File size`,
+ donwloadStarted: () => t`Download started... Please wait`,
+ passwordNotEntered: () => t`Password not entered`,
+ passwordNotMatched: () => t`Password does not match`,
+ passwordUpdated: () => t`Password updated`,
+ noteLocked: () => t`Note locked`,
+ biometricUnlockEnabled: () => t`Biometric unlocking enabled`,
+ biometricUnlockDisabled: () => t`Biometric unlocking disabled`,
+ vaultCreated: () => t`Vault created`,
+ noteUnlocked: () => t`Note unlocked`,
+ noteCopied: () => t`Note copied to clipboard`,
+ introData: [
+ {
+ headings: [
+ () => t`Open source.`,
+ () => t`End to end encrypted.`,
+ () => t`Private.`
+ ],
+ body: () => t`Write notes with freedom, no spying, no tracking.`
+ },
+ {
+ headings: [
+ () => t`Privacy for everyone`,
+ () => t`— not just the`,
+ () => t`privileged few`
+ ],
+ body: () =>
+ t`Your privacy matters to us, no matter who you are. In a world where everyone is trying to spy on you, Notesnook encrypts all your data before it leaves your device. With Notesnook no one can ever sell your data again.`
+ },
+ {
+ tesimonial: () =>
+ t`You simply cannot get any better of a note taking app than @notesnook. The UI is clean and slick, it is feature rich, encrypted, reasonably priced (esp. for students & educators) & open source`,
+ link: "https://twitter.com/andrewsayer/status/1637817220113002503",
+ user: "@andrewsayer on Twitter"
+ }
+ ],
+ shortcutCreated: () => t`Shortcut created`,
+ notebookRestored: () => t`Notebook restored`,
+ restoreNotebook: () => t`Restore notebook`,
+ permanentlyDeletedNotebook: () => t`Permanently deleted notebook`,
+ noteRestoredFromHistory: () => t`Note restored from history`,
+ noteRestored: () => t`Note restored`,
+ deleteNoteConfirmation: () =>
+ t`Are you sure you want to delete this note permanently?`,
+ noteDeleted: () => t`Note deleted`,
+ restored: () => t`Restored successfully`,
+ deleteItems: (type: string, count: number) =>
+ plural(count, {
+ one: `Delete ${strings.dataTypes[
+ type as keyof typeof strings.dataTypes
+ ]()}`,
+ other: `Delete ${strings.dataTypesPlural[
+ type as keyof typeof strings.dataTypes
+ ]()}`
+ }),
+ deleteItemsConfirmation: (type: string, count: number) =>
+ plural(count, {
+ one: `Are you sure you want to delete this ${strings.dataTypes[
+ type as keyof typeof strings.dataTypes
+ ]()} permanently?`,
+ other: `Are you sure you want to delete these ${strings.dataTypesPlural[
+ type as keyof typeof strings.dataTypes
+ ]()} permanently?`
+ }),
+ manageTags: () => t`Manage tags`,
+ linkNotebook: () => t`Link to notebook`,
+ move: () => t`Move`,
+ unlinkNotebook: () => t`Unlink notebook`,
+ unfavorite: () => t`Unfavorite`,
+ moveToTrash: () => t`Move to trash`,
+ enterNotebookTitle: () => t`Enter notebook title`,
+ emailUpdated: (email: string) => t`Email updated to ${email}`,
+ noApplicationFound: (fileToOpen: string) =>
+ t`No application found to open ${fileToOpen}`,
+ moveNotebooks: (count: number) =>
+ plural(count, { one: "Move notebook", other: `Move # notebooks` }),
+ moveNotebooksConfirm: (count: number, selectedNotebookTitle: string) =>
+ plural(count, {
+ one: `Are you sure you want to move this notebook to ${selectedNotebookTitle}?`,
+ other: `Are you sure you want to move these # notebooks ${selectedNotebookTitle}?`
+ }),
+ failedToPublish: () => t`Failed to publish note`,
+ failedToUnpublish: () => t`Failed to unpublish note`,
+ monographUrlCopied: () => t`Monograph URL copied`,
+ recoveryKeySaved: () => t`Did you save recovery key?`,
+ recoveryKeySavedDesc: () =>
+ t`Please make sure you have saved the recovery key. Tap one more time to confirm.`,
+ recoveryKeyQRCodeSaved: () => t`Recovery key QR code saved`,
+ recoveryKeyTextFileSaved: () => t`Recovery key text file saved`,
+ recoveryKeyCopied: () => t`Recovery key copied`,
+ timeShort: {
+ second: () => t`sec`,
+ minute: () => t`min`,
+ hour: () => t`hr`
+ },
+ backupEncrypted: () => t`Backup is encrypted`,
+ password: () => t`Password`,
+ renameTag: () => t`Rename tag`,
+ renameColor: () => t`Rename color`,
+ name: () => t`Name`,
+ unlockToDelete: () => t`Unlock note to delete it`,
+ backupRestored: () => t`Backup restored`,
+ restoreFailed: () => t`Restore failed`,
+ itemDeleted: (count: number, type: string) =>
+ plural(count, {
+ one: `1 ${strings.dataTypesCamelCase[
+ type as keyof typeof strings.dataTypesCamelCase
+ ]()} deleted`,
+ other: `# ${strings.dataTypes[
+ type as keyof typeof strings.dataTypes
+ ]()} deleted`
+ }),
+ reorder: () => t`Reorder`,
+ turnOffReminder: () => t`Turn off reminder`,
+ turnOnReminder: () => t`Turn on reminder`,
+ addShortcut: () => t`Add shortcut`,
+ addNotebook: () => t`Add notebook`,
+ removeAsDefault: () => t`Remove as default`,
+ setAsDefault: () => t`Set as default`,
+ moveNotes: () => t`Move notes`,
+ unpin: () => t`Unpin`,
+ pin: () => t`Pin`,
+ lockedNotesPinnedFailed: () => t`Locked notes cannot be pinned`,
+ loginRequired: () => t`Login required`,
+ confirmEmailToPublish: () => t`Confirm email to publish note`,
+ lockedNotesPublishFailed: () => t`Locked notes cannot be published`,
+ notePreparingForShare: () => t`Preparing note for share`,
+ removeFromNotebook: () => t`Remove from notebook`,
+ attachments: () => t`Attachments`,
+ history: () => t`History`,
+ copyLink: () => t`Copy link`,
+ linkCopied: () => t`Link copied`,
+ readOnly: () => t`Read only`,
+ syncOff: () => t`Sync off`,
+ duplicate: () => t`Duplicate`,
+ remindMe: () => t`Remind me`,
+ published: () => t`Published`,
+ unpinFromNotifications: () => t`Unpin from notifications`,
+ pinToNotifications: () => t`Pin to notifications`,
+ linkNotebooks: () => t`Link notebooks`,
+ addTags: () => t`Add tags`,
+ references: () => t`References`,
+ moveNotebookFix: () => t`Move notebook`,
+ failedToSubscribe: () => t`Failed to subscribe`,
+ createNewNote: () => t`Create a new note`,
+ monographs: () => t`Monographs`,
+ encryptingAttachment: () => t`Encrypting attachment`,
+ encryptingAttachmentDesc: (name: string) =>
+ t`Please wait while we encrypt ${name} for upload.`,
+ fileTooLarge: () => t`File too large`,
+ fileTooLargeDesc: (sizeInMB: number) =>
+ t`File size should be less than ${sizeInMB}MB`,
+ failToOpen: () => t`Failed to open`,
+ fileMismatch: () => t`File mismatch`,
+ noNoteProperties: () => t`Start writing to create a new note`,
+ createNoteFirst: () => t`Create a note first`,
+ noteLockedSave: () => t`This note is locked. Unlock note to save changes`,
+ saveFailedVaultLocked: () => t`Save failed. Vault is locked`
};