Skip to content

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

web: localize

Ammar Ahmedf781aaa6f5c2
diff --git a/apps/mobile/app/components/sheets/export-notes/index.tsx b/apps/mobile/app/components/sheets/export-notes/index.tsx
index 75d701b08..0a9bfd8c8 100644
--- a/apps/mobile/app/components/sheets/export-notes/index.tsx
+++ b/apps/mobile/app/components/sheets/export-notes/index.tsx
@@ -252,7 +252,12 @@ const ExportNotesSheet = ({
{!complete ? (
<>
<ActivityIndicator />
- <Paragraph>{strings.exportingNotes(status)}</Paragraph>
+ <Paragraph>
+ {strings.exportingNotes(status) +
+ "..." +
+ " " +
+ strings.pleaseWait()}
+ </Paragraph>
</>
) : (
<>
diff --git a/apps/mobile/app/screens/search/index.tsx b/apps/mobile/app/screens/search/index.tsx
index 0e195edfd..3c5fbd2fd 100644
--- a/apps/mobile/app/screens/search/index.tsx
+++ b/apps/mobile/app/screens/search/index.tsx
@@ -76,7 +76,7 @@ export const Search = ({ route, navigation }: NavigationProps<"Search">) => {
await results.item(0);
setResults(results);
if (results.placeholders?.length === 0) {
- setSearchStatus(`${strings.noResultsFound()} ${query}`);
+ setSearchStatus(`${strings.noResultsFound(query)}`);
} else {
setSearchStatus(undefined);
}
@@ -127,8 +127,8 @@ export const Search = ({ route, navigation }: NavigationProps<"Search">) => {
title: route.name,
paragraph:
searchStatus ||
- `${strings.typeAKeywordToSearchIn()} ${route.params?.title}`,
- loading: `${strings.searchingFor()} ${currentQuery.current}...`
+ `${strings.typeAKeywordToSearchIn(route.params?.title)}`,
+ loading: `${strings.searchingFor(currentQuery.current as string)}...`
}}
/>
</>
diff --git a/apps/mobile/app/screens/settings/2fa.tsx b/apps/mobile/app/screens/settings/2fa.tsx
index 328113c77..a7302dfb5 100644
--- a/apps/mobile/app/screens/settings/2fa.tsx
+++ b/apps/mobile/app/screens/settings/2fa.tsx
@@ -340,7 +340,7 @@ export const MFASetup = ({
? strings.copy()
: `${
seconds
- ? strings.resendCode(seconds)
+ ? strings.resendCode(seconds as number)
: strings.sendCode()
}`
}
diff --git a/apps/mobile/app/screens/settings/editor/configure-toolbar.tsx b/apps/mobile/app/screens/settings/editor/configure-toolbar.tsx
index 87da86f3a..9eb0e11e6 100644
--- a/apps/mobile/app/screens/settings/editor/configure-toolbar.tsx
+++ b/apps/mobile/app/screens/settings/editor/configure-toolbar.tsx
@@ -76,15 +76,15 @@ export const ConfigureToolbar = () => {
{[
{
id: "default",
- name: "Default"
+ name: strings.default()
},
{
id: "minimal",
- name: "Minimal"
+ name: strings.minimal()
},
{
id: "custom",
- name: "Custom",
+ name: strings.custom(),
pro: true
}
].map((item) => (
diff --git a/apps/mobile/app/screens/settings/restore-backup/index.tsx b/apps/mobile/app/screens/settings/restore-backup/index.tsx
index 0f8d7ed34..86b85c326 100644
--- a/apps/mobile/app/screens/settings/restore-backup/index.tsx
+++ b/apps/mobile/app/screens/settings/restore-backup/index.tsx
@@ -153,7 +153,7 @@ const restoreBackup = async (options: {
if (path === ".nnbackup" || path === "attachments") continue;
updateProgress({
- progress: `${strings.restoringBackup()} (${count++}/${
+ progress: `${strings.restoringBackup()}... (${count++}/${
extractedBackupFiles.length
})`
});
@@ -242,7 +242,7 @@ const restoreBackup = async (options: {
await db.transaction(async () => {
updateProgress({
- progress: strings.restoringBackup()
+ progress: strings.restoringBackup() + "..."
});
await db.backup.import(backup, {
encryptionKey,
diff --git a/apps/mobile/app/screens/settings/settings-data.tsx b/apps/mobile/app/screens/settings/settings-data.tsx
index 876bc8898..42786989b 100644
--- a/apps/mobile/app/screens/settings/settings-data.tsx
+++ b/apps/mobile/app/screens/settings/settings-data.tsx
@@ -422,11 +422,12 @@ export const settingsGroups: SettingSection[] = [
const canLogout = await new Promise((resolve) => {
presentDialog({
context: "local",
- title: strings.backupFailed(),
+ title: strings.failedToTakeBackup(),
paragraph: `${
(error as Error).message
- }. ${strings.logout()}?`,
- positiveText: "Continue",
+ }. ${strings.failedToTakeBackupMessage()}?`,
+ positiveText: strings.yes(),
+ negativeText: strings.no(),
positivePress: () => {
resolve(true);
},
@@ -535,8 +536,8 @@ export const settingsGroups: SettingSection[] = [
sections: [
{
id: "offline-mode",
- name: "Full offline mode",
- description: "Download everything including attachments on sync",
+ name: strings.fullOfflineMode(),
+ description: strings.fullOfflineModeDesc(),
type: "switch",
property: "offlineMode",
modifer: () => {
diff --git a/apps/web/src/app-effects.tsx b/apps/web/src/app-effects.tsx
index a384f7bc7..55e0a14f4 100644
--- a/apps/web/src/app-effects.tsx
+++ b/apps/web/src/app-effects.tsx
@@ -71,22 +71,22 @@ export default function AppEffects({ setShow }: AppEffectsProps) {
if (isUserPremium()) {
return { type, result: true };
} else {
- let sentence = "Please upgrade your account to Pro ";
+ let sentence;
switch (type) {
case CHECK_IDS.noteColor:
- sentence += "to add colors.";
+ sentence = strings.upgradeToProToUseFeature("color");
break;
case CHECK_IDS.noteTag:
- sentence += "to add more tags.";
+ sentence = strings.upgradeToProToUseFeature("tag");
break;
case CHECK_IDS.notebookAdd:
- sentence += "to add more notebooks.";
+ sentence = strings.upgradeToProToUseFeature("notebook");
break;
case CHECK_IDS.vaultAdd:
- sentence += "to use the notes vault.";
+ sentence = strings.upgradeToProToUseFeature("vault");
break;
default:
- sentence += "to use this feature.";
+ sentence = strings.upgradeToProToUseFeature();
break;
}
showToast("error", sentence, [
diff --git a/apps/web/src/common/export.ts b/apps/web/src/common/export.ts
index 890c825a1..383ad22d4 100644
--- a/apps/web/src/common/export.ts
+++ b/apps/web/src/common/export.ts
@@ -34,8 +34,9 @@ import { ExportStream } from "../utils/streams/export-stream";
import { showToast } from "../utils/toast";
import { ConfirmDialog } from "../dialogs/confirm";
import { db } from "./db";
-import { toAsyncIterator } from "@notesnook-importer/core/dist/src/utils/stream";
+import { toAsyncIterator } from "@notesnook-importer/core";
import { saveAs } from "file-saver";
+import { strings } from "@notesnook/intl";
export async function exportToPDF(
title: string,
@@ -86,8 +87,8 @@ export async function exportNotes(
): Promise<boolean> {
const result = await TaskManager.startTask({
type: "modal",
- title: "Exporting notes",
- subtitle: "Please wait while your notes are exported.",
+ title: strings.exportingNotes(),
+ subtitle: strings.exportingNotesDesc(),
action: async (report) => {
const errors: Error[] = [];
const exportStream = new ExportStream(report, (e) => errors.push(e));
@@ -151,8 +152,8 @@ export async function exportNote(
return await TaskManager.startTask({
type: "modal",
- title: `Exporting "${note.title}"`,
- subtitle: "Please wait while your note is exported.",
+ title: strings.exportingNote(note.title),
+ subtitle: strings.exportingNoteDesc(),
action: async (report) => {
const hasAttachments =
(await db.relations.from(note, "attachment").count()) > 0;
diff --git a/apps/web/src/common/index.ts b/apps/web/src/common/index.ts
index de3619b01..a01275b09 100644
--- a/apps/web/src/common/index.ts
+++ b/apps/web/src/common/index.ts
@@ -49,19 +49,19 @@ import { strings } from "@notesnook/intl";
export const CREATE_BUTTON_MAP = {
notes: {
- title: "Add a note",
+ title: strings.addItem("note"),
onClick: () => useEditorStore.getState().newSession()
},
notebooks: {
- title: "Create a notebook",
+ title: strings.addItem("notebook"),
onClick: () => hashNavigate("/notebooks/create", { replace: true })
},
tags: {
- title: "Create a tag",
+ title: strings.addItem("tag"),
onClick: () => hashNavigate(`/tags/create`, { replace: true })
},
reminders: {
- title: "Add a reminder",
+ title: strings.addItem("reminder"),
onClick: () => hashNavigate(`/reminders/create`, { replace: true })
}
};
@@ -119,8 +119,8 @@ export async function createBackup(
const error = await TaskManager.startTask<Error | void>({
type: background ? "status" : "modal",
id: "creating-backup",
- title: "Creating backup",
- subtitle: "We are creating a backup of your data. Please wait...",
+ title: strings.backingUpData(mode),
+ subtitle: strings.backingUpDataWait(),
action: async (report) => {
const writeStream = await createWritableStream(filePath);
await new ReadableStream<ZipFile>({
@@ -214,8 +214,8 @@ export async function restoreBackupFile(backupFile: File) {
await db.initCollections();
} else {
const error = await TaskManager.startTask<Error | void>({
- title: "Restoring backup",
- subtitle: "Please wait while we restore your backup...",
+ title: strings.restoringBackup(),
+ subtitle: `${strings.restoringBackupDesc()}...`,
type: "modal",
action: async (report) => {
let cachedPassword: string | undefined = undefined;
@@ -328,8 +328,8 @@ async function restoreWithProgress(
key?: string
) {
return await TaskManager.startTask<Error | void>({
- title: "Restoring backup",
- subtitle: "This might take a while",
+ title: strings.restoringBackup(),
+ subtitle: strings.restoringBackupDesc(),
type: "modal",
action: (report) => {
db.eventManager.subscribe(
@@ -360,11 +360,11 @@ async function restoreWithProgress(
export async function verifyAccount() {
if (!(await db.user?.getUser())) return true;
return await showPasswordDialog({
- title: "Verify it's you",
- subtitle: "Enter your account password to proceed.",
+ title: strings.verifyItsYou(),
+ subtitle: strings.enterAccountPasswordDesc(),
inputs: {
password: {
- label: "Password",
+ label: strings.password(),
autoComplete: "current-password"
}
},
diff --git a/apps/web/src/common/multi-select.ts b/apps/web/src/common/multi-select.ts
index fd1b0b6b7..b8a8e136f 100644
--- a/apps/web/src/common/multi-select.ts
+++ b/apps/web/src/common/multi-select.ts
@@ -90,9 +90,8 @@ async function moveNotebooksToTrash(ids: string[]) {
async function deleteAttachments(ids: string[]) {
if (
!(await ConfirmDialog.show({
- title: "Are you sure?",
- message:
- "Are you sure you want to permanently delete these attachments? This action is IRREVERSIBLE.",
+ title: strings.doAction("attachment", ids.length, "permanentlyDelete"),
+ message: strings.permanentlyDeleteDesc("attachment", ids.length),
negativeButtonText: "No",
positiveButtonText: "Yes"
}))
diff --git a/apps/web/src/common/notices.ts b/apps/web/src/common/notices.ts
index 79b319083..12c006504 100644
--- a/apps/web/src/common/notices.ts
+++ b/apps/web/src/common/notices.ts
@@ -141,30 +141,30 @@ type NoticeData = {
export const NoticesData: Record<NoticeType, NoticeData> = {
autoBackupsOff: {
key: "autoBackupsOff",
- title: "Automatic backups disabled",
- subtitle: "Please upgrade to Pro to enable automatic backups.",
+ title: strings.automaticBackupsDisabled(),
+ subtitle: strings.automaticBackupsDisabledDesc(),
action: () => BuyDialog.show({}),
dismissable: true,
icon: Backup
},
login: {
key: "login",
- title: "Login to sync your notes",
- subtitle: "You are not logged in",
+ title: strings.loginMessageActionText(),
+ subtitle: strings.loginMessage(),
action: () => hardNavigate("/login"),
icon: User
},
email: {
key: "email",
- title: "Your email is not confirmed",
- subtitle: "Please confirm your email to sync your notes",
+ title: strings.emailNotConfirmed(),
+ subtitle: strings.emailNotConfirmedDesc(),
action: () => hashNavigate("/email/verify"),
icon: Email
},
recoverykey: {
key: "recoverykey",
- title: "Backup your recovery key",
- subtitle: "Keep your recovery key safe",
+ title: strings.recoveryKeyMessageActionText(),
+ subtitle: strings.recoveryKeyMessage(),
dismissable: true,
action: async () => {
if (await verifyAccount()) await RecoveryKeyDialog.show({});
diff --git a/apps/web/src/common/toolbar-config.ts b/apps/web/src/common/toolbar-config.ts
index bd7291388..091b3d676 100644
--- a/apps/web/src/common/toolbar-config.ts
+++ b/apps/web/src/common/toolbar-config.ts
@@ -20,6 +20,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
import { getDefaultPresets, ToolbarGroupDefinition } from "@notesnook/editor";
import { db } from "./db";
import { migrateToolbar } from "@notesnook/common";
+import { strings } from "@notesnook/intl";
const defaultPresets = getDefaultPresets();
export type PresetId = "default" | "minimal" | "custom";
@@ -30,13 +31,17 @@ export type Preset = {
editable?: boolean;
};
const presets: Record<PresetId, Preset> = {
- default: { id: "default", title: "Default", tools: defaultPresets.default },
+ default: {
+ id: "default",
+ title: strings.default(),
+ tools: defaultPresets.default
+ },
minimal: {
id: "minimal",
- title: "Minimal",
+ title: strings.minimal(),
tools: defaultPresets.minimal
},
- custom: { id: "custom", title: "Custom", tools: [], editable: true }
+ custom: { id: "custom", title: strings.custom(), tools: [], editable: true }
};
export async function getCurrentPreset() {
diff --git a/apps/web/src/components/attachment/index.tsx b/apps/web/src/components/attachment/index.tsx
index 962209ea0..8d4c69df6 100644
--- a/apps/web/src/components/attachment/index.tsx
+++ b/apps/web/src/components/attachment/index.tsx
@@ -251,7 +251,7 @@ const AttachmentMenuItems: (
{
key: "notes",
type: "button",
- title: "Linked notes",
+ title: strings.linkedNotes(),
icon: References.path,
menu: {
items: [
@@ -278,7 +278,7 @@ const AttachmentMenuItems: (
menuItems.push({
type: "button",
key: "no-linked-note",
- title: "No linked note"
+ title: strings.noLinkedNotes()
});
return menuItems;
}
@@ -289,7 +289,7 @@ const AttachmentMenuItems: (
{
type: "button",
key: "recheck",
- title: "Recheck",
+ title: strings.fileCheck(),
icon: DoubleCheckmark.path,
isDisabled: !attachment.dateUploaded,
onClick: async () => {
@@ -299,11 +299,11 @@ const AttachmentMenuItems: (
{
type: "button",
key: "rename",
- title: "Rename",
+ title: strings.rename(),
icon: Rename.path,
onClick: async () => {
const newName = await PromptDialog.show({
- title: "Rename attachment",
+ title: strings.doAction("attachment", 1, "rename"),
description: attachment.filename,
defaultValue: attachment.filename
});
@@ -314,7 +314,10 @@ const AttachmentMenuItems: (
{
type: "button",
key: "download",
- title: status?.type === "download" ? "Cancel download" : "Download",
+ title:
+ status?.type === "download"
+ ? strings.network.cancelDownload()
+ : strings.network.download(),
icon: Download.path,
onClick: async () => {
const isDownloading = status?.type === "download";
@@ -326,7 +329,10 @@ const AttachmentMenuItems: (
{
type: "button",
key: "reupload",
- title: status?.type === "upload" ? "Cancel upload" : "Reupload",
+ title:
+ status?.type === "upload"
+ ? strings.network.cancelUpload()
+ : strings.network.reupload(),
icon: Reupload.path,
onClick: async () => {
const isDownloading = status?.type === "upload";
@@ -339,7 +345,7 @@ const AttachmentMenuItems: (
type: "button",
key: "permanent-delete",
variant: "dangerous",
- title: "Delete permanently",
+ title: strings.deletePermanently(),
icon: DeleteForver.path,
onClick: () => Multiselect.deleteAttachments([attachment.id])
}
diff --git a/apps/web/src/components/editor/action-bar.tsx b/apps/web/src/components/editor/action-bar.tsx
index 7c31cbbac..827442a08 100644
--- a/apps/web/src/components/editor/action-bar.tsx
+++ b/apps/web/src/components/editor/action-bar.tsx
@@ -76,6 +76,7 @@ import { db } from "../../common/db";
import { showPublishView } from "../publish-view";
import { restrictToHorizontalAxis } from "@dnd-kit/modifiers";
import useMobile from "../../hooks/use-mobile";
+import { strings } from "@notesnook/intl";
export function EditorActionBar() {
const editorMargins = useEditorStore((store) => store.editorMargins);
@@ -96,19 +97,19 @@ export function EditorActionBar() {
const tools = [
{
- title: "Undo",
+ title: strings.undo(),
icon: Undo,
enabled: editorManager?.canUndo,
onClick: () => editorManager?.editor?.undo()
},
{
- title: "Redo",
+ title: strings.redo(),
icon: Redo,
enabled: editorManager?.canRedo,
onClick: () => editorManager?.editor?.redo()
},
{
- title: isNotePublished ? "Published" : "Publish",
+ title: isNotePublished ? strings.published() : strings.publish(),
icon: isNotePublished ? Published : Publish,
hidden: !isLoggedIn,
hideOnMobile: true,
@@ -122,14 +123,18 @@ export function EditorActionBar() {
showPublishView(activeSession.note, "top")
},
{
- title: editorMargins ? "Disable editor margins" : "Enable editor margins",
+ title: editorMargins
+ ? strings.disableEditorMargins()
+ : strings.enableEditorMargins(),
icon: editorMargins ? EditorNormalWidth : EditorFullWidth,
enabled: true,
hideOnMobile: true,
onClick: () => useEditorStore.getState().toggleEditorMargins()
},
{
- title: isFullscreen ? "Exit fullscreen" : "Enter fullscreen",
+ title: isFullscreen
+ ? strings.exitFullScreen()
+ : strings.enterFullScreen(),
icon: isFullscreen ? ExitFullscreen : Fullscreen,
enabled: true,
hidden: !isFocusMode,
@@ -143,7 +148,7 @@ export function EditorActionBar() {
}
},
{
- title: isFocusMode ? "Normal mode" : "Focus mode",
+ title: isFocusMode ? strings.normalMode() : strings.focusMode(),
icon: isFocusMode ? FocusMode : NormalMode,
enabled: true,
hideOnMobile: true,
@@ -156,7 +161,7 @@ export function EditorActionBar() {
}
},
{
- title: "Table of contents",
+ title: strings.toc(),
icon: TableOfContents,
enabled:
activeSession &&
@@ -167,7 +172,7 @@ export function EditorActionBar() {
onClick: () => useEditorStore.getState().toggleTableOfContents()
},
{
- title: "Search",
+ title: strings.search(),
icon: Search,
enabled:
activeSession &&
@@ -178,7 +183,7 @@ export function EditorActionBar() {
onClick: editorManager?.editor?.startSearch
},
{
- title: "Properties",
+ title: strings.properties(),
icon: Properties,
enabled:
activeSession &&
@@ -468,35 +473,40 @@ function Tab(props: TabProps) {
onContextMenu={(e) => {
e.preventDefault();
Menu.openMenu([
- { type: "button", title: "Close", key: "close", onClick: onClose },
{
type: "button",
- title: "Close others",
+ title: strings.close(),
+ key: "close",
+ onClick: onClose
+ },
+ {
+ type: "button",
+ title: strings.closeOthers(),
key: "close-others",
onClick: onCloseOthers
},
{
type: "button",
- title: "Close to the right",
+ title: strings.closeToRight(),
key: "close-to-the-right",
onClick: onCloseToTheRight
},
{
type: "button",
- title: "Close to the left",
+ title: strings.closeToLeft(),
key: "close-to-the-left",
onClick: onCloseToTheLeft
},
{
type: "button",
- title: "Close all",
+ title: strings.closeAll(),
key: "close-all",
onClick: onCloseAll
},
{ type: "separator", key: "sep" },
{
type: "button",
- title: "Reveal in list",
+ title: strings.revealInList(),
key: "reveal-in-list",
onClick: onRevealInList
},
@@ -504,14 +514,14 @@ function Tab(props: TabProps) {
{
type: "button",
key: "keep-open",
- title: "Keep open",
+ title: strings.keepOpen(),
onClick: onKeepOpen,
isDisabled: !isTemporary
},
{
type: "button",
key: "pin",
- title: "Pin",
+ title: strings.pin(),
onClick: onPin,
isChecked: isPinned,
icon: Pin.path
diff --git a/apps/web/src/components/editor/picker.ts b/apps/web/src/components/editor/picker.ts
index f99f9ef13..4abca9021 100644
--- a/apps/web/src/components/editor/picker.ts
+++ b/apps/web/src/components/editor/picker.ts
@@ -232,8 +232,8 @@ function withProgress<T>(
): Promise<T | Error> {
return TaskManager.startTask({
type: "modal",
- title: "Encrypting attachment",
- subtitle: "Please wait while we encrypt this attachment for upload.",
+ title: strings.encryptingAttachment(),
+ subtitle: strings.encryptingAttachmentDesc(),
action: (report) => {
const event = AppEventManager.subscribe(
AppEvents.UPDATE_ATTACHMENT_PROGRESS,
diff --git a/apps/web/src/components/group-header/index.tsx b/apps/web/src/components/group-header/index.tsx
index 4fa591267..6fd4a5658 100644
--- a/apps/web/src/components/group-header/index.tsx
+++ b/apps/web/src/components/group-header/index.tsx
@@ -44,6 +44,7 @@ import {
GroupOptions,
GroupingKey
} from "@notesnook/core";
+import { strings } from "@notesnook/intl";
const groupByToTitleMap = {
none: "None",
@@ -69,16 +70,16 @@ const groupByMenu: (options: GroupingMenuOptions) => MenuItem | null = (
: {
type: "button",
key: "groupBy",
- title: "Group by",
+ title: strings.groupBy(),
icon: GroupBy.path,
menu: {
items: map(options, [
- { key: "none", title: "None" },
- { key: "default", title: "Default" },
- { key: "year", title: "Year" },
- { key: "month", title: "Month" },
- { key: "week", title: "Week" },
- { key: "abc", title: "A - Z" }
+ { key: "none", title: strings.groupByStrings.None() },
+ { key: "default", title: strings.groupByStrings.default() },
+ { key: "year", title: strings.groupByStrings.year() },
+ { key: "month", title: strings.groupByStrings.month() },
+ { key: "week", title: strings.groupByStrings.week() },
+ { key: "abc", title: strings.groupByStrings.abc() }
])
}
};
@@ -86,7 +87,7 @@ const groupByMenu: (options: GroupingMenuOptions) => MenuItem | null = (
const orderByMenu: (options: GroupingMenuOptions) => MenuItem = (options) => ({
type: "button",
key: "sortDirection",
- title: "Order by",
+ title: strings.orderBy(),
icon:
options.groupOptions.sortDirection === "asc"
? options.groupOptions.sortBy === "title"
@@ -101,19 +102,19 @@ const orderByMenu: (options: GroupingMenuOptions) => MenuItem = (options) => ({
key: "asc",
title:
options.groupOptions.sortBy === "title"
- ? "A - Z"
+ ? strings.aToZ()
: options.groupOptions.sortBy === "dueDate"
- ? "Earliest first"
- : "Oldest - newest"
+ ? strings.earliestFirst()
+ : strings.oldestToNewest()
},
{
key: "desc",
title:
options.groupOptions.sortBy === "title"
- ? "Z - A"
+ ? strings.zToA()
: options.groupOptions.sortBy === "dueDate"
- ? "Latest first"
- : "Newest - oldest"
+ ? strings.latestFirst()
+ : strings.newestToOldest()
}
])
}
@@ -122,39 +123,39 @@ const orderByMenu: (options: GroupingMenuOptions) => MenuItem = (options) => ({
const sortByMenu: (options: GroupingMenuOptions) => MenuItem = (options) => ({
type: "button",
key: "sortBy",
- title: "Sort by",
+ title: strings.sortBy(),
icon: SortBy.path,
menu: {
items: map(options, [
{
key: "dateCreated",
- title: "Date created",
+ title: strings.sortByStrings.dateCreated(),
isHidden: options.groupingKey === "trash"
},
{
key: "dateEdited",
- title: "Date edited",
+ title: strings.sortByStrings.dateEdited(),
isHidden:
options.groupingKey === "trash" || options.groupingKey === "tags"
},
{
key: "dateDeleted",
- title: "Date deleted",
+ title: strings.sortByStrings.dateDeleted(),
isHidden: options.groupingKey !== "trash"
},
{
key: "dateModified",
- title: "Date modified",
+ title: strings.sortByStrings.dateModified(),
isHidden: options.groupingKey !== "tags"
},
{
key: "dueDate",
- title: "Due date",
+ title: strings.sortByStrings.dueDate(),
isHidden: options.groupingKey !== "reminders"
},
{
key: "title",
- title: "Title"
+ title: strings.sortByStrings.title()
}
])
}
@@ -176,7 +177,7 @@ export function showSortMenu(groupingKey: GroupingKey, refresh: () => void) {
sortByMenu({ ...menuOptions, parentKey: "sortBy" })
],
{
- title: "Sort"
+ title: strings.sort()
}
);
}
@@ -298,7 +299,7 @@ function GroupHeader(props: GroupHeaderProps) {
];
openMenu(items, {
- title: "Jump to group",
+ title: strings.jumpToGroup(),
position: {
target: groupHeaderRef.current,
align: "start",
diff --git a/apps/web/src/components/lightbox/index.tsx b/apps/web/src/components/lightbox/index.tsx
index 1088e5e7f..55feffa2a 100644
--- a/apps/web/src/components/lightbox/index.tsx
+++ b/apps/web/src/components/lightbox/index.tsx
@@ -31,6 +31,7 @@ import {
} from "../icons";
import { getPlatform } from "../../utils/platform";
import { TITLE_BAR_HEIGHT } from "../title-bar";
+import { strings } from "@notesnook/intl";
const DEFAULT_ZOOM_STEP = 0.3;
const DEFAULT_LARGE_ZOOM = 4;
@@ -273,42 +274,42 @@ export class Lightbox extends React.Component<LightboxProps> {
hideOnMobile?: boolean;
}[] = [
{
- title: "Reset",
+ title: strings.reset(),
icon: Reset,
enabled: true,
hidden: !allowReset,
onClick: (e) => this.reset(e)
},
{
- title: "Rotate left",
+ title: strings.rotateLeft(),
icon: RotateACW,
enabled: true,
hidden: !allowRotate,
onClick: () => this.applyRotate("acw")
},
{
- title: "Rotate rigth",
+ title: strings.rotateRight(),
icon: RotateCW,
enabled: true,
hidden: !allowRotate,
onClick: () => this.applyRotate("cw")
},
{
- title: "Zoom out",
+ title: strings.zoomOut(),
icon: ZoomOut,
enabled: zoom > 1,
hidden: !allowZoom,
onClick: () => this.applyZoom("out")
},
{
- title: "Zoom in",
+ title: strings.zoomIn(),
icon: ZoomIn,
enabled: true,
hidden: !allowZoom,
onClick: () => this.applyZoom("in")
},
{
- title: "Close",
+ title: strings.close(),
icon: Close,
enabled: !!onClose,
onClick: (e) => this.exit(e)
diff --git a/apps/web/src/components/navigation-menu/index.tsx b/apps/web/src/components/navigation-menu/index.tsx
index 5675b36c8..27f73e31f 100644
--- a/apps/web/src/components/navigation-menu/index.tsx
+++ b/apps/web/src/components/navigation-menu/index.tsx
@@ -88,38 +88,38 @@ function shouldSelectNavItem(route: string, pin: Notebook | Tag) {
}
const routes: Route[] = [
- { id: "notes", title: "Notes", path: "/notes", icon: Note },
+ { id: "notes", title: strings.routes.Notes(), path: "/notes", icon: Note },
{
id: "notebooks",
- title: "Notebooks",
+ title: strings.routes.Notebooks(),
path: "/notebooks",
icon: NotebookIcon
},
{
id: "favorites",
- title: "Favorites",
+ title: strings.routes.Favorites(),
path: "/favorites",
icon: StarOutline
},
- { id: "tags", title: "Tags", path: "/tags", icon: TagIcon },
+ { id: "tags", title: strings.routes.Tags(), path: "/tags", icon: TagIcon },
{
id: "reminders",
- title: "Reminders",
+ title: strings.routes.Reminders(),
path: "/reminders",
icon: Reminders
},
{
id: "monographs",
- title: "Monographs",
+ title: strings.routes.Monographs(),
path: "/monographs",
icon: Monographs
},
- { id: "trash", title: "Trash", path: "/trash", icon: Trash }
+ { id: "trash", title: strings.routes.Trash(), path: "/trash", icon: Trash }
];
const settings: Route = {
id: "settings",
- title: "Settings",
+ title: strings.routes.Settings(),
path: "/settings",
icon: Settings
};
@@ -177,7 +177,7 @@ function NavigationMenu(props: NavigationMenuProps) {
{
key: "reset-sidebar",
type: "button",
- title: "Reset sidebar",
+ title: strings.resetSidebar(),
onClick: () => {
db.settings
.setSideBarHiddenItems("routes", [])
@@ -368,13 +368,13 @@ function NavigationMenu(props: NavigationMenuProps) {
{
type: "button",
key: "rename-color",
- title: "Rename color",
+ title: strings.doAction("color", 1, "rename"),
onClick: () => RenameColorDialog.show(color)
},
{
type: "button",
- key: "remove-color",
- title: "Remove color",
+ key: strings.doAction("color", 1, "remove"),
+ title: strings.removeColor(),
onClick: async () => {
await db.colors.remove(color.id);
await refreshNavItems();
@@ -432,7 +432,7 @@ function NavigationMenu(props: NavigationMenuProps) {
{
type: "button",
key: "removeshortcut",
- title: "Remove shortcut",
+ title: strings.doAction("shortcut", 1, "remove"),
onClick: async () => {
await db.shortcuts.remove(item.id);
refreshNavItems();
diff --git a/apps/web/src/components/note/index.tsx b/apps/web/src/components/note/index.tsx
index 883c01536..135c54fde 100644
--- a/apps/web/src/components/note/index.tsx
+++ b/apps/web/src/components/note/index.tsx
@@ -17,83 +17,83 @@ You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
-import React from "react";
-import { Button, Flex, Text } from "@theme-ui/components";
-import {
- Notebook,
- Reminder,
- Alert,
- Lock,
- Star,
- SyncOff,
- Attachment,
- AttachmentError,
- Pin,
- PDF,
- Markdown,
- HTML,
- Text as Plaintext,
- Readonly,
- StarOutline,
- AddReminder,
- Colors,
- Tag2,
- Print,
- Publish,
- Export,
- Duplicate,
- InternalLink,
- Sync,
- Trash,
- Circle,
- AddToNotebook,
- RemoveShortcutLink,
- Plus,
- Copy,
- Tag as TagIcon,
- OpenInNew
-} from "../icons";
-import TimeAgo from "../time-ago";
-import ListItem from "../list-item";
-import { store } from "../../stores/note-store";
-import { store as userstore } from "../../stores/user-store";
-import { useEditorStore } from "../../stores/editor-store";
-import { store as tagStore } from "../../stores/tag-store";
-import { useStore as useMonographStore } from "../../stores/monograph-store";
-import { db } from "../../common/db";
-import { showToast } from "../../utils/toast";
-import { navigate } from "../../navigation";
-import { showPublishView } from "../publish-view";
-import IconTag from "../icon-tag";
-import { exportNote, exportNotes } from "../../common/export";
-import { Multiselect } from "../../common/multi-select";
-import { store as selectionStore } from "../../stores/selection-store";
-import { isReminderActive, isReminderToday } from "@notesnook/core";
import {
NoteResolvedData,
exportContent,
- getFormattedReminderTime,
- pluralize
+ getFormattedReminderTime
} from "@notesnook/common";
import {
Color,
Note as NoteType,
Notebook as NotebookItem,
Tag,
- createInternalLink
+ createInternalLink,
+ isReminderActive,
+ isReminderToday
} from "@notesnook/core";
-import { MenuItem } from "@notesnook/ui";
-import { Context } from "../list-container/types";
+import { strings } from "@notesnook/intl";
import { SchemeColors } from "@notesnook/theme";
-import { writeToClipboard } from "../../utils/clipboard";
+import { MenuItem } from "@notesnook/ui";
+import { Button, Flex, Text } from "@theme-ui/components";
+import React from "react";
+import { db } from "../../common/db";
+import { exportNote, exportNotes } from "../../common/export";
+import { Multiselect } from "../../common/multi-select";
import Vault from "../../common/vault";
-import { isUserPremium } from "../../hooks/use-is-user-premium";
+import { AddReminderDialog } from "../../dialogs/add-reminder-dialog";
import { AddTagsDialog } from "../../dialogs/add-tags-dialog";
-import { CreateColorDialog } from "../../dialogs/create-color-dialog";
import { ConfirmDialog } from "../../dialogs/confirm";
+import { CreateColorDialog } from "../../dialogs/create-color-dialog";
import { MoveNoteDialog } from "../../dialogs/move-note-dialog";
-import { AddReminderDialog } from "../../dialogs/add-reminder-dialog";
-import { strings } from "@notesnook/intl";
+import { isUserPremium } from "../../hooks/use-is-user-premium";
+import { navigate } from "../../navigation";
+import { useEditorStore } from "../../stores/editor-store";
+import { useStore as useMonographStore } from "../../stores/monograph-store";
+import { store } from "../../stores/note-store";
+import { store as selectionStore } from "../../stores/selection-store";
+import { store as tagStore } from "../../stores/tag-store";
+import { store as userstore } from "../../stores/user-store";
+import { writeToClipboard } from "../../utils/clipboard";
+import { showToast } from "../../utils/toast";
+import IconTag from "../icon-tag";
+import {
+ AddReminder,
+ AddToNotebook,
+ Alert,
+ Attachment,
+ AttachmentError,
+ Circle,
+ Colors,
+ Copy,
+ Duplicate,
+ Export,
+ HTML,
+ InternalLink,
+ Lock,
+ Markdown,
+ Notebook,
+ OpenInNew,
+ PDF,
+ Pin,
+ Text as Plaintext,
+ Plus,
+ Print,
+ Publish,
+ Readonly,
+ Reminder,
+ RemoveShortcutLink,
+ Star,
+ StarOutline,
+ Sync,
+ SyncOff,
+ Tag2,
+ Tag as TagIcon,
+ Trash
+} from "../icons";
+import { Context } from "../list-container/types";
+import ListItem from "../list-item";
+import { showPublishView } from "../publish-view";
+import TimeAgo from "../time-ago";
type NoteProps = NoteResolvedData & {
item: NoteType;
@@ -295,33 +295,27 @@ const formats = [
{
type: "pdf",
title: "PDF",
- icon: PDF,
- subtitle:
- "Can be opened in any PDF reader like Adobe Acrobat or Foxit Reader."
+ icon: PDF
},
{
type: "md",
title: "Markdown",
- icon: Markdown,
- subtitle: "Can be opened in any plain-text or markdown editor."
+ icon: Markdown
},
{
type: "md-frontmatter",
title: "Markdown + Frontmatter",
- icon: Markdown,
- subtitle: "Can be opened in any plain-text or markdown editor."
+ icon: Markdown
},
{
type: "html",
title: "HTML",
- icon: HTML,
- subtitle: "Can be opened in any web browser like Google Chrome."
+ icon: HTML
},
{
type: "txt",
title: "Text",
- icon: Plaintext,
- subtitle: "Can be opened in any plain-text editor."
+ icon: Plaintext
}
] as const;
@@ -339,7 +333,7 @@ const menuItems: (
{
type: "button",
key: "pin",
- title: "Pin",
+ title: strings.pin(),
isChecked: note.pinned,
icon: Pin.path,
onClick: () => store.pin(!note.pinned, ...ids),
@@ -348,7 +342,7 @@ const menuItems: (
{
type: "button",
key: "readonly",
- title: "Readonly",
+ title: strings.readOnly(),
isChecked: note.readonly,
icon: Readonly.path,
onClick: () => store.readonly(!note.readonly, ...ids),
@@ -357,7 +351,7 @@ const menuItems: (
{
type: "button",
key: "favorite",
- title: "Favorite",
+ title: strings.favorite(),
isChecked: note.favorite,
icon: StarOutline.path,
onClick: () => store.favorite(!note.favorite, ...ids),
@@ -367,7 +361,7 @@ const menuItems: (
type: "button",
key: "lock",
//isDisabled: !isSynced,
- title: "Lock",
+ title: strings.lock(),
isChecked: context?.locked,
isDisabled: !isPro,
icon: Lock.path,
@@ -383,7 +377,7 @@ const menuItems: (
{
type: "button",
key: "remind-me",
- title: "Remind me",
+ title: strings.remindMe(),
icon: AddReminder.path,
onClick: async () => {
await AddReminderDialog.show({ note });
@@ -393,7 +387,7 @@ const menuItems: (
{
type: "button",
key: "notebooks",
- title: "Notebooks",
+ title: strings.notebooks(),
icon: Notebook.path,
menu: { items: notebooksMenuItems(ids) },
multiSelect: true
@@ -401,7 +395,7 @@ const menuItems: (
{
type: "button",
key: "colors",
- title: "Assign color",
+ title: strings.assignColor(),
icon: Colors.path,
multiSelect: true,
menu: { items: colorsToMenuItems(context?.color, ids) }
@@ -409,7 +403,7 @@ const menuItems: (
{
type: "button",
key: "add-tags",
- title: "Tags",
+ title: strings.dataTypesPluralCamelCase.tag(),
icon: Tag2.path,
multiSelect: true,
menu: { items: tagsMenuItems(ids) }
@@ -418,7 +412,7 @@ const menuItems: (
{
type: "button",
key: "print",
- title: "Print",
+ title: strings.print(),
//isDisabled: !isSynced,
icon: Print.path,
onClick: async () => {
@@ -432,14 +426,14 @@ const menuItems: (
key: "publish",
isDisabled: !db.monographs.isPublished(note.id) && context?.locked,
icon: Publish.path,
- title: "Publish",
+ title: strings.publish(),
menu: db.monographs.isPublished(note.id)
? {
items: [
{
type: "button",
key: "open",
- title: "Open",
+ title: strings.open(),
icon: OpenInNew.path,
onClick: async () => {
const url = `https://monogr.ph/${note.id}`;
@@ -449,7 +443,7 @@ const menuItems: (
{
type: "button",
key: "copy-link",
- title: "Copy link",
+ title: strings.copyLink(),
icon: Copy.path,
onClick: async () => {
const url = `https://monogr.ph/${note.id}`;
@@ -467,7 +461,7 @@ const menuItems: (
{
type: "button",
key: "unpublish",
- title: "Unpublish",
+ title: strings.unpublish(),
icon: Publish.path,
onClick: async () => {
await useMonographStore.getState().unpublish(note.id);
@@ -481,7 +475,7 @@ const menuItems: (
{
type: "button",
key: "export",
- title: "Export as",
+ title: strings.exportAs(),
icon: Export.path,
//isDisabled: !isSynced,
menu: {
@@ -489,7 +483,7 @@ const menuItems: (
type: "button",
key: format.type,
title: format.title,
- tooltip: `Export as ${format.title} - ${format.subtitle}`,
+ tooltip: strings.exportAs(format.title),
icon: format.icon.path,
isDisabled:
(format.type !== "txt" && !isPro) ||
@@ -516,14 +510,14 @@ const menuItems: (
{
type: "button",
key: "copy",
- title: "Copy as",
+ title: strings.copyAs(),
icon: Copy.path,
menu: {
items: [
{
type: "button",
key: "copy-as-text",
- tooltip: `Copy as Text`,
+ tooltip: strings.copyAs("Text"),
title: "Text",
icon: Plaintext.path,
onClick: () => copyNote(note.id, "txt")
@@ -531,7 +525,7 @@ const menuItems: (
{
type: "button",
key: "copy-as-markdown",
- tooltip: `Copy as Markdown`,
+ tooltip: strings.copyAs("Markdown"),
title: "Markdown",
icon: Markdown.path,
onClick: () => copyNote(note.id, "md")
@@ -542,7 +536,7 @@ const menuItems: (
{
type: "button",
key: "copy-link",
- title: "Copy internal link",
+ title: strings.copyLink(),
icon: InternalLink.path,
onClick: () => {
const link = createInternalLink("note", note.id);
@@ -556,7 +550,7 @@ const menuItems: (
{
type: "button",
key: "duplicate",
- title: "Duplicate",
+ title: strings.duplicate(),
icon: Duplicate.path,
onClick: () => store.get().duplicate(...ids),
multiSelect: true
@@ -566,20 +560,17 @@ const menuItems: (
key: "local-only",
isHidden: !userstore.get().isLoggedIn,
//isDisabled: !isSynced,
- title: "Local only",
+ title: strings.syncOff(),
isChecked: note.localOnly,
icon: note.localOnly ? Sync.path : SyncOff.path,
onClick: async () => {
if (
note.localOnly ||
(await ConfirmDialog.show({
- title: `Prevent ${pluralize(ids.length, "note")} from syncing?`,
- message: `${pluralize(
- ids.length,
- "note"
- )} will be automatically deleted from all other devices & any future changes won't get synced. Are you sure you want to continue?`,
- positiveButtonText: "Yes",
- negativeButtonText: "No"
+ title: strings.syncOffConfirm(ids.length),
+ message: strings.syncOffDesc(ids.length),
+ positiveButtonText: strings.yes(),
+ negativeButtonText: strings.no()
}))
)
await store.localOnly(!note.localOnly, ...ids);
@@ -590,7 +581,7 @@ const menuItems: (
{
type: "button",
key: "movetotrash",
- title: "Move to trash",
+ title: strings.moveToTrash(),
variant: "dangerous",
icon: Trash.path,
isDisabled: ids.length === 1 && db.monographs.isPublished(note.id),
@@ -608,7 +599,7 @@ function colorsToMenuItems(
{
key: "new-color",
type: "button",
- title: "Add new color",
+ title: strings.addColor(),
icon: Plus.path,
onClick: async () => {
const id = await CreateColorDialog.show({});
@@ -649,7 +640,7 @@ function notebooksMenuItems(ids: string[]): MenuItem[] {
{
type: "button",
key: "link-notebooks",
- title: "Link to...",
+ title: strings.linkNotebooks(),
icon: AddToNotebook.path,
onClick: () => MoveNoteDialog.show({ noteIds: ids })
},
@@ -675,7 +666,7 @@ function notebooksMenuItems(ids: string[]): MenuItem[] {
menuItems.push({
type: "button",
key: "remove-from-all-notebooks",
- title: "Unlink from all",
+ title: strings.unlinkFromAll(),
icon: RemoveShortcutLink.path,
onClick: async () => {
await db.notes.removeFromAllNotebooks(...ids);
@@ -729,7 +720,7 @@ function tagsMenuItems(ids: string[]): MenuItem[] {
{
type: "button",
key: "assign-tags",
- title: "Assign to...",
+ title: `${strings.assignTo()}...`,
icon: Plus.path,
onClick: () => AddTagsDialog.show({ noteIds: ids })
},
@@ -756,7 +747,7 @@ function tagsMenuItems(ids: string[]): MenuItem[] {
{
type: "button",
key: "remove-from-all-tags",
- title: "Remove from all",
+ title: strings.removeFromAll(),
icon: RemoveShortcutLink.path,
onClick: async () => {
for (const id of ids) {
@@ -816,14 +807,14 @@ function tagsMenuItems(ids: string[]): MenuItem[] {
async function copyNote(noteId: string, format: "md" | "txt") {
try {
const note = await db.notes?.note(noteId);
- if (!note) throw new Error("No note with this id exists.");
+ if (!note) throw new Error(strings.noteDoesNotExist());
const result = await exportContent(note, {
format,
disableTemplate: true,
unlockVault: Vault.unlockVault
});
- if (!result) throw new Error(`Could not convert note to ${format}.`);
+ if (!result) throw new Error(`${strings.couldNotConvertNote(format)}.`);
await navigator.clipboard.writeText(result);
showToast("success", strings.noteCopied());
diff --git a/apps/web/src/components/notebook/index.tsx b/apps/web/src/components/notebook/index.tsx
index 100270477..d37a94d0d 100644
--- a/apps/web/src/components/notebook/index.tsx
+++ b/apps/web/src/components/notebook/index.tsx
@@ -165,14 +165,14 @@ export const notebookMenuItems: (
{
type: "button",
key: "edit",
- title: "Edit",
+ title: strings.edit(),
icon: NotebookEdit.path,
onClick: () => hashNavigate(`/notebooks/${notebook.id}/edit`)
},
{
type: "button",
key: "set-as-default",
- title: "Set as default",
+ title: strings.setAsDefault(),
isChecked: defaultNotebook === notebook.id,
icon: NotebookIcon.path,
onClick: async () => {
@@ -187,7 +187,7 @@ export const notebookMenuItems: (
type: "button",
key: "pin",
icon: Pin.path,
- title: "Pin",
+ title: strings.pin(),
isChecked: notebook.pinned,
onClick: () => store.pin(!notebook.pinned, ...ids),
multiSelect: true
@@ -199,15 +199,15 @@ export const notebookMenuItems: (
? RemoveShortcutLink.path
: Shortcut.path,
title: db.shortcuts.exists(notebook.id)
- ? "Remove shortcut"
- : "Create shortcut",
+ ? strings.removeShortcut()
+ : strings.addShortcut(),
onClick: () => appStore.addToShortcuts(notebook)
},
{ key: "sep", type: "separator" },
{
type: "button",
key: "movetotrash",
- title: "Move to trash",
+ title: strings.moveToTrash(),
variant: "dangerous",
icon: Trash.path,
onClick: async () => {
diff --git a/apps/web/src/components/reminder/index.tsx b/apps/web/src/components/reminder/index.tsx
index 0b44d5797..18060afdb 100644
--- a/apps/web/src/components/reminder/index.tsx
+++ b/apps/web/src/components/reminder/index.tsx
@@ -44,6 +44,7 @@ import { Reminder as ReminderType } from "@notesnook/core";
import { ConfirmDialog } from "../../dialogs/confirm";
import { EditReminderDialog } from "../../dialogs/add-reminder-dialog";
import { useStore as useSelectionStore } from "../../stores/selection-store";
+import { strings } from "@notesnook/intl";
const RECURRING_MODE_MAP = {
week: "Weekly",
@@ -126,14 +127,14 @@ const menuItems: (reminder: ReminderType, items?: string[]) => MenuItem[] = (
{
type: "button",
key: "edit",
- title: "Edit",
+ title: strings.edit(),
icon: Edit.path,
onClick: () => hashNavigate(`/reminders/${reminder.id}/edit`)
},
{
type: "button",
key: "toggle",
- title: reminder.disabled ? "Activate" : "Deactivate",
+ title: reminder.disabled ? strings.activate() : strings.deactivate(),
icon: reminder.disabled ? Reminders.path : ReminderOff.path,
onClick: async () => {
await db.reminders.add({
@@ -147,7 +148,7 @@ const menuItems: (reminder: ReminderType, items?: string[]) => MenuItem[] = (
{
type: "button",
key: "delete",
- title: "Delete",
+ title: strings.delete(),
variant: "dangerous",
icon: Trash.path,
onClick: async () => {
diff --git a/apps/web/src/components/sub-notebook/index.tsx b/apps/web/src/components/sub-notebook/index.tsx
index 907cf53d5..828bccac2 100644
--- a/apps/web/src/components/sub-notebook/index.tsx
+++ b/apps/web/src/components/sub-notebook/index.tsx
@@ -31,6 +31,7 @@ import { useDragHandler } from "../../hooks/use-drag-handler";
import { AddNotebookDialog } from "../../dialogs/add-notebook-dialog";
import { useStore as useSelectionStore } from "../../stores/selection-store";
import { Multiselect } from "../../common/multi-select";
+import { strings } from "@notesnook/intl";
type SubNotebookProps = {
item: Notebook;
@@ -184,7 +185,7 @@ const subNotebookMenuItems: (
{
type: "button",
key: "add",
- title: "New notebook",
+ title: strings.newNotebook(),
icon: Plus.path,
onClick: () =>
AddNotebookDialog.show({ parentId: notebook.id }).then((res) =>
diff --git a/apps/web/src/components/tag/index.tsx b/apps/web/src/components/tag/index.tsx
index c310fd684..4cb91efd7 100644
--- a/apps/web/src/components/tag/index.tsx
+++ b/apps/web/src/components/tag/index.tsx
@@ -99,7 +99,7 @@ const menuItems: (tag: TagType, ids?: string[]) => MenuItem[] = (
type: "button",
key: "delete",
variant: "dangerous",
- title: "Delete",
+ title: strings.delete(),
icon: DeleteForver.path,
onClick: async () => {
await Multiselect.deleteTags(ids);
diff --git a/apps/web/src/components/title-bar/index.tsx b/apps/web/src/components/title-bar/index.tsx
index 08585929e..1533488dc 100644
--- a/apps/web/src/components/title-bar/index.tsx
+++ b/apps/web/src/components/title-bar/index.tsx
@@ -28,6 +28,7 @@ import {
WindowRestore
} from "../icons";
import { BaseThemeProvider } from "../theme-provider";
+import { strings } from "@notesnook/intl";
export const TITLE_BAR_HEIGHT = IS_DESKTOP_APP ? 37.8 : 0;
export function TitleBar() {
@@ -36,14 +37,14 @@ export function TitleBar() {
const tools = [
{
- title: "Minimize",
+ title: strings.minimize(),
icon: WindowMinimize,
hidden: hasNativeWindowControls || isFullscreen,
enabled: true,
onClick: () => desktop?.window.minimze.mutate()
},
{
- title: isMaximized ? "Restore" : "Maximize",
+ title: isMaximized ? strings.restore() : strings.maximize(),
icon: isMaximized ? WindowRestore : WindowMaximize,
enabled: true,
hidden: hasNativeWindowControls || isFullscreen,
@@ -53,7 +54,7 @@ export function TitleBar() {
: desktop?.window.maximize.mutate()
},
{
- title: "Close",
+ title: strings.close(),
icon: WindowClose,
hidden: hasNativeWindowControls || isFullscreen,
enabled: true,
diff --git a/apps/web/src/components/trash-item/index.tsx b/apps/web/src/components/trash-item/index.tsx
index 20e8313d9..95d4b78c1 100644
--- a/apps/web/src/components/trash-item/index.tsx
+++ b/apps/web/src/components/trash-item/index.tsx
@@ -83,7 +83,7 @@ const menuItems: (item: TrashItemType, ids?: string[]) => MenuItem[] = (
icon: Restore.path,
onClick: async () => {
await store.restore(...ids);
- showToast("success", strings.itemsRestored(ids.length));
+ showToast("success", strings.action("item", ids.length, "restored"));
},
multiSelect: true
},
diff --git a/apps/web/src/dialogs/add-notebook-dialog.tsx b/apps/web/src/dialogs/add-notebook-dialog.tsx
index 3b9bfad36..bbc21957c 100644
--- a/apps/web/src/dialogs/add-notebook-dialog.tsx
+++ b/apps/web/src/dialogs/add-notebook-dialog.tsx
@@ -65,9 +65,7 @@ export const AddNotebookDialog = DialogManager.register(
showToast(
"success",
- props.edit
- ? "Notebook edited successfully!"
- : "Notebook created successfully"
+ strings.action("notebook", 1, props.edit ? "edited" : "created")
);
onClose(true);
}, [props.notebook?.id, props.edit, onClose, parentId]);
diff --git a/apps/web/src/dialogs/add-reminder-dialog.tsx b/apps/web/src/dialogs/add-reminder-dialog.tsx
index 8661623e0..d476891f8 100644
--- a/apps/web/src/dialogs/add-reminder-dialog.tsx
+++ b/apps/web/src/dialogs/add-reminder-dialog.tsx
@@ -167,25 +167,16 @@ export const AddReminderDialog = DialogManager.register(
!selectedDays.length),
onClick: async () => {
if (!("Notification" in window))
- showToast(
- "warn",
- "Reminders will not be active on this device as it does not support notifications."
- );
+ showToast("warn", strings.remindersNotSupported());
const permissionResult = await Notification.requestPermission();
if (!IS_TESTING && permissionResult !== "granted") {
- showToast(
- "error",
- "Please grant notifications permission to add new reminders."
- );
+ showToast("error", strings.noNotificationPermission());
return;
}
if (mode !== Modes.REPEAT && date.isBefore(dayjs())) {
- showToast(
- "error",
- "Reminder time cannot be earlier than the current time."
- );
+ showToast("error", strings.dateError());
return;
}
@@ -264,7 +255,9 @@ export const AddReminderDialog = DialogManager.register(
setSelectedDays([]);
}}
/>
- {m.title}
+ {strings.reminderModes[
+ m.id as keyof typeof strings.reminderModes
+ ]()}
{m.premium && !isUserPremium && (
<Pro size={18} color="accent" sx={{ ml: 1 }} />
)}
@@ -306,7 +299,9 @@ export const AddReminderDialog = DialogManager.register(
: "paragraph"
}}
>
- {mode.title}
+ {strings.recurringModes[
+ mode.id as keyof typeof strings.recurringModes
+ ]()}
</Button>
))}
</Flex>
@@ -506,7 +501,9 @@ export const AddReminderDialog = DialogManager.register(
checked={p.id === priority}
onChange={() => setPriority(p.id)}
/>
- {p.title}
+ {strings.reminderNotificationModes[
+ p.title as keyof typeof strings.reminderNotificationModes
+ ]()}
</Label>
))}
</Flex>
diff --git a/apps/web/src/dialogs/attachments-dialog.tsx b/apps/web/src/dialogs/attachments-dialog.tsx
index 15d347834..16ede6648 100644
--- a/apps/web/src/dialogs/attachments-dialog.tsx
+++ b/apps/web/src/dialogs/attachments-dialog.tsx
@@ -77,29 +77,29 @@ type ToolbarAction = {
const TOOLBAR_ACTIONS: ToolbarAction[] = [
{
- title: "Download",
+ title: strings.network.download(),
icon: Download,
onClick: async ({ selected }) => {
await store.get().download(selected);
}
},
{
- title: "Recheck",
+ title: strings.fileCheck(),
icon: DoubleCheckmark,
onClick: async ({ selected }) => await store.recheck(selected)
},
{
- title: "Delete",
+ title: strings.delete(),
icon: Trash,
onClick: ({ selected }) => Multiselect.deleteAttachments(selected)
}
];
const COLUMNS = [
- { id: "filename" as const, title: "Name", width: "65%" },
+ { id: "filename" as const, title: strings.name(), width: "65%" },
{ id: "status" as const, width: "24px" },
- { id: "size" as const, title: "Size", width: "15%" },
- { id: "dateUploaded" as const, title: "Date uploaded", width: "20%" }
+ { id: "size" as const, title: strings.size(), width: "15%" },
+ { id: "dateUploaded" as const, title: strings.dateUploaded(), width: "20%" }
];
type SortOptions = {
@@ -398,37 +398,37 @@ const routes: { id: Route; icon: Icon; title: string }[] = [
{
id: "all",
icon: FileGeneral,
- title: "All files"
+ title: strings.mediaTypes.all()
},
{
id: "images",
icon: FileImage,
- title: "Images"
+ title: strings.mediaTypes.image()
},
{
id: "documents",
icon: FileDocument,
- title: "Documents"
+ title: strings.mediaTypes.document()
},
{
id: "videos",
icon: FileVideo,
- title: "Videos"
+ title: strings.mediaTypes.video()
},
{
id: "audio",
icon: FileAudio,
- title: "Audios"
+ title: strings.mediaTypes.audio()
},
{
id: "uploads",
icon: Uploading,
- title: "Uploads"
+ title: strings.uploads()
},
{
id: "orphaned",
icon: Unlink,
- title: "Orphaned"
+ title: strings.orphaned()
}
];
diff --git a/apps/web/src/dialogs/buy-dialog/buy-dialog.tsx b/apps/web/src/dialogs/buy-dialog/buy-dialog.tsx
index 52f7a2c13..376a9223e 100644
--- a/apps/web/src/dialogs/buy-dialog/buy-dialog.tsx
+++ b/apps/web/src/dialogs/buy-dialog/buy-dialog.tsx
@@ -46,6 +46,7 @@ import BaseDialog from "../../components/dialog";
import { ScopedThemeProvider } from "../../components/theme-provider";
import { User } from "@notesnook/core";
import { BaseDialogProps, DialogManager } from "../../common/dialog-manager";
+import { strings } from "@notesnook/intl";
type BuyDialogProps = BaseDialogProps<false> & {
couponCode?: string;
@@ -175,7 +176,7 @@ function SideBar(props: SideBarProps) {
const result = await TaskManager.startTask({
type: "status",
id: "trialActivation",
- title: "Activating trial",
+ title: strings.activatingTrial(),
action: () => db.user.activateTrial()
});
if (result) onClose();
@@ -183,7 +184,9 @@ function SideBar(props: SideBarProps) {
if (e instanceof Error)
showToast(
"error",
- `Could not activate trial. Please try again. Error: ${e.message}`
+ `${strings.couldNotActivateTrial()}. ${strings.pleaseTryAgain()} Error: ${
+ e.message
+ }`
);
}
}}
diff --git a/apps/web/src/dialogs/create-color-dialog.tsx b/apps/web/src/dialogs/create-color-dialog.tsx
index 1e47c9343..040580a3e 100644
--- a/apps/web/src/dialogs/create-color-dialog.tsx
+++ b/apps/web/src/dialogs/create-color-dialog.tsx
@@ -54,10 +54,7 @@ export const CreateColorDialog = DialogManager.register(
new FormData(e.target as HTMLFormElement).entries()
) as { color: string; title: string };
if (!tinycolor(form.color, { format: "hex" }).isValid()) {
- showToast(
- "error",
- "Please enter a valid hex color (e.g. #ffffff)"
- );
+ showToast("error", strings.invalidHexColor());
return;
}
const colorId = await db.colors.add({
diff --git a/apps/web/src/dialogs/edit-profile-picture-dialog.tsx b/apps/web/src/dialogs/edit-profile-picture-dialog.tsx
index c3e2e9468..0226e08ec 100644
--- a/apps/web/src/dialogs/edit-profile-picture-dialog.tsx
+++ b/apps/web/src/dialogs/edit-profile-picture-dialog.tsx
@@ -69,7 +69,7 @@ export const EditProfilePictureDialog = DialogManager.register(
profilePicture: pic
});
await useSettingStore.getState().refresh();
- showToast("success", "Profile updated!");
+ showToast("success", strings.profileUpdated());
props.onClose(true);
} catch (e) {
console.error(e);
diff --git a/apps/web/src/dialogs/feature-dialog.tsx b/apps/web/src/dialogs/feature-dialog.tsx
index e3739e9e5..04bd057b6 100644
--- a/apps/web/src/dialogs/feature-dialog.tsx
+++ b/apps/web/src/dialogs/feature-dialog.tsx
@@ -26,6 +26,7 @@ import Config from "../utils/config";
import { useEffect } from "react";
import { ArrowRight, Checkmark, Icon, Warn } from "../components/icons";
import { BaseDialogProps, DialogManager } from "../common/dialog-manager";
+import { strings } from "@notesnook/intl";
type CallToAction = {
title: string;
@@ -48,10 +49,10 @@ type Feature = {
export type FeatureKeys = "confirmed" | "highlights";
const features: Record<FeatureKeys, Feature> = {
confirmed: {
- title: "Email confirmed!",
- subtitle: "You can now sync your notes to unlimited devices.",
+ title: strings.emailConfirmed(),
+ subtitle: strings.confirmEmailThankyou(),
cta: {
- title: "Continue",
+ title: strings.continue(),
icon: ArrowRight,
action: () => hardNavigate(getHomeRoute())
}
@@ -108,7 +109,7 @@ const features: Record<FeatureKeys, Feature> = {
}
],
cta: {
- title: "Got it",
+ title: strings.gotIt(),
icon: Checkmark,
action: () => {
Config.set(`${appVersion.numerical}:highlights`, true);
diff --git a/apps/web/src/dialogs/issue-dialog.tsx b/apps/web/src/dialogs/issue-dialog.tsx
index 6de19a3ac..3e8c11093 100644
--- a/apps/web/src/dialogs/issue-dialog.tsx
+++ b/apps/web/src/dialogs/issue-dialog.tsx
@@ -153,15 +153,9 @@ export const IssueDialog = DialogManager.register(function IssueDialog(
function showIssueReportedDialog({ url }: { url: string }) {
return ConfirmDialog.show({
- title: "Thank you for reporting!",
- positiveButtonText: "Copy link",
- message: `You can track your bug report at [${url}](${url}).
-
-\
-Please note that we will respond to your bug report on the link above. **We recommended that you save the above link for later reference.**
-
-\
-If your issue is critical (e.g. notes not syncing, crashes etc.), please [join our Discord community](https://discord.com/invite/zQBK97EE22) for one-to-one support.`
+ title: strings.thankYouForReporting(),
+ positiveButtonText: strings.copyLink(),
+ message: strings.bugReportMessage(url)
}).then((result) => {
result && writeText(url);
});
diff --git a/apps/web/src/dialogs/item-dialog.tsx b/apps/web/src/dialogs/item-dialog.tsx
index 18c05e7ce..2d729cc60 100644
--- a/apps/web/src/dialogs/item-dialog.tsx
+++ b/apps/web/src/dialogs/item-dialog.tsx
@@ -91,8 +91,8 @@ export const ItemDialog = DialogManager.register(function ItemDialog(
export const CreateTagDialog = {
show: () =>
ItemDialog.show({
- title: "Create tag",
- subtitle: "You can create as many tags as you want."
+ title: strings.addTag(),
+ subtitle: strings.addTagDesc()
}).then(async (title) => {
if (
!title ||
@@ -103,7 +103,7 @@ export const CreateTagDialog = {
)
return;
- showToast("success", "Tag created!");
+ showToast("success", strings.action("tag", 1, "created"));
useTagStore.getState().refresh();
})
};
@@ -111,8 +111,8 @@ export const CreateTagDialog = {
export const EditTagDialog = {
show: (tag: Tag) =>
ItemDialog.show({
- title: "Edit tag",
- subtitle: `You are editing #${tag.title}.`,
+ title: strings.doAction("tag", 1, "edit"),
+ subtitle: strings.editingTagDesc(tag.title),
defaultValue: tag.title
}).then(async (title) => {
if (
@@ -123,7 +123,7 @@ export const EditTagDialog = {
}))
)
return;
- showToast("success", "Tag edited!");
+ showToast("success", strings.action("tag", 1, "edited"));
await useTagStore.getState().refresh();
await useNoteStore.getState().refresh();
await useAppStore.getState().refreshNavItems();
@@ -133,8 +133,8 @@ export const EditTagDialog = {
export const RenameColorDialog = {
show: (color: Color) =>
ItemDialog.show({
- title: "Rename color",
- subtitle: `You are renaming color ${color.title}.`,
+ title: strings.renameColor(),
+ subtitle: strings.renameColorDesc(color.title),
defaultValue: color.title
}).then(async (title) => {
if (
@@ -145,7 +145,7 @@ export const RenameColorDialog = {
}))
)
return;
- showToast("success", "Color renamed!");
+ showToast("success", strings.action("color", 1, "renamed"));
useAppStore.getState().refreshNavItems();
})
};
diff --git a/apps/web/src/dialogs/mfa/steps.tsx b/apps/web/src/dialogs/mfa/steps.tsx
index bdb13a4cf..c43b333d5 100644
--- a/apps/web/src/dialogs/mfa/steps.tsx
+++ b/apps/web/src/dialogs/mfa/steps.tsx
@@ -102,22 +102,21 @@ const defaultAuthenticators: AuthenticatorType[] = ["app", "sms", "email"];
const Authenticators: Authenticator[] = [
{
type: "app",
- title: "Set up using an Authenticator app",
- subtitle:
- "Use an authenticator app like Aegis or Raivo Authenticator to get the authentication codes.",
+ title: strings.mfaAuthAppTitle(),
+ subtitle: strings.mfaAuthAppDesc(),
icon: MfaAuthenticator,
recommended: true
},
{
type: "sms",
- title: "Set up using SMS",
- subtitle: "Notesnook will send you an SMS text with the 2FA code at login.",
+ title: strings.mfaSmsTitle(),
+ subtitle: strings.mfaSmsDesc(),
icon: MfaSms
},
{
type: "email",
- title: "Set up using Email",
- subtitle: "Notesnook will send you the 2FA code on your email at login.",
+ title: strings.mfaEmailTitle(),
+ subtitle: strings.mfaEmailDesc(),
icon: MfaEmail
}
];
@@ -126,8 +125,8 @@ export type AuthenticatorTypeOnNext = (type: AuthenticatorType) => void;
export const steps = {
choose: (): Step<AuthenticatorOnNext> => ({
- title: "Protect your notes by enabling 2FA",
- description: "Choose how you want to receive your authentication codes.",
+ title: strings["2fa"](),
+ description: strings.select2faMethod(),
component: ({ onNext }) => (
<ChooseAuthenticator
onNext={onNext}
@@ -152,14 +151,8 @@ export const steps = {
recoveryCodes: (
authenticatorType: AuthenticatorType
): Step<AuthenticatorTypeOnNext> => ({
- title: "Save your recovery codes",
- description: `If you lose access to your ${
- authenticatorType === "email"
- ? "email"
- : authenticatorType === "sms"
- ? "phone"
- : "auth app"
- }, you can login to Notesnook using your recovery codes. Each code can only be used once!`,
+ title: strings.saveRecoveryCodes(),
+ description: strings.saveRecoveryCodesDesc(),
component: ({ onNext, onClose, onError }) => (
<BackupRecoveryCodes
onClose={onClose}
@@ -188,9 +181,8 @@ export const fallbackSteps = {
choose: (
primaryMethod: AuthenticatorType
): FallbackStep<AuthenticatorOnNext> => ({
- title: "Add a fallback 2FA method",
- description:
- "A fallback method helps you get your 2FA codes on an alternative device in case you lose your primary device.",
+ title: strings.addFallback2faMethod(),
+ description: strings.addFallback2faMethodDesc(),
component: ({ onNext }) => (
<ChooseAuthenticator
onNext={onNext}
@@ -579,7 +571,7 @@ function BackupRecoveryCodes(props: TwoFactorEnabledProps) {
const actions = useMemo(
() => [
{
- title: "Print",
+ title: strings.print(),
icon: Print,
action: async () => {
if (!recoveryCodesRef.current) return;
@@ -590,7 +582,7 @@ function BackupRecoveryCodes(props: TwoFactorEnabledProps) {
}
},
{
- title: "Copy",
+ title: strings.copy(),
icon: Copy,
action: async () => {
await writeText(codes.join("\n"));
@@ -607,7 +599,7 @@ function BackupRecoveryCodes(props: TwoFactorEnabledProps) {
}
},
{
- title: "Download",
+ title: strings.network.download(),
icon: Download,
action: () => {
FileSaver.saveAs(
@@ -616,7 +608,7 @@ function BackupRecoveryCodes(props: TwoFactorEnabledProps) {
);
}
},
- { title: "Regenerate", icon: Refresh, action: generate }
+ { title: strings.regenerate(), icon: Refresh, action: generate }
],
[codes, generate]
);
diff --git a/apps/web/src/dialogs/migration-dialog.tsx b/apps/web/src/dialogs/migration-dialog.tsx
index 2c402f873..e04567770 100644
--- a/apps/web/src/dialogs/migration-dialog.tsx
+++ b/apps/web/src/dialogs/migration-dialog.tsx
@@ -48,14 +48,14 @@ export const MigrationDialog = DialogManager.register(function MigrationDialog(
await TaskManager.startTask({
type: "modal",
- title: `Applying changes...`,
- subtitle: "This might take while.",
+ title: strings.applyingChanges(),
+ subtitle: strings.thisMayTakeAWhile(),
action: async (task) => {
db.eventManager.subscribe(
EVENTS.migrationProgress,
({ collection, total, current }: MigrationProgressEvent) => {
task({
- text: `Processing ${collection}...`,
+ text: `${strings.processing()} ${collection}...`,
current,
total
});
diff --git a/apps/web/src/dialogs/move-note-dialog.tsx b/apps/web/src/dialogs/move-note-dialog.tsx
index 29829e397..a5781a780 100644
--- a/apps/web/src/dialogs/move-note-dialog.tsx
+++ b/apps/web/src/dialogs/move-note-dialog.tsx
@@ -159,7 +159,7 @@ export const MoveNoteDialog = DialogManager.register(function MoveNoteDialog({
if (stringified) {
showToast(
"success",
- `${pluralize(noteIds.length, "note")} ${stringified}`
+ `${strings.notes(noteIds.length)} ${stringified}`
);
}
@@ -575,14 +575,13 @@ function stringifySelected(suggestion: NotebookReference[]) {
if (!added.length && !removed.length) return;
const parts = [];
- if (added.length > 0)
- parts.push(`added to ${pluralize(added.length, "notebook")}`);
+ if (added.length > 0) parts.push(strings.addedToNotebook(added.length));
// if (added.length >= 1) parts.push(added[0]);
// if (added.length > 1) parts.push(`and ${added.length - 1} others`);
if (removed.length >= 1) {
if (parts.length > 0) parts.push("&");
- parts.push(`removed from ${pluralize(added.length, "notebook")}`);
+ parts.push(`removed from ${strings.removedFromNotebook(removed.length)}`);
}
// if (removed.length > 1) parts.push(`and ${removed.length - 1} others`);
diff --git a/apps/web/src/dialogs/onboarding-dialog.tsx b/apps/web/src/dialogs/onboarding-dialog.tsx
index 6739da818..7ccfb88e7 100644
--- a/apps/web/src/dialogs/onboarding-dialog.tsx
+++ b/apps/web/src/dialogs/onboarding-dialog.tsx
@@ -59,74 +59,66 @@ type Step = {
| ((props: { onNext: () => void }) => JSX.Element)
| ((props: { onClose: () => void }) => JSX.Element);
};
+
const newUserSteps: Step[] = [
{
- title: "Safe & encrypted notes",
- subtitle: "Write with freedom. Never compromise on privacy again.",
- buttonText: "Get started",
+ title: strings.safeEncryptedNotes(),
+ subtitle: strings.writeWithFreedom(),
+ buttonText: strings.getStarted(),
image: <Note style={{ flexShrink: 0, width: 120, height: 120 }} />
},
{
- title: "Choose your style",
- subtitle:
- "You can change the theme at any time from Settings or the side menu.",
- buttonText: "Next",
+ title: strings.chooseYourStyle(),
+ subtitle: strings.changeTheme(),
+ buttonText: strings.next(),
component: ThemeSelector
},
{
image: <E2E style={{ flexShrink: 0, width: 180, height: 180 }} />,
- title: "Cross platform & 100% encrypted",
- subtitle:
- "Notesnook encrypts everything offline before syncing to your other devices. This means that no one can read your notes except you. Not even us.",
+ title: strings.crossPlatformEncrypted(),
+ subtitle: strings.encryptsEverything(),
component: CrossPlatform,
- buttonText: "Next"
+ buttonText: strings.next()
},
{
- title: "Join the cause",
- subtitle:
- "Meet other privacy-minded people & talk to us directly about your concerns, issues and suggestions.",
+ title: strings.joinTheCause(),
+ subtitle: strings.meetPrivacyMinded(),
component: JoinCause,
image: <Friends style={{ flexShrink: 0, width: 140, height: 140 }} />
},
{
image: <Pro size={60} color="accent" />,
- title: "Notesnook Pro",
- subtitle: "Experience the next level of private note taking",
+ title: strings.notesnookPro(),
+ subtitle: strings.nextLevelPrivateNoteTaking(),
component: TrialOffer
}
];
const proUserSteps: Step[] = [
{
- title: "Welcome to Notesnook Pro",
- subtitle: "Thank you. You are the proof that privacy always comes first.",
- buttonText: "Next",
+ title: strings.welcomeToNotesnookPro(),
+ subtitle: strings.thankYouPrivacy(),
+ buttonText: strings.next(),
image: <Nomad style={{ flexShrink: 0, width: 120, height: 120 }} />
},
- // {
- // title: "Style your 'nook",
- // subtitle: "Let's make Notesnook your new note taking home",
- // buttonText: "Next",
- // component: AccentSelector
- // },
{
- title: "We are always listening",
- subtitle: "If you face any issue, you can reach out to us anytime.",
- buttonText: "Next",
+ title: strings.weAreAlwaysListening(),
+ subtitle: strings.weAreAlwaysListening(),
+ buttonText: strings.next(),
component: Support
},
{
- title: "Import your notes",
- subtitle: "You can import your notes from most other note taking apps.",
+ title: strings.importYourNotes(),
+ subtitle: strings.importYourNotes(),
component: Importer
}
];
const trialUserSteps: Step[] = [
{
- title: "Congratulations!",
- subtitle: "You 14-day free trial has been activated.",
- buttonText: "Continue",
+ title: strings.congratulations(),
+ subtitle: strings.trialStarted(),
+ buttonText: strings.continue(),
image: <WorkAnywhere style={{ flexShrink: 0, width: 160, height: 160 }} />
}
];
@@ -314,25 +306,25 @@ const supportChannels = [
{
key: "email",
url: "mailto:[email protected]",
- title: "Email us",
+ title: strings.emailSupport(),
icon: Email
},
{
key: "discord",
url: "https://discord.com/invite/zQBK97EE22",
- title: "Join the community",
+ title: strings.joinDiscord(),
icon: Discord
},
{
key: "twitter",
url: "https://twitter.com/notesnook",
- title: "Follow us @notesnook",
+ title: strings.followOnX(),
icon: Twitter
},
{
key: "github",
url: "https://github.com/streetwriters/notesnook",
- title: "Create an issue",
+ title: strings.reportAnIssue(),
icon: Github
}
];
diff --git a/apps/web/src/dialogs/recovery-key-dialog.tsx b/apps/web/src/dialogs/recovery-key-dialog.tsx
index 46a4935d8..5298613ce 100644
--- a/apps/web/src/dialogs/recovery-key-dialog.tsx
+++ b/apps/web/src/dialogs/recovery-key-dialog.tsx
@@ -98,7 +98,10 @@ export const RecoveryKeyDialog = DialogManager.register(
className="copyKey"
onClick={async () => {
if (!key.value)
- return showToast("error", "No encryption key found.");
+ return showToast(
+ "error",
+ strings.noEncryptionKeyFound()
+ );
writeText(key.value)
.then(() => {
@@ -143,7 +146,10 @@ export const RecoveryKeyDialog = DialogManager.register(
mt={1}
onClick={async () => {
if (!key.value)
- return showToast("error", "No encryption key found.");
+ return showToast(
+ "error",
+ strings.noEncryptionKeyFound()
+ );
const email = await db.user
.getUser()
.then((user) => user?.email || "user");
diff --git a/apps/web/src/dialogs/reminder-preview-dialog.tsx b/apps/web/src/dialogs/reminder-preview-dialog.tsx
index e6e613e8c..0bb4d1a3d 100644
--- a/apps/web/src/dialogs/reminder-preview-dialog.tsx
+++ b/apps/web/src/dialogs/reminder-preview-dialog.tsx
@@ -42,16 +42,16 @@ const RECURRING_MODE_MAP = {
const SNOOZE_TIMES = [
{
id: "5-min",
- title: "5 minutes",
+ title: strings.minutes(5),
interval: 60 * 5 * 1000
},
{
id: "10-min",
- title: "10 minutes",
+ title: strings.minutes(10),
interval: 60 * 10 * 1000
},
- { id: "15-min", title: "15 minutes", interval: 60 * 15 * 1000 },
- { id: "1-hour", title: "1 hour", interval: 60 * 60 * 1000 }
+ { id: "15-min", title: strings.minutes(15), interval: 60 * 15 * 1000 },
+ { id: "1-hour", title: strings.hours(1), interval: 60 * 60 * 1000 }
];
export const ReminderPreviewDialog = DialogManager.register(
diff --git a/apps/web/src/dialogs/settings/app-lock-settings.ts b/apps/web/src/dialogs/settings/app-lock-settings.ts
index d15d0d7d2..bee1b897b 100644
--- a/apps/web/src/dialogs/settings/app-lock-settings.ts
+++ b/apps/web/src/dialogs/settings/app-lock-settings.ts
@@ -17,8 +17,9 @@ You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
-import { SettingComponent, SettingsGroup } from "./types";
-import { useStore as useUserStore } from "../../stores/user-store";
+import { strings } from "@notesnook/intl";
+import { verifyAccount } from "../../common";
+import { Checkmark } from "../../components/icons";
import { showPasswordDialog } from "../../dialogs/password-dialog";
import {
CredentialType,
@@ -27,91 +28,18 @@ import {
useKeyStore,
wrongCredentialError
} from "../../interfaces/key-store";
+import { useStore as useUserStore } from "../../stores/user-store";
+import { generatePassword } from "../../utils/password-generator";
import { showToast } from "../../utils/toast";
import { WebAuthn } from "../../utils/webauthn";
-import { generatePassword } from "../../utils/password-generator";
-import { verifyAccount } from "../../common";
-import { Checkmark } from "../../components/icons";
import { PromptDialog } from "../prompt";
+import { SettingComponent, SettingsGroup } from "./types";
export const AppLockSettings: SettingsGroup[] = [
- {
- key: "app-lock",
- section: "app-lock",
- header: "App lock",
- onStateChange: (listener) =>
- useKeyStore.subscribe((s) => s.credentials, listener),
- settings: [
- {
- key: "enable-app-lock",
- title: "Enable app lock",
- onStateChange: (listener) =>
- useKeyStore.subscribe((s) => s.credentials, listener),
- components: [
- {
- type: "toggle",
- toggle: async () => {
- const { credentials } = useKeyStore.getState();
- if (credentials.length <= 0) {
- const verified = await verifyAccount();
- if (!verified) return;
-
- await registerCredential("password");
- } else {
- const { credentials } = useKeyStore.getState();
- const defaultCredential = credentials
- .filter((c) => c.active)
- .at(0);
- if (!defaultCredential) return;
- await unlockAppLock(defaultCredential);
- }
- },
- isToggled: () =>
- useKeyStore.getState().credentials.some((c) => c.active)
- }
- ]
- },
- {
- key: "lock-app-after",
- title: "Lock app after",
- description:
- "How long should the app wait to lock itself after going into the background or going idle?",
- isHidden: () => useKeyStore.getState().activeCredentials().length <= 0,
- onStateChange: (listener) =>
- useKeyStore.subscribe((s) => s.secrets.lockAfter, listener),
- components: [
- {
- type: "dropdown",
- options: [
- { title: "Immediately", value: 0 },
- { title: "1 minute", value: 1 },
- { title: "5 minutes", value: 5 },
- { title: "10 minutes", value: 10 },
- { title: "15 minutes", value: 15 },
- { title: "30 minutes", value: 30 },
- { title: "45 minutes", value: 45 },
- { title: "1 hour", value: 60 },
- { title: "Never", value: -1 }
- ],
- onSelectionChanged: async (value) => {
- if (!(await authenticateAppLock())) {
- showToast("error", "Failed to authenticate.");
- return;
- }
- useKeyStore.getState().setValue("lockAfter", parseInt(value));
- },
- selectedOption: async () => {
- return (await useKeyStore.getState().getValue("lockAfter")) || 0;
- }
- }
- ]
- }
- ]
- },
{
key: "app-lock-credentials",
section: "app-lock",
- header: "Credentials",
+ header: strings.credientials(),
isHidden: () => {
return useKeyStore.getState().activeCredentials().length <= 0;
},
@@ -120,8 +48,8 @@ export const AppLockSettings: SettingsGroup[] = [
settings: [
{
key: "password-pin",
- title: "Password/pin",
- description: "The password/pin for unlocking the app.",
+ title: strings.passwordPin(),
+ description: strings.passwordPinDescription(),
components: () => {
const credential = useKeyStore
.getState()
@@ -132,17 +60,17 @@ export const AppLockSettings: SettingsGroup[] = [
if (isEnabled) {
inputs.push({
type: "button",
- title: "Change",
+ title: strings.change(),
action: async () => {
const result = await showPasswordDialog({
- title: "Change app lock password",
+ title: strings.changeAppLockPassword(),
inputs: {
oldPassword: {
- label: "Old password",
+ label: strings.oldPassword(),
autoComplete: "current-password"
},
newPassword: {
- label: "New password",
+ label: strings.newPassword(),
autoComplete: "new-password"
}
},
@@ -165,7 +93,8 @@ export const AppLockSettings: SettingsGroup[] = [
.catch(() => false);
}
});
- if (result) showToast("success", "App lock password changed!");
+ if (result)
+ showToast("success", strings.passwordChangedSuccessfully());
},
variant: "secondary"
});
@@ -177,14 +106,14 @@ export const AppLockSettings: SettingsGroup[] = [
)
inputs.push({
type: "button",
- title: isEnabled ? "Disable" : "Enable",
+ title: isEnabled ? strings.disable() : strings.enable(),
action: async () => {
if (credential?.active) await deactivateCredential(credential);
else if (credential)
await useKeyStore.getState().activate(credential);
else {
if (!(await authenticateAppLock())) {
- showToast("error", "Failed to authenticate.");
+ showToast("error", strings.biometricsAuthError());
return;
}
await registerCredential("password");
@@ -198,8 +127,8 @@ export const AppLockSettings: SettingsGroup[] = [
},
{
key: "security-key",
- title: "Security key",
- description: "Use security key (e.g. YubiKey) for unlocking the app.",
+ title: strings.securityKey(),
+ description: strings.securityKeyDescription(),
onStateChange: (listener) =>
useKeyStore.subscribe((s) => s.credentials, listener),
components: () => {
@@ -216,7 +145,7 @@ export const AppLockSettings: SettingsGroup[] = [
if (credential && hasActiveCredentials) {
inputs.push({
type: "button",
- title: "Unregister",
+ title: strings.unregister(),
action: async () => {
if (await useKeyStore.getState().credentialHasKey(credential)) {
await verifyCredential(credential, (c) =>
@@ -233,11 +162,11 @@ export const AppLockSettings: SettingsGroup[] = [
if (!credential) {
inputs.push({
type: "button",
- title: "Register",
+ title: strings.register(),
variant: "secondary",
async action() {
if (!(await authenticateAppLock())) {
- showToast("error", "Failed to authenticate.");
+ showToast("error", strings.biometricsAuthError());
return;
}
await registerCredential("securityKey");
@@ -246,7 +175,7 @@ export const AppLockSettings: SettingsGroup[] = [
} else if (!isEnabled || hasActiveCredentials) {
inputs.push({
type: "button",
- title: isEnabled ? "Disable" : "Enable",
+ title: isEnabled ? strings.disable() : strings.enable(),
action: async () => {
const hasKey = await useKeyStore.getState().credentialHasKey({
type: "securityKey",
@@ -283,15 +212,15 @@ export const AppLockSettings: SettingsGroup[] = [
async function registerCredential(type: CredentialType) {
if (type === "password") {
await showPasswordDialog({
- title: "App lock",
- subtitle: `Enter pin or password to enable app lock.`,
+ title: strings.appLock(),
+ subtitle: strings.enterPasswordOrPin(),
inputs: {
password: {
- label: "Password",
+ label: strings.password(),
autoComplete: "new-password"
},
confirmPassword: {
- label: "Confirm password",
+ label: strings.confirmPassword(),
autoComplete: "new-password"
}
},
@@ -317,9 +246,8 @@ async function registerCredential(type: CredentialType) {
const username =
user?.email ||
(await PromptDialog.show({
- title: "Enter your username",
- description:
- "This username will be used to distinguish between different credentials in your security key. Make sure it is unique."
+ title: strings.securityKeyUsername(),
+ description: strings.securityKeyUsernameDesc()
}));
if (!username) return;
@@ -343,7 +271,7 @@ async function registerCredential(type: CredentialType) {
}
});
- showToast("success", "Security key successfully registered.");
+ showToast("success", strings.securityKeyRegistered());
} catch (e) {
showToast("error", (e as Error).message);
}
@@ -369,11 +297,11 @@ async function verifyCredential(
try {
if (credential.type === "password") {
return await showPasswordDialog({
- title: "App lock",
- subtitle: `Enter app lock pin or password to continue.`,
+ title: strings.appLock(),
+ subtitle: strings.enterPasswordOrPin(),
inputs: {
password: {
- label: "Password",
+ label: strings.password(),
autoComplete: "new-password"
}
},
diff --git a/apps/web/src/dialogs/settings/appearance-settings.ts b/apps/web/src/dialogs/settings/appearance-settings.ts
index cb71516f6..4f3750bf1 100644
--- a/apps/web/src/dialogs/settings/appearance-settings.ts
+++ b/apps/web/src/dialogs/settings/appearance-settings.ts
@@ -21,18 +21,19 @@ import { SettingsGroup } from "./types";
import { useStore as useSettingStore } from "../../stores/setting-store";
import { useStore as useThemeStore } from "../../stores/theme-store";
import { ThemesSelector } from "./components/themes-selector";
+import { strings } from "@notesnook/intl";
export const AppearanceSettings: SettingsGroup[] = [
{
key: "theme",
section: "appearance",
- header: "General",
+ header: strings.general(),
isHidden: () => !IS_DESKTOP_APP,
settings: [
{
key: "zoom-factor",
- title: "Zoom factor",
- description: "Zoom in or out the app content.",
+ title: strings.zoomFactor(),
+ description: strings.zoomFactorDescription(),
isHidden: () => !IS_DESKTOP_APP,
onStateChange: (listener) =>
useThemeStore.subscribe(
@@ -56,12 +57,12 @@ export const AppearanceSettings: SettingsGroup[] = [
{
key: "theme",
section: "appearance",
- header: "Themes",
+ header: strings.themes(),
settings: [
{
key: "color-scheme",
- title: "Color scheme",
- description: "Dark or light, we won't judge.",
+ title: strings.colorScheme(),
+ description: strings.colorSchemeDescription(),
onStateChange: (listener) =>
useThemeStore.subscribe(
(s) => [s.colorScheme, s.followSystemTheme],
@@ -71,9 +72,9 @@ export const AppearanceSettings: SettingsGroup[] = [
{
type: "dropdown",
options: [
- { title: "Light", value: "light" },
- { title: "Dark", value: "dark" },
- { title: "Auto", value: "auto" }
+ { title: strings.light(), value: "light" },
+ { title: strings.dark(), value: "dark" },
+ { title: strings.auto(), value: "auto" }
],
selectedOption: () =>
useThemeStore.getState().followSystemTheme
@@ -82,14 +83,16 @@ export const AppearanceSettings: SettingsGroup[] = [
onSelectionChanged: (value) => {
useThemeStore.getState().setFollowSystemTheme(value === "auto");
if (value !== "auto")
- useThemeStore.getState().setColorScheme(value);
+ useThemeStore
+ .getState()
+ .setColorScheme(value as "dark" | "light");
}
}
]
},
{
key: "themes",
- title: "Select a theme",
+ title: strings.selectTheme(),
components: [{ type: "custom", component: ThemesSelector }]
}
]
diff --git a/apps/web/src/dialogs/settings/auth-settings.ts b/apps/web/src/dialogs/settings/auth-settings.ts
index b855f7d00..e1d2914e9 100644
--- a/apps/web/src/dialogs/settings/auth-settings.ts
+++ b/apps/web/src/dialogs/settings/auth-settings.ts
@@ -26,39 +26,36 @@ import { showToast } from "../../utils/toast";
import { RecoveryCodesDialog } from "../mfa/recovery-code-dialog";
import { MultifactorDialog } from "../mfa/multi-factor-dialog";
import { RecoveryKeyDialog } from "../recovery-key-dialog";
+import { strings } from "@notesnook/intl";
export const AuthenticationSettings: SettingsGroup[] = [
{
- header: "Password",
+ header: strings.password(),
key: "password",
section: "auth",
settings: [
{
key: "change-password",
- title: "Change password",
- description: "Set a new password for your account",
- keywords: ["change password", "new password"],
+ title: strings.changePassword(),
+ description: strings.changePassword(),
+ keywords: [strings.changePassword(), strings.newPassword()],
components: [
{
type: "button",
- title: "Change password",
+ title: strings.changePassword(),
variant: "secondary",
action: async () => {
if (!(await createBackup())) return;
const result = await showPasswordDialog({
- title: "Change account password",
- message: `All your data will be re-encrypted and synced with the new password.
-
-It is recommended that you **log out from all other devices** before continuing.
-
-If this process is interrupted, there is a high chance of data corruption so **please do NOT shut down your device or close your browser** until this process completes.`,
+ title: strings.changePassword(),
+ message: strings.changePasswordDesc(),
inputs: {
oldPassword: {
- label: "Old password",
+ label: strings.oldPassword(),
autoComplete: "current-password"
},
newPassword: {
- label: "New password",
+ label: strings.newPassword(),
autoComplete: "new-password"
}
},
@@ -71,7 +68,7 @@ If this process is interrupted, there is a high chance of data corruption so **p
}
});
if (result) {
- showToast("success", "Account password changed!");
+ showToast("success", strings.passwordChangedSuccessfully());
await RecoveryKeyDialog.show({});
}
}
@@ -81,31 +78,28 @@ If this process is interrupted, there is a high chance of data corruption so **p
]
},
{
- header: "Two-factor authentication",
+ header: strings.twoFactorAuth(),
key: "2fa",
section: "auth",
settings: [
{
key: "2fa-enabled",
- title: "2FA enabled",
- description: "Your account is secured by 2FA.",
+ title: strings.twoFactorAuthEnabled(),
+ description: strings.accountIsSecure(),
keywords: [],
components: []
},
{
key: "primary-2fa-method",
- title: "Primary method",
+ title: strings.change2faMethod(),
keywords: ["primary 2fa method"],
- description: () =>
- `Your current 2FA method is ${
- useUserStore.getState().user?.mfa.primaryMethod
- }.`,
+ description: strings.twoFactorAuthDesc(),
onStateChange: (listener) =>
useUserStore.subscribe((s) => s.user?.mfa.primaryMethod, listener),
components: [
{
type: "button",
- title: "Change",
+ title: strings.change(),
action: async () => {
if (await verifyAccount()) {
await MultifactorDialog.show({});
@@ -118,18 +112,17 @@ If this process is interrupted, there is a high chance of data corruption so **p
},
{
key: "fallback-2fa-method",
- title: "Fallback method",
- description:
- "You can use the fallback 2FA method in case you are unable to login via the primary method.",
- keywords: ["backup 2fa method"],
+ title: strings.addFallback2faMethod(),
+ description: strings.addFallback2faMethodDesc(),
+ keywords: ["backup 2fa methods"],
onStateChange: (listener) =>
useUserStore.subscribe((s) => s.user?.mfa.secondaryMethod, listener),
components: () => [
{
type: "button",
title: useUserStore.getState().user?.mfa.secondaryMethod
- ? "Reconfigure fallback 2FA method"
- : "Add fallback 2FA method",
+ ? strings.change2faFallbackMethod()
+ : strings.addFallback2faMethod(),
variant: "secondary",
action: async () => {
if (await verifyAccount()) {
@@ -145,14 +138,13 @@ If this process is interrupted, there is a high chance of data corruption so **p
},
{
key: "recovery-codes",
- title: "Recovery codes",
- description:
- "Recovery codes can be used to login in case you cannot use any of the other 2FA methods.",
- keywords: ["2fa recovery codes"],
+ title: strings.viewRecoveryCodes(),
+ description: strings.viewRecoveryCodesDesc(),
+ keywords: ["recovery codes"],
components: [
{
type: "button",
- title: "View recovery codes",
+ title: strings.viewRecoveryCodes(),
variant: "secondary",
action: async () => {
if (await verifyAccount()) {
diff --git a/apps/web/src/dialogs/settings/backup-export-settings.ts b/apps/web/src/dialogs/settings/backup-export-settings.ts
index 260b3cf58..434c6f0b8 100644
--- a/apps/web/src/dialogs/settings/backup-export-settings.ts
+++ b/apps/web/src/dialogs/settings/backup-export-settings.ts
@@ -17,35 +17,30 @@ You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
-import { SettingsGroup } from "./types";
-import { useStore as useSettingStore } from "../../stores/setting-store";
-import { useStore as useAppStore } from "../../stores/app-store";
-import { useStore as useUserStore } from "../../stores/user-store";
-import { createBackup, importBackup, verifyAccount } from "../../common";
+import { createBackup, verifyAccount } from "../../common";
import { db } from "../../common/db";
import { exportNotes } from "../../common/export";
+import { SettingsGroup } from "./types";
-import { desktop } from "../../common/desktop-bridge";
-import { PATHS } from "@notesnook/desktop";
+import { strings } from "@notesnook/intl";
export const BackupExportSettings: SettingsGroup[] = [
{
key: "backup",
section: "backup-export",
- header: "Backups",
+ header: strings.backups(),
settings: [
{
key: "create-backup",
- title: "Create backup",
- description:
- "Partial backups contain all your data except attachments. They are created from data already available on your device and do not require an Internet connection.",
+ title: strings.backupNow(),
+ description: strings.backupNowDesc(),
components: [
{
type: "dropdown",
options: [
- { value: "-", title: "Choose backup format" },
- { value: "partial", title: "Backup" },
- { value: "full", title: "Backup with attachments" }
+ { value: "-", title: strings.chooseBackupFormat() },
+ { value: "partial", title: strings.backup() },
+ { value: "full", title: strings.backupWithAttachments() }
],
selectedOption: () => "-",
onSelectionChanged: async (value) => {
@@ -56,164 +51,23 @@ export const BackupExportSettings: SettingsGroup[] = [
}
}
]
- },
- {
- key: "restore-backup",
- title: "Restore backup",
- description: "Restore a backup file from your disk drive.",
- components: [
- {
- type: "button",
- title: "Restore",
- action: async () => {
- if (await importBackup()) {
- await useAppStore.getState().refresh();
- }
- },
- variant: "secondary"
- }
- ]
- },
- {
- key: "auto-backup",
- title: "Automatic backup",
- description: `Set the interval to automatically create a backup.
-
-Note: these backups do not contain your attachments.`,
- // isHidden: () => !isUserPremium(),
- onStateChange: (listener) =>
- useSettingStore.subscribe((s) => s.backupReminderOffset, listener),
- components: [
- {
- type: "dropdown",
- options: [
- { value: "0", title: "Never", premium: true },
- { value: "1", title: "Daily", premium: true },
- { value: "2", title: "Weekly", premium: true },
- { value: "3", title: "Monthly", premium: true }
- ],
- selectedOption: () =>
- useSettingStore.getState().backupReminderOffset.toString(),
- onSelectionChanged: async (value) => {
- const verified =
- useSettingStore.getState().encryptBackups ||
- (await verifyAccount());
- if (verified)
- useSettingStore
- .getState()
- .setBackupReminderOffset(parseInt(value));
- }
- }
- ]
- },
- {
- key: "auto-backup-with-attachments",
- title: "Automatic backup with attachments",
- description: `Set the interval to automatically create a full backup with attachments.
-
-NOTE: Creating a backup with attachments can take a while, and also fail completely. The app will try to resume/restart the backup in case of interruptions.`,
- // isHidden: () => !isUserPremium(),
- onStateChange: (listener) =>
- useSettingStore.subscribe(
- (s) => s.fullBackupReminderOffset,
- listener
- ),
- components: [
- {
- type: "dropdown",
- options: [
- { value: "0", title: "Never", premium: true },
- { value: "1", title: "Weekly", premium: true },
- { value: "2", title: "Monthly", premium: true }
- ],
- selectedOption: () =>
- useSettingStore.getState().fullBackupReminderOffset.toString(),
- onSelectionChanged: async (value) => {
- const verified =
- useSettingStore.getState().encryptBackups ||
- (await verifyAccount());
- if (verified)
- useSettingStore
- .getState()
- .setFullBackupReminderOffset(parseInt(value));
- }
- }
- ]
- },
- {
- key: "encrypt-backups",
- title: "Backup encryption",
- description: "Encrypt all backup files using your master key.",
- isHidden: () => !useUserStore.getState().isLoggedIn,
- onStateChange: (listener) => {
- const subscriptions = [
- useUserStore.subscribe((s) => s.isLoggedIn, listener),
- useSettingStore.subscribe((s) => s.encryptBackups, listener)
- ];
- return () => subscriptions.forEach((s) => s());
- },
- components: [
- {
- type: "toggle",
- isToggled: () =>
- !!useUserStore.getState().isLoggedIn &&
- useSettingStore.getState().encryptBackups,
- toggle: async () => {
- const verified =
- !useSettingStore.getState().encryptBackups ||
- (await verifyAccount());
- if (verified) useSettingStore.getState().toggleEncryptBackups();
- }
- }
- ]
- },
- {
- key: "backup-directory",
- title: "Backups directory",
- description: "Select directory to store all backup files.",
- isHidden: () => !IS_DESKTOP_APP,
- components: [
- {
- type: "button",
- title: "Select directory",
- action: async () => {
- const verified =
- useSettingStore.getState().encryptBackups ||
- (await verifyAccount());
- if (!verified) return;
-
- const backupStorageLocation =
- useSettingStore.getState().backupStorageLocation ||
- PATHS.backupsDirectory;
- const location = await desktop?.integration.selectDirectory.query(
- {
- title: "Select where Notesnook should save backups",
- defaultPath: backupStorageLocation
- }
- );
- if (!location) return;
- useSettingStore.getState().setBackupStorageLocation(location);
- },
- variant: "secondary"
- }
- ]
}
]
},
{
key: "export",
section: "backup-export",
- header: "Export",
+ header: strings.export(),
settings: [
{
key: "export-notes",
- title: "Export all notes",
- description: "Export all notes as Markdown, HTML or Plaintext.",
+ title: strings.exportAllNotes(),
+ description: strings.exportAllNotesDesc(),
components: [
{
type: "dropdown",
options: [
- { value: "-", title: "Select format" },
+ { value: "-", title: strings.exportAs() },
{ value: "txt", title: "Text" },
{ value: "md", title: "Markdown", premium: true },
{
diff --git a/apps/web/src/dialogs/settings/behaviour-settings.ts b/apps/web/src/dialogs/settings/behaviour-settings.ts
index 52191d9b7..9ab839409 100644
--- a/apps/web/src/dialogs/settings/behaviour-settings.ts
+++ b/apps/web/src/dialogs/settings/behaviour-settings.ts
@@ -24,6 +24,7 @@ import dayjs from "dayjs";
import { isUserPremium } from "../../hooks/use-is-user-premium";
import { TimeFormat } from "@notesnook/core";
import { TrashCleanupInterval } from "@notesnook/core";
+import { strings } from "@notesnook/intl";
export const BehaviourSettings: SettingsGroup[] = [
{
@@ -34,8 +35,8 @@ export const BehaviourSettings: SettingsGroup[] = [
settings: [
{
key: "default-homepage",
- title: "Home page",
- description: "Default screen to open on app startup.",
+ title: strings.homepage(),
+ description: strings.homepageDesc(),
keywords: ["welcome page", "default screen"],
onStateChange: (listener) =>
useSettingStore.subscribe((s) => s.homepage, listener),
@@ -47,10 +48,10 @@ export const BehaviourSettings: SettingsGroup[] = [
selectedOption: () =>
useSettingStore.getState().homepage.toString(),
options: [
- { value: "0", title: "Notes" },
- { value: "1", title: "Notebooks" },
- { value: "2", title: "Favorites" },
- { value: "3", title: "Tags" }
+ { value: "0", title: strings.routes.Notes() },
+ { value: "1", title: strings.routes.Notebooks() },
+ { value: "2", title: strings.routes.Favorites() },
+ { value: "3", title: strings.routes.Tags() }
]
}
]
@@ -60,12 +61,12 @@ export const BehaviourSettings: SettingsGroup[] = [
{
key: "date-time",
section: "behaviour",
- header: "Date & time",
+ header: strings.dateAndTime(),
settings: [
{
key: "date-format",
- title: "Date format",
- description: "This date format will be used everywhere in the app.",
+ title: strings.dateFormat(),
+ description: strings.dateFormatDesc(),
keywords: [],
onStateChange: (listener) =>
useSettingStore.subscribe((s) => s.dateFormat, listener),
@@ -84,8 +85,8 @@ export const BehaviourSettings: SettingsGroup[] = [
},
{
key: "time-format",
- title: "Time format",
- description: "This time format will be used everywhere in the app.",
+ title: strings.timeFormat(),
+ description: strings.timeFormatDesc(),
keywords: [],
onStateChange: (listener) =>
useSettingStore.subscribe((s) => s.timeFormat, listener),
@@ -107,13 +108,12 @@ export const BehaviourSettings: SettingsGroup[] = [
{
key: "trash",
section: "behaviour",
- header: "Trash",
+ header: strings.trash(),
settings: [
{
key: "trash-cleanup-interval",
- title: "Cleanup interval",
- description:
- "All items in the trash will be permanently deleted after this interval.",
+ title: strings.clearTrashInterval(),
+ description: strings.clearTrashIntervalDesc(),
keywords: ["clear trash", "trash cleanup interval"],
onStateChange: (listener) =>
useSettingStore.subscribe((s) => s.trashCleanupInterval, listener),
@@ -129,11 +129,11 @@ export const BehaviourSettings: SettingsGroup[] = [
selectedOption: () =>
useSettingStore.getState().trashCleanupInterval.toString(),
options: [
- { value: "1", title: "Daily" },
- { value: "7", title: "7 days" },
- { value: "30", title: "30 days" },
- { value: "365", title: "365 days" },
- { value: "-1", title: "Never", premium: true }
+ { value: "1", title: strings.daily() },
+ { value: "7", title: `7 ${strings.days()}` },
+ { value: "30", title: `30 ${strings.days()}` },
+ { value: "365", title: `365 ${strings.days()}` },
+ { value: "-1", title: strings.never(), premium: true }
]
}
]
@@ -143,14 +143,13 @@ export const BehaviourSettings: SettingsGroup[] = [
{
key: "desktop-app",
section: "behaviour",
- header: "Desktop app",
+ header: strings.desktopApp(),
isHidden: () => !IS_DESKTOP_APP,
settings: [
{
key: "auto-updates",
- title: "Automatic updates",
- description:
- "Automatically download & install updates in the background without prompting first.",
+ title: strings.automaticUpdates(),
+ description: strings.automaticUpdatesDesc(),
onStateChange: (listener) =>
useSettingStore.subscribe((s) => s.autoUpdates, listener),
isHidden: () => useSettingStore.getState().isFlatpak,
diff --git a/apps/web/src/dialogs/settings/components/customize-toolbar.tsx b/apps/web/src/dialogs/settings/components/customize-toolbar.tsx
index 312ae699b..5c9674cf9 100644
--- a/apps/web/src/dialogs/settings/components/customize-toolbar.tsx
+++ b/apps/web/src/dialogs/settings/components/customize-toolbar.tsx
@@ -135,7 +135,7 @@ export function CustomizeToolbar() {
if (preset.id === "custom" && !isUserPremium()) {
showToast(
"info",
- "You need to be Pro to use the custom preset."
+ strings.upgradeToProToUseFeature("customPresets")
);
return;
}
@@ -175,7 +175,10 @@ export function CustomizeToolbar() {
collisionDetection={closestCenter}
cancelDrop={() => {
if (!isUserPremium()) {
- showToast("error", "You need to be Pro to customize the toolbar.");
+ showToast(
+ "error",
+ strings.upgradeToProToUseFeature("customizeToolbar")
+ );
return true;
}
return false;
@@ -233,7 +236,7 @@ export function CustomizeToolbar() {
canAddSubGroup
? () => {
setItems((items) => addSubGroup(items, item.id));
- showToast("success", "Subgroup added successfully");
+ showToast("success", strings.subgroupAdded());
}
: undefined
}
diff --git a/apps/web/src/dialogs/settings/components/servers-configuration.tsx b/apps/web/src/dialogs/settings/components/servers-configuration.tsx
index 58c2b4d22..958a4b3d9 100644
--- a/apps/web/src/dialogs/settings/components/servers-configuration.tsx
+++ b/apps/web/src/dialogs/settings/components/servers-configuration.tsx
@@ -155,11 +155,11 @@ export function ServersConfiguration() {
.catch(() => undefined);
if (!version)
throw new Error(
- `${strings.couldNotConnectTo()} ${server.title}.`
+ `${strings.couldNotConnectTo(server.title)} .`
);
if (version.id !== server.id)
throw new Error(
- `${strings.incorrectServerUrl(url)} ${server.title}.`
+ `${strings.incorrectServerUrl(url, server.title)}.`
);
if (!isServerCompatible(version.version))
throw new Error(
diff --git a/apps/web/src/dialogs/settings/components/subscription-status.tsx b/apps/web/src/dialogs/settings/components/subscription-status.tsx
index 403f0f28d..9c133d7d5 100644
--- a/apps/web/src/dialogs/settings/components/subscription-status.tsx
+++ b/apps/web/src/dialogs/settings/components/subscription-status.tsx
@@ -157,10 +157,7 @@ export function SubscriptionStatus() {
})
.catch((e) => showToast("error", e.message))
.then(() =>
- showToast(
- "success",
- "Your subscription has been canceled."
- )
+ showToast("success", strings.subCanceled())
);
}
}}
@@ -186,12 +183,7 @@ export function SubscriptionStatus() {
action: () => db.subscriptions.refund()
})
.catch((e) => showToast("error", e.message))
- .then(() =>
- showToast(
- "success",
- "Your refund has been issued. Please wait 24 hours before reaching out to us in case you do not receive your funds."
- )
- );
+ .then(() => showToast("success", strings.refundIssued()));
}
}}
>
diff --git a/apps/web/src/dialogs/settings/components/themes-selector.tsx b/apps/web/src/dialogs/settings/components/themes-selector.tsx
index 40fbbcf4e..5eb3b6f1c 100644
--- a/apps/web/src/dialogs/settings/components/themes-selector.tsx
+++ b/apps/web/src/dialogs/settings/components/themes-selector.tsx
@@ -135,7 +135,10 @@ function ThemesList() {
} catch (e) {
console.error(e);
if (e instanceof Error)
- showToast("error", "Failed to install theme. Error: " + e.message);
+ showToast(
+ "error",
+ `${strings.failedToInstallTheme()}. Error: ` + e.message
+ );
} finally {
setIsApplying(false);
}
diff --git a/apps/web/src/dialogs/settings/components/user-profile.tsx b/apps/web/src/dialogs/settings/components/user-profile.tsx
index ef83991dd..5c8a3e5ea 100644
--- a/apps/web/src/dialogs/settings/components/user-profile.tsx
+++ b/apps/web/src/dialogs/settings/components/user-profile.tsx
@@ -180,7 +180,7 @@ export function UserProfile() {
fullName: fullName || undefined
});
await useSettingStore.getState().refresh();
- showToast("success", "Full name updated!");
+ showToast("success", strings.fullNameUpdated());
} catch (e) {
showToast("error", (e as Error).message);
}
@@ -188,8 +188,10 @@ export function UserProfile() {
/>
</Text>
<Text variant={"subBody"}>
- {user.email} • {strings.memberSince()}{" "}
- {getFormattedDate(getObjectIdTimestamp(user.id), "date")}
+ {user.email} •{" "}
+ {strings.memberSince(
+ getFormattedDate(getObjectIdTimestamp(user.id), "date")
+ )}
</Text>
</Flex>
</Flex>
diff --git a/apps/web/src/dialogs/settings/desktop-integration-settings.ts b/apps/web/src/dialogs/settings/desktop-integration-settings.ts
index c4486be3f..01ff317e8 100644
--- a/apps/web/src/dialogs/settings/desktop-integration-settings.ts
+++ b/apps/web/src/dialogs/settings/desktop-integration-settings.ts
@@ -17,22 +17,22 @@ You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
-import { SettingsGroup } from "./types";
+import { strings } from "@notesnook/intl";
+import { desktop } from "../../common/desktop-bridge";
import { useStore as useSettingStore } from "../../stores/setting-store";
import { showToast } from "../../utils/toast";
-import { desktop } from "../../common/desktop-bridge";
+import { SettingsGroup } from "./types";
export const DesktopIntegrationSettings: SettingsGroup[] = [
{
key: "desktop-integration",
section: "desktop",
- header: "Desktop integration",
+ header: strings.desktopIntegration(),
settings: [
{
key: "auto-start",
- title: "Auto start on system startup",
- description:
- "If true, Notesnook will automatically start up when you turn on & login to your system.",
+ title: strings.autoStartOnSystemStartup(),
+ description: strings.autoStartDescription(),
onStateChange: (listener) =>
useSettingStore.subscribe(
(s) => s.desktopIntegrationSettings,
@@ -56,9 +56,8 @@ export const DesktopIntegrationSettings: SettingsGroup[] = [
},
{
key: "start-minimized",
- title: "Start minimized",
- description:
- "If true, Notesnook will start minimized to either the system tray or your system taskbar/dock. This setting only works with Auto start on system startup is enabled.",
+ title: strings.startMinimized(),
+ description: strings.startMinimizedDescription(),
onStateChange: (listener) =>
useSettingStore.subscribe(
(s) => s.desktopIntegrationSettings,
@@ -83,8 +82,8 @@ export const DesktopIntegrationSettings: SettingsGroup[] = [
},
{
key: "minimize-to-tray",
- title: "Minimize to system tray",
- description: 'Pressing "—" will hide the app in your system tray.',
+ title: strings.minimizeToSystemTray(),
+ description: strings.minimizeToSystemTrayDescription(),
onStateChange: (listener) =>
useSettingStore.subscribe(
(s) => s.desktopIntegrationSettings,
@@ -107,8 +106,8 @@ export const DesktopIntegrationSettings: SettingsGroup[] = [
},
{
key: "close-to-tray",
- title: "Close to system tray",
- description: 'Pressing "X" will hide the app in your system tray.',
+ title: strings.closeToSystemTray(),
+ description: strings.closeToSystemTrayDescription(),
onStateChange: (listener) =>
useSettingStore.subscribe(
(s) => s.desktopIntegrationSettings,
@@ -131,9 +130,8 @@ export const DesktopIntegrationSettings: SettingsGroup[] = [
},
{
key: "use-native-titlebar",
- title: "Use native titlebar",
- description:
- "Use native OS titlebar instead of replacing it with a custom one. Requires app restart for changes to take effect.",
+ title: strings.useNativeTitlebar(),
+ description: strings.useNativeTitlebarDescription(),
onStateChange: (listener) =>
useSettingStore.subscribe(
(s) => s.desktopIntegrationSettings,
@@ -151,16 +149,12 @@ export const DesktopIntegrationSettings: SettingsGroup[] = [
!useSettingStore.getState().desktopIntegrationSettings
?.nativeTitlebar
});
- showToast(
- "success",
- "Restart the app for changes to take effect.",
- [
- {
- text: "Restart now",
- onClick: () => desktop?.integration.restart.query()
- }
- ]
- );
+ showToast("success", strings.restartAppToTakeEffect(), [
+ {
+ text: strings.restartNow(),
+ onClick: () => desktop?.integration.restart.query()
+ }
+ ]);
}
}
]
diff --git a/apps/web/src/dialogs/settings/editor-settings.ts b/apps/web/src/dialogs/settings/editor-settings.ts
index db683f0d7..a96e65d6f 100644
--- a/apps/web/src/dialogs/settings/editor-settings.ts
+++ b/apps/web/src/dialogs/settings/editor-settings.ts
@@ -30,24 +30,18 @@ import { SpellCheckerLanguages } from "./components/spell-checker-languages";
import { CustomizeToolbar } from "./components/customize-toolbar";
import { DictionaryWords } from "./components/dictionary-words";
+import { strings } from "@notesnook/intl";
export const EditorSettings: SettingsGroup[] = [
{
key: "editor",
section: "editor",
- header: "Editor",
+ header: strings.editor(),
settings: [
{
key: "default-title",
- title: "Default title format",
- description: `Use the following key to format the title:
-
-$date$: Current date
-$time$: Current time
-$count$: Number of notes + 1
-$headline$: Use starting line of the note as title
-$timestamp$: Full date & time without any spaces or other
-symbols (e.g. 202305261253)`,
+ title: strings.titleFormat(),
+ description: strings.titleFormatDesc(),
onStateChange: (listener) =>
useSettingStore.subscribe((c) => c.titleFormat, listener),
components: [
@@ -62,7 +56,7 @@ symbols (e.g. 202305261253)`,
},
{
key: "default-font",
- title: "Default font family",
+ title: strings.defaultFontFamily(),
onStateChange: (listener) =>
onEditorConfigChange((c) => c.fontFamily, listener),
components: [
@@ -83,9 +77,8 @@ symbols (e.g. 202305261253)`,
},
{
key: "default-font-size",
- title: "Default font size",
- description:
- "Change the default font size used in the editor. Minimum = 8px; Maximum = 120px.",
+ title: strings.defaultFontSize(),
+ description: strings.defaultFontSizeDesc(),
onStateChange: (listener) =>
onEditorConfigChange((c) => c.fontSize, listener),
components: [
@@ -102,9 +95,8 @@ symbols (e.g. 202305261253)`,
},
{
key: "double-spacing",
- title: "Double spaced paragraphs",
- description:
- "Use double spacing between paragraphs when you press Enter in the editor.",
+ title: strings.doubleSpacedLines(),
+ description: strings.doubleSpacedLinesDesc(),
onStateChange: (listener) =>
useSettingStore.subscribe((c) => c.doubleSpacedParagraphs, listener),
components: [
@@ -118,15 +110,8 @@ symbols (e.g. 202305261253)`,
},
{
key: "markdown-shortcuts",
- title: "Markdown shortcuts",
- description: `Markdown shortcuts are triggered whenever you input a specific character combination.
-
-For example:
-
-1. Typing '/date' adds the current Date
-2. Wrapping something in '**' turns it into bold text
-3. Typing '1.' automatically creates a numbered list.
-4. etc.`,
+ title: strings.mardownShortcuts(),
+ description: strings.mardownShortcutsDesc(),
onStateChange: (listener) =>
useSettingStore.subscribe((c) => c.markdownShortcuts, listener),
components: [
@@ -142,7 +127,7 @@ For example:
{
key: "spell-check",
section: "editor",
- header: "Spell check",
+ header: strings.spellCheck(),
isHidden: () => !IS_DESKTOP_APP,
onRender: () => {
useSpellChecker.getState().refresh();
@@ -150,7 +135,7 @@ For example:
settings: [
{
key: "enable-spellchecker",
- title: "Enable spell checker",
+ title: strings.enableSpellChecker(),
onStateChange: (listener) =>
useSpellChecker.subscribe((c) => c.enabled, listener),
components: [
@@ -163,8 +148,8 @@ For example:
},
{
key: "spell-checker-languages",
- title: "Languages",
- description: "Select the languages the spell checker should check in.",
+ title: strings.languages(),
+ description: strings.spellCheckerLanguagesDescription(),
isHidden: () => !useSpellChecker.getState().enabled,
onStateChange: (listener) =>
useSpellChecker.subscribe((c) => c.enabled, listener),
@@ -177,7 +162,7 @@ For example:
},
{
key: "custom-dictionay-words",
- title: "Custom dictionary words",
+ title: strings.customDictionaryWords(),
components: [
{
type: "custom",
@@ -190,11 +175,11 @@ For example:
{
key: "toolbar",
section: "editor",
- header: "Toolbar",
+ header: strings.toolbar(),
settings: [
{
key: "customize-toolbar",
- title: "Customize toolbar",
+ title: strings.customizeToolbar(),
components: [
{
type: "custom",
diff --git a/apps/web/src/dialogs/settings/index.tsx b/apps/web/src/dialogs/settings/index.tsx
index 7264712bf..a1b61fd3e 100644
--- a/apps/web/src/dialogs/settings/index.tsx
+++ b/apps/web/src/dialogs/settings/index.tsx
@@ -85,24 +85,24 @@ type SettingsDialogProps = BaseDialogProps<false> & {
const sectionGroups: SectionGroup[] = [
{
key: "account",
- title: "User account",
+ title: strings.account(),
sections: [
- { key: "profile", title: "Profile", icon: Account },
+ { key: "profile", title: strings.profile(), icon: Account },
{
key: "subscription",
- title: "Subscription",
+ title: strings.subDetails(),
icon: Pro,
isHidden: () => !useUserStore.getState().isLoggedIn
},
{
key: "auth",
- title: "Authentication",
+ title: strings.authentication(),
icon: PasswordAndAuth,
isHidden: () => !useUserStore.getState().isLoggedIn
},
{
key: "sync",
- title: "Sync",
+ title: strings.sync(),
icon: Sync,
isHidden: () => !useUserStore.getState().isLoggedIn
}
@@ -110,45 +110,49 @@ const sectionGroups: SectionGroup[] = [
},
{
key: "customization",
- title: "Customization",
+ title: strings.customization(),
sections: [
- { key: "appearance", title: "Appearance", icon: Appearance },
- { key: "behaviour", title: "Behaviour", icon: Behaviour },
- { key: "editor", title: "Editor", icon: Editor },
+ { key: "appearance", title: strings.appearance(), icon: Appearance },
+ { key: "behaviour", title: strings.behaviour(), icon: Behaviour },
+ { key: "editor", title: strings.editor(), icon: Editor },
{
key: "desktop",
- title: "Desktop integration",
+ title: strings.desktopIntegration(),
icon: Desktop,
isHidden: () => !IS_DESKTOP_APP
},
- { key: "notifications", title: "Notifications", icon: Notification },
- { key: "servers", title: "Servers", icon: Servers }
+ {
+ key: "notifications",
+ title: strings.notifications(),
+ icon: Notification
+ },
+ { key: "servers", title: strings.servers(), icon: Servers }
]
},
{
key: "import-export",
- title: "Import & export",
+ title: strings.importExport(),
sections: [
- { key: "backup-export", title: "Backup & export", icon: Backup },
- { key: "importer", title: "Notesnook Importer", icon: Import }
+ { key: "backup-export", title: strings.backupExport(), icon: Backup },
+ { key: "importer", title: strings.notesnookImporter(), icon: Import }
]
},
{
key: "security",
- title: "Security & privacy",
+ title: strings.privacyAndSecurity(),
sections: [
- { key: "app-lock", title: "App lock", icon: CellphoneLock },
- { key: "vault", title: "Vault", icon: ShieldLock },
- { key: "privacy", title: "Privacy", icon: Privacy }
+ { key: "app-lock", title: strings.appLock(), icon: CellphoneLock },
+ { key: "vault", title: strings.vault(), icon: ShieldLock },
+ { key: "privacy", title: strings.privacy(), icon: Privacy }
]
},
{
key: "other",
- title: "Other",
+ title: strings.other(),
sections: [
- { key: "legal", title: "Legal", icon: Legal },
- { key: "support", title: "Help and support", icon: Documentation },
- { key: "about", title: "About", icon: About }
+ { key: "legal", title: strings.legal(), icon: Legal },
+ { key: "support", title: strings.helpAndSupport(), icon: Documentation },
+ { key: "about", title: strings.about(), icon: About }
]
}
];
diff --git a/apps/web/src/dialogs/settings/notifications-settings.ts b/apps/web/src/dialogs/settings/notifications-settings.ts
index f851e02a1..86326bb3d 100644
--- a/apps/web/src/dialogs/settings/notifications-settings.ts
+++ b/apps/web/src/dialogs/settings/notifications-settings.ts
@@ -19,16 +19,18 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
import { SettingsGroup } from "./types";
import { useStore as useSettingStore } from "../../stores/setting-store";
+import { strings } from "@notesnook/intl";
export const NotificationsSettings: SettingsGroup[] = [
{
key: "reminders",
section: "notifications",
- header: "Notifications",
+ header: strings.notifications(),
settings: [
{
key: "reminders",
- title: "Show reminder notifications",
+ title: strings.reminderNotification(),
+ description: strings.reminderNotificationDesc(),
onStateChange: (listener) =>
useSettingStore.subscribe(
(s) => s.notificationsSettings.reminder,
diff --git a/apps/web/src/dialogs/settings/other-settings.ts b/apps/web/src/dialogs/settings/other-settings.ts
index 4a96c8ca4..1af62858d 100644
--- a/apps/web/src/dialogs/settings/other-settings.ts
+++ b/apps/web/src/dialogs/settings/other-settings.ts
@@ -26,20 +26,21 @@ import { isMacStoreApp } from "../../utils/platform";
import { clearLogs, downloadLogs } from "../../utils/logger";
import { useAutoUpdateStore } from "../../hooks/use-auto-updater";
import { IssueDialog } from "../issue-dialog";
+import { strings } from "@notesnook/intl";
export const AboutSettings: SettingsGroup[] = [
{
key: "about",
section: "about",
- header: "About",
+ header: strings.about(),
settings: [
{
key: "version",
- title: "Version",
+ title: strings.version(),
description: () => {
const status = useAutoUpdateStore.getState().status;
if (status?.type === "available")
- return `New version (v${status.version}) is available for download.`;
+ return strings.newVersionAvailable(status.version);
return appVersion.formatted;
},
onStateChange: (listener) =>
@@ -51,22 +52,22 @@ export const AboutSettings: SettingsGroup[] = [
? {
type: "button",
action: downloadUpdate,
- title: `Install update`,
+ title: strings.installUpdate(),
variant: "secondary"
}
: {
type: "button",
action: checkForUpdate,
- title: "Check for updates",
+ title: strings.checkForUpdates(),
variant: "secondary"
},
{
type: "button",
action: async () => {
await writeText(appVersion.formatted);
- showToast("info", "Copied to clipboard!");
+ showToast("info", strings.copied());
},
- title: "Copy",
+ title: strings.copy(),
variant: "secondary"
}
];
@@ -74,9 +75,8 @@ export const AboutSettings: SettingsGroup[] = [
},
{
key: "source-code",
- title: "Source code",
- description:
- "All the source code for Notesnook is available & open for everyone on GitHub.",
+ title: strings.sourceCode(),
+ description: strings.sourceCodeDescription(),
components: [
{
type: "button",
@@ -86,22 +86,21 @@ export const AboutSettings: SettingsGroup[] = [
"_blank"
);
},
- title: "View source code",
+ title: strings.viewSourceCode(),
variant: "secondary"
}
]
},
{
key: "roadmap",
- title: "Roadmap",
- description:
- "See what we have planned for Notesnook in the coming months.",
+ title: strings.roadmap(),
+ description: strings.roadmapDesc(),
components: [
{
type: "button",
action: () =>
void window.open("https://notesnook.com/roadmap", "_blank"),
- title: "Check roadmap",
+ title: strings.checkRoadmap(),
variant: "secondary"
}
]
@@ -109,11 +108,11 @@ export const AboutSettings: SettingsGroup[] = [
{
key: "available-on-mobile",
title: isMacStoreApp()
- ? "Available on iOS"
- : "Available on iOS & Android",
+ ? strings.availableOnIOS()
+ : strings.availableOnIOSAndAndroid(),
description: isMacStoreApp()
- ? "Get Notesnook app on your iPhone and access all your notes on the go."
- : "Get Notesnook app on your iPhone or Android device and access all your notes on the go.",
+ ? strings.availableOnIOSDescription()
+ : strings.availableOnIOSAndAndroidDescription(),
components: [
{
type: "button",
@@ -124,7 +123,7 @@ export const AboutSettings: SettingsGroup[] = [
: "https://notesnook.com/downloads",
"_blank"
),
- title: "Download",
+ title: strings.network.download(),
variant: "secondary"
}
]
@@ -134,55 +133,53 @@ export const AboutSettings: SettingsGroup[] = [
{
key: "community",
section: "about",
- header: "Community",
+ header: strings.community(),
settings: [
{
key: "telegram",
- title: "Join our Telegram group",
- description: "We are on Telegram. Let's have a chat!",
+ title: strings.joinTelegram(),
+ description: strings.joinTelegramDesc(),
components: [
{
type: "button",
action: () => void window.open("https://t.me/notesnook", "_blank"),
- title: "Join Telegram",
+ title: strings.joinTelegram(),
variant: "secondary"
}
]
},
{
key: "mastodon",
- title: "Follow us on Mastodon",
- description: "We are on Mastodon!",
+ title: strings.joinMastodon(),
+ description: strings.joinMastodonDesc(),
components: [
{
type: "button",
action: () =>
void window.open("https://fosstodon.org/@notesnook", "_blank"),
- title: "Follow",
+ title: strings.follow(),
variant: "secondary"
}
]
},
{
key: "twitter",
- title: "Follow us on Twitter",
- description:
- "We post regular updates, polls, and news about Notesnook and privacy. Follow us to stay updated!",
+ title: strings.followOnX(),
+ description: strings.followOnXDesc(),
components: [
{
type: "button",
action: () =>
void window.open("https://twitter.com/notesnook", "_blank"),
- title: "Follow",
+ title: strings.follow(),
variant: "secondary"
}
]
},
{
key: "discord",
- title: "Join our Discord community",
- description:
- "We are not ghosts. Come chat with us and share your experience.",
+ title: strings.joinDiscord(),
+ description: strings.joinDiscordDesc(),
components: [
{
type: "button",
@@ -191,7 +188,7 @@ export const AboutSettings: SettingsGroup[] = [
"https://discord.com/invite/zQBK97EE22",
"_blank"
),
- title: "Join community",
+ title: strings.joinCommunity(),
variant: "secondary"
}
]
@@ -204,42 +201,40 @@ export const LegalSettings: SettingsGroup[] = [
{
key: "legal",
section: "legal",
- header: "Legal",
+ header: strings.legal(),
settings: [
{
key: "privacy-policy",
- title: "Privacy policy",
- description:
- "Your privacy is our first & foremost priority. Read our privacy policy to learn about how we protect your privacy while you take your notes.",
+ title: strings.privacyPolicy(),
+ description: strings.privacyPolicyDesc(),
components: [
{
type: "button",
action: () =>
void window.open("https://notesnook.com/privacy", "_blank"),
- title: "Read privacy policy",
+ title: strings.open(),
variant: "secondary"
}
]
},
{
key: "tos",
- title: "Terms of Service",
- description:
- "Read our terms of service to learn about what you have to agree to before using Notesnook.",
+ title: strings.tos(),
+ description: strings.tosDesc(),
components: [
{
type: "button",
action: () =>
void window.open("https://notesnook.com/terms", "_blank"),
- title: "Read terms",
+ title: strings.open(),
variant: "secondary"
}
]
},
{
key: "license",
- title: "License",
- description: "GNU GENERAL PUBLIC LICENSE Version 3",
+ title: strings.license(),
+ description: strings.licenseDescription(),
components: [
{
type: "button",
@@ -248,7 +243,7 @@ export const LegalSettings: SettingsGroup[] = [
"https://github.com/streetwriters/notesnook/blob/master/LICENSE",
"_blank"
),
- title: "Read License",
+ title: strings.open(),
variant: "secondary"
}
]
@@ -261,48 +256,46 @@ export const SupportSettings: SettingsGroup[] = [
{
key: "support",
section: "support",
- header: "Help and support",
+ header: strings.helpAndSupport(),
settings: [
{
key: "report-issue",
- title: "Report an issue",
- description:
- "Facing an issue or have a suggestion? Send us a bug report so we can fix it ASAP!",
+ title: strings.reportAnIssue(),
+ description: strings.reportAnIssueDesc(),
components: [
{
type: "button",
action: () => IssueDialog.show({}),
- title: "Send bug report",
+ title: strings.report(),
variant: "secondary"
}
]
},
{
key: "email-us",
- title: "Email support",
- description:
- "Reach out to us via email and let us resolve your issues directly.",
+ title: strings.emailSupport(),
+ description: strings.emailSupportDesc(),
components: [
{
type: "button",
action: () => {
window.open("mailto:[email protected]", "_blank");
},
- title: "Send email",
+ title: strings.send(),
variant: "secondary"
}
]
},
{
key: "docs",
- title: "Documentation",
- description: "Learn about every feature in Notesnook and how it works.",
+ title: strings.documentation(),
+ description: strings.documentationDesc(),
components: [
{
type: "button",
action: () =>
void window.open("https://help.notesnook.com/", "_blank"),
- title: "Open docs",
+ title: strings.open(),
variant: "secondary"
}
]
@@ -312,24 +305,23 @@ export const SupportSettings: SettingsGroup[] = [
{
key: "troubleshooting",
section: "support",
- header: "Troubleshooting",
+ header: strings.debugging(),
settings: [
{
key: "download-logs",
- title: "Debug logs",
- description:
- "All debug logs are stored locally & do not contain any sensitive information.",
+ title: strings.debugLogs(),
+ description: strings.debugLogsDesc(),
components: [
{
type: "button",
action: downloadLogs,
- title: "Download",
+ title: strings.network.download(),
variant: "secondary"
},
{
type: "button",
action: clearLogs,
- title: "Clear",
+ title: strings.clear(),
variant: "errorSecondary"
}
]
diff --git a/apps/web/src/dialogs/settings/privacy-settings.ts b/apps/web/src/dialogs/settings/privacy-settings.ts
index 8faf20001..51ab5eb09 100644
--- a/apps/web/src/dialogs/settings/privacy-settings.ts
+++ b/apps/web/src/dialogs/settings/privacy-settings.ts
@@ -25,18 +25,18 @@ import { db } from "../../common/db";
import Config from "../../utils/config";
import { showToast } from "../../utils/toast";
import { PromptDialog } from "../prompt";
+import { strings } from "@notesnook/intl";
export const PrivacySettings: SettingsGroup[] = [
{
key: "general",
section: "privacy",
- header: "General",
+ header: strings.general(),
settings: [
{
key: "marketing",
- title: "Marketing emails",
- description:
- "We send you occasional promotional offers & product updates on your email (once every month).",
+ title: strings.marketingEmails(),
+ description: strings.marketingEmailsDesc(),
onStateChange: (listener) =>
useUserStore.subscribe((s) => s.user?.marketingConsent, listener),
isHidden: () => !useUserStore.getState().isLoggedIn,
@@ -55,8 +55,8 @@ export const PrivacySettings: SettingsGroup[] = [
},
{
key: "hide-note-title",
- title: "Hide note title",
- description: "Prevent note title from appearing in tab/window title.",
+ title: strings.hideNoteTitle(),
+ description: strings.hideNoteTitleDescription(),
onStateChange: (listener) =>
useSettingStore.subscribe((s) => s.hideNoteTitle, listener),
components: [
@@ -69,9 +69,8 @@ export const PrivacySettings: SettingsGroup[] = [
},
{
key: "privacy-mode",
- title: "Privacy mode",
- description:
- "Prevent Notesnook app from being captured by any screen capturing software like TeamViewer & AnyDesk.",
+ title: strings.privacyMode(),
+ description: strings.privacyModeDesc(),
onStateChange: (listener) =>
useSettingStore.subscribe((s) => s.privacyMode, listener),
isHidden: () => !IS_DESKTOP_APP || getPlatform() === "linux",
@@ -88,17 +87,12 @@ export const PrivacySettings: SettingsGroup[] = [
{
key: "advanced",
section: "privacy",
- header: "Advanced",
+ header: strings.advanced(),
settings: [
{
key: "custom-dns",
- title: "Use custom DNS",
- description: `Notesnook uses the following DNS providers:
-
-1. Cloudflare DNS
-2. Quad9
-
-This can sometimes bypass local ISP blockages on Notesnook traffic. Disable this if you want the app to use system's DNS settings.`,
+ title: strings.useCustomDns(),
+ description: strings.customDnsDescription(),
onStateChange: (listener) =>
useSettingStore.subscribe((s) => s.customDns, listener),
isHidden: () => !IS_DESKTOP_APP,
@@ -112,18 +106,16 @@ This can sometimes bypass local ISP blockages on Notesnook traffic. Disable this
},
{
key: "custom-cors",
- title: "Custom CORS proxy",
- description:
- "CORS proxy is required to directly download images from within the Notesnook app. It allows Notesnook to bypass browser restrictions by using a proxy. You can set a custom self-hosted proxy URL to increase your privacy.",
+ title: strings.corsBypass(),
+ description: strings.corsBypassDesc(),
components: [
{
type: "button",
- title: "Change proxy",
+ title: strings.changeProxy(),
action: async () => {
const result = await PromptDialog.show({
- title: "CORS bypass proxy",
- description:
- "You can set a custom proxy URL to increase your privacy.",
+ title: strings.corsBypass(),
+ description: strings.corsBypassDesc(),
defaultValue: Config.get(
"corsProxy",
"https://cors.notesnook.com"
@@ -135,7 +127,7 @@ This can sometimes bypass local ISP blockages on Notesnook traffic. Disable this
Config.set("corsProxy", `${url.protocol}//${url.hostname}`);
} catch (e) {
console.error(e);
- showToast("error", "Invalid CORS proxy url.");
+ showToast("error", strings.invalidCors());
}
},
variant: "secondary"
@@ -144,15 +136,8 @@ This can sometimes bypass local ISP blockages on Notesnook traffic. Disable this
},
{
key: "proxy-config",
- title: "Proxy",
- description: `Setup an HTTP/HTTPS/SOCKS proxy.
-
-For example:
-http://foobar:80
-socks4://proxy.example.com
-http://username:password@foobar:80
-
-To remove the proxy, simply erase everything in the input.`,
+ title: strings.proxy(),
+ description: strings.proxyDescription(),
onStateChange: (listener) =>
useSettingStore.subscribe((c) => c.proxyRules, listener),
components: [
diff --git a/apps/web/src/dialogs/settings/profile-settings.ts b/apps/web/src/dialogs/settings/profile-settings.ts
index 2bf2ff176..94e36cb8b 100644
--- a/apps/web/src/dialogs/settings/profile-settings.ts
+++ b/apps/web/src/dialogs/settings/profile-settings.ts
@@ -17,23 +17,24 @@ You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
-import { useStore as useUserStore } from "../../stores/user-store";
-import { SettingsGroup } from "./types";
-import { showPasswordDialog } from "../../dialogs/password-dialog";
+import { strings } from "@notesnook/intl";
+import { createBackup, verifyAccount } from "../../common";
import { db } from "../../common/db";
+import { TaskManager } from "../../common/task-manager";
+import { showPasswordDialog } from "../../dialogs/password-dialog";
+import { useStore as useUserStore } from "../../stores/user-store";
+import { logger } from "../../utils/logger";
import { showToast } from "../../utils/toast";
-import { UserProfile } from "./components/user-profile";
-import { createBackup, verifyAccount } from "../../common";
-import { EmailChangeDialog } from "../email-change-dialog";
+import { AttachmentsDialog } from "../attachments-dialog";
import {
ConfirmDialog,
showClearSessionsConfirmation,
showLogoutConfirmation
} from "../confirm";
-import { TaskManager } from "../../common/task-manager";
-import { AttachmentsDialog } from "../attachments-dialog";
+import { EmailChangeDialog } from "../email-change-dialog";
import { RecoveryKeyDialog } from "../recovery-key-dialog";
-import { logger } from "../../utils/logger";
+import { UserProfile } from "./components/user-profile";
+import { SettingsGroup } from "./types";
export const ProfileSettings: SettingsGroup[] = [
{
@@ -46,14 +47,14 @@ export const ProfileSettings: SettingsGroup[] = [
settings: [
{
key: "email",
- title: "Email",
- description: "Set a new email for your account",
- keywords: ["change email", "new email"],
+ title: strings.changeEmail(),
+ description: strings.changeEmailDesc(),
+ keywords: [strings.changeEmail(), strings.newEmail()],
isHidden: () => !useUserStore.getState().isLoggedIn,
components: [
{
type: "button",
- title: "Change email",
+ title: strings.changeEmail(),
variant: "secondary",
action: () => EmailChangeDialog.show({})
}
@@ -61,12 +62,12 @@ export const ProfileSettings: SettingsGroup[] = [
},
{
key: "manage-attachments",
- title: "Attachments",
- description: "Manage all your attachments in one place.",
+ title: strings.attachments(),
+ description: strings.manageAttachments(),
components: [
{
type: "button",
- title: "Open manager",
+ title: strings.open(),
variant: "secondary",
action: () => AttachmentsDialog.show({})
}
@@ -74,15 +75,14 @@ export const ProfileSettings: SettingsGroup[] = [
},
{
key: "recovery-key",
- title: "Recovery key",
- description:
- "In case you lose your password, this data recovery key is the only way to recovery your data.",
- keywords: ["data recovery key", "lose your password", "backup"],
+ title: strings.saveDataRecoveryKey(),
+ description: strings.saveDataRecoveryKeyDesc(),
+ keywords: ["data recovery", "lost your password", "backup"],
isHidden: () => !useUserStore.getState().isLoggedIn,
components: [
{
type: "button",
- title: "Backup your recovery key",
+ title: strings.save(),
variant: "secondary",
action: async () => {
if (await verifyAccount()) await RecoveryKeyDialog.show({});
@@ -92,23 +92,22 @@ export const ProfileSettings: SettingsGroup[] = [
},
{
key: "account-removal",
- title: "Account removal",
- description:
- "Permanently delete your account clearing all data including your notes, notebooks, and attachments.",
- keywords: ["delete account", "clear data"],
+ title: strings.deleteAccount(),
+ description: strings.deleteAccountDesc(),
+ keywords: [strings.deleteAccount(), strings.clear()],
isHidden: () => !useUserStore.getState().isLoggedIn,
components: [
{
type: "button",
variant: "error",
- title: "Delete account",
+ title: strings.deleteAccount(),
action: () =>
showPasswordDialog({
- title: "Delete your account",
- message: ` All your data will be permanently deleted with **no way of recovery**. Proceed with caution.`,
+ title: strings.deleteAccount(),
+ message: strings.deleteAccountDesc(),
inputs: {
password: {
- label: "Password",
+ label: strings.password(),
autoComplete: "current-password"
}
},
@@ -122,10 +121,11 @@ export const ProfileSettings: SettingsGroup[] = [
}
]
},
+
{
key: "user-sessions",
section: "profile",
- header: "Sessions",
+ header: strings.sessions(),
onStateChange(listener) {
return useUserStore.subscribe((s) => s.isLoggedIn, listener);
},
@@ -133,15 +133,14 @@ export const ProfileSettings: SettingsGroup[] = [
settings: [
{
key: "logout",
- title: "Logout",
- description:
- "Logging out will clear all data stored on THIS DEVICE. Make sure you have synced all your changes before logging out.",
+ title: strings.logout(),
+ description: strings.logoutDesc(),
keywords: [],
components: [
{
type: "button",
variant: "errorSecondary",
- title: "Logout",
+ title: strings.logout(),
action: async () => {
const result = await showLogoutConfirmation();
if (!result) return;
@@ -153,11 +152,10 @@ export const ProfileSettings: SettingsGroup[] = [
logger.error(e, "Failed to take backup before logout");
if (
!(await ConfirmDialog.show({
- title: "Failed to take backup",
- message:
- "Failed to take backup of your data. Do you want to continue logging out?",
- negativeButtonText: "No",
- positiveButtonText: "Yes"
+ title: strings.failedToTakeBackup(),
+ message: strings.failedToTakeBackupMessage(),
+ negativeButtonText: strings.no(),
+ positiveButtonText: strings.yes()
}))
)
return;
@@ -166,33 +164,30 @@ export const ProfileSettings: SettingsGroup[] = [
await TaskManager.startTask({
type: "modal",
- title: "You are being logged out",
- subtitle: "Please wait...",
+ title: strings.loggingOut(),
+ subtitle: strings.pleaseWait(),
action: () => db.user.logout(true)
});
- showToast("success", "You have been logged out.");
+ showToast("success", strings.loggedOut());
}
}
]
},
{
key: "logout-all-sessions",
- title: "Log out from all other devices",
- description: "Force logout from all your other logged in devices.",
- keywords: ["clear sessions"],
+ title: strings.logoutAllOtherDevices(),
+ description: strings.logoutAllOtherDevicesDescription(),
+ keywords: [strings.clearSessions()],
components: [
{
type: "button",
variant: "errorSecondary",
- title: "Log out all other devices",
+ title: strings.logoutAllOtherDevices(),
action: async () => {
if (!(await showClearSessionsConfirmation())) return;
await db.user.clearSessions();
- showToast(
- "success",
- "You have been logged out from all other devices."
- );
+ showToast("success", strings.loggedOutAllOtherDevices());
}
}
]
diff --git a/apps/web/src/dialogs/settings/subscription-settings.ts b/apps/web/src/dialogs/settings/subscription-settings.ts
index 1c958c1bf..93d33bad4 100644
--- a/apps/web/src/dialogs/settings/subscription-settings.ts
+++ b/apps/web/src/dialogs/settings/subscription-settings.ts
@@ -24,6 +24,7 @@ import { db } from "../../common/db";
import { BillingHistory } from "./components/billing-history";
import { useStore as useUserStore } from "../../stores/user-store";
import { isUserSubscribed } from "../../hooks/use-is-user-premium";
+import { strings } from "@notesnook/intl";
export const SubscriptionSettings: SettingsGroup[] = [
{
@@ -33,9 +34,8 @@ export const SubscriptionSettings: SettingsGroup[] = [
settings: [
{
key: "payment-method",
- title: "Payment method",
- description:
- "Change the payment method you used to purchase this subscription.",
+ title: strings.paymentMethod(),
+ description: strings.changePaymentMethodDescription(),
isHidden: () => {
const user = useUserStore.getState().user;
return !isUserSubscribed(user) || user?.subscription.provider !== 3;
@@ -43,7 +43,7 @@ export const SubscriptionSettings: SettingsGroup[] = [
components: [
{
type: "button",
- title: "Update",
+ title: strings.update(),
action: async () => {
try {
window.open(await db.subscriptions.updateUrl(), "_blank");
@@ -57,7 +57,7 @@ export const SubscriptionSettings: SettingsGroup[] = [
},
{
key: "billing-history",
- title: "Billing history",
+ title: strings.billingHistory(),
isHidden: () => {
const user = useUserStore.getState().user;
return !isUserSubscribed(user) || user?.subscription.provider !== 3;
diff --git a/apps/web/src/dialogs/settings/sync-settings.ts b/apps/web/src/dialogs/settings/sync-settings.ts
index 218680a89..90038a63f 100644
--- a/apps/web/src/dialogs/settings/sync-settings.ts
+++ b/apps/web/src/dialogs/settings/sync-settings.ts
@@ -22,65 +22,63 @@ import { useStore as useAppStore } from "../../stores/app-store";
import { useStore as useSettingStore } from "../../stores/setting-store";
import { ConfirmDialog } from "../confirm";
+import { strings } from "@notesnook/intl";
+
export const SyncSettings: SettingsGroup[] = [
{
key: "sync",
section: "sync",
- header: "Sync",
+ header: strings.sync(),
settings: [
{
key: "toggle-sync",
- title: "Enable sync",
- description:
- "Disable syncing to prevent all changes from syncing to & from other devices.",
+ title: strings.disableSync(),
+ description: strings.disableSyncDesc(),
keywords: ["sync off", "toggle sync"],
onStateChange: (listener) =>
useAppStore.subscribe((s) => s.isSyncEnabled, listener),
components: [
{
type: "toggle",
- isToggled: () => useAppStore.getState().isSyncEnabled,
+ isToggled: () => !useAppStore.getState().isSyncEnabled,
toggle: () => useAppStore.getState().toggleSync()
}
]
},
{
key: "toggle-auto-sync",
- title: "Enable auto sync",
- description:
- "Disable auto sync to prevent changes from automatically syncing to other devices. This will require manually pressing the sync button in order to sync changes.",
+ title: strings.disableAutoSync(),
+ description: strings.disableAutoSyncDesc(),
keywords: ["auto sync off", "automatic sync", "toggle auto sync"],
onStateChange: (listener) =>
useAppStore.subscribe((s) => s.isSyncEnabled, listener),
components: [
{
type: "toggle",
- isToggled: () => useAppStore.getState().isAutoSyncEnabled,
+ isToggled: () => !useAppStore.getState().isAutoSyncEnabled,
toggle: () => useAppStore.getState().toggleAutoSync()
}
]
},
-
{
key: "toggle-realtime-sync",
- title: "Enable realtime editor sync",
- description:
- "Disable realtime editor sync to prevent edits from updating in realtime on this device. This will require closing and opening the note to see new changes.",
+ title: strings.disableRealtimeSync(),
+ description: strings.disableRealtimeSyncDesc(),
keywords: ["auto sync off", "automatic sync", "toggle auto sync"],
onStateChange: (listener) =>
useAppStore.subscribe((s) => s.isSyncEnabled, listener),
components: [
{
type: "toggle",
- isToggled: () => useAppStore.getState().isRealtimeSyncEnabled,
+ isToggled: () => !useAppStore.getState().isRealtimeSyncEnabled,
toggle: () => useAppStore.getState().toggleRealtimeSync()
}
]
},
{
key: "full-offline-mode",
- title: "Full offline mode",
- description: "Download everything including attachments on sync",
+ title: strings.fullOfflineMode(),
+ description: strings.fullOfflineModeDesc(),
keywords: ["offline mode"],
onStateChange: (listener) =>
useSettingStore.subscribe((s) => s.isFullOfflineMode, listener),
@@ -94,30 +92,23 @@ export const SyncSettings: SettingsGroup[] = [
},
{
key: "force-sync",
- title: "Having problems with sync?",
- description: `Force push:
-Use this if changes made on this device are not appearing on other devices. This will overwrite the data on the server with the data from this device.
-
-Force pull:
-Use this if changes from other devices are not appearing on this device. This will overwrite the data on this device with the latest data from the server.
-
-**These must only be used for troubleshooting. Using them regularly for sync is not recommended and will lead to unexpected data loss and other issues. If you are having persistent issues with sync, please report them to us at [email protected].**`,
- keywords: ["force sync", "sync troubleshoot"],
+ title: strings.havingProblemsWithSync(),
+ description: strings.havingProblemsWithSyncDesc(),
+ keywords: ["force sync", "sync issues", "sync error", "sync problem"],
components: [
{
type: "button",
- title: "Force push",
+ title: strings.forcePushChanges(),
variant: "error",
action: () =>
ConfirmDialog.show({
- title: "Are you sure?",
- message:
- "This must only be used for troubleshooting. Using them regularly for sync is **not recommended** and will lead to **unexpected data loss** and other issues. If you are having persistent issues with sync, please report them to us at [email protected].",
+ title: strings.areYouSure(),
+ message: strings.forceSyncNotice(),
checks: {
- accept: { text: "I understand.", default: false }
+ accept: { text: strings.understand(), default: false }
},
- positiveButtonText: "Proceed",
- negativeButtonText: "Cancel"
+ positiveButtonText: strings.continue(),
+ negativeButtonText: strings.cancel()
}).then((result) => {
if (!result || !result.accept) return;
return useAppStore
@@ -127,18 +118,17 @@ Use this if changes from other devices are not appearing on this device. This wi
},
{
type: "button",
- title: "Force pull",
+ title: strings.forcePullChanges(),
variant: "error",
action: () =>
ConfirmDialog.show({
- title: "Are you sure?",
- message:
- "This must only be used for troubleshooting. Using them regularly for sync is **not recommended** and will lead to **unexpected data loss** and other issues. If you are having persistent issues with sync, please report them to us at [email protected].",
+ title: strings.areYouSure(),
+ message: strings.forcePullChangesDesc(),
checks: {
- accept: { text: "I understand.", default: false }
+ accept: { text: strings.understand(), default: false }
},
- positiveButtonText: "Proceed",
- negativeButtonText: "Cancel"
+ positiveButtonText: strings.continue(),
+ negativeButtonText: strings.cancel()
}).then((result) => {
if (!result || !result.accept) return;
return useAppStore
diff --git a/apps/web/src/dialogs/settings/vault-settings.tsx b/apps/web/src/dialogs/settings/vault-settings.tsx
index 879f0189c..7602d9676 100644
--- a/apps/web/src/dialogs/settings/vault-settings.tsx
+++ b/apps/web/src/dialogs/settings/vault-settings.tsx
@@ -25,6 +25,7 @@ import { showToast } from "../../utils/toast";
import { db } from "../../common/db";
import { isUserPremium } from "../../hooks/use-is-user-premium";
import { BuyDialog } from "../buy-dialog/buy-dialog";
+import { strings } from "@notesnook/intl";
export const VaultSettings: SettingsGroup[] = [
{
@@ -83,7 +84,7 @@ export const VaultSettings: SettingsGroup[] = [
action: async () => {
if (await Vault.clearVault()) {
useNotesStore.getState().refresh();
- showToast("success", "Vault cleared.");
+ showToast("success", strings.vaultCleared());
}
},
variant: "errorSecondary"
@@ -105,7 +106,7 @@ export const VaultSettings: SettingsGroup[] = [
if ((await Vault.deleteVault()) && !(await db.vault.exists())) {
useAppStore.getState().setIsVaultCreated(false);
await useAppStore.getState().refresh();
- showToast("success", "Vault deleted.");
+ showToast("success", strings.vaultDeleted());
}
},
variant: "errorSecondary"
diff --git a/apps/web/src/dialogs/theme-details-dialog.tsx b/apps/web/src/dialogs/theme-details-dialog.tsx
index 7d028b41f..beea391aa 100644
--- a/apps/web/src/dialogs/theme-details-dialog.tsx
+++ b/apps/web/src/dialogs/theme-details-dialog.tsx
@@ -17,13 +17,13 @@ You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
-import Dialog from "../components/dialog";
+import { strings } from "@notesnook/intl";
import { ThemeMetadata } from "@notesnook/themes-server";
-import { ThemePreview } from "../components/theme-preview";
import { Flex, Link, Text } from "@theme-ui/components";
-import { useStore as useThemeStore } from "../stores/theme-store";
import { BaseDialogProps, DialogManager } from "../common/dialog-manager";
-import { strings } from "@notesnook/intl";
+import Dialog from "../components/dialog";
+import { ThemePreview } from "../components/theme-preview";
+import { useStore as useThemeStore } from "../stores/theme-store";
export type ThemeDetailsDialogProps = BaseDialogProps<boolean> & {
theme: ThemeMetadata;
@@ -70,7 +70,7 @@ export const ThemeDetailsDialog = DialogManager.register(
</Text>
) : null}
<Text variant="subBody" sx={{ fontSize: "subtitle" }}>
- {strings.licenseUnder()} {theme.license}
+ {strings.licenseUnder(theme.license)}
</Text>
<Flex sx={{ gap: 1, mt: 1 }}>
{theme.homepage && (
@@ -80,7 +80,7 @@ export const ThemeDetailsDialog = DialogManager.register(
variant="text.subBody"
sx={{ fontSize: "subtitle", color: "accent" }}
>
- Website
+ {strings.website()}
</Link>
)}
{theme.sourceURL && (
diff --git a/apps/web/src/stores/app-store.ts b/apps/web/src/stores/app-store.ts
index d46d08a2b..30fd5b582 100644
--- a/apps/web/src/stores/app-store.ts
+++ b/apps/web/src/stores/app-store.ts
@@ -40,6 +40,7 @@ import {
} from "../utils/page-visibility";
import { NetworkCheck } from "../utils/network-check";
import { Color, Notebook, Tag } from "@notesnook/core";
+import { strings } from "@notesnook/intl";
type SyncState =
| "synced"
@@ -235,14 +236,14 @@ class AppStore extends BaseStore<AppStore> {
if (await db.shortcuts.exists(item.id)) {
await db.shortcuts.remove(item.id);
this.refreshNavItems();
- showToast("success", `Shortcut removed!`);
+ showToast("success", strings.shortcutRemoved());
} else {
await db.shortcuts.add({
itemType: item.type,
itemId: item.id
});
this.refreshNavItems();
- showToast("success", `Shortcut created!`);
+ showToast("success", strings.shortcutCreated());
}
// refresh the respective list
diff --git a/apps/web/src/stores/attachment-store.ts b/apps/web/src/stores/attachment-store.ts
index 06e30075e..0a010978c 100644
--- a/apps/web/src/stores/attachment-store.ts
+++ b/apps/web/src/stores/attachment-store.ts
@@ -29,6 +29,7 @@ import { createZipStream } from "../utils/streams/zip-stream";
import { createWriteStream } from "../utils/stream-saver";
import { Attachment } from "@notesnook/core";
import { TaskManager } from "../common/task-manager";
+import { strings } from "@notesnook/intl";
let abortController: AbortController | undefined = undefined;
class AttachmentStore extends BaseStore<AttachmentStore> {
@@ -104,12 +105,12 @@ class AttachmentStore extends BaseStore<AttachmentStore> {
console.error(e);
this._changeWorkingStatus(attachment.hash);
if (e instanceof Error)
- showToast("error", `Rechecking failed: ${e.message}`);
+ showToast("error", `${strings.recheckFailed()}: ${e.message}`);
}
}
},
id: "checking-attachments",
- title: "Checking attachments"
+ title: strings.checkingAttachments()
});
};
@@ -139,7 +140,7 @@ class AttachmentStore extends BaseStore<AttachmentStore> {
console.error(e);
this._changeWorkingStatus(attachment.hash);
if (e instanceof Error)
- showToast("error", `Failed to delete: ${e.message}`);
+ showToast("error", `${strings.failedToDelete()}: ${e.message}`);
}
};
diff --git a/apps/web/src/utils/task-scheduler.ts b/apps/web/src/utils/task-scheduler.ts
index b02fa8616..20d83229c 100644
--- a/apps/web/src/utils/task-scheduler.ts
+++ b/apps/web/src/utils/task-scheduler.ts
@@ -26,6 +26,7 @@ import { wrap, Remote } from "comlink";
import { showToast } from "./toast";
import { logger } from "./logger";
import { validate } from "cronosjs";
+import { strings } from "@notesnook/intl";
let worker: globalThis.Worker | undefined;
let scheduler: Remote<TaskSchedulerType> | undefined;
@@ -58,7 +59,9 @@ export class TaskScheduler {
} catch (e) {
showToast(
"error",
- `Failed to register task: ${(e as Error).message} (cron: ${time})`
+ `${strings.failedToRegisterTask()}: ${
+ (e as Error).message
+ } (cron: ${time})`
);
}
}
diff --git a/apps/web/src/views/recovery.tsx b/apps/web/src/views/recovery.tsx
index 371c706ec..11ebf516a 100644
--- a/apps/web/src/views/recovery.tsx
+++ b/apps/web/src/views/recovery.tsx
@@ -137,7 +137,10 @@ function useAuthenticateUser({
const user = await db.user.fetchUser();
setUser(user);
} catch (e) {
- showToast("error", "Failed to authenticate. Please try again.");
+ showToast(
+ "error",
+ `${strings.biometricsAuthFailed()}. ${strings.pleaseTryAgain()}.`
+ );
openURL("/");
} finally {
setIsAuthenticating(false);
@@ -191,7 +194,7 @@ function Recovery(props: RecoveryProps) {
}}
variant={"body"}
>
- {strings.authenticatedAs()} {user?.email}
+ {strings.authenticatedAs(user?.email)}
</Text>
<Button
sx={{
diff --git a/apps/web/src/views/trash.tsx b/apps/web/src/views/trash.tsx
index f950e3114..2497961c9 100644
--- a/apps/web/src/views/trash.tsx
+++ b/apps/web/src/views/trash.tsx
@@ -26,6 +26,7 @@ import { useSearch } from "../hooks/use-search";
import { db } from "../common/db";
import { ListLoader } from "../components/loaders/list-loader";
import { ConfirmDialog } from "../dialogs/confirm";
+import { strings } from "@notesnook/intl";
function Trash() {
useNavigate("trash", store.refresh);
@@ -55,12 +56,12 @@ function Trash() {
if (res) {
try {
await clearTrash();
- showToast("success", "Trash cleared successfully!");
+ showToast("success", strings.trashCleared());
} catch (e) {
if (e instanceof Error)
showToast(
"error",
- `Could not clear trash. Error: ${e.message}`
+ `${strings.couldNotClearTrash()}. Error: ${e.message}`
);
}
}
diff --git a/packages/intl/locale/de.po b/packages/intl/locale/de.po
index 9decac310..e2968f640 100644
--- a/packages/intl/locale/de.po
+++ b/packages/intl/locale/de.po
@@ -33,11 +33,15 @@ msgstr "123456"
msgid "\"This version of Notesnook app does not support in-app purchases. Kindly login on the Notesnook web app to make the purchase.\""
msgstr "123456"
-#: src/strings.tsx:1745
+#: src/strings.tsx:508
+msgid "\"Your note will be unencrypted and removed from the vault.\""
+msgstr ""
+
+#: src/strings.tsx:1803
msgid "\"Your password is always hashed before leaving this device.\""
msgstr ""
-#: src/strings.tsx:204
+#: src/strings.tsx:219
msgid "(empty block)"
msgstr ""
@@ -45,31 +49,56 @@ msgstr ""
#~ msgid "(Empty block)"
#~ msgstr "123456"
-#: src/strings.tsx:443
+#: src/strings.tsx:196
+msgid "{0}"
+msgstr ""
+
+#: src/strings.tsx:468
msgid "{0} downloaded"
msgstr "123456"
#: src/strings.tsx:184
-msgid "{0}... Please wait"
-msgstr "123456"
+#~ msgid "{0}... Please wait"
+#~ msgstr "123456"
-#: src/strings.tsx:1595
+#: src/strings.tsx:1876
+#: src/strings.tsx:1887
+msgid "{count, plural, one {{0} {1}} other {# {2} {3}}}"
+msgstr ""
+
+#: src/strings.tsx:1898
+msgid "{count, plural, one {{0} could not be {1}} other {# {2} could not be {3}}}"
+msgstr ""
+
+#: src/strings.tsx:1908
+msgid "{count, plural, one {{0} deleted} other {# {1} deleted}}"
+msgstr ""
+
+#: src/strings.tsx:1917
+msgid "{count, plural, one {{0} unpinned} other {# {1} unpinned}}"
+msgstr ""
+
+#: src/strings.tsx:1937
+msgid "{count, plural, one {{0}} other {# {1}}}"
+msgstr ""
+
+#: src/strings.tsx:1653
msgid "{count, plural, one {# error occured} other {# errors occured}}"
msgstr ""
-#: src/strings.tsx:1601
+#: src/strings.tsx:1659
msgid "{count, plural, one {# file ready for import} other {# files ready for import}}"
msgstr ""
-#: src/strings.tsx:1560
+#: src/strings.tsx:1618
msgid "{count, plural, one {# file} other {# files}}"
msgstr ""
-#: src/strings.tsx:1552
+#: src/strings.tsx:1610
msgid "{count, plural, one {# item restored} other {# items restored}}"
msgstr ""
-#: src/strings.tsx:28
+#: src/strings.tsx:40
msgid "{count, plural, one {# note} other {# notes} _0 {No notes}}"
msgstr "123456"
@@ -89,7 +118,7 @@ msgstr "123456"
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 "123456"
-#: src/strings.tsx:55
+#: src/strings.tsx:67
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 "123456"
@@ -97,11 +126,15 @@ msgstr "123456"
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 "123456"
-#: src/strings.tsx:105
+#: src/strings.tsx:1852
+msgid "{count, plural, one {Are you sure you want to permanently delete this {0}? This action is IRREVERSIBLE.} other {Are you sure you want to permanently delete these {1}? This action is IRREVERSIBLE.}}"
+msgstr ""
+
+#: src/strings.tsx:117
msgid "{count, plural, one {Attach image} other {Attach # images}}"
msgstr "123456"
-#: src/strings.tsx:50
+#: src/strings.tsx:62
msgid "{count, plural, one {Attachment downloaded at {path}} other {#/{total} attachments downloaded as a zip file at {path}}}"
msgstr "123456"
@@ -113,7 +146,11 @@ msgstr "123456"
msgid "{count, plural, one {Delete tag} other {Delete # tags}}"
msgstr "123456"
-#: src/strings.tsx:45
+#: src/strings.tsx:1927
+msgid "{count, plural, one {Deleting {0}} other {Deleting {1}}}"
+msgstr ""
+
+#: src/strings.tsx:57
msgid "{count, plural, one {Failed to download attachment} other {Failed to download # attachments}}"
msgstr "123456"
@@ -121,23 +158,27 @@ msgstr "123456"
msgid "{count, plural, one {Move notebook} other {Move # notebooks}}"
msgstr "123456"
-#: src/strings.tsx:411
+#: src/strings.tsx:436
msgid "{count, plural, one {Moving {title}} other {Moving # notebooks}}"
msgstr "123456"
-#: src/strings.tsx:186
+#: src/strings.tsx:201
msgid "{count, plural, one {Note exported} other {# notes exported}}"
msgstr "123456"
-#: src/strings.tsx:300
+#: src/strings.tsx:1973
+msgid "{count, plural, one {removed from 1 notebook} other {removed from # notebooks}}"
+msgstr ""
+
+#: src/strings.tsx:323
msgid "{freq, plural, one {Repeats every {0} on {selectedDays} at {date}} other {Repeats every {freq} {1} every {selectedDays} at {date}}}"
msgstr "123456"
-#: src/strings.tsx:161
+#: src/strings.tsx:173
msgid "{key, select, dateCreated {Created at} dateEdited {Last edited at} dateModifed {Last modified at} dateUploaded {Uploaded at} dateDeleted {Deleted at} other {{key}}}"
msgstr "123456"
-#: src/strings.tsx:376
+#: src/strings.tsx:399
msgid "{mode, select, create {Create app lock {keyboardType}} change {Change app lock {keyboardType}} remove {Remove app lock {keyboardType}} other {}}"
msgstr "123456"
@@ -149,15 +190,15 @@ msgstr "123456"
msgid "{platform, select, android {Backup file saved in \"Notesnook backups\" folder on your phone.} other {Backup file is saved in File Manager/Notesnook folder}}"
msgstr "123456"
-#: src/strings.tsx:325
+#: src/strings.tsx:348
msgid "{type, select, github {v{version} has been released on GitHub} store {v{version} has been released} other {v{version} has been released}}"
msgstr "123456"
-#: src/strings.tsx:175
+#: src/strings.tsx:187
msgid "{type, select, other {This list is empty} notebook {No notebooks} tag {No tags} note {No notes}}"
msgstr "123456"
-#: src/strings.tsx:38
+#: src/strings.tsx:50
msgid "{type, select, upload {Uploading} download {Downloading} other {Loading}}"
msgstr "123456"
@@ -205,7 +246,7 @@ msgstr "123456"
msgid "Add 2FA fallback method"
msgstr "123456"
-#: src/strings.tsx:286
+#: src/strings.tsx:309
msgid "Add a {0}"
msgstr "123456"
@@ -225,7 +266,7 @@ msgstr "123456"
msgid "Add notebook"
msgstr "123456"
-#: src/strings.tsx:415
+#: src/strings.tsx:440
msgid "Add notes to {title}"
msgstr "123456"
@@ -258,7 +299,7 @@ msgstr "123456"
msgid "All"
msgstr "123456"
-#: src/strings.tsx:61
+#: src/strings.tsx:73
msgid "All attachments are end-to-end encrypted."
msgstr "123456"
@@ -274,11 +315,11 @@ msgstr "123456"
msgid "All server urls are required."
msgstr ""
-#: src/strings.tsx:1759
+#: src/strings.tsx:1817
msgid "All the data in your account will be overwritten with the data in the backup file. There is no way to reverse this action."
msgstr ""
-#: src/strings.tsx:366
+#: src/strings.tsx:389
msgid "All tools are grouped"
msgstr "123456"
@@ -298,27 +339,27 @@ msgstr "123456"
msgid "All your data will be removed permanently. Make sure you have saved backup of your notes. This action is IRREVERSIBLE."
msgstr "123456"
-#: src/strings.tsx:78
+#: src/strings.tsx:90
msgid "Already have an account?"
msgstr "123456"
-#: src/strings.tsx:218
+#: src/strings.tsx:233
msgid "An error occurred while migrating your data. You can logout of your account and try to relogin. However this is not recommended as it may result in some data loss if your data was not synced."
msgstr "123456"
-#: src/strings.tsx:73
+#: src/strings.tsx:85
msgid "and"
msgstr "123456"
-#: src/strings.tsx:1633
+#: src/strings.tsx:1691
msgid "and get a chance to win free promo codes."
msgstr ""
-#: src/strings.tsx:1237
+#: src/strings.tsx:1291
msgid "and we will manually confirm your account."
msgstr ""
-#: src/strings.tsx:220
+#: src/strings.tsx:235
msgid "App data has been cleared. Kindly relaunch the app to login again."
msgstr "123456"
@@ -355,7 +396,7 @@ msgstr "123456"
msgid "Applied as light theme"
msgstr "123456"
-#: src/strings.tsx:392
+#: src/strings.tsx:417
msgid "Apply changes"
msgstr "123456"
@@ -399,19 +440,31 @@ msgstr "123456"
msgid "Are you sure you want to remove your profile picture?"
msgstr "123456"
-#: src/strings.tsx:369
+#: src/strings.tsx:1219
+msgid "Are you sure?"
+msgstr ""
+
+#: src/strings.tsx:2025
+msgid "Assign color"
+msgstr ""
+
+#: src/strings.tsx:873
+msgid "Assign to"
+msgstr ""
+
+#: src/strings.tsx:392
msgid "Atleast 8 characters required"
msgstr "123456"
-#: src/strings.tsx:257
+#: src/strings.tsx:272
msgid "attachment"
msgstr "123456"
-#: src/strings.tsx:265
+#: src/strings.tsx:282
msgid "Attachment"
msgstr "123456"
-#: src/strings.tsx:273
+#: src/strings.tsx:292
msgid "attachments"
msgstr "123456"
@@ -512,7 +565,7 @@ msgstr "123456"
msgid "Backup successful"
msgstr "123456"
-#: src/strings.tsx:422
+#: src/strings.tsx:447
msgid "Backups"
msgstr "123456"
@@ -524,7 +577,7 @@ msgstr "123456"
msgid "Behavior"
msgstr "123456"
-#: src/strings.tsx:331
+#: src/strings.tsx:354
msgid "BETA"
msgstr "123456"
@@ -548,15 +601,15 @@ msgstr "123456"
msgid "Biometrics not enrolled"
msgstr "123456"
-#: src/strings.tsx:1665
+#: src/strings.tsx:1723
msgid "Browse"
msgstr ""
-#: src/strings.tsx:348
+#: src/strings.tsx:371
msgid "By"
msgstr "123456"
-#: src/strings.tsx:71
+#: src/strings.tsx:83
msgid "By signing up, you agree to our"
msgstr "123456"
@@ -564,11 +617,19 @@ msgstr "123456"
msgid "Cancel"
msgstr "123456"
-#: src/strings.tsx:1681
+#: src/strings.tsx:469
+msgid "Cancel download"
+msgstr ""
+
+#: src/strings.tsx:1739
msgid "Cancel subscription"
msgstr ""
-#: src/strings.tsx:123
+#: src/strings.tsx:470
+msgid "Cancel upload"
+msgstr ""
+
+#: src/strings.tsx:135
msgid "Change"
msgstr "123456"
@@ -592,7 +653,7 @@ msgstr "123456"
msgid "Change backup directory"
msgstr "123456"
-#: src/strings.tsx:397
+#: src/strings.tsx:422
msgid "Change email address"
msgstr "123456"
@@ -604,7 +665,7 @@ msgstr "123456"
msgid "Change notification sound"
msgstr "123456"
-#: src/strings.tsx:370
+#: src/strings.tsx:393
msgid "Change password"
msgstr "123456"
@@ -612,7 +673,7 @@ msgstr "123456"
msgid "Change the sound that plays when you receive a notification"
msgstr "123456"
-#: src/strings.tsx:386
+#: src/strings.tsx:411
msgid "Change Vault Password"
msgstr "123456"
@@ -640,7 +701,7 @@ msgstr "123456"
msgid "Check for updates"
msgstr "123456"
-#: src/strings.tsx:321
+#: src/strings.tsx:344
msgid "Checking for new version"
msgstr "123456"
@@ -660,7 +721,7 @@ msgstr "123456"
msgid "Choose how time is displayed in the app"
msgstr "123456"
-#: src/strings.tsx:345
+#: src/strings.tsx:368
msgid "Choose how you want to secure your notes locally."
msgstr "123456"
@@ -701,16 +762,32 @@ msgstr "123456"
msgid "Close"
msgstr "123456"
-#: src/strings.tsx:367
+#: src/strings.tsx:2011
+msgid "Close all"
+msgstr ""
+
+#: src/strings.tsx:2008
+msgid "Close others"
+msgstr ""
+
+#: src/strings.tsx:2010
+msgid "Close to the left"
+msgstr ""
+
+#: src/strings.tsx:2009
+msgid "Close to the right"
+msgstr ""
+
+#: src/strings.tsx:390
msgid "COLLAPSED"
msgstr "123456"
-#: src/strings.tsx:256
+#: src/strings.tsx:271
msgid "color"
msgstr "123456"
-#: src/strings.tsx:264
-#: src/strings.tsx:1699
+#: src/strings.tsx:281
+#: src/strings.tsx:1757
msgid "Color"
msgstr "123456"
@@ -722,11 +799,11 @@ msgstr "123456"
msgid "Color title"
msgstr "123456"
-#: src/strings.tsx:272
+#: src/strings.tsx:291
msgid "colors"
msgstr "123456"
-#: src/strings.tsx:280
+#: src/strings.tsx:301
msgid "Colors"
msgstr "123456"
@@ -734,15 +811,15 @@ msgstr "123456"
msgid "Community"
msgstr "123456"
-#: src/strings.tsx:1584
+#: src/strings.tsx:1642
msgid "Completed"
msgstr ""
-#: src/strings.tsx:109
+#: src/strings.tsx:121
msgid "Compress"
msgstr "123456"
-#: src/strings.tsx:114
+#: src/strings.tsx:126
msgid "Compressed images are uploaded in Full HD resolution and usually are good enough for most use cases."
msgstr "123456"
@@ -798,7 +875,11 @@ msgstr "123456"
msgid "Copy link"
msgstr "123456"
-#: src/strings.tsx:389
+#: src/strings.tsx:816
+#~ msgid "Copy link"
+#~ msgstr "123456"
+
+#: src/strings.tsx:414
msgid "Copy note"
msgstr "123456"
@@ -818,7 +899,31 @@ msgstr "123456"
msgid "Could not connect to"
msgstr ""
-#: src/strings.tsx:128
+#: src/strings.tsx:1996
+msgid "Could not clear trash"
+msgstr ""
+
+#: src/strings.tsx:1477
+#~ msgid "Could not connect to"
+#~ msgstr ""
+
+#: src/strings.tsx:1535
+msgid "Could not connect to {server}"
+msgstr ""
+
+#: src/strings.tsx:1962
+msgid "Could not convert note to {format}"
+msgstr ""
+
+#: src/strings.tsx:690
+msgid "Could not create backup"
+msgstr ""
+
+#: src/strings.tsx:506
+msgid "Could not unlock"
+msgstr ""
+
+#: src/strings.tsx:140
msgid "Create"
msgstr "123456"
@@ -862,7 +967,7 @@ msgstr "123456"
msgid "Create unlimited vaults with Notesnook Pro"
msgstr "123456"
-#: src/strings.tsx:383
+#: src/strings.tsx:406
msgid "Create Vault"
msgstr "123456"
@@ -940,7 +1045,11 @@ msgstr "123456"
msgid "Date modified"
msgstr "123456"
-#: src/strings.tsx:310
+#: src/strings.tsx:2034
+msgid "Date uploaded"
+msgstr ""
+
+#: src/strings.tsx:333
msgid "day"
msgstr "123456"
@@ -996,8 +1105,9 @@ msgstr "123456"
msgid "Default sound"
msgstr "123456"
-#: src/strings.tsx:119
-#: src/strings.tsx:124
+#: src/strings.tsx:131
+#: src/strings.tsx:136
+#: src/strings.tsx:1861
msgid "Delete"
msgstr "123456"
@@ -1021,7 +1131,7 @@ msgstr "123456"
msgid "Delete group"
msgstr "123456"
-#: src/strings.tsx:387
+#: src/strings.tsx:412
msgid "Delete note"
msgstr "123456"
@@ -1033,7 +1143,11 @@ msgstr "123456"
msgid "Delete vault (and optionally remove all notes)."
msgstr "123456"
-#: src/strings.tsx:134
+#: src/strings.tsx:1840
+msgid "deleted"
+msgstr ""
+
+#: src/strings.tsx:146
msgid "Deleted on {date}"
msgstr "123456"
@@ -1057,7 +1171,7 @@ msgstr "123456"
msgid "Disable sync"
msgstr "123456"
-#: src/strings.tsx:135
+#: src/strings.tsx:147
msgid "Disabled"
msgstr "123456"
@@ -1069,15 +1183,15 @@ msgstr "123456"
msgid "Dismiss"
msgstr "123456"
-#: src/strings.tsx:1488
+#: src/strings.tsx:1546
msgid "Dismiss announcement"
msgstr ""
-#: src/strings.tsx:1587
+#: src/strings.tsx:1645
msgid "Disputed"
msgstr ""
-#: src/strings.tsx:240
+#: src/strings.tsx:255
msgid "Do you enjoy using Notesnook?"
msgstr "123456"
@@ -1089,27 +1203,27 @@ msgstr "123456"
msgid "Documents"
msgstr "123456"
-#: src/strings.tsx:65
+#: src/strings.tsx:77
msgid "Don't have an account?"
msgstr "123456"
-#: src/strings.tsx:1687
+#: src/strings.tsx:1745
msgid "Don't have backup file?"
msgstr ""
-#: src/strings.tsx:1686
+#: src/strings.tsx:1744
msgid "Don't have your account recovery key?"
msgstr ""
-#: src/strings.tsx:1666
+#: src/strings.tsx:1724
msgid "Don't show again"
msgstr ""
-#: src/strings.tsx:1667
+#: src/strings.tsx:1725
msgid "Don't show again on this device?"
msgstr ""
-#: src/strings.tsx:23
+#: src/strings.tsx:35
msgid "Done"
msgstr "123456"
@@ -1117,7 +1231,7 @@ msgstr "123456"
msgid "Double spaced lines"
msgstr "123456"
-#: src/strings.tsx:437
+#: src/strings.tsx:462
msgid "Download"
msgstr "123456"
@@ -1133,7 +1247,7 @@ msgstr "123456"
msgid "Download started... Please wait"
msgstr "123456"
-#: src/strings.tsx:442
+#: src/strings.tsx:467
msgid "Download successful"
msgstr "123456"
@@ -1141,16 +1255,16 @@ msgstr "123456"
msgid "Download update"
msgstr "123456"
-#: src/strings.tsx:436
+#: src/strings.tsx:461
msgid "Downloaded"
msgstr "123456"
-#: src/strings.tsx:35
-#: src/strings.tsx:435
+#: src/strings.tsx:47
+#: src/strings.tsx:460
msgid "Downloading"
msgstr "123456"
-#: src/strings.tsx:228
+#: src/strings.tsx:243
msgid "Downloading attachments"
msgstr "123456"
@@ -1207,7 +1321,7 @@ msgstr "123456"
msgid "Email updated to {email}"
msgstr "123456"
-#: src/strings.tsx:121
+#: src/strings.tsx:133
msgid "Enable"
msgstr "123456"
@@ -1215,7 +1329,11 @@ msgstr "123456"
msgid "Enable app lock"
msgstr "123456"
-#: src/strings.tsx:425
+#: src/strings.tsx:2004
+msgid "Enable editor margins"
+msgstr ""
+
+#: src/strings.tsx:450
msgid "Enable two-factor authentication to add an extra layer of security to your account."
msgstr "123456"
@@ -1223,7 +1341,7 @@ msgstr "123456"
msgid "Encrypt your backups for added security"
msgstr "123456"
-#: src/strings.tsx:171
+#: src/strings.tsx:183
msgid "Encrypted and synced"
msgstr "123456"
@@ -1235,7 +1353,7 @@ msgstr "123456"
msgid "End to end encrypted."
msgstr "123456"
-#: src/strings.tsx:342
+#: src/strings.tsx:365
msgid "Enter 6 digit code"
msgstr "123456"
@@ -1251,7 +1369,7 @@ msgstr "123456"
msgid "Enter app lock pin"
msgstr "123456"
-#: src/strings.tsx:102
+#: src/strings.tsx:114
msgid "Enter code from authenticator app"
msgstr "123456"
@@ -1275,19 +1393,19 @@ msgstr "123456"
msgid "Enter password"
msgstr "123456"
-#: src/strings.tsx:89
+#: src/strings.tsx:101
msgid "Enter the 6 digit code from your authenticator app to continue logging in"
msgstr "123456"
-#: src/strings.tsx:85
+#: src/strings.tsx:97
msgid "Enter the 6 digit code sent to your email to continue logging in"
msgstr "123456"
-#: src/strings.tsx:87
+#: src/strings.tsx:99
msgid "Enter the 6 digit code sent to your phone number to continue logging in"
msgstr "123456"
-#: src/strings.tsx:90
+#: src/strings.tsx:102
msgid "Enter the recovery code to continue logging in"
msgstr "123456"
@@ -1311,7 +1429,7 @@ msgstr "123456"
msgid "Error getting codes"
msgstr "123456"
-#: src/strings.tsx:351
+#: src/strings.tsx:374
msgid "Error loading themes"
msgstr "123456"
@@ -1331,7 +1449,11 @@ msgstr ""
msgid "Events server"
msgstr ""
-#: src/strings.tsx:401
+#: src/strings.tsx:2005
+msgid "Exit fullscreen"
+msgstr ""
+
+#: src/strings.tsx:426
msgid "Export"
msgstr "123456"
@@ -1403,7 +1525,7 @@ msgstr "123456"
msgid "Failed to zip files"
msgstr ""
-#: src/strings.tsx:429
+#: src/strings.tsx:454
msgid "Fallback method for 2FA enabled"
msgstr "123456"
@@ -1504,15 +1626,15 @@ msgstr "123456"
msgid "Get started"
msgstr "123456"
-#: src/strings.tsx:1738
+#: src/strings.tsx:1796
msgid "Getting encryption key..."
msgstr ""
-#: src/strings.tsx:341
+#: src/strings.tsx:364
msgid "Getting information"
msgstr "123456"
-#: src/strings.tsx:343
+#: src/strings.tsx:366
msgid "Getting recovery codes"
msgstr "123456"
@@ -1524,7 +1646,7 @@ msgstr "123456"
msgid "Got it"
msgstr "123456"
-#: src/strings.tsx:365
+#: src/strings.tsx:388
msgid "GROUP"
msgstr "123456"
@@ -1540,7 +1662,7 @@ msgstr "123456"
msgid "Help and support"
msgstr "123456"
-#: src/strings.tsx:131
+#: src/strings.tsx:143
msgid "Help improve Notesnook by sending completely anonymized"
msgstr "123456"
@@ -1572,49 +1694,49 @@ msgstr "123456"
msgid "hr"
msgstr "123456"
-#: src/strings.tsx:95
+#: src/strings.tsx:107
msgid "I don't have access to authenticator app"
msgstr "123456"
-#: src/strings.tsx:93
+#: src/strings.tsx:105
msgid "I don't have access to email"
msgstr "123456"
-#: src/strings.tsx:94
+#: src/strings.tsx:106
msgid "I don't have access to my phone"
msgstr "123456"
-#: src/strings.tsx:96
+#: src/strings.tsx:108
msgid "I don't have recovery codes"
msgstr "123456"
-#: src/strings.tsx:103
+#: src/strings.tsx:115
msgid "I have a recovery code"
msgstr "123456"
-#: src/strings.tsx:1739
+#: src/strings.tsx:1797
msgid "I have saved my key"
msgstr ""
-#: src/strings.tsx:340
+#: src/strings.tsx:363
msgid "If the editor fails to load even after reloading. Try restarting the app."
msgstr "123456"
-#: src/strings.tsx:222
+#: src/strings.tsx:237
msgid "If this continues to happen, please reach out to us via"
msgstr ""
-#: src/strings.tsx:1570
+#: src/strings.tsx:1628
msgid "If you can't scan the QR code above, enter this text instead (spaces don't matter)"
msgstr ""
-#: src/strings.tsx:1234
+#: src/strings.tsx:1288
msgid ""
"If you didn't get an email from us or the confirmation link isn't\n"
"working,"
msgstr ""
-#: src/strings.tsx:201
+#: src/strings.tsx:216
msgid "If you want to ask something in general or need some assistance, we would suggest that you"
msgstr "123456"
@@ -1622,7 +1744,7 @@ msgstr "123456"
msgid "Images"
msgstr "123456"
-#: src/strings.tsx:112
+#: src/strings.tsx:124
msgid "Images uploaded without compression are slow to load and take more bandwidth. We recommend compressing images unless you need image in original quality."
msgstr "123456"
@@ -1630,15 +1752,15 @@ msgstr "123456"
msgid "Immediately"
msgstr "123456"
-#: src/strings.tsx:1593
+#: src/strings.tsx:1651
msgid "Import completed"
msgstr ""
-#: src/strings.tsx:1608
+#: src/strings.tsx:1666
msgid "import guide"
msgstr ""
-#: src/strings.tsx:144
+#: src/strings.tsx:156
msgid "Incoming"
msgstr "123456"
@@ -1654,7 +1776,7 @@ msgstr "123456"
msgid "Invalid email"
msgstr "123456"
-#: src/strings.tsx:192
+#: src/strings.tsx:207
msgid "Issue created"
msgstr "123456"
@@ -1668,15 +1790,28 @@ msgstr "123456"
#~ "and suggestions to help us improve it."
#~ msgstr "123456"
-#: src/strings.tsx:242
+#: src/strings.tsx:257
msgid "It took us a year to bring Notesnook to life. Share your experience and suggestions to help us improve it."
msgstr ""
-#: src/strings.tsx:1545
+#: src/strings.tsx:273
+msgid "item"
+msgstr ""
+
+#: src/strings.tsx:283
+msgid "Item"
+msgstr ""
+
+#: src/strings.tsx:293
+#: src/strings.tsx:1603
msgid "items"
msgstr ""
-#: src/strings.tsx:202
+#: src/strings.tsx:305
+msgid "Items"
+msgstr ""
+
+#: src/strings.tsx:217
msgid "join our community on Discord."
msgstr "123456"
@@ -1712,7 +1847,7 @@ msgstr "123456"
msgid "Latest first"
msgstr "123456"
-#: src/strings.tsx:149
+#: src/strings.tsx:161
msgid "Learn how this works."
msgstr "123456"
@@ -1724,7 +1859,7 @@ msgstr "123456"
msgid "Learn more about Monographs"
msgstr "123456"
-#: src/strings.tsx:239
+#: src/strings.tsx:254
msgid "Learn more about Notesnook Monograph"
msgstr "123456"
@@ -1732,7 +1867,7 @@ msgstr "123456"
msgid "legal"
msgstr "123456"
-#: src/strings.tsx:406
+#: src/strings.tsx:431
msgid "Let us know if you have faced any issue/bug while using Notesnook. We will try to fix it as soon as possible."
msgstr "123456"
@@ -1752,7 +1887,7 @@ msgstr "123456"
msgid "Link notebooks"
msgstr "123456"
-#: src/strings.tsx:208
+#: src/strings.tsx:223
msgid "LINK TO A SECTION"
msgstr "123456"
@@ -1764,11 +1899,11 @@ msgstr "123456"
msgid "Linked notes"
msgstr "123456"
-#: src/strings.tsx:1438
+#: src/strings.tsx:1495
msgid "Linking to a specific block is not available for locked notes."
msgstr ""
-#: src/strings.tsx:433
+#: src/strings.tsx:458
msgid "List of"
msgstr "123456"
@@ -1776,11 +1911,11 @@ msgstr "123456"
msgid "Load from file"
msgstr "123456"
-#: src/strings.tsx:1533
+#: src/strings.tsx:1591
msgid "Loading"
msgstr ""
-#: src/strings.tsx:116
+#: src/strings.tsx:128
msgid "Loading {0}, please wait..."
msgstr "123456"
@@ -1816,11 +1951,11 @@ msgstr "123456"
msgid "Loading your tags"
msgstr "123456"
-#: src/strings.tsx:129
+#: src/strings.tsx:141
msgid "Lock"
msgstr "123456"
-#: src/strings.tsx:391
+#: src/strings.tsx:416
msgid "Lock note"
msgstr "123456"
@@ -1836,7 +1971,7 @@ msgstr "123456"
msgid "Locked notes cannot be published"
msgstr "123456"
-#: src/strings.tsx:346
+#: src/strings.tsx:369
msgid "Logging out"
msgstr "123456"
@@ -1844,7 +1979,7 @@ msgstr "123456"
msgid "Logging out will clear all data stored on THIS DEVICE. Make sure you have synced all your changes before logging out."
msgstr "123456"
-#: src/strings.tsx:79
+#: src/strings.tsx:91
msgid "Login"
msgstr "123456"
@@ -1932,11 +2067,19 @@ msgstr "123456"
msgid "Marketing emails"
msgstr "123456"
+#: src/strings.tsx:2032
+msgid "Maximize"
+msgstr ""
+
#: src/strings.tsx:1621
-msgid "Member since"
+#~ msgid "Member since"
+#~ msgstr ""
+
+#: src/strings.tsx:1679
+msgid "Member since {date}"
msgstr ""
-#: src/strings.tsx:214
+#: src/strings.tsx:229
msgid "Migrating {0} {1}... please wait"
msgstr "123456"
@@ -1974,8 +2117,8 @@ msgstr "123456"
msgid "Monographs enable you to share your notes in a secure and private way."
msgstr "123456"
-#: src/strings.tsx:312
-#: src/strings.tsx:1695
+#: src/strings.tsx:335
+#: src/strings.tsx:1753
msgid "month"
msgstr "123456"
@@ -2021,11 +2164,11 @@ msgstr "123456"
msgid "Name"
msgstr "123456"
-#: src/strings.tsx:1526
+#: src/strings.tsx:1584
msgid "Native high-performance encryption"
msgstr ""
-#: src/strings.tsx:334
+#: src/strings.tsx:357
msgid "Never"
msgstr "123456"
@@ -2049,7 +2192,7 @@ msgstr "123456"
msgid "New lines will be double spaced (old ones won't be affected)."
msgstr "123456"
-#: src/strings.tsx:182
+#: src/strings.tsx:194
msgid "New note"
msgstr "123456"
@@ -2097,15 +2240,15 @@ msgstr "123456"
msgid "No application found to open {fileToOpen}"
msgstr "123456"
-#: src/strings.tsx:60
+#: src/strings.tsx:72
msgid "No attachments."
msgstr "123456"
-#: src/strings.tsx:319
+#: src/strings.tsx:342
msgid "No backups found"
msgstr "123456"
-#: src/strings.tsx:245
+#: src/strings.tsx:260
msgid "No blocks linked"
msgstr "123456"
@@ -2117,27 +2260,35 @@ msgstr "123456"
msgid "No directory selected"
msgstr "123456"
-#: src/strings.tsx:59
+#: src/strings.tsx:71
msgid "No downloads in progress."
msgstr "123456"
-#: src/strings.tsx:1503
+#: src/strings.tsx:1977
+msgid "No encryption key found"
+msgstr ""
+
+#: src/strings.tsx:1561
msgid "No headings found"
msgstr ""
-#: src/strings.tsx:249
+#: src/strings.tsx:544
+msgid "No linked notes"
+msgstr ""
+
+#: src/strings.tsx:264
msgid "No links found"
msgstr "123456"
-#: src/strings.tsx:146
+#: src/strings.tsx:158
msgid "No note history available for this device."
msgstr "123456"
-#: src/strings.tsx:173
+#: src/strings.tsx:185
msgid "No one can view this {type} except you."
msgstr "123456"
-#: src/strings.tsx:246
+#: src/strings.tsx:261
msgid "No references found of this note"
msgstr "123456"
@@ -2145,15 +2296,19 @@ msgstr "123456"
msgid "No results found for"
msgstr "123456"
-#: src/strings.tsx:349
+#: src/strings.tsx:372
msgid "No results found for \"{query}\""
msgstr "123456"
-#: src/strings.tsx:350
+#: src/strings.tsx:1425
+msgid "No results found for {query}"
+msgstr ""
+
+#: src/strings.tsx:373
msgid "No themes found"
msgstr "123456"
-#: src/strings.tsx:322
+#: src/strings.tsx:345
msgid "No updates available"
msgstr "123456"
@@ -2161,16 +2316,20 @@ msgstr "123456"
msgid "None"
msgstr "123456"
-#: src/strings.tsx:333
+#: src/strings.tsx:2006
+msgid "Normal mode"
+msgstr ""
+
+#: src/strings.tsx:356
msgid "Not logged in"
msgstr "123456"
-#: src/strings.tsx:252
+#: src/strings.tsx:267
msgid "note"
msgstr "123456"
-#: src/strings.tsx:26
-#: src/strings.tsx:260
+#: src/strings.tsx:38
+#: src/strings.tsx:277
msgid "Note"
msgstr "123456"
@@ -2182,7 +2341,11 @@ msgstr "123456"
msgid "Note deleted"
msgstr "123456"
-#: src/strings.tsx:393
+#: src/strings.tsx:1960
+msgid "Note does not exist"
+msgstr ""
+
+#: src/strings.tsx:418
msgid "Note history"
msgstr "123456"
@@ -2206,11 +2369,11 @@ msgstr "123456"
msgid "Note unlocked"
msgstr "123456"
-#: src/strings.tsx:148
+#: src/strings.tsx:160
msgid "Note version history is local only."
msgstr "123456"
-#: src/strings.tsx:253
+#: src/strings.tsx:268
msgid "notebook"
msgstr "123456"
@@ -2223,7 +2386,7 @@ msgstr "123456"
msgid "Notebook restored"
msgstr "123456"
-#: src/strings.tsx:269
+#: src/strings.tsx:288
msgid "notebooks"
msgstr "123456"
@@ -2232,12 +2395,12 @@ msgstr "123456"
msgid "Notebooks"
msgstr "123456"
-#: src/strings.tsx:225
-#: src/strings.tsx:1636
+#: src/strings.tsx:240
+#: src/strings.tsx:1694
msgid "NOTEBOOKS"
msgstr "123456"
-#: src/strings.tsx:268
+#: src/strings.tsx:287
msgid "notes"
msgstr "123456"
@@ -2246,7 +2409,7 @@ msgstr "123456"
msgid "Notes"
msgstr "123456"
-#: src/strings.tsx:191
+#: src/strings.tsx:206
msgid "Notes exported as {path} successfully"
msgstr "123456"
@@ -2270,7 +2433,7 @@ msgstr "123456"
msgid "Off"
msgstr ""
-#: src/strings.tsx:338
+#: src/strings.tsx:361
msgid "Offline"
msgstr "123456"
@@ -2290,11 +2453,11 @@ msgstr "123456"
msgid "Once your password is changed, please make sure to save the new account recovery key"
msgstr "123456"
-#: src/strings.tsx:1613
+#: src/strings.tsx:1671
msgid "Only .zip files are supported."
msgstr ""
-#: src/strings.tsx:126
+#: src/strings.tsx:138
msgid "Open"
msgstr "123456"
@@ -2302,7 +2465,7 @@ msgstr "123456"
msgid "Open file location"
msgstr "123456"
-#: src/strings.tsx:232
+#: src/strings.tsx:247
msgid "Open in browser"
msgstr "123456"
@@ -2358,7 +2521,7 @@ msgstr "123456"
msgid "Password not entered"
msgstr "123456"
-#: src/strings.tsx:233
+#: src/strings.tsx:248
msgid "Password protection"
msgstr "123456"
@@ -2442,7 +2605,7 @@ msgstr "123456"
msgid "Please make sure you have saved the recovery key. Tap one more time to confirm."
msgstr "123456"
-#: src/strings.tsx:196
+#: src/strings.tsx:211
msgid "Please note that we will respond to your issue on the given link. We recommend that you save it."
msgstr "123456"
@@ -2454,11 +2617,19 @@ msgstr "123456"
msgid "Please set title of the reminder"
msgstr "123456"
-#: src/strings.tsx:24
+#: src/strings.tsx:1979
+msgid "Please try again"
+msgstr ""
+
+#: src/strings.tsx:1999
+msgid "Please upgrade to Pro to enable automatic backups."
+msgstr ""
+
+#: src/strings.tsx:36
msgid "Please verify it's you"
msgstr "123456"
-#: src/strings.tsx:229
+#: src/strings.tsx:244
msgid "Please wait"
msgstr "123456"
@@ -2479,19 +2650,23 @@ msgstr "123456"
msgid "Please wait while we load your subscription"
msgstr "123456"
-#: src/strings.tsx:347
+#: src/strings.tsx:370
msgid "Please wait while we log you out."
msgstr "123456"
-#: src/strings.tsx:1767
+#: src/strings.tsx:1825
msgid "Please wait while we reset your account password."
msgstr ""
-#: src/strings.tsx:1750
+#: src/strings.tsx:1511
+msgid "Please wait while we restore your backup"
+msgstr ""
+
+#: src/strings.tsx:1808
msgid "Please wait while we send you recovery instructions"
msgstr ""
-#: src/strings.tsx:227
+#: src/strings.tsx:242
msgid "Please wait while we sync all your data."
msgstr "123456"
@@ -2507,11 +2682,15 @@ msgstr "123456"
msgid "Preparing to restore backup file..."
msgstr ""
-#: src/strings.tsx:364
+#: src/strings.tsx:387
msgid "PRESETS"
msgstr "123456"
-#: src/strings.tsx:152
+#: src/strings.tsx:859
+msgid "Prevent {0} from syncing"
+msgstr ""
+
+#: src/strings.tsx:164
msgid "Preview not available, content is encrypted."
msgstr "123456"
@@ -2531,11 +2710,11 @@ msgstr "123456"
msgid "Privacy policy"
msgstr "123456"
-#: src/strings.tsx:74
+#: src/strings.tsx:86
msgid "Privacy Policy."
msgstr "123456"
-#: src/strings.tsx:132
+#: src/strings.tsx:144
msgid "private analytics and bug reports."
msgstr "123456"
@@ -2551,19 +2730,24 @@ msgstr "123456"
msgid "Productivity"
msgstr "123456"
-#: src/strings.tsx:1721
+#: src/strings.tsx:1966
+msgid "Profile updated"
+msgstr ""
+
+#: src/strings.tsx:1779
msgid "Properties"
msgstr ""
-#: src/strings.tsx:344
+#: src/strings.tsx:367
msgid "Protect your notes"
msgstr "123456"
-#: src/strings.tsx:416
+#: src/strings.tsx:441
+#: src/strings.tsx:1865
msgid "Publish"
msgstr "123456"
-#: src/strings.tsx:418
+#: src/strings.tsx:443
msgid "Publish your note to share it with others. You can set a password to protect it."
msgstr "123456"
@@ -2571,11 +2755,11 @@ msgstr "123456"
msgid "Published"
msgstr "123456"
-#: src/strings.tsx:230
+#: src/strings.tsx:245
msgid "Published at"
msgstr "123456"
-#: src/strings.tsx:235
+#: src/strings.tsx:250
msgid "Published note can only be viewed by someone with the password."
msgstr "123456"
@@ -2585,7 +2769,7 @@ msgstr "123456"
#~ "viewed by someone."
#~ msgstr "123456"
-#: src/strings.tsx:238
+#: src/strings.tsx:253
msgid "Published note link will be automatically deleted once it is viewed by someone."
msgstr ""
@@ -2609,7 +2793,7 @@ msgstr "123456"
msgid "Rate now (It takes only a second)"
msgstr "123456"
-#: src/strings.tsx:330
+#: src/strings.tsx:353
msgid "Read full release notes on Github"
msgstr "123456"
@@ -2637,11 +2821,15 @@ msgstr ""
msgid "RECENT BACKUPS"
msgstr ""
-#: src/strings.tsx:110
+#: src/strings.tsx:1993
+msgid "Rechecking failed"
+msgstr ""
+
+#: src/strings.tsx:122
msgid "Recommended"
msgstr "123456"
-#: src/strings.tsx:371
+#: src/strings.tsx:394
msgid "Recover your account"
msgstr "123456"
@@ -2653,11 +2841,11 @@ msgstr "123456"
msgid "Recovery codes saved!"
msgstr "123456"
-#: src/strings.tsx:64
+#: src/strings.tsx:76
msgid "Recovery email has been sent to your email address. Please check your inbox and follow the instructions to recover your account."
msgstr "123456"
-#: src/strings.tsx:62
+#: src/strings.tsx:74
msgid "Recovery email sent!"
msgstr "123456"
@@ -2673,11 +2861,15 @@ msgstr "123456"
msgid "Recovery key text file saved"
msgstr "123456"
-#: src/strings.tsx:1768
+#: src/strings.tsx:1826
msgid "Recovery successful!"
msgstr ""
-#: src/strings.tsx:316
+#: src/strings.tsx:473
+msgid "Redo"
+msgstr ""
+
+#: src/strings.tsx:339
msgid "REFERENCED IN"
msgstr "123456"
@@ -2685,7 +2877,11 @@ msgstr "123456"
msgid "References"
msgstr "123456"
-#: src/strings.tsx:368
+#: src/strings.tsx:472
+msgid "Regenerate"
+msgstr ""
+
+#: src/strings.tsx:391
msgid "Release notes"
msgstr "123456"
@@ -2693,7 +2889,7 @@ msgstr "123456"
msgid "Remind me"
msgstr "123456"
-#: src/strings.tsx:315
+#: src/strings.tsx:338
msgid "Remind me in"
msgstr "123456"
@@ -2701,11 +2897,11 @@ msgstr "123456"
msgid "Remind me of..."
msgstr "123456"
-#: src/strings.tsx:255
+#: src/strings.tsx:270
msgid "reminder"
msgstr "123456"
-#: src/strings.tsx:263
+#: src/strings.tsx:280
msgid "Reminder"
msgstr "123456"
@@ -2717,7 +2913,7 @@ msgstr "123456"
msgid "Reminder notifications"
msgstr "123456"
-#: src/strings.tsx:271
+#: src/strings.tsx:290
msgid "reminders"
msgstr "123456"
@@ -2803,7 +2999,7 @@ msgstr "123456"
msgid "Repeat"
msgstr "123456"
-#: src/strings.tsx:290
+#: src/strings.tsx:313
msgid "Repeats daily at {date}"
msgstr "123456"
@@ -2811,7 +3007,7 @@ msgstr "123456"
msgid "Report an issue"
msgstr "123456"
-#: src/strings.tsx:402
+#: src/strings.tsx:427
msgid "Report issue"
msgstr "123456"
@@ -2819,7 +3015,7 @@ msgstr "123456"
msgid "Resend code ({seconds})"
msgstr "123456"
-#: src/strings.tsx:98
+#: src/strings.tsx:110
msgid "Resend code in ({seconds})"
msgstr "123456"
@@ -2879,7 +3075,7 @@ msgstr "123456"
msgid "Restored successfully"
msgstr "123456"
-#: src/strings.tsx:320
+#: src/strings.tsx:343
msgid "Restoring"
msgstr "123456"
@@ -2895,11 +3091,15 @@ msgstr "123456"
msgid "Resubscribe to Pro"
msgstr "123456"
-#: src/strings.tsx:441
+#: src/strings.tsx:466
msgid "Reupload"
msgstr "123456"
-#: src/strings.tsx:122
+#: src/strings.tsx:2012
+msgid "Reveal in list"
+msgstr ""
+
+#: src/strings.tsx:134
msgid "Revoke"
msgstr "123456"
@@ -2907,7 +3107,7 @@ msgstr "123456"
msgid "Revoke biometric unlocking"
msgstr "123456"
-#: src/strings.tsx:385
+#: src/strings.tsx:410
msgid "Revoke Vault Fingerprint Unlock"
msgstr "123456"
@@ -2931,7 +3131,7 @@ msgstr "123456"
msgid "Save"
msgstr "123456"
-#: src/strings.tsx:407
+#: src/strings.tsx:432
msgid "Save a backup of your notes"
msgstr "123456"
@@ -2939,7 +3139,7 @@ msgstr "123456"
msgid "Save a copy"
msgstr "123456"
-#: src/strings.tsx:419
+#: src/strings.tsx:444
msgid "Save account recovery key"
msgstr "123456"
@@ -2959,7 +3159,7 @@ msgstr "123456"
msgid "Save QR code to gallery"
msgstr "123456"
-#: src/strings.tsx:426
+#: src/strings.tsx:451
msgid "Save recovery codes"
msgstr "123456"
@@ -2975,7 +3175,7 @@ msgstr "123456"
msgid "Save your account recovery key"
msgstr "123456"
-#: src/strings.tsx:421
+#: src/strings.tsx:446
msgid "Save your account recovery key in a safe place. You will need it to recover your account in case you forget your password."
msgstr "123456"
@@ -2983,7 +3183,7 @@ msgstr "123456"
msgid "Save your data recovery key in a safe place. You will need it to recover your data in case you forget your password."
msgstr "123456"
-#: src/strings.tsx:428
+#: src/strings.tsx:453
msgid "Save your recovery codes in a safe place. You will need them to recover your account in case you lose access to your two-factor authentication methods."
msgstr "123456"
@@ -3052,7 +3252,7 @@ msgstr "123456"
#~ msgid "Select day of the month to repeat the reminder."
#~ msgstr "123456"
-#: src/strings.tsx:293
+#: src/strings.tsx:316
msgid "Select day of the week to repeat the reminder."
msgstr "123456"
@@ -3064,55 +3264,55 @@ msgstr ""
msgid "Select folder with backup files"
msgstr ""
-#: src/strings.tsx:82
+#: src/strings.tsx:94
msgid "Select how you would like to recieve the code"
msgstr "123456"
-#: src/strings.tsx:81
+#: src/strings.tsx:93
msgid "Select method for two-factor authentication"
msgstr "123456"
-#: src/strings.tsx:394
+#: src/strings.tsx:419
msgid "Select notebooks"
msgstr "123456"
-#: src/strings.tsx:395
+#: src/strings.tsx:420
msgid "Select notebooks you want to add note(s) to."
msgstr "123456"
-#: src/strings.tsx:297
+#: src/strings.tsx:320
msgid "Select nth day of the month to repeat the reminder."
msgstr ""
-#: src/strings.tsx:1672
+#: src/strings.tsx:1730
msgid "Select profile picture"
msgstr ""
-#: src/strings.tsx:318
+#: src/strings.tsx:341
msgid "Select the folder that includes your backup files to list them here."
msgstr "123456"
-#: src/strings.tsx:1500
+#: src/strings.tsx:1558
msgid "selected"
msgstr ""
-#: src/strings.tsx:205
+#: src/strings.tsx:220
msgid "SELECTED NOTE"
msgstr "123456"
-#: src/strings.tsx:236
+#: src/strings.tsx:251
msgid "Self destruct"
msgstr "123456"
-#: src/strings.tsx:99
+#: src/strings.tsx:111
msgid "Send code"
msgstr "123456"
-#: src/strings.tsx:101
+#: src/strings.tsx:113
msgid "Send code via email"
msgstr "123456"
-#: src/strings.tsx:100
+#: src/strings.tsx:112
msgid "Send code via SMS"
msgstr "123456"
@@ -3136,11 +3336,11 @@ msgstr ""
msgid "Server used to sync your notes & other data between devices."
msgstr ""
-#: src/strings.tsx:1476
+#: src/strings.tsx:1534
msgid "Server with host {host} not found."
msgstr ""
-#: src/strings.tsx:67
+#: src/strings.tsx:79
msgid "Session expired"
msgstr "123456"
@@ -3186,7 +3386,7 @@ msgstr ""
msgid "Set the interval to create a partial backup (without attachments) automatically."
msgstr ""
-#: src/strings.tsx:363
+#: src/strings.tsx:386
msgid "Set your name"
msgstr "123456"
@@ -3236,7 +3436,7 @@ msgstr "123456"
msgid "Setup using SMS"
msgstr "123456"
-#: src/strings.tsx:125
+#: src/strings.tsx:137
msgid "Share"
msgstr "123456"
@@ -3244,7 +3444,7 @@ msgstr "123456"
msgid "Share backup"
msgstr "123456"
-#: src/strings.tsx:388
+#: src/strings.tsx:413
msgid "Share note"
msgstr "123456"
@@ -3256,7 +3456,19 @@ msgstr "123456"
msgid "Shortcut created"
msgstr "123456"
-#: src/strings.tsx:66
+#: src/strings.tsx:1992
+msgid "Shortcut removed"
+msgstr ""
+
+#: src/strings.tsx:294
+msgid "shortcuts"
+msgstr ""
+
+#: src/strings.tsx:306
+msgid "Shortcuts"
+msgstr ""
+
+#: src/strings.tsx:78
msgid "Sign up"
msgstr "123456"
@@ -3300,7 +3512,7 @@ msgstr "123456"
msgid "Start writing to create a new note"
msgstr "123456"
-#: src/strings.tsx:170
+#: src/strings.tsx:182
msgid "Start writing to save your note."
msgstr "123456"
@@ -3356,7 +3568,7 @@ msgstr "123456"
msgid "Switch to search/replace mode"
msgstr "123456"
-#: src/strings.tsx:336
+#: src/strings.tsx:359
msgid "Sync failed"
msgstr "123456"
@@ -3380,19 +3592,19 @@ msgstr "123456"
msgid "Sync your notes in the background even when the app is closed. This is an experimental feature. If you face any issues, please turn it off."
msgstr "123456"
-#: src/strings.tsx:337
+#: src/strings.tsx:360
msgid "Synced"
msgstr "123456"
-#: src/strings.tsx:335
+#: src/strings.tsx:358
msgid "Syncing"
msgstr "123456"
-#: src/strings.tsx:1541
+#: src/strings.tsx:1599
msgid "Syncing your {0}"
msgstr ""
-#: src/strings.tsx:226
+#: src/strings.tsx:241
msgid "Syncing your data"
msgstr "123456"
@@ -3404,15 +3616,15 @@ msgstr "123456"
msgid "Tabs"
msgstr "123456"
-#: src/strings.tsx:254
+#: src/strings.tsx:269
msgid "tag"
msgstr "123456"
-#: src/strings.tsx:262
+#: src/strings.tsx:279
msgid "Tag"
msgstr "123456"
-#: src/strings.tsx:270
+#: src/strings.tsx:289
msgid "tags"
msgstr "123456"
@@ -3441,7 +3653,7 @@ msgstr "123456"
msgid "Taking too long? Reload editor"
msgstr "123456"
-#: src/strings.tsx:396
+#: src/strings.tsx:421
msgid "Tap and hold to enable multi-select."
msgstr "123456"
@@ -3465,15 +3677,15 @@ msgstr "123456"
msgid "Tap on \"Take note\" to add a note."
msgstr "123456"
-#: src/strings.tsx:354
+#: src/strings.tsx:377
msgid "Tap to apply again"
msgstr "123456"
-#: src/strings.tsx:43
+#: src/strings.tsx:55
msgid "Tap to cancel"
msgstr "123456"
-#: src/strings.tsx:206
+#: src/strings.tsx:221
msgid "Tap to deselect"
msgstr "123456"
@@ -3485,7 +3697,7 @@ msgstr "123456"
msgid "Tap to try again"
msgstr "123456"
-#: src/strings.tsx:244
+#: src/strings.tsx:259
msgid "Tap twice to confirm you have saved the recovery key."
msgstr "123456"
@@ -3507,7 +3719,7 @@ msgstr "123456"
msgid "Terms of service"
msgstr "123456"
-#: src/strings.tsx:72
+#: src/strings.tsx:84
msgid "Terms of Service"
msgstr "123456"
@@ -3520,26 +3732,30 @@ msgid "Test connection before changing server urls"
msgstr ""
#: src/strings.tsx:1628
-msgid "Thank you for choosing end-to-end encrypted note taking."
+#~ msgid "Thank you for choosing end-to-end encrypted note taking."
+#~ msgstr ""
+
+#: src/strings.tsx:1686
+msgid "Thank you for choosing end-to-end encrypted note taking. Now you can sync your notes to unlimited devices."
msgstr ""
-#: src/strings.tsx:409
+#: src/strings.tsx:434
msgid "Thank you for updating Notesnook! We will be applying some minor changes for a better note taking experience."
msgstr "123456"
-#: src/strings.tsx:1481
+#: src/strings.tsx:1539
msgid "The {title} at {url} is not compatible with this client."
msgstr ""
-#: src/strings.tsx:199
+#: src/strings.tsx:214
msgid "The information above will be publically available at"
msgstr "123456"
-#: src/strings.tsx:292
+#: src/strings.tsx:315
msgid "The reminder will repeat daily at {date}."
msgstr "123456"
-#: src/strings.tsx:295
+#: src/strings.tsx:318
msgid "The reminder will repeat every year on {date}."
msgstr "123456"
@@ -3555,11 +3771,11 @@ msgstr ""
msgid "Themes"
msgstr "123456"
-#: src/strings.tsx:250
+#: src/strings.tsx:265
msgid "There are no blocks in this note."
msgstr ""
-#: src/strings.tsx:143
+#: src/strings.tsx:155
msgid "This device"
msgstr "123456"
@@ -3567,11 +3783,11 @@ msgstr "123456"
msgid "This note is locked. Unlock note to save changes"
msgstr "123456"
-#: src/strings.tsx:248
+#: src/strings.tsx:263
msgid "This note is not linked to any other note."
msgstr "123456"
-#: src/strings.tsx:247
+#: src/strings.tsx:262
msgid "This note is not referenced in other notes."
msgstr "123456"
@@ -3649,15 +3865,15 @@ msgstr "123456"
msgid "Turns off syncing completely on this device. Any changes made will remain local only and new changes from your other devices won't sync to this device."
msgstr "123456"
-#: src/strings.tsx:80
+#: src/strings.tsx:92
msgid "Two factor authentication"
msgstr "123456"
-#: src/strings.tsx:423
+#: src/strings.tsx:448
msgid "Two-factor authentication"
msgstr "123456"
-#: src/strings.tsx:432
+#: src/strings.tsx:457
msgid "Two-factor authentication enabled"
msgstr "123456"
@@ -3693,7 +3909,7 @@ msgstr "123456"
msgid "Unlink notebook"
msgstr "123456"
-#: src/strings.tsx:127
+#: src/strings.tsx:139
msgid "Unlock"
msgstr "123456"
@@ -3718,15 +3934,15 @@ msgstr "123456"
msgid "Unlock with biometrics"
msgstr "123456"
-#: src/strings.tsx:118
+#: src/strings.tsx:130
msgid "Unlock with password once to enable biometric access."
msgstr "123456"
-#: src/strings.tsx:1682
+#: src/strings.tsx:1740
msgid "Unlock with security key"
msgstr ""
-#: src/strings.tsx:25
+#: src/strings.tsx:37
msgid "Unlock your notes"
msgstr "123456"
@@ -3750,7 +3966,11 @@ msgstr "123456"
msgid "Unpublish notes to delete them"
msgstr "123456"
-#: src/strings.tsx:181
+#: src/strings.tsx:1843
+msgid "unpublished"
+msgstr ""
+
+#: src/strings.tsx:193
msgid "Untitled"
msgstr "123456"
@@ -3758,7 +3978,7 @@ msgstr "123456"
msgid "Update"
msgstr "123456"
-#: src/strings.tsx:323
+#: src/strings.tsx:346
msgid "Update available"
msgstr "123456"
@@ -3766,12 +3986,12 @@ msgstr "123456"
msgid "Upgrade to Pro"
msgstr "123456"
-#: src/strings.tsx:438
+#: src/strings.tsx:463
msgid "Upload"
msgstr "123456"
-#: src/strings.tsx:439
-#: src/strings.tsx:1489
+#: src/strings.tsx:464
+#: src/strings.tsx:1547
msgid "Uploaded"
msgstr "123456"
@@ -3779,8 +3999,8 @@ msgstr "123456"
msgid "Uploaded file verification failed."
msgstr ""
-#: src/strings.tsx:36
-#: src/strings.tsx:440
+#: src/strings.tsx:48
+#: src/strings.tsx:465
msgid "Uploading"
msgstr "123456"
@@ -3812,7 +4032,7 @@ msgstr "123456"
msgid "Use system theme"
msgstr "123456"
-#: src/strings.tsx:355
+#: src/strings.tsx:378
msgid ""
"Use the following key to format the title:\n"
"$date$: Current date.\n"
@@ -3847,7 +4067,11 @@ msgstr "123456"
msgid "Vault created"
msgstr "123456"
-#: src/strings.tsx:384
+#: src/strings.tsx:1985
+msgid "Vault deleted"
+msgstr ""
+
+#: src/strings.tsx:409
msgid "Vault Fingerprint Unlock"
msgstr "123456"
@@ -3871,15 +4095,15 @@ msgstr "123456"
msgid "Verify your subscription to Notesnook Pro"
msgstr "123456"
-#: src/strings.tsx:1756
+#: src/strings.tsx:1814
msgid "Verifying 2FA code"
msgstr ""
-#: src/strings.tsx:1742
+#: src/strings.tsx:1800
msgid "Verifying your email"
msgstr ""
-#: src/strings.tsx:352
+#: src/strings.tsx:375
msgid "Version"
msgstr "123456"
@@ -3907,7 +4131,7 @@ msgstr "123456"
msgid "View your recovery codes to recover your account in case you lose access to your two-factor authentication methods."
msgstr "123456"
-#: src/strings.tsx:353
+#: src/strings.tsx:376
msgid "Visit homepage"
msgstr "123456"
@@ -3915,11 +4139,15 @@ msgstr "123456"
msgid "Wait 30 seconds to try again"
msgstr "123456"
-#: src/strings.tsx:1490
+#: src/strings.tsx:1548
msgid "Waiting for upload"
msgstr ""
-#: src/strings.tsx:404
+#: src/strings.tsx:1822
+msgid "We are creating a backup of your data. Please wait..."
+msgstr ""
+
+#: src/strings.tsx:429
msgid "We are sorry, it seems that the app crashed due to an error. You can submit a bug report below so we can fix this asap."
msgstr "123456"
@@ -3943,7 +4171,7 @@ msgstr "123456"
msgid "Wednesday"
msgstr "123456"
-#: src/strings.tsx:311
+#: src/strings.tsx:334
msgid "week"
msgstr "123456"
@@ -3973,11 +4201,11 @@ msgstr "123456"
msgid "Write something..."
msgstr "123456"
-#: src/strings.tsx:1492
+#: src/strings.tsx:1550
msgid "Write with freedom."
msgstr ""
-#: src/strings.tsx:313
+#: src/strings.tsx:336
msgid "year"
msgstr "123456"
@@ -3995,7 +4223,7 @@ msgstr "123456"
msgid "Yes"
msgstr "123456"
-#: src/strings.tsx:76
+#: src/strings.tsx:88
msgid "You also agree to recieve marketing emails from us which you can opt-out of from app settings."
msgstr "123456"
@@ -4019,7 +4247,7 @@ msgstr "123456"
msgid "You can swipe left anywhere in the app to start a new note."
msgstr "123456"
-#: src/strings.tsx:194
+#: src/strings.tsx:209
msgid "You can track your issue at"
msgstr "123456"
@@ -4083,24 +4311,24 @@ msgstr "123456"
msgid "You subscribed to Notesnook Pro on the Web/Desktop App."
msgstr "123456"
-#: src/strings.tsx:400
+#: src/strings.tsx:425
msgid "You will be logged out from all your devices"
msgstr ""
-#: src/strings.tsx:1706
+#: src/strings.tsx:1764
msgid "You will receive instructions on how to recover your account on this email"
msgstr ""
-#: src/strings.tsx:399
+#: src/strings.tsx:424
msgid "Your account email will be changed without affecting your subscription or any other settings."
msgstr "123456"
-#: src/strings.tsx:1769
+#: src/strings.tsx:1827
msgid "Your account has been recovered."
msgstr ""
-#: src/strings.tsx:431
-#: src/strings.tsx:1574
+#: src/strings.tsx:456
+#: src/strings.tsx:1632
msgid "Your account is now 100% secure against unauthorized logins."
msgstr "123456"
@@ -4160,7 +4388,7 @@ msgstr "123456"
msgid "Your reminders"
msgstr "123456"
-#: src/strings.tsx:69
+#: src/strings.tsx:81
msgid "Your session has expired. Please enter password for {obfuscatedEmail} to continue."
msgstr "123456"
@@ -4192,10 +4420,10 @@ msgstr "123456"
msgid "Zipping"
msgstr ""
-#: src/strings.tsx:1538
+#: src/strings.tsx:1596
msgid "Zoom in"
msgstr ""
-#: src/strings.tsx:1537
+#: src/strings.tsx:1595
msgid "Zoom out"
msgstr ""
diff --git a/packages/intl/locale/en.po b/packages/intl/locale/en.po
index 63f8c6c4a..28097d72e 100644
--- a/packages/intl/locale/en.po
+++ b/packages/intl/locale/en.po
@@ -29,11 +29,11 @@ msgstr "\"Backup directory not selected\""
msgid "\"I understand, change my password\""
msgstr "\"I understand, change my password\""
-#: src/strings.tsx:1755
+#: src/strings.tsx:1813
msgid "\"Please wait while your data is downloaded & decrypted.\""
msgstr "\"Please wait while your data is downloaded & decrypted.\""
-#: src/strings.tsx:1585
+#: src/strings.tsx:1643
msgid "\"Refunded"
msgstr "\"Refunded"
@@ -45,11 +45,15 @@ msgstr "\"Refunded"
msgid "\"This version of Notesnook app does not support in-app purchases. Kindly login on the Notesnook web app to make the purchase.\""
msgstr "\"This version of Notesnook app does not support in-app purchases. Kindly login on the Notesnook web app to make the purchase.\""
-#: src/strings.tsx:1745
+#: src/strings.tsx:508
+msgid "\"Your note will be unencrypted and removed from the vault.\""
+msgstr "\"Your note will be unencrypted and removed from the vault.\""
+
+#: src/strings.tsx:1803
msgid "\"Your password is always hashed before leaving this device.\""
msgstr "\"Your password is always hashed before leaving this device.\""
-#: src/strings.tsx:204
+#: src/strings.tsx:219
msgid "(empty block)"
msgstr "(empty block)"
@@ -57,31 +61,56 @@ msgstr "(empty block)"
#~ msgid "(Empty block)"
#~ msgstr "(Empty block)"
-#: src/strings.tsx:443
+#: src/strings.tsx:196
+msgid "{0}"
+msgstr "{0}"
+
+#: src/strings.tsx:468
msgid "{0} downloaded"
msgstr "{0} downloaded"
#: src/strings.tsx:184
-msgid "{0}... Please wait"
-msgstr "{0}... Please wait"
+#~ msgid "{0}... Please wait"
+#~ msgstr "{0}... Please wait"
-#: src/strings.tsx:1595
+#: src/strings.tsx:1876
+#: src/strings.tsx:1887
+msgid "{count, plural, one {{0} {1}} other {# {2} {3}}}"
+msgstr "{count, plural, one {{0} {1}} other {# {2} {3}}}"
+
+#: src/strings.tsx:1898
+msgid "{count, plural, one {{0} could not be {1}} other {# {2} could not be {3}}}"
+msgstr "{count, plural, one {{0} could not be {1}} other {# {2} could not be {3}}}"
+
+#: src/strings.tsx:1908
+msgid "{count, plural, one {{0} deleted} other {# {1} deleted}}"
+msgstr "{count, plural, one {{0} deleted} other {# {1} deleted}}"
+
+#: src/strings.tsx:1917
+msgid "{count, plural, one {{0} unpinned} other {# {1} unpinned}}"
+msgstr "{count, plural, one {{0} unpinned} other {# {1} unpinned}}"
+
+#: src/strings.tsx:1937
+msgid "{count, plural, one {{0}} other {# {1}}}"
+msgstr "{count, plural, one {{0}} other {# {1}}}"
+
+#: src/strings.tsx:1653
msgid "{count, plural, one {# error occured} other {# errors occured}}"
msgstr "{count, plural, one {# error occured} other {# errors occured}}"
-#: src/strings.tsx:1601
+#: src/strings.tsx:1659
msgid "{count, plural, one {# file ready for import} other {# files ready for import}}"
msgstr "{count, plural, one {# file ready for import} other {# files ready for import}}"
-#: src/strings.tsx:1560
+#: src/strings.tsx:1618
msgid "{count, plural, one {# file} other {# files}}"
msgstr "{count, plural, one {# file} other {# files}}"
-#: src/strings.tsx:1552
+#: src/strings.tsx:1610
msgid "{count, plural, one {# item restored} other {# items restored}}"
msgstr "{count, plural, one {# item restored} other {# items restored}}"
-#: src/strings.tsx:28
+#: src/strings.tsx:40
msgid "{count, plural, one {# note} other {# notes} _0 {No notes}}"
msgstr "{count, plural, one {# note} other {# notes} _0 {No notes}}"
@@ -101,7 +130,7 @@ msgstr "{count, plural, one {1 minute} other {# minutes}}"
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
+#: src/strings.tsx:67
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?}}"
@@ -109,11 +138,15 @@ msgstr "{count, plural, one {Are you sure you want to download all attachments o
msgid "{count, plural, one {Are you sure you want to move this notebook to {selectedNotebookTitle}?} other {Are you sure you want to move these # notebooks {selectedNotebookTitle}?}}"
msgstr "{count, plural, one {Are you sure you want to move this notebook to {selectedNotebookTitle}?} other {Are you sure you want to move these # notebooks {selectedNotebookTitle}?}}"
-#: src/strings.tsx:105
+#: src/strings.tsx:1852
+msgid "{count, plural, one {Are you sure you want to permanently delete this {0}? This action is IRREVERSIBLE.} other {Are you sure you want to permanently delete these {1}? This action is IRREVERSIBLE.}}"
+msgstr "{count, plural, one {Are you sure you want to permanently delete this {0}? This action is IRREVERSIBLE.} other {Are you sure you want to permanently delete these {1}? This action is IRREVERSIBLE.}}"
+
+#: src/strings.tsx:117
msgid "{count, plural, one {Attach image} other {Attach # images}}"
msgstr "{count, plural, one {Attach image} other {Attach # images}}"
-#: src/strings.tsx:50
+#: src/strings.tsx:62
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}}}"
@@ -125,6 +158,10 @@ msgstr "{count, plural, one {Delete {0}} other {Delete {1}}}"
msgid "{count, plural, one {Delete tag} other {Delete # tags}}"
msgstr "{count, plural, one {Delete tag} other {Delete # tags}}"
+#: src/strings.tsx:1927
+msgid "{count, plural, one {Deleting {0}} other {Deleting {1}}}"
+msgstr "{count, plural, one {Deleting {0}} other {Deleting {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}}}"
@@ -133,7 +170,7 @@ msgstr "{count, plural, one {Delete tag} other {Delete # tags}}"
#~ msgid "{count, plural, one {Failed to download attachment {test}} other {Failed to download # attachments {test}}}"
#~ msgstr "{count, plural, one {Failed to download attachment {test}} other {Failed to download # attachments {test}}}"
-#: src/strings.tsx:45
+#: src/strings.tsx:57
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}}"
@@ -141,23 +178,27 @@ msgstr "{count, plural, one {Failed to download attachment} other {Failed to dow
msgid "{count, plural, one {Move notebook} other {Move # notebooks}}"
msgstr "{count, plural, one {Move notebook} other {Move # notebooks}}"
-#: src/strings.tsx:411
+#: src/strings.tsx:436
msgid "{count, plural, one {Moving {title}} other {Moving # notebooks}}"
msgstr "{count, plural, one {Moving {title}} other {Moving # notebooks}}"
-#: src/strings.tsx:186
+#: src/strings.tsx:201
msgid "{count, plural, one {Note exported} other {# notes exported}}"
msgstr "{count, plural, one {Note exported} other {# notes exported}}"
+#: src/strings.tsx:1973
+msgid "{count, plural, one {removed from 1 notebook} other {removed from # notebooks}}"
+msgstr "{count, plural, one {removed from 1 notebook} other {removed from # notebooks}}"
+
#: src/strings.tsx:59
#~ msgid "{count, plural, one {Successfully downloaded 1 attachment at {path}} other {Successfully downloaded #/{total} attachments as a zip file at {path}}}"
#~ msgstr "{count, plural, one {Successfully downloaded 1 attachment at {path}} other {Successfully downloaded #/{total} attachments as a zip file at {path}}}"
-#: src/strings.tsx:300
+#: src/strings.tsx:323
msgid "{freq, plural, one {Repeats every {0} on {selectedDays} at {date}} other {Repeats every {freq} {1} every {selectedDays} at {date}}}"
msgstr "{freq, plural, one {Repeats every {0} on {selectedDays} at {date}} other {Repeats every {freq} {1} every {selectedDays} at {date}}}"
-#: src/strings.tsx:161
+#: src/strings.tsx:173
msgid "{key, select, dateCreated {Created at} dateEdited {Last edited at} dateModifed {Last modified at} dateUploaded {Uploaded at} dateDeleted {Deleted at} other {{key}}}"
msgstr "{key, select, dateCreated {Created at} dateEdited {Last edited at} dateModifed {Last modified at} dateUploaded {Uploaded at} dateDeleted {Deleted at} other {{key}}}"
@@ -169,7 +210,7 @@ msgstr "{key, select, dateCreated {Created at} dateEdited {Last edited at} dateM
#~ msgid "{mode, select, create {{0}} other {}}"
#~ msgstr "{mode, select, create {{0}} other {}}"
-#: src/strings.tsx:376
+#: src/strings.tsx:399
msgid "{mode, select, create {Create app lock {keyboardType}} change {Change app lock {keyboardType}} remove {Remove app lock {keyboardType}} other {}}"
msgstr "{mode, select, create {Create app lock {keyboardType}} change {Change app lock {keyboardType}} remove {Remove app lock {keyboardType}} other {}}"
@@ -185,11 +226,11 @@ msgstr "{platform, select, android {{name} saved to selected path} other {{name}
msgid "{platform, select, android {Backup file saved in \"Notesnook backups\" folder on your phone.} other {Backup file is saved in File Manager/Notesnook folder}}"
msgstr "{platform, select, android {Backup file saved in \"Notesnook backups\" folder on your phone.} other {Backup file is saved in File Manager/Notesnook folder}}"
-#: src/strings.tsx:325
+#: src/strings.tsx:348
msgid "{type, select, github {v{version} has been released on GitHub} store {v{version} has been released} other {v{version} has been released}}"
msgstr "{type, select, github {v{version} has been released on GitHub} store {v{version} has been released} other {v{version} has been released}}"
-#: src/strings.tsx:175
+#: src/strings.tsx:187
msgid "{type, select, other {This list is empty} notebook {No notebooks} tag {No tags} note {No notes}}"
msgstr "{type, select, other {This list is empty} notebook {No notebooks} tag {No tags} note {No notes}}"
@@ -201,7 +242,7 @@ msgstr "{type, select, other {This list is empty} notebook {No notebooks} tag {N
#~ msgid "{type, select, other {This list is empty} notebook {No notebooks}}"
#~ msgstr "{type, select, other {This list is empty} notebook {No notebooks}}"
-#: src/strings.tsx:38
+#: src/strings.tsx:50
msgid "{type, select, upload {Uploading} download {Downloading} other {Loading}}"
msgstr "{type, select, upload {Uploading} download {Downloading} other {Loading}}"
@@ -249,7 +290,7 @@ msgstr "Add"
msgid "Add 2FA fallback method"
msgstr "Add 2FA fallback method"
-#: src/strings.tsx:286
+#: src/strings.tsx:309
msgid "Add a {0}"
msgstr "Add a {0}"
@@ -269,7 +310,7 @@ msgstr "Add color"
msgid "Add notebook"
msgstr "Add notebook"
-#: src/strings.tsx:415
+#: src/strings.tsx:440
msgid "Add notes to {title}"
msgstr "Add notes to {title}"
@@ -302,7 +343,7 @@ msgstr "Add your first notebook"
msgid "All"
msgstr "All"
-#: src/strings.tsx:61
+#: src/strings.tsx:73
msgid "All attachments are end-to-end encrypted."
msgstr "All attachments are end-to-end encrypted."
@@ -318,11 +359,11 @@ msgstr "All logs are local only and are not sent to any server. You can share th
msgid "All server urls are required."
msgstr "All server urls are required."
-#: src/strings.tsx:1759
+#: src/strings.tsx:1817
msgid "All the data in your account will be overwritten with the data in the backup file. There is no way to reverse this action."
msgstr "All the data in your account will be overwritten with the data in the backup file. There is no way to reverse this action."
-#: src/strings.tsx:366
+#: src/strings.tsx:389
msgid "All tools are grouped"
msgstr "All tools are grouped"
@@ -342,27 +383,27 @@ msgstr "All your backups are stored in 'Phone Storage/Notesnook/backups/' folder
msgid "All your data will be removed permanently. Make sure you have saved backup of your notes. This action is IRREVERSIBLE."
msgstr "All your data will be removed permanently. Make sure you have saved backup of your notes. This action is IRREVERSIBLE."
-#: src/strings.tsx:78
+#: src/strings.tsx:90
msgid "Already have an account?"
msgstr "Already have an account?"
-#: src/strings.tsx:218
+#: src/strings.tsx:233
msgid "An error occurred while migrating your data. You can logout of your account and try to relogin. However this is not recommended as it may result in some data loss if your data was not synced."
msgstr "An error occurred while migrating your data. You can logout of your account and try to relogin. However this is not recommended as it may result in some data loss if your data was not synced."
-#: src/strings.tsx:73
+#: src/strings.tsx:85
msgid "and"
msgstr "and"
-#: src/strings.tsx:1633
+#: src/strings.tsx:1691
msgid "and get a chance to win free promo codes."
msgstr "and get a chance to win free promo codes."
-#: src/strings.tsx:1237
+#: src/strings.tsx:1291
msgid "and we will manually confirm your account."
msgstr "and we will manually confirm your account."
-#: src/strings.tsx:220
+#: src/strings.tsx:235
msgid "App data has been cleared. Kindly relaunch the app to login again."
msgstr "App data has been cleared. Kindly relaunch the app to login again."
@@ -399,7 +440,7 @@ msgstr "Applied as dark theme"
msgid "Applied as light theme"
msgstr "Applied as light theme"
-#: src/strings.tsx:392
+#: src/strings.tsx:417
msgid "Apply changes"
msgstr "Apply changes"
@@ -447,19 +488,31 @@ msgstr "Are you sure you want to remove your name?"
msgid "Are you sure you want to remove your profile picture?"
msgstr "Are you sure you want to remove your profile picture?"
-#: src/strings.tsx:369
+#: src/strings.tsx:1219
+msgid "Are you sure?"
+msgstr "Are you sure?"
+
+#: src/strings.tsx:2025
+msgid "Assign color"
+msgstr "Assign color"
+
+#: src/strings.tsx:873
+msgid "Assign to"
+msgstr "Assign to"
+
+#: src/strings.tsx:392
msgid "Atleast 8 characters required"
msgstr "Atleast 8 characters required"
-#: src/strings.tsx:257
+#: src/strings.tsx:272
msgid "attachment"
msgstr "attachment"
-#: src/strings.tsx:265
+#: src/strings.tsx:282
msgid "Attachment"
msgstr "Attachment"
-#: src/strings.tsx:273
+#: src/strings.tsx:292
msgid "attachments"
msgstr "attachments"
@@ -560,7 +613,7 @@ msgstr "Backup restored"
msgid "Backup successful"
msgstr "Backup successful"
-#: src/strings.tsx:422
+#: src/strings.tsx:447
msgid "Backups"
msgstr "Backups"
@@ -576,7 +629,7 @@ msgstr "Behavior"
#~ msgid "Beta"
#~ msgstr "Beta"
-#: src/strings.tsx:331
+#: src/strings.tsx:354
msgid "BETA"
msgstr "BETA"
@@ -600,15 +653,15 @@ msgstr "Biometrics authentication failed"
msgid "Biometrics not enrolled"
msgstr "Biometrics not enrolled"
-#: src/strings.tsx:1665
+#: src/strings.tsx:1723
msgid "Browse"
msgstr "Browse"
-#: src/strings.tsx:348
+#: src/strings.tsx:371
msgid "By"
msgstr "By"
-#: src/strings.tsx:71
+#: src/strings.tsx:83
msgid "By signing up, you agree to our"
msgstr "By signing up, you agree to our"
@@ -616,11 +669,19 @@ msgstr "By signing up, you agree to our"
msgid "Cancel"
msgstr "Cancel"
-#: src/strings.tsx:1681
+#: src/strings.tsx:469
+msgid "Cancel download"
+msgstr "Cancel download"
+
+#: src/strings.tsx:1739
msgid "Cancel subscription"
msgstr "Cancel subscription"
-#: src/strings.tsx:123
+#: src/strings.tsx:470
+msgid "Cancel upload"
+msgstr "Cancel upload"
+
+#: src/strings.tsx:135
msgid "Change"
msgstr "Change"
@@ -644,7 +705,7 @@ msgstr "Change app lock pin"
msgid "Change backup directory"
msgstr "Change backup directory"
-#: src/strings.tsx:397
+#: src/strings.tsx:422
msgid "Change email address"
msgstr "Change email address"
@@ -656,7 +717,7 @@ msgstr "Change how the app behaves in different situations"
msgid "Change notification sound"
msgstr "Change notification sound"
-#: src/strings.tsx:370
+#: src/strings.tsx:393
msgid "Change password"
msgstr "Change password"
@@ -664,7 +725,7 @@ msgstr "Change password"
msgid "Change the sound that plays when you receive a notification"
msgstr "Change the sound that plays when you receive a notification"
-#: src/strings.tsx:386
+#: src/strings.tsx:411
msgid "Change Vault Password"
msgstr "Change Vault Password"
@@ -696,7 +757,7 @@ msgstr "Check for new version of Notesnook"
msgid "Check for updates"
msgstr "Check for updates"
-#: src/strings.tsx:321
+#: src/strings.tsx:344
msgid "Checking for new version"
msgstr "Checking for new version"
@@ -716,7 +777,7 @@ msgstr "Choose how the new note titles are formatted"
msgid "Choose how time is displayed in the app"
msgstr "Choose how time is displayed in the app"
-#: src/strings.tsx:345
+#: src/strings.tsx:368
msgid "Choose how you want to secure your notes locally."
msgstr "Choose how you want to secure your notes locally."
@@ -757,16 +818,32 @@ msgstr "Clear your vault and remove all notes from it"
msgid "Close"
msgstr "Close"
-#: src/strings.tsx:367
+#: src/strings.tsx:2011
+msgid "Close all"
+msgstr "Close all"
+
+#: src/strings.tsx:2008
+msgid "Close others"
+msgstr "Close others"
+
+#: src/strings.tsx:2010
+msgid "Close to the left"
+msgstr "Close to the left"
+
+#: src/strings.tsx:2009
+msgid "Close to the right"
+msgstr "Close to the right"
+
+#: src/strings.tsx:390
msgid "COLLAPSED"
msgstr "COLLAPSED"
-#: src/strings.tsx:256
+#: src/strings.tsx:271
msgid "color"
msgstr "color"
-#: src/strings.tsx:264
-#: src/strings.tsx:1699
+#: src/strings.tsx:281
+#: src/strings.tsx:1757
msgid "Color"
msgstr "Color"
@@ -778,11 +855,11 @@ msgstr "Color #{color} already exists"
msgid "Color title"
msgstr "Color title"
-#: src/strings.tsx:272
+#: src/strings.tsx:291
msgid "colors"
msgstr "colors"
-#: src/strings.tsx:280
+#: src/strings.tsx:301
msgid "Colors"
msgstr "Colors"
@@ -790,15 +867,15 @@ msgstr "Colors"
msgid "Community"
msgstr "Community"
-#: src/strings.tsx:1584
+#: src/strings.tsx:1642
msgid "Completed"
msgstr "Completed"
-#: src/strings.tsx:109
+#: src/strings.tsx:121
msgid "Compress"
msgstr "Compress"
-#: src/strings.tsx:114
+#: src/strings.tsx:126
msgid "Compressed images are uploaded in Full HD resolution and usually are good enough for most use cases."
msgstr "Compressed images are uploaded in Full HD resolution and usually are good enough for most use cases."
@@ -854,7 +931,11 @@ msgstr "Copy codes"
msgid "Copy link"
msgstr "Copy link"
-#: src/strings.tsx:389
+#: src/strings.tsx:816
+#~ msgid "Copy link"
+#~ msgstr "Copy link"
+
+#: src/strings.tsx:414
msgid "Copy note"
msgstr "Copy note"
@@ -874,7 +955,31 @@ msgstr "CORS bypass"
msgid "Could not connect to"
msgstr "Could not connect to"
-#: src/strings.tsx:128
+#: src/strings.tsx:1996
+msgid "Could not clear trash"
+msgstr "Could not clear trash"
+
+#: src/strings.tsx:1477
+#~ msgid "Could not connect to"
+#~ msgstr "Could not connect to"
+
+#: src/strings.tsx:1535
+msgid "Could not connect to {server}"
+msgstr "Could not connect to {server}"
+
+#: src/strings.tsx:1962
+msgid "Could not convert note to {format}"
+msgstr "Could not convert note to {format}"
+
+#: src/strings.tsx:690
+msgid "Could not create backup"
+msgstr "Could not create backup"
+
+#: src/strings.tsx:506
+msgid "Could not unlock"
+msgstr "Could not unlock"
+
+#: src/strings.tsx:140
msgid "Create"
msgstr "Create"
@@ -918,7 +1023,7 @@ msgstr "Create unlimited tags with Notesnook Pro"
msgid "Create unlimited vaults with Notesnook Pro"
msgstr "Create unlimited vaults with Notesnook Pro"
-#: src/strings.tsx:383
+#: src/strings.tsx:406
msgid "Create Vault"
msgstr "Create Vault"
@@ -996,7 +1101,11 @@ msgstr "Date format"
msgid "Date modified"
msgstr "Date modified"
-#: src/strings.tsx:310
+#: src/strings.tsx:2034
+msgid "Date uploaded"
+msgstr "Date uploaded"
+
+#: src/strings.tsx:333
msgid "day"
msgstr "day"
@@ -1052,8 +1161,9 @@ msgstr "Default snooze time"
msgid "Default sound"
msgstr "Default sound"
-#: src/strings.tsx:119
-#: src/strings.tsx:124
+#: src/strings.tsx:131
+#: src/strings.tsx:136
+#: src/strings.tsx:1861
msgid "Delete"
msgstr "Delete"
@@ -1077,7 +1187,7 @@ msgstr "Delete collapsed section"
msgid "Delete group"
msgstr "Delete group"
-#: src/strings.tsx:387
+#: src/strings.tsx:412
msgid "Delete note"
msgstr "Delete note"
@@ -1089,7 +1199,11 @@ msgstr "Delete permanently"
msgid "Delete vault (and optionally remove all notes)."
msgstr "Delete vault (and optionally remove all notes)."
-#: src/strings.tsx:134
+#: src/strings.tsx:1840
+msgid "deleted"
+msgstr "deleted"
+
+#: src/strings.tsx:146
msgid "Deleted on {date}"
msgstr "Deleted on {date}"
@@ -1113,7 +1227,7 @@ msgstr "Disable realtime sync"
msgid "Disable sync"
msgstr "Disable sync"
-#: src/strings.tsx:135
+#: src/strings.tsx:147
msgid "Disabled"
msgstr "Disabled"
@@ -1125,15 +1239,15 @@ msgstr "Discard"
msgid "Dismiss"
msgstr "Dismiss"
-#: src/strings.tsx:1488
+#: src/strings.tsx:1546
msgid "Dismiss announcement"
msgstr "Dismiss announcement"
-#: src/strings.tsx:1587
+#: src/strings.tsx:1645
msgid "Disputed"
msgstr "Disputed"
-#: src/strings.tsx:240
+#: src/strings.tsx:255
msgid "Do you enjoy using Notesnook?"
msgstr "Do you enjoy using Notesnook?"
@@ -1145,27 +1259,27 @@ msgstr "Documentation"
msgid "Documents"
msgstr "Documents"
-#: src/strings.tsx:65
+#: src/strings.tsx:77
msgid "Don't have an account?"
msgstr "Don't have an account?"
-#: src/strings.tsx:1687
+#: src/strings.tsx:1745
msgid "Don't have backup file?"
msgstr "Don't have backup file?"
-#: src/strings.tsx:1686
+#: src/strings.tsx:1744
msgid "Don't have your account recovery key?"
msgstr "Don't have your account recovery key?"
-#: src/strings.tsx:1666
+#: src/strings.tsx:1724
msgid "Don't show again"
msgstr "Don't show again"
-#: src/strings.tsx:1667
+#: src/strings.tsx:1725
msgid "Don't show again on this device?"
msgstr "Don't show again on this device?"
-#: src/strings.tsx:23
+#: src/strings.tsx:35
msgid "Done"
msgstr "Done"
@@ -1173,7 +1287,7 @@ msgstr "Done"
msgid "Double spaced lines"
msgstr "Double spaced lines"
-#: src/strings.tsx:437
+#: src/strings.tsx:462
msgid "Download"
msgstr "Download"
@@ -1189,7 +1303,7 @@ msgstr "Download on desktop"
msgid "Download started... Please wait"
msgstr "Download started... Please wait"
-#: src/strings.tsx:442
+#: src/strings.tsx:467
msgid "Download successful"
msgstr "Download successful"
@@ -1197,16 +1311,16 @@ msgstr "Download successful"
msgid "Download update"
msgstr "Download update"
-#: src/strings.tsx:436
+#: src/strings.tsx:461
msgid "Downloaded"
msgstr "Downloaded"
-#: src/strings.tsx:35
-#: src/strings.tsx:435
+#: src/strings.tsx:47
+#: src/strings.tsx:460
msgid "Downloading"
msgstr "Downloading"
-#: src/strings.tsx:228
+#: src/strings.tsx:243
msgid "Downloading attachments"
msgstr "Downloading attachments"
@@ -1263,7 +1377,7 @@ msgstr "Email support"
msgid "Email updated to {email}"
msgstr "Email updated to {email}"
-#: src/strings.tsx:121
+#: src/strings.tsx:133
msgid "Enable"
msgstr "Enable"
@@ -1271,7 +1385,11 @@ msgstr "Enable"
msgid "Enable app lock"
msgstr "Enable app lock"
-#: src/strings.tsx:425
+#: src/strings.tsx:2004
+msgid "Enable editor margins"
+msgstr "Enable editor margins"
+
+#: src/strings.tsx:450
msgid "Enable two-factor authentication to add an extra layer of security to your account."
msgstr "Enable two-factor authentication to add an extra layer of security to your account."
@@ -1279,7 +1397,7 @@ msgstr "Enable two-factor authentication to add an extra layer of security to yo
msgid "Encrypt your backups for added security"
msgstr "Encrypt your backups for added security"
-#: src/strings.tsx:171
+#: src/strings.tsx:183
msgid "Encrypted and synced"
msgstr "Encrypted and synced"
@@ -1291,7 +1409,7 @@ msgstr "Encrypting attachment"
msgid "End to end encrypted."
msgstr "End to end encrypted."
-#: src/strings.tsx:342
+#: src/strings.tsx:365
msgid "Enter 6 digit code"
msgstr "Enter 6 digit code"
@@ -1307,7 +1425,7 @@ msgstr "Enter app lock password"
msgid "Enter app lock pin"
msgstr "Enter app lock pin"
-#: src/strings.tsx:102
+#: src/strings.tsx:114
msgid "Enter code from authenticator app"
msgstr "Enter code from authenticator app"
@@ -1331,19 +1449,19 @@ msgstr "Enter notebook title"
msgid "Enter password"
msgstr "Enter password"
-#: src/strings.tsx:89
+#: src/strings.tsx:101
msgid "Enter the 6 digit code from your authenticator app to continue logging in"
msgstr "Enter the 6 digit code from your authenticator app to continue logging in"
-#: src/strings.tsx:85
+#: src/strings.tsx:97
msgid "Enter the 6 digit code sent to your email to continue logging in"
msgstr "Enter the 6 digit code sent to your email to continue logging in"
-#: src/strings.tsx:87
+#: src/strings.tsx:99
msgid "Enter the 6 digit code sent to your phone number to continue logging in"
msgstr "Enter the 6 digit code sent to your phone number to continue logging in"
-#: src/strings.tsx:90
+#: src/strings.tsx:102
msgid "Enter the recovery code to continue logging in"
msgstr "Enter the recovery code to continue logging in"
@@ -1367,7 +1485,7 @@ msgstr "Error downloading file: {message}"
msgid "Error getting codes"
msgstr "Error getting codes"
-#: src/strings.tsx:351
+#: src/strings.tsx:374
msgid "Error loading themes"
msgstr "Error loading themes"
@@ -1387,7 +1505,11 @@ msgstr "Errors"
msgid "Events server"
msgstr "Events server"
-#: src/strings.tsx:401
+#: src/strings.tsx:2005
+msgid "Exit fullscreen"
+msgstr "Exit fullscreen"
+
+#: src/strings.tsx:426
msgid "Export"
msgstr "Export"
@@ -1459,7 +1581,7 @@ msgstr "Failed to unpublish note"
msgid "Failed to zip files"
msgstr "Failed to zip files"
-#: src/strings.tsx:429
+#: src/strings.tsx:454
msgid "Fallback method for 2FA enabled"
msgstr "Fallback method for 2FA enabled"
@@ -1560,15 +1682,15 @@ msgstr "Get Pro"
msgid "Get started"
msgstr "Get started"
-#: src/strings.tsx:1738
+#: src/strings.tsx:1796
msgid "Getting encryption key..."
msgstr "Getting encryption key..."
-#: src/strings.tsx:341
+#: src/strings.tsx:364
msgid "Getting information"
msgstr "Getting information"
-#: src/strings.tsx:343
+#: src/strings.tsx:366
msgid "Getting recovery codes"
msgstr "Getting recovery codes"
@@ -1580,7 +1702,7 @@ msgstr "Go to web app"
msgid "Got it"
msgstr "Got it"
-#: src/strings.tsx:365
+#: src/strings.tsx:388
msgid "GROUP"
msgstr "GROUP"
@@ -1596,7 +1718,7 @@ msgstr "Hash copied"
msgid "Help and support"
msgstr "Help and support"
-#: src/strings.tsx:131
+#: src/strings.tsx:143
msgid "Help improve Notesnook by sending completely anonymized"
msgstr "Help improve Notesnook by sending completely anonymized"
@@ -1628,43 +1750,43 @@ msgstr "Homepage changed to {name}"
msgid "hr"
msgstr "hr"
-#: src/strings.tsx:95
+#: src/strings.tsx:107
msgid "I don't have access to authenticator app"
msgstr "I don't have access to authenticator app"
-#: src/strings.tsx:93
+#: src/strings.tsx:105
msgid "I don't have access to email"
msgstr "I don't have access to email"
-#: src/strings.tsx:94
+#: src/strings.tsx:106
msgid "I don't have access to my phone"
msgstr "I don't have access to my phone"
-#: src/strings.tsx:96
+#: src/strings.tsx:108
msgid "I don't have recovery codes"
msgstr "I don't have recovery codes"
-#: src/strings.tsx:103
+#: src/strings.tsx:115
msgid "I have a recovery code"
msgstr "I have a recovery code"
-#: src/strings.tsx:1739
+#: src/strings.tsx:1797
msgid "I have saved my key"
msgstr "I have saved my key"
-#: src/strings.tsx:340
+#: src/strings.tsx:363
msgid "If the editor fails to load even after reloading. Try restarting the app."
msgstr "If the editor fails to load even after reloading. Try restarting the app."
-#: src/strings.tsx:222
+#: src/strings.tsx:237
msgid "If this continues to happen, please reach out to us via"
msgstr "If this continues to happen, please reach out to us via"
-#: src/strings.tsx:1570
+#: src/strings.tsx:1628
msgid "If you can't scan the QR code above, enter this text instead (spaces don't matter)"
msgstr "If you can't scan the QR code above, enter this text instead (spaces don't matter)"
-#: src/strings.tsx:1234
+#: src/strings.tsx:1288
msgid ""
"If you didn't get an email from us or the confirmation link isn't\n"
"working,"
@@ -1672,7 +1794,7 @@ msgstr ""
"If you didn't get an email from us or the confirmation link isn't\n"
"working,"
-#: src/strings.tsx:201
+#: src/strings.tsx:216
msgid "If you want to ask something in general or need some assistance, we would suggest that you"
msgstr "If you want to ask something in general or need some assistance, we would suggest that you"
@@ -1680,7 +1802,7 @@ msgstr "If you want to ask something in general or need some assistance, we woul
msgid "Images"
msgstr "Images"
-#: src/strings.tsx:112
+#: src/strings.tsx:124
msgid "Images uploaded without compression are slow to load and take more bandwidth. We recommend compressing images unless you need image in original quality."
msgstr "Images uploaded without compression are slow to load and take more bandwidth. We recommend compressing images unless you need image in original quality."
@@ -1688,15 +1810,15 @@ msgstr "Images uploaded without compression are slow to load and take more bandw
msgid "Immediately"
msgstr "Immediately"
-#: src/strings.tsx:1593
+#: src/strings.tsx:1651
msgid "Import completed"
msgstr "Import completed"
-#: src/strings.tsx:1608
+#: src/strings.tsx:1666
msgid "import guide"
msgstr "import guide"
-#: src/strings.tsx:144
+#: src/strings.tsx:156
msgid "Incoming"
msgstr "Incoming"
@@ -1712,7 +1834,7 @@ msgstr "Invalid {type}"
msgid "Invalid email"
msgstr "Invalid email"
-#: src/strings.tsx:192
+#: src/strings.tsx:207
msgid "Issue created"
msgstr "Issue created"
@@ -1728,15 +1850,28 @@ msgstr "It seems that your changes could not be saved. What to do next:"
#~ "It took us a year to bring Notesnook to life. Share your experience\n"
#~ "and suggestions to help us improve it."
-#: src/strings.tsx:242
+#: src/strings.tsx:257
msgid "It took us a year to bring Notesnook to life. Share your experience and suggestions to help us improve it."
msgstr "It took us a year to bring Notesnook to life. Share your experience and suggestions to help us improve it."
-#: src/strings.tsx:1545
+#: src/strings.tsx:273
+msgid "item"
+msgstr "item"
+
+#: src/strings.tsx:283
+msgid "Item"
+msgstr "Item"
+
+#: src/strings.tsx:293
+#: src/strings.tsx:1603
msgid "items"
msgstr "items"
-#: src/strings.tsx:202
+#: src/strings.tsx:305
+msgid "Items"
+msgstr "Items"
+
+#: src/strings.tsx:217
msgid "join our community on Discord."
msgstr "join our community on Discord."
@@ -1772,7 +1907,7 @@ msgstr "Later"
msgid "Latest first"
msgstr "Latest first"
-#: src/strings.tsx:149
+#: src/strings.tsx:161
msgid "Learn how this works."
msgstr "Learn how this works."
@@ -1784,7 +1919,7 @@ msgstr "Learn more"
msgid "Learn more about Monographs"
msgstr "Learn more about Monographs"
-#: src/strings.tsx:239
+#: src/strings.tsx:254
msgid "Learn more about Notesnook Monograph"
msgstr "Learn more about Notesnook Monograph"
@@ -1792,7 +1927,7 @@ msgstr "Learn more about Notesnook Monograph"
msgid "legal"
msgstr "legal"
-#: src/strings.tsx:406
+#: src/strings.tsx:431
msgid "Let us know if you have faced any issue/bug while using Notesnook. We will try to fix it as soon as possible."
msgstr "Let us know if you have faced any issue/bug while using Notesnook. We will try to fix it as soon as possible."
@@ -1812,7 +1947,7 @@ msgstr "Link copied"
msgid "Link notebooks"
msgstr "Link notebooks"
-#: src/strings.tsx:208
+#: src/strings.tsx:223
msgid "LINK TO A SECTION"
msgstr "LINK TO A SECTION"
@@ -1824,11 +1959,11 @@ msgstr "Link to notebook"
msgid "Linked notes"
msgstr "Linked notes"
-#: src/strings.tsx:1438
+#: src/strings.tsx:1495
msgid "Linking to a specific block is not available for locked notes."
msgstr "Linking to a specific block is not available for locked notes."
-#: src/strings.tsx:433
+#: src/strings.tsx:458
msgid "List of"
msgstr "List of"
@@ -1836,11 +1971,11 @@ msgstr "List of"
msgid "Load from file"
msgstr "Load from file"
-#: src/strings.tsx:1533
+#: src/strings.tsx:1591
msgid "Loading"
msgstr "Loading"
-#: src/strings.tsx:116
+#: src/strings.tsx:128
msgid "Loading {0}, please wait..."
msgstr "Loading {0}, please wait..."
@@ -1876,11 +2011,11 @@ msgstr "Loading your reminders"
msgid "Loading your tags"
msgstr "Loading your tags"
-#: src/strings.tsx:129
+#: src/strings.tsx:141
msgid "Lock"
msgstr "Lock"
-#: src/strings.tsx:391
+#: src/strings.tsx:416
msgid "Lock note"
msgstr "Lock note"
@@ -1896,7 +2031,7 @@ msgstr "Locked notes cannot be pinned"
msgid "Locked notes cannot be published"
msgstr "Locked notes cannot be published"
-#: src/strings.tsx:346
+#: src/strings.tsx:369
msgid "Logging out"
msgstr "Logging out"
@@ -1904,7 +2039,7 @@ msgstr "Logging out"
msgid "Logging out will clear all data stored on THIS DEVICE. Make sure you have synced all your changes before logging out."
msgstr "Logging out will clear all data stored on THIS DEVICE. Make sure you have synced all your changes before logging out."
-#: src/strings.tsx:79
+#: src/strings.tsx:91
msgid "Login"
msgstr "Login"
@@ -1992,11 +2127,19 @@ msgstr "Markdown shortcuts"
msgid "Marketing emails"
msgstr "Marketing emails"
+#: src/strings.tsx:2032
+msgid "Maximize"
+msgstr "Maximize"
+
#: src/strings.tsx:1621
-msgid "Member since"
-msgstr "Member since"
+#~ msgid "Member since"
+#~ msgstr "Member since"
-#: src/strings.tsx:214
+#: src/strings.tsx:1679
+msgid "Member since {date}"
+msgstr "Member since {date}"
+
+#: src/strings.tsx:229
msgid "Migrating {0} {1}... please wait"
msgstr "Migrating {0} {1}... please wait"
@@ -2038,8 +2181,8 @@ msgstr "Monographs can be encrypted with a secret key and shared with anyone."
msgid "Monographs enable you to share your notes in a secure and private way."
msgstr "Monographs enable you to share your notes in a secure and private way."
-#: src/strings.tsx:312
-#: src/strings.tsx:1695
+#: src/strings.tsx:335
+#: src/strings.tsx:1753
msgid "month"
msgstr "month"
@@ -2085,11 +2228,11 @@ msgstr "Multi-layer encryption to most important notes"
msgid "Name"
msgstr "Name"
-#: src/strings.tsx:1526
+#: src/strings.tsx:1584
msgid "Native high-performance encryption"
msgstr "Native high-performance encryption"
-#: src/strings.tsx:334
+#: src/strings.tsx:357
msgid "Never"
msgstr "Never"
@@ -2113,7 +2256,7 @@ msgstr "New - old"
msgid "New lines will be double spaced (old ones won't be affected)."
msgstr "New lines will be double spaced (old ones won't be affected)."
-#: src/strings.tsx:182
+#: src/strings.tsx:194
msgid "New note"
msgstr "New note"
@@ -2161,15 +2304,15 @@ msgstr "No"
msgid "No application found to open {fileToOpen}"
msgstr "No application found to open {fileToOpen}"
-#: src/strings.tsx:60
+#: src/strings.tsx:72
msgid "No attachments."
msgstr "No attachments."
-#: src/strings.tsx:319
+#: src/strings.tsx:342
msgid "No backups found"
msgstr "No backups found"
-#: src/strings.tsx:245
+#: src/strings.tsx:260
msgid "No blocks linked"
msgstr "No blocks linked"
@@ -2181,27 +2324,35 @@ msgstr "No color selected"
msgid "No directory selected"
msgstr "No directory selected"
-#: src/strings.tsx:59
+#: src/strings.tsx:71
msgid "No downloads in progress."
msgstr "No downloads in progress."
-#: src/strings.tsx:1503
+#: src/strings.tsx:1977
+msgid "No encryption key found"
+msgstr "No encryption key found"
+
+#: src/strings.tsx:1561
msgid "No headings found"
msgstr "No headings found"
-#: src/strings.tsx:249
+#: src/strings.tsx:544
+msgid "No linked notes"
+msgstr "No linked notes"
+
+#: src/strings.tsx:264
msgid "No links found"
msgstr "No links found"
-#: src/strings.tsx:146
+#: src/strings.tsx:158
msgid "No note history available for this device."
msgstr "No note history available for this device."
-#: src/strings.tsx:173
+#: src/strings.tsx:185
msgid "No one can view this {type} except you."
msgstr "No one can view this {type} except you."
-#: src/strings.tsx:246
+#: src/strings.tsx:261
msgid "No references found of this note"
msgstr "No references found of this note"
@@ -2209,15 +2360,19 @@ msgstr "No references found of this note"
msgid "No results found for"
msgstr "No results found for"
-#: src/strings.tsx:349
+#: src/strings.tsx:372
msgid "No results found for \"{query}\""
msgstr "No results found for \"{query}\""
-#: src/strings.tsx:350
+#: src/strings.tsx:1425
+msgid "No results found for {query}"
+msgstr "No results found for {query}"
+
+#: src/strings.tsx:373
msgid "No themes found"
msgstr "No themes found"
-#: src/strings.tsx:322
+#: src/strings.tsx:345
msgid "No updates available"
msgstr "No updates available"
@@ -2225,16 +2380,20 @@ msgstr "No updates available"
msgid "None"
msgstr "None"
-#: src/strings.tsx:333
+#: src/strings.tsx:2006
+msgid "Normal mode"
+msgstr "Normal mode"
+
+#: src/strings.tsx:356
msgid "Not logged in"
msgstr "Not logged in"
-#: src/strings.tsx:252
+#: src/strings.tsx:267
msgid "note"
msgstr "note"
-#: src/strings.tsx:26
-#: src/strings.tsx:260
+#: src/strings.tsx:38
+#: src/strings.tsx:277
msgid "Note"
msgstr "Note"
@@ -2246,7 +2405,11 @@ msgstr "Note copied to clipboard"
msgid "Note deleted"
msgstr "Note deleted"
-#: src/strings.tsx:393
+#: src/strings.tsx:1960
+msgid "Note does not exist"
+msgstr "Note does not exist"
+
+#: src/strings.tsx:418
msgid "Note history"
msgstr "Note history"
@@ -2270,11 +2433,11 @@ msgstr "Note title"
msgid "Note unlocked"
msgstr "Note unlocked"
-#: src/strings.tsx:148
+#: src/strings.tsx:160
msgid "Note version history is local only."
msgstr "Note version history is local only."
-#: src/strings.tsx:253
+#: src/strings.tsx:268
msgid "notebook"
msgstr "notebook"
@@ -2287,7 +2450,7 @@ msgstr "Notebook"
msgid "Notebook restored"
msgstr "Notebook restored"
-#: src/strings.tsx:269
+#: src/strings.tsx:288
msgid "notebooks"
msgstr "notebooks"
@@ -2296,12 +2459,12 @@ msgstr "notebooks"
msgid "Notebooks"
msgstr "Notebooks"
-#: src/strings.tsx:225
-#: src/strings.tsx:1636
+#: src/strings.tsx:240
+#: src/strings.tsx:1694
msgid "NOTEBOOKS"
msgstr "NOTEBOOKS"
-#: src/strings.tsx:268
+#: src/strings.tsx:287
msgid "notes"
msgstr "notes"
@@ -2310,7 +2473,7 @@ msgstr "notes"
msgid "Notes"
msgstr "Notes"
-#: src/strings.tsx:191
+#: src/strings.tsx:206
msgid "Notes exported as {path} successfully"
msgstr "Notes exported as {path} successfully"
@@ -2334,7 +2497,7 @@ msgstr "Notifications disabled"
msgid "Off"
msgstr "Off"
-#: src/strings.tsx:338
+#: src/strings.tsx:361
msgid "Offline"
msgstr "Offline"
@@ -2354,11 +2517,11 @@ msgstr "Once"
msgid "Once your password is changed, please make sure to save the new account recovery key"
msgstr "Once your password is changed, please make sure to save the new account recovery key"
-#: src/strings.tsx:1613
+#: src/strings.tsx:1671
msgid "Only .zip files are supported."
msgstr "Only .zip files are supported."
-#: src/strings.tsx:126
+#: src/strings.tsx:138
msgid "Open"
msgstr "Open"
@@ -2366,7 +2529,7 @@ msgstr "Open"
msgid "Open file location"
msgstr "Open file location"
-#: src/strings.tsx:232
+#: src/strings.tsx:247
msgid "Open in browser"
msgstr "Open in browser"
@@ -2426,7 +2589,7 @@ msgstr "Password incorrect"
msgid "Password not entered"
msgstr "Password not entered"
-#: src/strings.tsx:233
+#: src/strings.tsx:248
msgid "Password protection"
msgstr "Password protection"
@@ -2518,7 +2681,7 @@ msgstr "Please make sure you have saved the recovery key. Tap one more time to c
#~ "Please note that we will respond to your issue on the given\n"
#~ "link. We recommend that you save it."
-#: src/strings.tsx:196
+#: src/strings.tsx:211
msgid "Please note that we will respond to your issue on the given link. We recommend that you save it."
msgstr "Please note that we will respond to your issue on the given link. We recommend that you save it."
@@ -2530,11 +2693,19 @@ msgstr "Please select the day to repeat the reminder on"
msgid "Please set title of the reminder"
msgstr "Please set title of the reminder"
-#: src/strings.tsx:24
+#: src/strings.tsx:1979
+msgid "Please try again"
+msgstr "Please try again"
+
+#: src/strings.tsx:1999
+msgid "Please upgrade to Pro to enable automatic backups."
+msgstr "Please upgrade to Pro to enable automatic backups."
+
+#: src/strings.tsx:36
msgid "Please verify it's you"
msgstr "Please verify it's you"
-#: src/strings.tsx:229
+#: src/strings.tsx:244
msgid "Please wait"
msgstr "Please wait"
@@ -2555,19 +2726,23 @@ msgstr "Please wait while we encrypt {name} for upload."
msgid "Please wait while we load your subscription"
msgstr "Please wait while we load your subscription"
-#: src/strings.tsx:347
+#: src/strings.tsx:370
msgid "Please wait while we log you out."
msgstr "Please wait while we log you out."
-#: src/strings.tsx:1767
+#: src/strings.tsx:1825
msgid "Please wait while we reset your account password."
msgstr "Please wait while we reset your account password."
-#: src/strings.tsx:1750
+#: src/strings.tsx:1511
+msgid "Please wait while we restore your backup"
+msgstr "Please wait while we restore your backup"
+
+#: src/strings.tsx:1808
msgid "Please wait while we send you recovery instructions"
msgstr "Please wait while we send you recovery instructions"
-#: src/strings.tsx:227
+#: src/strings.tsx:242
msgid "Please wait while we sync all your data."
msgstr "Please wait while we sync all your data."
@@ -2587,11 +2762,15 @@ msgstr "Preparing to restore backup file..."
#~ msgid "Presets"
#~ msgstr "Presets"
-#: src/strings.tsx:364
+#: src/strings.tsx:387
msgid "PRESETS"
msgstr "PRESETS"
-#: src/strings.tsx:152
+#: src/strings.tsx:859
+msgid "Prevent {0} from syncing"
+msgstr "Prevent {0} from syncing"
+
+#: src/strings.tsx:164
msgid "Preview not available, content is encrypted."
msgstr "Preview not available, content is encrypted."
@@ -2611,11 +2790,11 @@ msgstr "Privacy mode"
msgid "Privacy policy"
msgstr "Privacy policy"
-#: src/strings.tsx:74
+#: src/strings.tsx:86
msgid "Privacy Policy."
msgstr "Privacy Policy."
-#: src/strings.tsx:132
+#: src/strings.tsx:144
msgid "private analytics and bug reports."
msgstr "private analytics and bug reports."
@@ -2631,19 +2810,24 @@ msgstr "privileged few"
msgid "Productivity"
msgstr "Productivity"
-#: src/strings.tsx:1721
+#: src/strings.tsx:1966
+msgid "Profile updated"
+msgstr "Profile updated"
+
+#: src/strings.tsx:1779
msgid "Properties"
msgstr "Properties"
-#: src/strings.tsx:344
+#: src/strings.tsx:367
msgid "Protect your notes"
msgstr "Protect your notes"
-#: src/strings.tsx:416
+#: src/strings.tsx:441
+#: src/strings.tsx:1865
msgid "Publish"
msgstr "Publish"
-#: src/strings.tsx:418
+#: src/strings.tsx:443
msgid "Publish your note to share it with others. You can set a password to protect it."
msgstr "Publish your note to share it with others. You can set a password to protect it."
@@ -2651,11 +2835,11 @@ msgstr "Publish your note to share it with others. You can set a password to pro
msgid "Published"
msgstr "Published"
-#: src/strings.tsx:230
+#: src/strings.tsx:245
msgid "Published at"
msgstr "Published at"
-#: src/strings.tsx:235
+#: src/strings.tsx:250
msgid "Published note can only be viewed by someone with the password."
msgstr "Published note can only be viewed by someone with the password."
@@ -2667,7 +2851,7 @@ msgstr "Published note can only be viewed by someone with the password."
#~ "Published note link will be automatically deleted once it is\n"
#~ "viewed by someone."
-#: src/strings.tsx:238
+#: src/strings.tsx:253
msgid "Published note link will be automatically deleted once it is viewed by someone."
msgstr "Published note link will be automatically deleted once it is viewed by someone."
@@ -2691,7 +2875,7 @@ msgstr "Rate Notesnook on {0}"
msgid "Rate now (It takes only a second)"
msgstr "Rate now (It takes only a second)"
-#: src/strings.tsx:330
+#: src/strings.tsx:353
msgid "Read full release notes on Github"
msgstr "Read full release notes on Github"
@@ -2719,11 +2903,15 @@ msgstr "Reading backup file..."
msgid "RECENT BACKUPS"
msgstr "RECENT BACKUPS"
-#: src/strings.tsx:110
+#: src/strings.tsx:1993
+msgid "Rechecking failed"
+msgstr "Rechecking failed"
+
+#: src/strings.tsx:122
msgid "Recommended"
msgstr "Recommended"
-#: src/strings.tsx:371
+#: src/strings.tsx:394
msgid "Recover your account"
msgstr "Recover your account"
@@ -2735,11 +2923,11 @@ msgstr "Recovery codes copied!"
msgid "Recovery codes saved!"
msgstr "Recovery codes saved!"
-#: src/strings.tsx:64
+#: src/strings.tsx:76
msgid "Recovery email has been sent to your email address. Please check your inbox and follow the instructions to recover your account."
msgstr "Recovery email has been sent to your email address. Please check your inbox and follow the instructions to recover your account."
-#: src/strings.tsx:62
+#: src/strings.tsx:74
msgid "Recovery email sent!"
msgstr "Recovery email sent!"
@@ -2755,11 +2943,15 @@ msgstr "Recovery key QR code saved"
msgid "Recovery key text file saved"
msgstr "Recovery key text file saved"
-#: src/strings.tsx:1768
+#: src/strings.tsx:1826
msgid "Recovery successful!"
msgstr "Recovery successful!"
-#: src/strings.tsx:316
+#: src/strings.tsx:473
+msgid "Redo"
+msgstr "Redo"
+
+#: src/strings.tsx:339
msgid "REFERENCED IN"
msgstr "REFERENCED IN"
@@ -2767,7 +2959,11 @@ msgstr "REFERENCED IN"
msgid "References"
msgstr "References"
-#: src/strings.tsx:368
+#: src/strings.tsx:472
+msgid "Regenerate"
+msgstr "Regenerate"
+
+#: src/strings.tsx:391
msgid "Release notes"
msgstr "Release notes"
@@ -2775,7 +2971,7 @@ msgstr "Release notes"
msgid "Remind me"
msgstr "Remind me"
-#: src/strings.tsx:315
+#: src/strings.tsx:338
msgid "Remind me in"
msgstr "Remind me in"
@@ -2783,11 +2979,11 @@ msgstr "Remind me in"
msgid "Remind me of..."
msgstr "Remind me of..."
-#: src/strings.tsx:255
+#: src/strings.tsx:270
msgid "reminder"
msgstr "reminder"
-#: src/strings.tsx:263
+#: src/strings.tsx:280
msgid "Reminder"
msgstr "Reminder"
@@ -2799,7 +2995,7 @@ msgstr "Reminder date must be set in future"
msgid "Reminder notifications"
msgstr "Reminder notifications"
-#: src/strings.tsx:271
+#: src/strings.tsx:290
msgid "reminders"
msgstr "reminders"
@@ -2885,7 +3081,7 @@ msgstr "Reorder"
msgid "Repeat"
msgstr "Repeat"
-#: src/strings.tsx:290
+#: src/strings.tsx:313
msgid "Repeats daily at {date}"
msgstr "Repeats daily at {date}"
@@ -2893,7 +3089,7 @@ msgstr "Repeats daily at {date}"
msgid "Report an issue"
msgstr "Report an issue"
-#: src/strings.tsx:402
+#: src/strings.tsx:427
msgid "Report issue"
msgstr "Report issue"
@@ -2901,7 +3097,7 @@ msgstr "Report issue"
msgid "Resend code ({seconds})"
msgstr "Resend code ({seconds})"
-#: src/strings.tsx:98
+#: src/strings.tsx:110
msgid "Resend code in ({seconds})"
msgstr "Resend code in ({seconds})"
@@ -2961,7 +3157,7 @@ msgstr "Restore your data from a backup"
msgid "Restored successfully"
msgstr "Restored successfully"
-#: src/strings.tsx:320
+#: src/strings.tsx:343
msgid "Restoring"
msgstr "Restoring"
@@ -2977,11 +3173,15 @@ msgstr "Resubscribe from Playstore"
msgid "Resubscribe to Pro"
msgstr "Resubscribe to Pro"
-#: src/strings.tsx:441
+#: src/strings.tsx:466
msgid "Reupload"
msgstr "Reupload"
-#: src/strings.tsx:122
+#: src/strings.tsx:2012
+msgid "Reveal in list"
+msgstr "Reveal in list"
+
+#: src/strings.tsx:134
msgid "Revoke"
msgstr "Revoke"
@@ -2989,7 +3189,7 @@ msgstr "Revoke"
msgid "Revoke biometric unlocking"
msgstr "Revoke biometric unlocking"
-#: src/strings.tsx:385
+#: src/strings.tsx:410
msgid "Revoke Vault Fingerprint Unlock"
msgstr "Revoke Vault Fingerprint Unlock"
@@ -3013,7 +3213,7 @@ msgstr "Saturday"
msgid "Save"
msgstr "Save"
-#: src/strings.tsx:407
+#: src/strings.tsx:432
msgid "Save a backup of your notes"
msgstr "Save a backup of your notes"
@@ -3021,7 +3221,7 @@ msgstr "Save a backup of your notes"
msgid "Save a copy"
msgstr "Save a copy"
-#: src/strings.tsx:419
+#: src/strings.tsx:444
msgid "Save account recovery key"
msgstr "Save account recovery key"
@@ -3041,7 +3241,7 @@ msgstr "Save failed. Vault is locked"
msgid "Save QR code to gallery"
msgstr "Save QR code to gallery"
-#: src/strings.tsx:426
+#: src/strings.tsx:451
msgid "Save recovery codes"
msgstr "Save recovery codes"
@@ -3057,7 +3257,7 @@ msgstr "Save to text file"
msgid "Save your account recovery key"
msgstr "Save your account recovery key"
-#: src/strings.tsx:421
+#: src/strings.tsx:446
msgid "Save your account recovery key in a safe place. You will need it to recover your account in case you forget your password."
msgstr "Save your account recovery key in a safe place. You will need it to recover your account in case you forget your password."
@@ -3065,7 +3265,7 @@ msgstr "Save your account recovery key in a safe place. You will need it to reco
msgid "Save your data recovery key in a safe place. You will need it to recover your data in case you forget your password."
msgstr "Save your data recovery key in a safe place. You will need it to recover your data in case you forget your password."
-#: src/strings.tsx:428
+#: src/strings.tsx:453
msgid "Save your recovery codes in a safe place. You will need them to recover your account in case you lose access to your two-factor authentication methods."
msgstr "Save your recovery codes in a safe place. You will need them to recover your account in case you lose access to your two-factor authentication methods."
@@ -3134,7 +3334,7 @@ msgstr "Select date"
#~ msgid "Select day of the month to repeat the reminder."
#~ msgstr "Select day of the month to repeat the reminder."
-#: src/strings.tsx:293
+#: src/strings.tsx:316
msgid "Select day of the week to repeat the reminder."
msgstr "Select day of the week to repeat the reminder."
@@ -3146,55 +3346,55 @@ msgstr "Select folder where Notesnook backup files are stored to view and restor
msgid "Select folder with backup files"
msgstr "Select folder with backup files"
-#: src/strings.tsx:82
+#: src/strings.tsx:94
msgid "Select how you would like to recieve the code"
msgstr "Select how you would like to recieve the code"
-#: src/strings.tsx:81
+#: src/strings.tsx:93
msgid "Select method for two-factor authentication"
msgstr "Select method for two-factor authentication"
-#: src/strings.tsx:394
+#: src/strings.tsx:419
msgid "Select notebooks"
msgstr "Select notebooks"
-#: src/strings.tsx:395
+#: src/strings.tsx:420
msgid "Select notebooks you want to add note(s) to."
msgstr "Select notebooks you want to add note(s) to."
-#: src/strings.tsx:297
+#: src/strings.tsx:320
msgid "Select nth day of the month to repeat the reminder."
msgstr "Select nth day of the month to repeat the reminder."
-#: src/strings.tsx:1672
+#: src/strings.tsx:1730
msgid "Select profile picture"
msgstr "Select profile picture"
-#: src/strings.tsx:318
+#: src/strings.tsx:341
msgid "Select the folder that includes your backup files to list them here."
msgstr "Select the folder that includes your backup files to list them here."
-#: src/strings.tsx:1500
+#: src/strings.tsx:1558
msgid "selected"
msgstr "selected"
-#: src/strings.tsx:205
+#: src/strings.tsx:220
msgid "SELECTED NOTE"
msgstr "SELECTED NOTE"
-#: src/strings.tsx:236
+#: src/strings.tsx:251
msgid "Self destruct"
msgstr "Self destruct"
-#: src/strings.tsx:99
+#: src/strings.tsx:111
msgid "Send code"
msgstr "Send code"
-#: src/strings.tsx:101
+#: src/strings.tsx:113
msgid "Send code via email"
msgstr "Send code via email"
-#: src/strings.tsx:100
+#: src/strings.tsx:112
msgid "Send code via SMS"
msgstr "Send code via SMS"
@@ -3218,11 +3418,11 @@ msgstr "Server used to receive important notifications & events."
msgid "Server used to sync your notes & other data between devices."
msgstr "Server used to sync your notes & other data between devices."
-#: src/strings.tsx:1476
+#: src/strings.tsx:1534
msgid "Server with host {host} not found."
msgstr "Server with host {host} not found."
-#: src/strings.tsx:67
+#: src/strings.tsx:79
msgid "Session expired"
msgstr "Session expired"
@@ -3270,7 +3470,7 @@ msgstr ""
msgid "Set the interval to create a partial backup (without attachments) automatically."
msgstr "Set the interval to create a partial backup (without attachments) automatically."
-#: src/strings.tsx:363
+#: src/strings.tsx:386
msgid "Set your name"
msgstr "Set your name"
@@ -3320,7 +3520,7 @@ msgstr "Setup using email"
msgid "Setup using SMS"
msgstr "Setup using SMS"
-#: src/strings.tsx:125
+#: src/strings.tsx:137
msgid "Share"
msgstr "Share"
@@ -3328,7 +3528,7 @@ msgstr "Share"
msgid "Share backup"
msgstr "Share backup"
-#: src/strings.tsx:388
+#: src/strings.tsx:413
msgid "Share note"
msgstr "Share note"
@@ -3340,7 +3540,19 @@ msgstr "Share to cloud"
msgid "Shortcut created"
msgstr "Shortcut created"
-#: src/strings.tsx:66
+#: src/strings.tsx:1992
+msgid "Shortcut removed"
+msgstr "Shortcut removed"
+
+#: src/strings.tsx:294
+msgid "shortcuts"
+msgstr "shortcuts"
+
+#: src/strings.tsx:306
+msgid "Shortcuts"
+msgstr "Shortcuts"
+
+#: src/strings.tsx:78
msgid "Sign up"
msgstr "Sign up"
@@ -3384,7 +3596,7 @@ msgstr "Start"
msgid "Start writing to create a new note"
msgstr "Start writing to create a new note"
-#: src/strings.tsx:170
+#: src/strings.tsx:182
msgid "Start writing to save your note."
msgstr "Start writing to save your note."
@@ -3440,7 +3652,7 @@ msgstr "Sunday"
msgid "Switch to search/replace mode"
msgstr "Switch to search/replace mode"
-#: src/strings.tsx:336
+#: src/strings.tsx:359
msgid "Sync failed"
msgstr "Sync failed"
@@ -3464,19 +3676,19 @@ msgstr "Sync settings"
msgid "Sync your notes in the background even when the app is closed. This is an experimental feature. If you face any issues, please turn it off."
msgstr "Sync your notes in the background even when the app is closed. This is an experimental feature. If you face any issues, please turn it off."
-#: src/strings.tsx:337
+#: src/strings.tsx:360
msgid "Synced"
msgstr "Synced"
-#: src/strings.tsx:335
+#: src/strings.tsx:358
msgid "Syncing"
msgstr "Syncing"
-#: src/strings.tsx:1541
+#: src/strings.tsx:1599
msgid "Syncing your {0}"
msgstr "Syncing your {0}"
-#: src/strings.tsx:226
+#: src/strings.tsx:241
msgid "Syncing your data"
msgstr "Syncing your data"
@@ -3488,15 +3700,15 @@ msgstr "Table of contents"
msgid "Tabs"
msgstr "Tabs"
-#: src/strings.tsx:254
+#: src/strings.tsx:269
msgid "tag"
msgstr "tag"
-#: src/strings.tsx:262
+#: src/strings.tsx:279
msgid "Tag"
msgstr "Tag"
-#: src/strings.tsx:270
+#: src/strings.tsx:289
msgid "tags"
msgstr "tags"
@@ -3525,7 +3737,7 @@ msgstr "Take note"
msgid "Taking too long? Reload editor"
msgstr "Taking too long? Reload editor"
-#: src/strings.tsx:396
+#: src/strings.tsx:421
msgid "Tap and hold to enable multi-select."
msgstr "Tap and hold to enable multi-select."
@@ -3549,15 +3761,15 @@ msgstr "Tap on \"Dismiss\" and copy the contents of your note so they are not lo
msgid "Tap on \"Take note\" to add a note."
msgstr "Tap on \"Take note\" to add a note."
-#: src/strings.tsx:354
+#: src/strings.tsx:377
msgid "Tap to apply again"
msgstr "Tap to apply again"
-#: src/strings.tsx:43
+#: src/strings.tsx:55
msgid "Tap to cancel"
msgstr "Tap to cancel"
-#: src/strings.tsx:206
+#: src/strings.tsx:221
msgid "Tap to deselect"
msgstr "Tap to deselect"
@@ -3569,7 +3781,7 @@ msgstr "Tap to stop reordering"
msgid "Tap to try again"
msgstr "Tap to try again"
-#: src/strings.tsx:244
+#: src/strings.tsx:259
msgid "Tap twice to confirm you have saved the recovery key."
msgstr "Tap twice to confirm you have saved the recovery key."
@@ -3597,7 +3809,7 @@ msgstr ""
msgid "Terms of service"
msgstr "Terms of service"
-#: src/strings.tsx:72
+#: src/strings.tsx:84
msgid "Terms of Service"
msgstr "Terms of Service"
@@ -3610,26 +3822,30 @@ msgid "Test connection before changing server urls"
msgstr "Test connection before changing server urls"
#: src/strings.tsx:1628
-msgid "Thank you for choosing end-to-end encrypted note taking."
-msgstr "Thank you for choosing end-to-end encrypted note taking."
+#~ msgid "Thank you for choosing end-to-end encrypted note taking."
+#~ msgstr "Thank you for choosing end-to-end encrypted note taking."
-#: src/strings.tsx:409
+#: src/strings.tsx:1686
+msgid "Thank you for choosing end-to-end encrypted note taking. Now you can sync your notes to unlimited devices."
+msgstr "Thank you for choosing end-to-end encrypted note taking. Now you can sync your notes to unlimited devices."
+
+#: src/strings.tsx:434
msgid "Thank you for updating Notesnook! We will be applying some minor changes for a better note taking experience."
msgstr "Thank you for updating Notesnook! We will be applying some minor changes for a better note taking experience."
-#: src/strings.tsx:1481
+#: src/strings.tsx:1539
msgid "The {title} at {url} is not compatible with this client."
msgstr "The {title} at {url} is not compatible with this client."
-#: src/strings.tsx:199
+#: src/strings.tsx:214
msgid "The information above will be publically available at"
msgstr "The information above will be publically available at"
-#: src/strings.tsx:292
+#: src/strings.tsx:315
msgid "The reminder will repeat daily at {date}."
msgstr "The reminder will repeat daily at {date}."
-#: src/strings.tsx:295
+#: src/strings.tsx:318
msgid "The reminder will repeat every year on {date}."
msgstr "The reminder will repeat every year on {date}."
@@ -3645,11 +3861,11 @@ msgstr "The URL you have given ({url}) does not point to the"
msgid "Themes"
msgstr "Themes"
-#: src/strings.tsx:250
+#: src/strings.tsx:265
msgid "There are no blocks in this note."
msgstr "There are no blocks in this note."
-#: src/strings.tsx:143
+#: src/strings.tsx:155
msgid "This device"
msgstr "This device"
@@ -3657,11 +3873,11 @@ msgstr "This device"
msgid "This note is locked. Unlock note to save changes"
msgstr "This note is locked. Unlock note to save changes"
-#: src/strings.tsx:248
+#: src/strings.tsx:263
msgid "This note is not linked to any other note."
msgstr "This note is not linked to any other note."
-#: src/strings.tsx:247
+#: src/strings.tsx:262
msgid "This note is not referenced in other notes."
msgstr "This note is not referenced in other notes."
@@ -3739,15 +3955,15 @@ msgstr "Turn on reminder"
msgid "Turns off syncing completely on this device. Any changes made will remain local only and new changes from your other devices won't sync to this device."
msgstr "Turns off syncing completely on this device. Any changes made will remain local only and new changes from your other devices won't sync to this device."
-#: src/strings.tsx:80
+#: src/strings.tsx:92
msgid "Two factor authentication"
msgstr "Two factor authentication"
-#: src/strings.tsx:423
+#: src/strings.tsx:448
msgid "Two-factor authentication"
msgstr "Two-factor authentication"
-#: src/strings.tsx:432
+#: src/strings.tsx:457
msgid "Two-factor authentication enabled"
msgstr "Two-factor authentication enabled"
@@ -3783,7 +3999,7 @@ msgstr "Unfavorite"
msgid "Unlink notebook"
msgstr "Unlink notebook"
-#: src/strings.tsx:127
+#: src/strings.tsx:139
msgid "Unlock"
msgstr "Unlock"
@@ -3808,11 +4024,11 @@ msgstr "Unlock the app with biometric authentication. This requires biometrics t
msgid "Unlock with biometrics"
msgstr "Unlock with biometrics"
-#: src/strings.tsx:118
+#: src/strings.tsx:130
msgid "Unlock with password once to enable biometric access."
msgstr "Unlock with password once to enable biometric access."
-#: src/strings.tsx:1682
+#: src/strings.tsx:1740
msgid "Unlock with security key"
msgstr "Unlock with security key"
@@ -3820,7 +4036,7 @@ msgstr "Unlock with security key"
#~ msgid "Unlock your note"
#~ msgstr "Unlock your note"
-#: src/strings.tsx:25
+#: src/strings.tsx:37
msgid "Unlock your notes"
msgstr "Unlock your notes"
@@ -3844,7 +4060,11 @@ msgstr "Unpublish"
msgid "Unpublish notes to delete them"
msgstr "Unpublish notes to delete them"
-#: src/strings.tsx:181
+#: src/strings.tsx:1843
+msgid "unpublished"
+msgstr "unpublished"
+
+#: src/strings.tsx:193
msgid "Untitled"
msgstr "Untitled"
@@ -3852,7 +4072,7 @@ msgstr "Untitled"
msgid "Update"
msgstr "Update"
-#: src/strings.tsx:323
+#: src/strings.tsx:346
msgid "Update available"
msgstr "Update available"
@@ -3860,12 +4080,12 @@ msgstr "Update available"
msgid "Upgrade to Pro"
msgstr "Upgrade to Pro"
-#: src/strings.tsx:438
+#: src/strings.tsx:463
msgid "Upload"
msgstr "Upload"
-#: src/strings.tsx:439
-#: src/strings.tsx:1489
+#: src/strings.tsx:464
+#: src/strings.tsx:1547
msgid "Uploaded"
msgstr "Uploaded"
@@ -3873,8 +4093,8 @@ msgstr "Uploaded"
msgid "Uploaded file verification failed."
msgstr "Uploaded file verification failed."
-#: src/strings.tsx:36
-#: src/strings.tsx:440
+#: src/strings.tsx:48
+#: src/strings.tsx:465
msgid "Uploading"
msgstr "Uploading"
@@ -3906,7 +4126,7 @@ msgstr "Use markdown shortcuts in the editor"
msgid "Use system theme"
msgstr "Use system theme"
-#: src/strings.tsx:355
+#: src/strings.tsx:378
msgid ""
"Use the following key to format the title:\n"
"$date$: Current date.\n"
@@ -3948,7 +4168,11 @@ msgstr "Vault"
msgid "Vault created"
msgstr "Vault created"
-#: src/strings.tsx:384
+#: src/strings.tsx:1985
+msgid "Vault deleted"
+msgstr "Vault deleted"
+
+#: src/strings.tsx:409
msgid "Vault Fingerprint Unlock"
msgstr "Vault Fingerprint Unlock"
@@ -3972,15 +4196,15 @@ msgstr "Verify subscription"
msgid "Verify your subscription to Notesnook Pro"
msgstr "Verify your subscription to Notesnook Pro"
-#: src/strings.tsx:1756
+#: src/strings.tsx:1814
msgid "Verifying 2FA code"
msgstr "Verifying 2FA code"
-#: src/strings.tsx:1742
+#: src/strings.tsx:1800
msgid "Verifying your email"
msgstr "Verifying your email"
-#: src/strings.tsx:352
+#: src/strings.tsx:375
msgid "Version"
msgstr "Version"
@@ -4008,7 +4232,7 @@ msgstr "View recovery codes"
msgid "View your recovery codes to recover your account in case you lose access to your two-factor authentication methods."
msgstr "View your recovery codes to recover your account in case you lose access to your two-factor authentication methods."
-#: src/strings.tsx:353
+#: src/strings.tsx:376
msgid "Visit homepage"
msgstr "Visit homepage"
@@ -4016,11 +4240,15 @@ msgstr "Visit homepage"
msgid "Wait 30 seconds to try again"
msgstr "Wait 30 seconds to try again"
-#: src/strings.tsx:1490
+#: src/strings.tsx:1548
msgid "Waiting for upload"
msgstr "Waiting for upload"
-#: src/strings.tsx:404
+#: src/strings.tsx:1822
+msgid "We are creating a backup of your data. Please wait..."
+msgstr "We are creating a backup of your data. Please wait..."
+
+#: src/strings.tsx:429
msgid "We are sorry, it seems that the app crashed due to an error. You can submit a bug report below so we can fix this asap."
msgstr "We are sorry, it seems that the app crashed due to an error. You can submit a bug report below so we can fix this asap."
@@ -4044,7 +4272,7 @@ msgstr "Wed"
msgid "Wednesday"
msgstr "Wednesday"
-#: src/strings.tsx:311
+#: src/strings.tsx:334
msgid "week"
msgstr "week"
@@ -4074,11 +4302,11 @@ msgstr "Write notes with freedom, no spying, no tracking."
msgid "Write something..."
msgstr "Write something..."
-#: src/strings.tsx:1492
+#: src/strings.tsx:1550
msgid "Write with freedom."
msgstr "Write with freedom."
-#: src/strings.tsx:313
+#: src/strings.tsx:336
msgid "year"
msgstr "year"
@@ -4096,7 +4324,7 @@ msgstr "Yearly"
msgid "Yes"
msgstr "Yes"
-#: src/strings.tsx:76
+#: src/strings.tsx:88
msgid "You also agree to recieve marketing emails from us which you can opt-out of from app settings."
msgstr "You also agree to recieve marketing emails from us which you can opt-out of from app settings."
@@ -4120,7 +4348,7 @@ msgstr "You can set a custom proxy URL to increase your privacy."
msgid "You can swipe left anywhere in the app to start a new note."
msgstr "You can swipe left anywhere in the app to start a new note."
-#: src/strings.tsx:194
+#: src/strings.tsx:209
msgid "You can track your issue at"
msgstr "You can track your issue at"
@@ -4184,24 +4412,24 @@ msgstr "You subscribed to Notesnook Pro on iOS using Apple In App Purchase. You
msgid "You subscribed to Notesnook Pro on the Web/Desktop App."
msgstr "You subscribed to Notesnook Pro on the Web/Desktop App."
-#: src/strings.tsx:400
+#: src/strings.tsx:425
msgid "You will be logged out from all your devices"
msgstr "You will be logged out from all your devices"
-#: src/strings.tsx:1706
+#: src/strings.tsx:1764
msgid "You will receive instructions on how to recover your account on this email"
msgstr "You will receive instructions on how to recover your account on this email"
-#: src/strings.tsx:399
+#: src/strings.tsx:424
msgid "Your account email will be changed without affecting your subscription or any other settings."
msgstr "Your account email will be changed without affecting your subscription or any other settings."
-#: src/strings.tsx:1769
+#: src/strings.tsx:1827
msgid "Your account has been recovered."
msgstr "Your account has been recovered."
-#: src/strings.tsx:431
-#: src/strings.tsx:1574
+#: src/strings.tsx:456
+#: src/strings.tsx:1632
msgid "Your account is now 100% secure against unauthorized logins."
msgstr "Your account is now 100% secure against unauthorized logins."
@@ -4261,7 +4489,7 @@ msgstr "Your privacy matters to us, no matter who you are. In a world where ever
msgid "Your reminders"
msgstr "Your reminders"
-#: src/strings.tsx:69
+#: src/strings.tsx:81
msgid "Your session has expired. Please enter password for {obfuscatedEmail} to continue."
msgstr "Your session has expired. Please enter password for {obfuscatedEmail} to continue."
@@ -4293,10 +4521,10 @@ msgstr "Z to A"
msgid "Zipping"
msgstr "Zipping"
-#: src/strings.tsx:1538
+#: src/strings.tsx:1596
msgid "Zoom in"
msgstr "Zoom in"
-#: src/strings.tsx:1537
+#: src/strings.tsx:1595
msgid "Zoom out"
msgstr "Zoom out"
diff --git a/packages/intl/locale/fr.po b/packages/intl/locale/fr.po
index 118c1e0ed..8f91ce529 100644
--- a/packages/intl/locale/fr.po
+++ b/packages/intl/locale/fr.po
@@ -33,11 +33,15 @@ msgstr ""
msgid "\"This version of Notesnook app does not support in-app purchases. Kindly login on the Notesnook web app to make the purchase.\""
msgstr ""
-#: src/strings.tsx:1745
+#: src/strings.tsx:508
+msgid "\"Your note will be unencrypted and removed from the vault.\""
+msgstr ""
+
+#: src/strings.tsx:1803
msgid "\"Your password is always hashed before leaving this device.\""
msgstr ""
-#: src/strings.tsx:204
+#: src/strings.tsx:219
msgid "(empty block)"
msgstr ""
@@ -45,31 +49,56 @@ msgstr ""
#~ msgid "(Empty block)"
#~ msgstr ""
-#: src/strings.tsx:443
+#: src/strings.tsx:196
+msgid "{0}"
+msgstr ""
+
+#: src/strings.tsx:468
msgid "{0} downloaded"
msgstr ""
#: src/strings.tsx:184
-msgid "{0}... Please wait"
+#~ msgid "{0}... Please wait"
+#~ msgstr ""
+
+#: src/strings.tsx:1876
+#: src/strings.tsx:1887
+msgid "{count, plural, one {{0} {1}} other {# {2} {3}}}"
msgstr ""
-#: src/strings.tsx:1595
+#: src/strings.tsx:1898
+msgid "{count, plural, one {{0} could not be {1}} other {# {2} could not be {3}}}"
+msgstr ""
+
+#: src/strings.tsx:1908
+msgid "{count, plural, one {{0} deleted} other {# {1} deleted}}"
+msgstr ""
+
+#: src/strings.tsx:1917
+msgid "{count, plural, one {{0} unpinned} other {# {1} unpinned}}"
+msgstr ""
+
+#: src/strings.tsx:1937
+msgid "{count, plural, one {{0}} other {# {1}}}"
+msgstr ""
+
+#: src/strings.tsx:1653
msgid "{count, plural, one {# error occured} other {# errors occured}}"
msgstr ""
-#: src/strings.tsx:1601
+#: src/strings.tsx:1659
msgid "{count, plural, one {# file ready for import} other {# files ready for import}}"
msgstr ""
-#: src/strings.tsx:1560
+#: src/strings.tsx:1618
msgid "{count, plural, one {# file} other {# files}}"
msgstr ""
-#: src/strings.tsx:1552
+#: src/strings.tsx:1610
msgid "{count, plural, one {# item restored} other {# items restored}}"
msgstr ""
-#: src/strings.tsx:28
+#: src/strings.tsx:40
msgid "{count, plural, one {# note} other {# notes} _0 {No notes}}"
msgstr ""
@@ -89,7 +118,7 @@ msgstr ""
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 ""
-#: src/strings.tsx:55
+#: src/strings.tsx:67
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 ""
@@ -97,11 +126,15 @@ msgstr ""
msgid "{count, plural, one {Are you sure you want to move this notebook to {selectedNotebookTitle}?} other {Are you sure you want to move these # notebooks {selectedNotebookTitle}?}}"
msgstr ""
-#: src/strings.tsx:105
+#: src/strings.tsx:1852
+msgid "{count, plural, one {Are you sure you want to permanently delete this {0}? This action is IRREVERSIBLE.} other {Are you sure you want to permanently delete these {1}? This action is IRREVERSIBLE.}}"
+msgstr ""
+
+#: src/strings.tsx:117
msgid "{count, plural, one {Attach image} other {Attach # images}}"
msgstr ""
-#: src/strings.tsx:50
+#: src/strings.tsx:62
msgid "{count, plural, one {Attachment downloaded at {path}} other {#/{total} attachments downloaded as a zip file at {path}}}"
msgstr ""
@@ -113,7 +146,11 @@ msgstr ""
msgid "{count, plural, one {Delete tag} other {Delete # tags}}"
msgstr ""
-#: src/strings.tsx:45
+#: src/strings.tsx:1927
+msgid "{count, plural, one {Deleting {0}} other {Deleting {1}}}"
+msgstr ""
+
+#: src/strings.tsx:57
msgid "{count, plural, one {Failed to download attachment} other {Failed to download # attachments}}"
msgstr ""
@@ -121,23 +158,27 @@ msgstr ""
msgid "{count, plural, one {Move notebook} other {Move # notebooks}}"
msgstr ""
-#: src/strings.tsx:411
+#: src/strings.tsx:436
msgid "{count, plural, one {Moving {title}} other {Moving # notebooks}}"
msgstr ""
-#: src/strings.tsx:186
+#: src/strings.tsx:201
msgid "{count, plural, one {Note exported} other {# notes exported}}"
msgstr ""
-#: src/strings.tsx:300
+#: src/strings.tsx:1973
+msgid "{count, plural, one {removed from 1 notebook} other {removed from # notebooks}}"
+msgstr ""
+
+#: src/strings.tsx:323
msgid "{freq, plural, one {Repeats every {0} on {selectedDays} at {date}} other {Repeats every {freq} {1} every {selectedDays} at {date}}}"
msgstr ""
-#: src/strings.tsx:161
+#: src/strings.tsx:173
msgid "{key, select, dateCreated {Created at} dateEdited {Last edited at} dateModifed {Last modified at} dateUploaded {Uploaded at} dateDeleted {Deleted at} other {{key}}}"
msgstr ""
-#: src/strings.tsx:376
+#: src/strings.tsx:399
msgid "{mode, select, create {Create app lock {keyboardType}} change {Change app lock {keyboardType}} remove {Remove app lock {keyboardType}} other {}}"
msgstr ""
@@ -149,15 +190,15 @@ msgstr ""
msgid "{platform, select, android {Backup file saved in \"Notesnook backups\" folder on your phone.} other {Backup file is saved in File Manager/Notesnook folder}}"
msgstr ""
-#: src/strings.tsx:325
+#: src/strings.tsx:348
msgid "{type, select, github {v{version} has been released on GitHub} store {v{version} has been released} other {v{version} has been released}}"
msgstr ""
-#: src/strings.tsx:175
+#: src/strings.tsx:187
msgid "{type, select, other {This list is empty} notebook {No notebooks} tag {No tags} note {No notes}}"
msgstr ""
-#: src/strings.tsx:38
+#: src/strings.tsx:50
msgid "{type, select, upload {Uploading} download {Downloading} other {Loading}}"
msgstr ""
@@ -205,7 +246,7 @@ msgstr ""
msgid "Add 2FA fallback method"
msgstr ""
-#: src/strings.tsx:286
+#: src/strings.tsx:309
msgid "Add a {0}"
msgstr ""
@@ -225,7 +266,7 @@ msgstr ""
msgid "Add notebook"
msgstr ""
-#: src/strings.tsx:415
+#: src/strings.tsx:440
msgid "Add notes to {title}"
msgstr ""
@@ -258,7 +299,7 @@ msgstr ""
msgid "All"
msgstr ""
-#: src/strings.tsx:61
+#: src/strings.tsx:73
msgid "All attachments are end-to-end encrypted."
msgstr ""
@@ -274,11 +315,11 @@ msgstr ""
msgid "All server urls are required."
msgstr ""
-#: src/strings.tsx:1759
+#: src/strings.tsx:1817
msgid "All the data in your account will be overwritten with the data in the backup file. There is no way to reverse this action."
msgstr ""
-#: src/strings.tsx:366
+#: src/strings.tsx:389
msgid "All tools are grouped"
msgstr ""
@@ -298,27 +339,27 @@ msgstr ""
msgid "All your data will be removed permanently. Make sure you have saved backup of your notes. This action is IRREVERSIBLE."
msgstr ""
-#: src/strings.tsx:78
+#: src/strings.tsx:90
msgid "Already have an account?"
msgstr ""
-#: src/strings.tsx:218
+#: src/strings.tsx:233
msgid "An error occurred while migrating your data. You can logout of your account and try to relogin. However this is not recommended as it may result in some data loss if your data was not synced."
msgstr ""
-#: src/strings.tsx:73
+#: src/strings.tsx:85
msgid "and"
msgstr ""
-#: src/strings.tsx:1633
+#: src/strings.tsx:1691
msgid "and get a chance to win free promo codes."
msgstr ""
-#: src/strings.tsx:1237
+#: src/strings.tsx:1291
msgid "and we will manually confirm your account."
msgstr ""
-#: src/strings.tsx:220
+#: src/strings.tsx:235
msgid "App data has been cleared. Kindly relaunch the app to login again."
msgstr ""
@@ -355,7 +396,7 @@ msgstr ""
msgid "Applied as light theme"
msgstr ""
-#: src/strings.tsx:392
+#: src/strings.tsx:417
msgid "Apply changes"
msgstr ""
@@ -399,19 +440,31 @@ msgstr ""
msgid "Are you sure you want to remove your profile picture?"
msgstr ""
-#: src/strings.tsx:369
+#: src/strings.tsx:1219
+msgid "Are you sure?"
+msgstr ""
+
+#: src/strings.tsx:2025
+msgid "Assign color"
+msgstr ""
+
+#: src/strings.tsx:873
+msgid "Assign to"
+msgstr ""
+
+#: src/strings.tsx:392
msgid "Atleast 8 characters required"
msgstr ""
-#: src/strings.tsx:257
+#: src/strings.tsx:272
msgid "attachment"
msgstr ""
-#: src/strings.tsx:265
+#: src/strings.tsx:282
msgid "Attachment"
msgstr ""
-#: src/strings.tsx:273
+#: src/strings.tsx:292
msgid "attachments"
msgstr ""
@@ -512,7 +565,7 @@ msgstr ""
msgid "Backup successful"
msgstr ""
-#: src/strings.tsx:422
+#: src/strings.tsx:447
msgid "Backups"
msgstr ""
@@ -524,7 +577,7 @@ msgstr ""
msgid "Behavior"
msgstr ""
-#: src/strings.tsx:331
+#: src/strings.tsx:354
msgid "BETA"
msgstr ""
@@ -548,15 +601,15 @@ msgstr ""
msgid "Biometrics not enrolled"
msgstr ""
-#: src/strings.tsx:1665
+#: src/strings.tsx:1723
msgid "Browse"
msgstr ""
-#: src/strings.tsx:348
+#: src/strings.tsx:371
msgid "By"
msgstr ""
-#: src/strings.tsx:71
+#: src/strings.tsx:83
msgid "By signing up, you agree to our"
msgstr ""
@@ -564,11 +617,19 @@ msgstr ""
msgid "Cancel"
msgstr ""
-#: src/strings.tsx:1681
+#: src/strings.tsx:469
+msgid "Cancel download"
+msgstr ""
+
+#: src/strings.tsx:1739
msgid "Cancel subscription"
msgstr ""
-#: src/strings.tsx:123
+#: src/strings.tsx:470
+msgid "Cancel upload"
+msgstr ""
+
+#: src/strings.tsx:135
msgid "Change"
msgstr ""
@@ -592,7 +653,7 @@ msgstr ""
msgid "Change backup directory"
msgstr ""
-#: src/strings.tsx:397
+#: src/strings.tsx:422
msgid "Change email address"
msgstr ""
@@ -604,7 +665,7 @@ msgstr ""
msgid "Change notification sound"
msgstr ""
-#: src/strings.tsx:370
+#: src/strings.tsx:393
msgid "Change password"
msgstr ""
@@ -612,7 +673,7 @@ msgstr ""
msgid "Change the sound that plays when you receive a notification"
msgstr ""
-#: src/strings.tsx:386
+#: src/strings.tsx:411
msgid "Change Vault Password"
msgstr ""
@@ -640,7 +701,7 @@ msgstr ""
msgid "Check for updates"
msgstr ""
-#: src/strings.tsx:321
+#: src/strings.tsx:344
msgid "Checking for new version"
msgstr ""
@@ -660,7 +721,7 @@ msgstr ""
msgid "Choose how time is displayed in the app"
msgstr ""
-#: src/strings.tsx:345
+#: src/strings.tsx:368
msgid "Choose how you want to secure your notes locally."
msgstr ""
@@ -701,16 +762,32 @@ msgstr ""
msgid "Close"
msgstr ""
-#: src/strings.tsx:367
+#: src/strings.tsx:2011
+msgid "Close all"
+msgstr ""
+
+#: src/strings.tsx:2008
+msgid "Close others"
+msgstr ""
+
+#: src/strings.tsx:2010
+msgid "Close to the left"
+msgstr ""
+
+#: src/strings.tsx:2009
+msgid "Close to the right"
+msgstr ""
+
+#: src/strings.tsx:390
msgid "COLLAPSED"
msgstr ""
-#: src/strings.tsx:256
+#: src/strings.tsx:271
msgid "color"
msgstr ""
-#: src/strings.tsx:264
-#: src/strings.tsx:1699
+#: src/strings.tsx:281
+#: src/strings.tsx:1757
msgid "Color"
msgstr ""
@@ -722,11 +799,11 @@ msgstr ""
msgid "Color title"
msgstr ""
-#: src/strings.tsx:272
+#: src/strings.tsx:291
msgid "colors"
msgstr ""
-#: src/strings.tsx:280
+#: src/strings.tsx:301
msgid "Colors"
msgstr ""
@@ -734,15 +811,15 @@ msgstr ""
msgid "Community"
msgstr ""
-#: src/strings.tsx:1584
+#: src/strings.tsx:1642
msgid "Completed"
msgstr ""
-#: src/strings.tsx:109
+#: src/strings.tsx:121
msgid "Compress"
msgstr ""
-#: src/strings.tsx:114
+#: src/strings.tsx:126
msgid "Compressed images are uploaded in Full HD resolution and usually are good enough for most use cases."
msgstr ""
@@ -798,7 +875,11 @@ msgstr ""
msgid "Copy link"
msgstr ""
-#: src/strings.tsx:389
+#: src/strings.tsx:816
+#~ msgid "Copy link"
+#~ msgstr ""
+
+#: src/strings.tsx:414
msgid "Copy note"
msgstr ""
@@ -818,7 +899,31 @@ msgstr ""
msgid "Could not connect to"
msgstr ""
-#: src/strings.tsx:128
+#: src/strings.tsx:1996
+msgid "Could not clear trash"
+msgstr ""
+
+#: src/strings.tsx:1477
+#~ msgid "Could not connect to"
+#~ msgstr ""
+
+#: src/strings.tsx:1535
+msgid "Could not connect to {server}"
+msgstr ""
+
+#: src/strings.tsx:1962
+msgid "Could not convert note to {format}"
+msgstr ""
+
+#: src/strings.tsx:690
+msgid "Could not create backup"
+msgstr ""
+
+#: src/strings.tsx:506
+msgid "Could not unlock"
+msgstr ""
+
+#: src/strings.tsx:140
msgid "Create"
msgstr ""
@@ -862,7 +967,7 @@ msgstr ""
msgid "Create unlimited vaults with Notesnook Pro"
msgstr ""
-#: src/strings.tsx:383
+#: src/strings.tsx:406
msgid "Create Vault"
msgstr ""
@@ -940,7 +1045,11 @@ msgstr ""
msgid "Date modified"
msgstr ""
-#: src/strings.tsx:310
+#: src/strings.tsx:2034
+msgid "Date uploaded"
+msgstr ""
+
+#: src/strings.tsx:333
msgid "day"
msgstr ""
@@ -996,8 +1105,9 @@ msgstr ""
msgid "Default sound"
msgstr ""
-#: src/strings.tsx:119
-#: src/strings.tsx:124
+#: src/strings.tsx:131
+#: src/strings.tsx:136
+#: src/strings.tsx:1861
msgid "Delete"
msgstr ""
@@ -1021,7 +1131,7 @@ msgstr ""
msgid "Delete group"
msgstr ""
-#: src/strings.tsx:387
+#: src/strings.tsx:412
msgid "Delete note"
msgstr ""
@@ -1033,7 +1143,11 @@ msgstr ""
msgid "Delete vault (and optionally remove all notes)."
msgstr ""
-#: src/strings.tsx:134
+#: src/strings.tsx:1840
+msgid "deleted"
+msgstr ""
+
+#: src/strings.tsx:146
msgid "Deleted on {date}"
msgstr ""
@@ -1057,7 +1171,7 @@ msgstr ""
msgid "Disable sync"
msgstr ""
-#: src/strings.tsx:135
+#: src/strings.tsx:147
msgid "Disabled"
msgstr ""
@@ -1069,15 +1183,15 @@ msgstr ""
msgid "Dismiss"
msgstr ""
-#: src/strings.tsx:1488
+#: src/strings.tsx:1546
msgid "Dismiss announcement"
msgstr ""
-#: src/strings.tsx:1587
+#: src/strings.tsx:1645
msgid "Disputed"
msgstr ""
-#: src/strings.tsx:240
+#: src/strings.tsx:255
msgid "Do you enjoy using Notesnook?"
msgstr ""
@@ -1089,27 +1203,27 @@ msgstr ""
msgid "Documents"
msgstr ""
-#: src/strings.tsx:65
+#: src/strings.tsx:77
msgid "Don't have an account?"
msgstr ""
-#: src/strings.tsx:1687
+#: src/strings.tsx:1745
msgid "Don't have backup file?"
msgstr ""
-#: src/strings.tsx:1686
+#: src/strings.tsx:1744
msgid "Don't have your account recovery key?"
msgstr ""
-#: src/strings.tsx:1666
+#: src/strings.tsx:1724
msgid "Don't show again"
msgstr ""
-#: src/strings.tsx:1667
+#: src/strings.tsx:1725
msgid "Don't show again on this device?"
msgstr ""
-#: src/strings.tsx:23
+#: src/strings.tsx:35
msgid "Done"
msgstr ""
@@ -1117,7 +1231,7 @@ msgstr ""
msgid "Double spaced lines"
msgstr ""
-#: src/strings.tsx:437
+#: src/strings.tsx:462
msgid "Download"
msgstr ""
@@ -1133,7 +1247,7 @@ msgstr ""
msgid "Download started... Please wait"
msgstr ""
-#: src/strings.tsx:442
+#: src/strings.tsx:467
msgid "Download successful"
msgstr ""
@@ -1141,16 +1255,16 @@ msgstr ""
msgid "Download update"
msgstr ""
-#: src/strings.tsx:436
+#: src/strings.tsx:461
msgid "Downloaded"
msgstr ""
-#: src/strings.tsx:35
-#: src/strings.tsx:435
+#: src/strings.tsx:47
+#: src/strings.tsx:460
msgid "Downloading"
msgstr ""
-#: src/strings.tsx:228
+#: src/strings.tsx:243
msgid "Downloading attachments"
msgstr ""
@@ -1207,7 +1321,7 @@ msgstr ""
msgid "Email updated to {email}"
msgstr ""
-#: src/strings.tsx:121
+#: src/strings.tsx:133
msgid "Enable"
msgstr ""
@@ -1215,7 +1329,11 @@ msgstr ""
msgid "Enable app lock"
msgstr ""
-#: src/strings.tsx:425
+#: src/strings.tsx:2004
+msgid "Enable editor margins"
+msgstr ""
+
+#: src/strings.tsx:450
msgid "Enable two-factor authentication to add an extra layer of security to your account."
msgstr ""
@@ -1223,7 +1341,7 @@ msgstr ""
msgid "Encrypt your backups for added security"
msgstr ""
-#: src/strings.tsx:171
+#: src/strings.tsx:183
msgid "Encrypted and synced"
msgstr ""
@@ -1235,7 +1353,7 @@ msgstr ""
msgid "End to end encrypted."
msgstr ""
-#: src/strings.tsx:342
+#: src/strings.tsx:365
msgid "Enter 6 digit code"
msgstr ""
@@ -1251,7 +1369,7 @@ msgstr ""
msgid "Enter app lock pin"
msgstr ""
-#: src/strings.tsx:102
+#: src/strings.tsx:114
msgid "Enter code from authenticator app"
msgstr ""
@@ -1275,19 +1393,19 @@ msgstr ""
msgid "Enter password"
msgstr ""
-#: src/strings.tsx:89
+#: src/strings.tsx:101
msgid "Enter the 6 digit code from your authenticator app to continue logging in"
msgstr ""
-#: src/strings.tsx:85
+#: src/strings.tsx:97
msgid "Enter the 6 digit code sent to your email to continue logging in"
msgstr ""
-#: src/strings.tsx:87
+#: src/strings.tsx:99
msgid "Enter the 6 digit code sent to your phone number to continue logging in"
msgstr ""
-#: src/strings.tsx:90
+#: src/strings.tsx:102
msgid "Enter the recovery code to continue logging in"
msgstr ""
@@ -1311,7 +1429,7 @@ msgstr ""
msgid "Error getting codes"
msgstr ""
-#: src/strings.tsx:351
+#: src/strings.tsx:374
msgid "Error loading themes"
msgstr ""
@@ -1331,7 +1449,11 @@ msgstr ""
msgid "Events server"
msgstr ""
-#: src/strings.tsx:401
+#: src/strings.tsx:2005
+msgid "Exit fullscreen"
+msgstr ""
+
+#: src/strings.tsx:426
msgid "Export"
msgstr ""
@@ -1403,7 +1525,7 @@ msgstr ""
msgid "Failed to zip files"
msgstr ""
-#: src/strings.tsx:429
+#: src/strings.tsx:454
msgid "Fallback method for 2FA enabled"
msgstr ""
@@ -1504,15 +1626,15 @@ msgstr ""
msgid "Get started"
msgstr ""
-#: src/strings.tsx:1738
+#: src/strings.tsx:1796
msgid "Getting encryption key..."
msgstr ""
-#: src/strings.tsx:341
+#: src/strings.tsx:364
msgid "Getting information"
msgstr ""
-#: src/strings.tsx:343
+#: src/strings.tsx:366
msgid "Getting recovery codes"
msgstr ""
@@ -1524,7 +1646,7 @@ msgstr ""
msgid "Got it"
msgstr ""
-#: src/strings.tsx:365
+#: src/strings.tsx:388
msgid "GROUP"
msgstr ""
@@ -1540,7 +1662,7 @@ msgstr ""
msgid "Help and support"
msgstr ""
-#: src/strings.tsx:131
+#: src/strings.tsx:143
msgid "Help improve Notesnook by sending completely anonymized"
msgstr ""
@@ -1572,49 +1694,49 @@ msgstr ""
msgid "hr"
msgstr ""
-#: src/strings.tsx:95
+#: src/strings.tsx:107
msgid "I don't have access to authenticator app"
msgstr ""
-#: src/strings.tsx:93
+#: src/strings.tsx:105
msgid "I don't have access to email"
msgstr ""
-#: src/strings.tsx:94
+#: src/strings.tsx:106
msgid "I don't have access to my phone"
msgstr ""
-#: src/strings.tsx:96
+#: src/strings.tsx:108
msgid "I don't have recovery codes"
msgstr ""
-#: src/strings.tsx:103
+#: src/strings.tsx:115
msgid "I have a recovery code"
msgstr ""
-#: src/strings.tsx:1739
+#: src/strings.tsx:1797
msgid "I have saved my key"
msgstr ""
-#: src/strings.tsx:340
+#: src/strings.tsx:363
msgid "If the editor fails to load even after reloading. Try restarting the app."
msgstr ""
-#: src/strings.tsx:222
+#: src/strings.tsx:237
msgid "If this continues to happen, please reach out to us via"
msgstr ""
-#: src/strings.tsx:1570
+#: src/strings.tsx:1628
msgid "If you can't scan the QR code above, enter this text instead (spaces don't matter)"
msgstr ""
-#: src/strings.tsx:1234
+#: src/strings.tsx:1288
msgid ""
"If you didn't get an email from us or the confirmation link isn't\n"
"working,"
msgstr ""
-#: src/strings.tsx:201
+#: src/strings.tsx:216
msgid "If you want to ask something in general or need some assistance, we would suggest that you"
msgstr ""
@@ -1622,7 +1744,7 @@ msgstr ""
msgid "Images"
msgstr ""
-#: src/strings.tsx:112
+#: src/strings.tsx:124
msgid "Images uploaded without compression are slow to load and take more bandwidth. We recommend compressing images unless you need image in original quality."
msgstr ""
@@ -1630,15 +1752,15 @@ msgstr ""
msgid "Immediately"
msgstr ""
-#: src/strings.tsx:1593
+#: src/strings.tsx:1651
msgid "Import completed"
msgstr ""
-#: src/strings.tsx:1608
+#: src/strings.tsx:1666
msgid "import guide"
msgstr ""
-#: src/strings.tsx:144
+#: src/strings.tsx:156
msgid "Incoming"
msgstr ""
@@ -1654,7 +1776,7 @@ msgstr ""
msgid "Invalid email"
msgstr ""
-#: src/strings.tsx:192
+#: src/strings.tsx:207
msgid "Issue created"
msgstr ""
@@ -1668,15 +1790,28 @@ msgstr ""
#~ "and suggestions to help us improve it."
#~ msgstr ""
-#: src/strings.tsx:242
+#: src/strings.tsx:257
msgid "It took us a year to bring Notesnook to life. Share your experience and suggestions to help us improve it."
msgstr ""
-#: src/strings.tsx:1545
+#: src/strings.tsx:273
+msgid "item"
+msgstr ""
+
+#: src/strings.tsx:283
+msgid "Item"
+msgstr ""
+
+#: src/strings.tsx:293
+#: src/strings.tsx:1603
msgid "items"
msgstr ""
-#: src/strings.tsx:202
+#: src/strings.tsx:305
+msgid "Items"
+msgstr ""
+
+#: src/strings.tsx:217
msgid "join our community on Discord."
msgstr ""
@@ -1712,7 +1847,7 @@ msgstr ""
msgid "Latest first"
msgstr ""
-#: src/strings.tsx:149
+#: src/strings.tsx:161
msgid "Learn how this works."
msgstr ""
@@ -1724,7 +1859,7 @@ msgstr ""
msgid "Learn more about Monographs"
msgstr ""
-#: src/strings.tsx:239
+#: src/strings.tsx:254
msgid "Learn more about Notesnook Monograph"
msgstr ""
@@ -1732,7 +1867,7 @@ msgstr ""
msgid "legal"
msgstr ""
-#: src/strings.tsx:406
+#: src/strings.tsx:431
msgid "Let us know if you have faced any issue/bug while using Notesnook. We will try to fix it as soon as possible."
msgstr ""
@@ -1752,7 +1887,7 @@ msgstr ""
msgid "Link notebooks"
msgstr ""
-#: src/strings.tsx:208
+#: src/strings.tsx:223
msgid "LINK TO A SECTION"
msgstr ""
@@ -1764,11 +1899,11 @@ msgstr ""
msgid "Linked notes"
msgstr ""
-#: src/strings.tsx:1438
+#: src/strings.tsx:1495
msgid "Linking to a specific block is not available for locked notes."
msgstr ""
-#: src/strings.tsx:433
+#: src/strings.tsx:458
msgid "List of"
msgstr ""
@@ -1776,11 +1911,11 @@ msgstr ""
msgid "Load from file"
msgstr ""
-#: src/strings.tsx:1533
+#: src/strings.tsx:1591
msgid "Loading"
msgstr ""
-#: src/strings.tsx:116
+#: src/strings.tsx:128
msgid "Loading {0}, please wait..."
msgstr ""
@@ -1816,11 +1951,11 @@ msgstr ""
msgid "Loading your tags"
msgstr ""
-#: src/strings.tsx:129
+#: src/strings.tsx:141
msgid "Lock"
msgstr ""
-#: src/strings.tsx:391
+#: src/strings.tsx:416
msgid "Lock note"
msgstr ""
@@ -1836,7 +1971,7 @@ msgstr ""
msgid "Locked notes cannot be published"
msgstr ""
-#: src/strings.tsx:346
+#: src/strings.tsx:369
msgid "Logging out"
msgstr ""
@@ -1844,7 +1979,7 @@ msgstr ""
msgid "Logging out will clear all data stored on THIS DEVICE. Make sure you have synced all your changes before logging out."
msgstr ""
-#: src/strings.tsx:79
+#: src/strings.tsx:91
msgid "Login"
msgstr ""
@@ -1932,11 +2067,19 @@ msgstr ""
msgid "Marketing emails"
msgstr ""
+#: src/strings.tsx:2032
+msgid "Maximize"
+msgstr ""
+
#: src/strings.tsx:1621
-msgid "Member since"
+#~ msgid "Member since"
+#~ msgstr ""
+
+#: src/strings.tsx:1679
+msgid "Member since {date}"
msgstr ""
-#: src/strings.tsx:214
+#: src/strings.tsx:229
msgid "Migrating {0} {1}... please wait"
msgstr ""
@@ -1974,8 +2117,8 @@ msgstr ""
msgid "Monographs enable you to share your notes in a secure and private way."
msgstr ""
-#: src/strings.tsx:312
-#: src/strings.tsx:1695
+#: src/strings.tsx:335
+#: src/strings.tsx:1753
msgid "month"
msgstr ""
@@ -2021,11 +2164,11 @@ msgstr ""
msgid "Name"
msgstr ""
-#: src/strings.tsx:1526
+#: src/strings.tsx:1584
msgid "Native high-performance encryption"
msgstr ""
-#: src/strings.tsx:334
+#: src/strings.tsx:357
msgid "Never"
msgstr ""
@@ -2049,7 +2192,7 @@ msgstr ""
msgid "New lines will be double spaced (old ones won't be affected)."
msgstr ""
-#: src/strings.tsx:182
+#: src/strings.tsx:194
msgid "New note"
msgstr ""
@@ -2097,15 +2240,15 @@ msgstr ""
msgid "No application found to open {fileToOpen}"
msgstr ""
-#: src/strings.tsx:60
+#: src/strings.tsx:72
msgid "No attachments."
msgstr ""
-#: src/strings.tsx:319
+#: src/strings.tsx:342
msgid "No backups found"
msgstr ""
-#: src/strings.tsx:245
+#: src/strings.tsx:260
msgid "No blocks linked"
msgstr ""
@@ -2117,27 +2260,35 @@ msgstr ""
msgid "No directory selected"
msgstr ""
-#: src/strings.tsx:59
+#: src/strings.tsx:71
msgid "No downloads in progress."
msgstr ""
-#: src/strings.tsx:1503
+#: src/strings.tsx:1977
+msgid "No encryption key found"
+msgstr ""
+
+#: src/strings.tsx:1561
msgid "No headings found"
msgstr ""
-#: src/strings.tsx:249
+#: src/strings.tsx:544
+msgid "No linked notes"
+msgstr ""
+
+#: src/strings.tsx:264
msgid "No links found"
msgstr ""
-#: src/strings.tsx:146
+#: src/strings.tsx:158
msgid "No note history available for this device."
msgstr ""
-#: src/strings.tsx:173
+#: src/strings.tsx:185
msgid "No one can view this {type} except you."
msgstr ""
-#: src/strings.tsx:246
+#: src/strings.tsx:261
msgid "No references found of this note"
msgstr ""
@@ -2145,15 +2296,19 @@ msgstr ""
msgid "No results found for"
msgstr ""
-#: src/strings.tsx:349
+#: src/strings.tsx:372
msgid "No results found for \"{query}\""
msgstr ""
-#: src/strings.tsx:350
+#: src/strings.tsx:1425
+msgid "No results found for {query}"
+msgstr ""
+
+#: src/strings.tsx:373
msgid "No themes found"
msgstr ""
-#: src/strings.tsx:322
+#: src/strings.tsx:345
msgid "No updates available"
msgstr ""
@@ -2161,16 +2316,20 @@ msgstr ""
msgid "None"
msgstr ""
-#: src/strings.tsx:333
+#: src/strings.tsx:2006
+msgid "Normal mode"
+msgstr ""
+
+#: src/strings.tsx:356
msgid "Not logged in"
msgstr ""
-#: src/strings.tsx:252
+#: src/strings.tsx:267
msgid "note"
msgstr ""
-#: src/strings.tsx:26
-#: src/strings.tsx:260
+#: src/strings.tsx:38
+#: src/strings.tsx:277
msgid "Note"
msgstr ""
@@ -2182,7 +2341,11 @@ msgstr ""
msgid "Note deleted"
msgstr ""
-#: src/strings.tsx:393
+#: src/strings.tsx:1960
+msgid "Note does not exist"
+msgstr ""
+
+#: src/strings.tsx:418
msgid "Note history"
msgstr ""
@@ -2206,11 +2369,11 @@ msgstr ""
msgid "Note unlocked"
msgstr ""
-#: src/strings.tsx:148
+#: src/strings.tsx:160
msgid "Note version history is local only."
msgstr ""
-#: src/strings.tsx:253
+#: src/strings.tsx:268
msgid "notebook"
msgstr ""
@@ -2223,7 +2386,7 @@ msgstr ""
msgid "Notebook restored"
msgstr ""
-#: src/strings.tsx:269
+#: src/strings.tsx:288
msgid "notebooks"
msgstr ""
@@ -2232,12 +2395,12 @@ msgstr ""
msgid "Notebooks"
msgstr ""
-#: src/strings.tsx:225
-#: src/strings.tsx:1636
+#: src/strings.tsx:240
+#: src/strings.tsx:1694
msgid "NOTEBOOKS"
msgstr ""
-#: src/strings.tsx:268
+#: src/strings.tsx:287
msgid "notes"
msgstr ""
@@ -2246,7 +2409,7 @@ msgstr ""
msgid "Notes"
msgstr ""
-#: src/strings.tsx:191
+#: src/strings.tsx:206
msgid "Notes exported as {path} successfully"
msgstr ""
@@ -2270,7 +2433,7 @@ msgstr ""
msgid "Off"
msgstr ""
-#: src/strings.tsx:338
+#: src/strings.tsx:361
msgid "Offline"
msgstr ""
@@ -2290,11 +2453,11 @@ msgstr ""
msgid "Once your password is changed, please make sure to save the new account recovery key"
msgstr ""
-#: src/strings.tsx:1613
+#: src/strings.tsx:1671
msgid "Only .zip files are supported."
msgstr ""
-#: src/strings.tsx:126
+#: src/strings.tsx:138
msgid "Open"
msgstr ""
@@ -2302,7 +2465,7 @@ msgstr ""
msgid "Open file location"
msgstr ""
-#: src/strings.tsx:232
+#: src/strings.tsx:247
msgid "Open in browser"
msgstr ""
@@ -2358,7 +2521,7 @@ msgstr ""
msgid "Password not entered"
msgstr ""
-#: src/strings.tsx:233
+#: src/strings.tsx:248
msgid "Password protection"
msgstr ""
@@ -2442,7 +2605,7 @@ msgstr ""
msgid "Please make sure you have saved the recovery key. Tap one more time to confirm."
msgstr ""
-#: src/strings.tsx:196
+#: src/strings.tsx:211
msgid "Please note that we will respond to your issue on the given link. We recommend that you save it."
msgstr ""
@@ -2454,11 +2617,19 @@ msgstr ""
msgid "Please set title of the reminder"
msgstr ""
-#: src/strings.tsx:24
+#: src/strings.tsx:1979
+msgid "Please try again"
+msgstr ""
+
+#: src/strings.tsx:1999
+msgid "Please upgrade to Pro to enable automatic backups."
+msgstr ""
+
+#: src/strings.tsx:36
msgid "Please verify it's you"
msgstr ""
-#: src/strings.tsx:229
+#: src/strings.tsx:244
msgid "Please wait"
msgstr ""
@@ -2479,19 +2650,23 @@ msgstr ""
msgid "Please wait while we load your subscription"
msgstr ""
-#: src/strings.tsx:347
+#: src/strings.tsx:370
msgid "Please wait while we log you out."
msgstr ""
-#: src/strings.tsx:1767
+#: src/strings.tsx:1825
msgid "Please wait while we reset your account password."
msgstr ""
-#: src/strings.tsx:1750
+#: src/strings.tsx:1511
+msgid "Please wait while we restore your backup"
+msgstr ""
+
+#: src/strings.tsx:1808
msgid "Please wait while we send you recovery instructions"
msgstr ""
-#: src/strings.tsx:227
+#: src/strings.tsx:242
msgid "Please wait while we sync all your data."
msgstr ""
@@ -2507,11 +2682,15 @@ msgstr ""
msgid "Preparing to restore backup file..."
msgstr ""
-#: src/strings.tsx:364
+#: src/strings.tsx:387
msgid "PRESETS"
msgstr ""
-#: src/strings.tsx:152
+#: src/strings.tsx:859
+msgid "Prevent {0} from syncing"
+msgstr ""
+
+#: src/strings.tsx:164
msgid "Preview not available, content is encrypted."
msgstr ""
@@ -2531,11 +2710,11 @@ msgstr ""
msgid "Privacy policy"
msgstr ""
-#: src/strings.tsx:74
+#: src/strings.tsx:86
msgid "Privacy Policy."
msgstr ""
-#: src/strings.tsx:132
+#: src/strings.tsx:144
msgid "private analytics and bug reports."
msgstr ""
@@ -2551,19 +2730,24 @@ msgstr ""
msgid "Productivity"
msgstr ""
-#: src/strings.tsx:1721
+#: src/strings.tsx:1966
+msgid "Profile updated"
+msgstr ""
+
+#: src/strings.tsx:1779
msgid "Properties"
msgstr ""
-#: src/strings.tsx:344
+#: src/strings.tsx:367
msgid "Protect your notes"
msgstr ""
-#: src/strings.tsx:416
+#: src/strings.tsx:441
+#: src/strings.tsx:1865
msgid "Publish"
msgstr ""
-#: src/strings.tsx:418
+#: src/strings.tsx:443
msgid "Publish your note to share it with others. You can set a password to protect it."
msgstr ""
@@ -2571,11 +2755,11 @@ msgstr ""
msgid "Published"
msgstr ""
-#: src/strings.tsx:230
+#: src/strings.tsx:245
msgid "Published at"
msgstr ""
-#: src/strings.tsx:235
+#: src/strings.tsx:250
msgid "Published note can only be viewed by someone with the password."
msgstr ""
@@ -2585,7 +2769,7 @@ msgstr ""
#~ "viewed by someone."
#~ msgstr ""
-#: src/strings.tsx:238
+#: src/strings.tsx:253
msgid "Published note link will be automatically deleted once it is viewed by someone."
msgstr ""
@@ -2609,7 +2793,7 @@ msgstr ""
msgid "Rate now (It takes only a second)"
msgstr ""
-#: src/strings.tsx:330
+#: src/strings.tsx:353
msgid "Read full release notes on Github"
msgstr ""
@@ -2637,11 +2821,15 @@ msgstr ""
msgid "RECENT BACKUPS"
msgstr ""
-#: src/strings.tsx:110
+#: src/strings.tsx:1993
+msgid "Rechecking failed"
+msgstr ""
+
+#: src/strings.tsx:122
msgid "Recommended"
msgstr ""
-#: src/strings.tsx:371
+#: src/strings.tsx:394
msgid "Recover your account"
msgstr ""
@@ -2653,11 +2841,11 @@ msgstr ""
msgid "Recovery codes saved!"
msgstr ""
-#: src/strings.tsx:64
+#: src/strings.tsx:76
msgid "Recovery email has been sent to your email address. Please check your inbox and follow the instructions to recover your account."
msgstr ""
-#: src/strings.tsx:62
+#: src/strings.tsx:74
msgid "Recovery email sent!"
msgstr ""
@@ -2673,11 +2861,15 @@ msgstr ""
msgid "Recovery key text file saved"
msgstr ""
-#: src/strings.tsx:1768
+#: src/strings.tsx:1826
msgid "Recovery successful!"
msgstr ""
-#: src/strings.tsx:316
+#: src/strings.tsx:473
+msgid "Redo"
+msgstr ""
+
+#: src/strings.tsx:339
msgid "REFERENCED IN"
msgstr ""
@@ -2685,7 +2877,11 @@ msgstr ""
msgid "References"
msgstr ""
-#: src/strings.tsx:368
+#: src/strings.tsx:472
+msgid "Regenerate"
+msgstr ""
+
+#: src/strings.tsx:391
msgid "Release notes"
msgstr ""
@@ -2693,7 +2889,7 @@ msgstr ""
msgid "Remind me"
msgstr ""
-#: src/strings.tsx:315
+#: src/strings.tsx:338
msgid "Remind me in"
msgstr ""
@@ -2701,11 +2897,11 @@ msgstr ""
msgid "Remind me of..."
msgstr ""
-#: src/strings.tsx:255
+#: src/strings.tsx:270
msgid "reminder"
msgstr ""
-#: src/strings.tsx:263
+#: src/strings.tsx:280
msgid "Reminder"
msgstr ""
@@ -2717,7 +2913,7 @@ msgstr ""
msgid "Reminder notifications"
msgstr ""
-#: src/strings.tsx:271
+#: src/strings.tsx:290
msgid "reminders"
msgstr ""
@@ -2803,7 +2999,7 @@ msgstr ""
msgid "Repeat"
msgstr ""
-#: src/strings.tsx:290
+#: src/strings.tsx:313
msgid "Repeats daily at {date}"
msgstr ""
@@ -2811,7 +3007,7 @@ msgstr ""
msgid "Report an issue"
msgstr ""
-#: src/strings.tsx:402
+#: src/strings.tsx:427
msgid "Report issue"
msgstr ""
@@ -2819,7 +3015,7 @@ msgstr ""
msgid "Resend code ({seconds})"
msgstr ""
-#: src/strings.tsx:98
+#: src/strings.tsx:110
msgid "Resend code in ({seconds})"
msgstr ""
@@ -2879,7 +3075,7 @@ msgstr ""
msgid "Restored successfully"
msgstr ""
-#: src/strings.tsx:320
+#: src/strings.tsx:343
msgid "Restoring"
msgstr ""
@@ -2895,11 +3091,15 @@ msgstr ""
msgid "Resubscribe to Pro"
msgstr ""
-#: src/strings.tsx:441
+#: src/strings.tsx:466
msgid "Reupload"
msgstr ""
-#: src/strings.tsx:122
+#: src/strings.tsx:2012
+msgid "Reveal in list"
+msgstr ""
+
+#: src/strings.tsx:134
msgid "Revoke"
msgstr ""
@@ -2907,7 +3107,7 @@ msgstr ""
msgid "Revoke biometric unlocking"
msgstr ""
-#: src/strings.tsx:385
+#: src/strings.tsx:410
msgid "Revoke Vault Fingerprint Unlock"
msgstr ""
@@ -2931,7 +3131,7 @@ msgstr ""
msgid "Save"
msgstr ""
-#: src/strings.tsx:407
+#: src/strings.tsx:432
msgid "Save a backup of your notes"
msgstr ""
@@ -2939,7 +3139,7 @@ msgstr ""
msgid "Save a copy"
msgstr ""
-#: src/strings.tsx:419
+#: src/strings.tsx:444
msgid "Save account recovery key"
msgstr ""
@@ -2959,7 +3159,7 @@ msgstr ""
msgid "Save QR code to gallery"
msgstr ""
-#: src/strings.tsx:426
+#: src/strings.tsx:451
msgid "Save recovery codes"
msgstr ""
@@ -2975,7 +3175,7 @@ msgstr ""
msgid "Save your account recovery key"
msgstr ""
-#: src/strings.tsx:421
+#: src/strings.tsx:446
msgid "Save your account recovery key in a safe place. You will need it to recover your account in case you forget your password."
msgstr ""
@@ -2983,7 +3183,7 @@ msgstr ""
msgid "Save your data recovery key in a safe place. You will need it to recover your data in case you forget your password."
msgstr ""
-#: src/strings.tsx:428
+#: src/strings.tsx:453
msgid "Save your recovery codes in a safe place. You will need them to recover your account in case you lose access to your two-factor authentication methods."
msgstr ""
@@ -3052,7 +3252,7 @@ msgstr ""
#~ msgid "Select day of the month to repeat the reminder."
#~ msgstr ""
-#: src/strings.tsx:293
+#: src/strings.tsx:316
msgid "Select day of the week to repeat the reminder."
msgstr ""
@@ -3064,55 +3264,55 @@ msgstr ""
msgid "Select folder with backup files"
msgstr ""
-#: src/strings.tsx:82
+#: src/strings.tsx:94
msgid "Select how you would like to recieve the code"
msgstr ""
-#: src/strings.tsx:81
+#: src/strings.tsx:93
msgid "Select method for two-factor authentication"
msgstr ""
-#: src/strings.tsx:394
+#: src/strings.tsx:419
msgid "Select notebooks"
msgstr ""
-#: src/strings.tsx:395
+#: src/strings.tsx:420
msgid "Select notebooks you want to add note(s) to."
msgstr ""
-#: src/strings.tsx:297
+#: src/strings.tsx:320
msgid "Select nth day of the month to repeat the reminder."
msgstr ""
-#: src/strings.tsx:1672
+#: src/strings.tsx:1730
msgid "Select profile picture"
msgstr ""
-#: src/strings.tsx:318
+#: src/strings.tsx:341
msgid "Select the folder that includes your backup files to list them here."
msgstr ""
-#: src/strings.tsx:1500
+#: src/strings.tsx:1558
msgid "selected"
msgstr ""
-#: src/strings.tsx:205
+#: src/strings.tsx:220
msgid "SELECTED NOTE"
msgstr ""
-#: src/strings.tsx:236
+#: src/strings.tsx:251
msgid "Self destruct"
msgstr ""
-#: src/strings.tsx:99
+#: src/strings.tsx:111
msgid "Send code"
msgstr ""
-#: src/strings.tsx:101
+#: src/strings.tsx:113
msgid "Send code via email"
msgstr ""
-#: src/strings.tsx:100
+#: src/strings.tsx:112
msgid "Send code via SMS"
msgstr ""
@@ -3136,11 +3336,11 @@ msgstr ""
msgid "Server used to sync your notes & other data between devices."
msgstr ""
-#: src/strings.tsx:1476
+#: src/strings.tsx:1534
msgid "Server with host {host} not found."
msgstr ""
-#: src/strings.tsx:67
+#: src/strings.tsx:79
msgid "Session expired"
msgstr ""
@@ -3186,7 +3386,7 @@ msgstr ""
msgid "Set the interval to create a partial backup (without attachments) automatically."
msgstr ""
-#: src/strings.tsx:363
+#: src/strings.tsx:386
msgid "Set your name"
msgstr ""
@@ -3236,7 +3436,7 @@ msgstr ""
msgid "Setup using SMS"
msgstr ""
-#: src/strings.tsx:125
+#: src/strings.tsx:137
msgid "Share"
msgstr ""
@@ -3244,7 +3444,7 @@ msgstr ""
msgid "Share backup"
msgstr ""
-#: src/strings.tsx:388
+#: src/strings.tsx:413
msgid "Share note"
msgstr ""
@@ -3256,7 +3456,19 @@ msgstr ""
msgid "Shortcut created"
msgstr ""
-#: src/strings.tsx:66
+#: src/strings.tsx:1992
+msgid "Shortcut removed"
+msgstr ""
+
+#: src/strings.tsx:294
+msgid "shortcuts"
+msgstr ""
+
+#: src/strings.tsx:306
+msgid "Shortcuts"
+msgstr ""
+
+#: src/strings.tsx:78
msgid "Sign up"
msgstr ""
@@ -3300,7 +3512,7 @@ msgstr ""
msgid "Start writing to create a new note"
msgstr ""
-#: src/strings.tsx:170
+#: src/strings.tsx:182
msgid "Start writing to save your note."
msgstr ""
@@ -3356,7 +3568,7 @@ msgstr ""
msgid "Switch to search/replace mode"
msgstr ""
-#: src/strings.tsx:336
+#: src/strings.tsx:359
msgid "Sync failed"
msgstr ""
@@ -3380,19 +3592,19 @@ msgstr ""
msgid "Sync your notes in the background even when the app is closed. This is an experimental feature. If you face any issues, please turn it off."
msgstr ""
-#: src/strings.tsx:337
+#: src/strings.tsx:360
msgid "Synced"
msgstr ""
-#: src/strings.tsx:335
+#: src/strings.tsx:358
msgid "Syncing"
msgstr ""
-#: src/strings.tsx:1541
+#: src/strings.tsx:1599
msgid "Syncing your {0}"
msgstr ""
-#: src/strings.tsx:226
+#: src/strings.tsx:241
msgid "Syncing your data"
msgstr ""
@@ -3404,15 +3616,15 @@ msgstr ""
msgid "Tabs"
msgstr ""
-#: src/strings.tsx:254
+#: src/strings.tsx:269
msgid "tag"
msgstr ""
-#: src/strings.tsx:262
+#: src/strings.tsx:279
msgid "Tag"
msgstr ""
-#: src/strings.tsx:270
+#: src/strings.tsx:289
msgid "tags"
msgstr ""
@@ -3441,7 +3653,7 @@ msgstr ""
msgid "Taking too long? Reload editor"
msgstr ""
-#: src/strings.tsx:396
+#: src/strings.tsx:421
msgid "Tap and hold to enable multi-select."
msgstr ""
@@ -3465,15 +3677,15 @@ msgstr ""
msgid "Tap on \"Take note\" to add a note."
msgstr ""
-#: src/strings.tsx:354
+#: src/strings.tsx:377
msgid "Tap to apply again"
msgstr ""
-#: src/strings.tsx:43
+#: src/strings.tsx:55
msgid "Tap to cancel"
msgstr ""
-#: src/strings.tsx:206
+#: src/strings.tsx:221
msgid "Tap to deselect"
msgstr ""
@@ -3485,7 +3697,7 @@ msgstr ""
msgid "Tap to try again"
msgstr ""
-#: src/strings.tsx:244
+#: src/strings.tsx:259
msgid "Tap twice to confirm you have saved the recovery key."
msgstr ""
@@ -3507,7 +3719,7 @@ msgstr ""
msgid "Terms of service"
msgstr ""
-#: src/strings.tsx:72
+#: src/strings.tsx:84
msgid "Terms of Service"
msgstr ""
@@ -3520,26 +3732,30 @@ msgid "Test connection before changing server urls"
msgstr ""
#: src/strings.tsx:1628
-msgid "Thank you for choosing end-to-end encrypted note taking."
+#~ msgid "Thank you for choosing end-to-end encrypted note taking."
+#~ msgstr ""
+
+#: src/strings.tsx:1686
+msgid "Thank you for choosing end-to-end encrypted note taking. Now you can sync your notes to unlimited devices."
msgstr ""
-#: src/strings.tsx:409
+#: src/strings.tsx:434
msgid "Thank you for updating Notesnook! We will be applying some minor changes for a better note taking experience."
msgstr ""
-#: src/strings.tsx:1481
+#: src/strings.tsx:1539
msgid "The {title} at {url} is not compatible with this client."
msgstr ""
-#: src/strings.tsx:199
+#: src/strings.tsx:214
msgid "The information above will be publically available at"
msgstr ""
-#: src/strings.tsx:292
+#: src/strings.tsx:315
msgid "The reminder will repeat daily at {date}."
msgstr ""
-#: src/strings.tsx:295
+#: src/strings.tsx:318
msgid "The reminder will repeat every year on {date}."
msgstr ""
@@ -3555,11 +3771,11 @@ msgstr ""
msgid "Themes"
msgstr ""
-#: src/strings.tsx:250
+#: src/strings.tsx:265
msgid "There are no blocks in this note."
msgstr ""
-#: src/strings.tsx:143
+#: src/strings.tsx:155
msgid "This device"
msgstr ""
@@ -3567,11 +3783,11 @@ msgstr ""
msgid "This note is locked. Unlock note to save changes"
msgstr ""
-#: src/strings.tsx:248
+#: src/strings.tsx:263
msgid "This note is not linked to any other note."
msgstr ""
-#: src/strings.tsx:247
+#: src/strings.tsx:262
msgid "This note is not referenced in other notes."
msgstr ""
@@ -3649,15 +3865,15 @@ msgstr ""
msgid "Turns off syncing completely on this device. Any changes made will remain local only and new changes from your other devices won't sync to this device."
msgstr ""
-#: src/strings.tsx:80
+#: src/strings.tsx:92
msgid "Two factor authentication"
msgstr ""
-#: src/strings.tsx:423
+#: src/strings.tsx:448
msgid "Two-factor authentication"
msgstr ""
-#: src/strings.tsx:432
+#: src/strings.tsx:457
msgid "Two-factor authentication enabled"
msgstr ""
@@ -3693,7 +3909,7 @@ msgstr ""
msgid "Unlink notebook"
msgstr ""
-#: src/strings.tsx:127
+#: src/strings.tsx:139
msgid "Unlock"
msgstr ""
@@ -3718,15 +3934,15 @@ msgstr ""
msgid "Unlock with biometrics"
msgstr ""
-#: src/strings.tsx:118
+#: src/strings.tsx:130
msgid "Unlock with password once to enable biometric access."
msgstr ""
-#: src/strings.tsx:1682
+#: src/strings.tsx:1740
msgid "Unlock with security key"
msgstr ""
-#: src/strings.tsx:25
+#: src/strings.tsx:37
msgid "Unlock your notes"
msgstr ""
@@ -3750,7 +3966,11 @@ msgstr ""
msgid "Unpublish notes to delete them"
msgstr ""
-#: src/strings.tsx:181
+#: src/strings.tsx:1843
+msgid "unpublished"
+msgstr ""
+
+#: src/strings.tsx:193
msgid "Untitled"
msgstr ""
@@ -3758,7 +3978,7 @@ msgstr ""
msgid "Update"
msgstr ""
-#: src/strings.tsx:323
+#: src/strings.tsx:346
msgid "Update available"
msgstr ""
@@ -3766,12 +3986,12 @@ msgstr ""
msgid "Upgrade to Pro"
msgstr ""
-#: src/strings.tsx:438
+#: src/strings.tsx:463
msgid "Upload"
msgstr ""
-#: src/strings.tsx:439
-#: src/strings.tsx:1489
+#: src/strings.tsx:464
+#: src/strings.tsx:1547
msgid "Uploaded"
msgstr ""
@@ -3779,8 +3999,8 @@ msgstr ""
msgid "Uploaded file verification failed."
msgstr ""
-#: src/strings.tsx:36
-#: src/strings.tsx:440
+#: src/strings.tsx:48
+#: src/strings.tsx:465
msgid "Uploading"
msgstr ""
@@ -3812,7 +4032,7 @@ msgstr ""
msgid "Use system theme"
msgstr ""
-#: src/strings.tsx:355
+#: src/strings.tsx:378
msgid ""
"Use the following key to format the title:\n"
"$date$: Current date.\n"
@@ -3847,7 +4067,11 @@ msgstr ""
msgid "Vault created"
msgstr ""
-#: src/strings.tsx:384
+#: src/strings.tsx:1985
+msgid "Vault deleted"
+msgstr ""
+
+#: src/strings.tsx:409
msgid "Vault Fingerprint Unlock"
msgstr ""
@@ -3871,15 +4095,15 @@ msgstr ""
msgid "Verify your subscription to Notesnook Pro"
msgstr ""
-#: src/strings.tsx:1756
+#: src/strings.tsx:1814
msgid "Verifying 2FA code"
msgstr ""
-#: src/strings.tsx:1742
+#: src/strings.tsx:1800
msgid "Verifying your email"
msgstr ""
-#: src/strings.tsx:352
+#: src/strings.tsx:375
msgid "Version"
msgstr ""
@@ -3907,7 +4131,7 @@ msgstr ""
msgid "View your recovery codes to recover your account in case you lose access to your two-factor authentication methods."
msgstr ""
-#: src/strings.tsx:353
+#: src/strings.tsx:376
msgid "Visit homepage"
msgstr ""
@@ -3915,11 +4139,15 @@ msgstr ""
msgid "Wait 30 seconds to try again"
msgstr ""
-#: src/strings.tsx:1490
+#: src/strings.tsx:1548
msgid "Waiting for upload"
msgstr ""
-#: src/strings.tsx:404
+#: src/strings.tsx:1822
+msgid "We are creating a backup of your data. Please wait..."
+msgstr ""
+
+#: src/strings.tsx:429
msgid "We are sorry, it seems that the app crashed due to an error. You can submit a bug report below so we can fix this asap."
msgstr ""
@@ -3943,7 +4171,7 @@ msgstr ""
msgid "Wednesday"
msgstr ""
-#: src/strings.tsx:311
+#: src/strings.tsx:334
msgid "week"
msgstr ""
@@ -3973,11 +4201,11 @@ msgstr ""
msgid "Write something..."
msgstr ""
-#: src/strings.tsx:1492
+#: src/strings.tsx:1550
msgid "Write with freedom."
msgstr ""
-#: src/strings.tsx:313
+#: src/strings.tsx:336
msgid "year"
msgstr ""
@@ -3995,7 +4223,7 @@ msgstr ""
msgid "Yes"
msgstr ""
-#: src/strings.tsx:76
+#: src/strings.tsx:88
msgid "You also agree to recieve marketing emails from us which you can opt-out of from app settings."
msgstr ""
@@ -4019,7 +4247,7 @@ msgstr ""
msgid "You can swipe left anywhere in the app to start a new note."
msgstr ""
-#: src/strings.tsx:194
+#: src/strings.tsx:209
msgid "You can track your issue at"
msgstr ""
@@ -4083,24 +4311,24 @@ msgstr ""
msgid "You subscribed to Notesnook Pro on the Web/Desktop App."
msgstr ""
-#: src/strings.tsx:400
+#: src/strings.tsx:425
msgid "You will be logged out from all your devices"
msgstr ""
-#: src/strings.tsx:1706
+#: src/strings.tsx:1764
msgid "You will receive instructions on how to recover your account on this email"
msgstr ""
-#: src/strings.tsx:399
+#: src/strings.tsx:424
msgid "Your account email will be changed without affecting your subscription or any other settings."
msgstr ""
-#: src/strings.tsx:1769
+#: src/strings.tsx:1827
msgid "Your account has been recovered."
msgstr ""
-#: src/strings.tsx:431
-#: src/strings.tsx:1574
+#: src/strings.tsx:456
+#: src/strings.tsx:1632
msgid "Your account is now 100% secure against unauthorized logins."
msgstr ""
@@ -4160,7 +4388,7 @@ msgstr ""
msgid "Your reminders"
msgstr ""
-#: src/strings.tsx:69
+#: src/strings.tsx:81
msgid "Your session has expired. Please enter password for {obfuscatedEmail} to continue."
msgstr ""
@@ -4192,10 +4420,10 @@ msgstr ""
msgid "Zipping"
msgstr ""
-#: src/strings.tsx:1538
+#: src/strings.tsx:1596
msgid "Zoom in"
msgstr ""
-#: src/strings.tsx:1537
+#: src/strings.tsx:1595
msgid "Zoom out"
msgstr ""
diff --git a/packages/intl/src/strings.tsx b/packages/intl/src/strings.tsx
index 1794acf57..e76d5de47 100644
--- a/packages/intl/src/strings.tsx
+++ b/packages/intl/src/strings.tsx
@@ -18,13 +18,18 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
import { I18n } from "@lingui/core";
import { plural, select, t } from "@lingui/macro";
+
type Actions =
| "deleted"
| "unpinned"
| "pinned"
| "unpublished"
| "published"
- | "permanentlyDeleted";
+ | "permanentlyDeleted"
+ | "restored"
+ | "edited"
+ | "created"
+ | "renamed";
export const strings = {
done: () => t`Done`,
@@ -188,7 +193,10 @@ export const strings = {
untitledNote: () => t`Untitled`,
newNote: () => t`New note`,
exportingNotes: (status?: string) =>
- t`${status ? status : "Exporting notes"}... Please wait `,
+ t`${status ? status : "Exporting notes"}`,
+ exportingNotesDesc: () => t`Please wait while we export your notes.`,
+ exportingNote: (title: string) => t`Exporting "${title}"`,
+ exportingNoteDesc: () => t`Please wait while we export your not.`,
exportSuccessHeading: (count: number) =>
plural(count, {
one: "Note exported",
@@ -262,7 +270,8 @@ export const strings = {
reminder: () => t`reminder`,
color: () => t`color`,
attachment: () => t`attachment`,
- item: () => t`item`
+ item: () => t`item`,
+ shortcut: () => t`shortcut`
},
dataTypesCamelCase: {
note: () => t`Note`,
@@ -271,7 +280,8 @@ export const strings = {
reminder: () => t`Reminder`,
color: () => t`Color`,
attachment: () => t`Attachment`,
- item: () => t`Item`
+ item: () => t`Item`,
+ shortcut: () => t`Shortcut`
},
dataTypesPlural: {
note: () => t`notes`,
@@ -280,7 +290,8 @@ export const strings = {
reminder: () => t`reminders`,
color: () => t`colors`,
attachment: () => t`attachments`,
- item: () => t`items`
+ item: () => t`items`,
+ shortcut: () => t`shortcuts`
},
dataTypesPluralCamelCase: {
note: () => t`Notes`,
@@ -291,7 +302,8 @@ export const strings = {
attachment: () => t`Attachments`,
favorite: () => t`Favorites`,
monograph: () => t`Monographs`,
- item: () => t`Items`
+ item: () => t`Items`,
+ shortcut: () => t`Shortcuts`
},
addItem: (referenceType: string) =>
t`Add a ${strings.dataTypes[
@@ -454,8 +466,12 @@ $headline$: Use starting line of the note as title.`,
reupload: () => t`Reupload`,
downloadSuccess: () => t`Download successful`,
fileDownloaded: (name?: string) => t`${name || "File"} downloaded`,
- dowloadCancelled: () => t`Download cancelled`
+ dowloadCancelled: () => t`Download cancelled`,
+ cancelDownload: () => t`Cancel download`,
+ cancelUpload: () => t`Cancel upload`
},
+ regenerate: () => t`Regenerate`,
+ redo: () => t`Redo`,
createYourAccount: () => t`Create your {"\n"}account`,
pinned: () => t`Pinned`,
editNotebook: () => t`Edit notebook`,
@@ -503,6 +519,7 @@ $headline$: Use starting line of the note as title.`,
viewAllLinkedNotebooks: () => t`View all linked notebooks`,
learnMore: () => t`Learn more`,
addTag: () => t`Add tag`,
+ addTagDesc: () => t`You can add as many tags as you want.`,
save: () => t`Save`,
verify: () => t`Verify`,
newTab: () => t`New tab`,
@@ -525,6 +542,7 @@ $headline$: Use starting line of the note as title.`,
saveAsText: () => t`Save to text file`,
shareToCloud: () => t`Share to cloud`,
linkedNotes: () => t`Linked notes`,
+ noLinkedNotes: () => t`No linked notes`,
reminderModes: {
Repeat: () => t`Repeat`,
Once: () => t`Once`,
@@ -573,7 +591,8 @@ $headline$: Use starting line of the note as title.`,
dateEdited: () => t`Date edited`,
dateCreated: () => t`Date created`,
title: () => t`Title`,
- dueDate: () => t`Due date`
+ dueDate: () => t`Due date`,
+ dateDeleted: () => t`Date deleted`
},
groupByStrings: {
default: () => t`Default`,
@@ -656,14 +675,16 @@ $headline$: Use starting line of the note as title.`,
renameFile: () => t`Rename file`,
hashCopied: () => t`Hash copied`,
mediaTypes: {
- all: () => t`All`,
+ all: () => t`All files`,
image: () => t`Images`,
video: () => t`Videos`,
- audio: () => t`Audio`,
document: () => t`Documents`,
orphaned: () => t`Orphaned`,
- errors: () => t`Errors`
+ errors: () => t`Errors`,
+ audio: () => t`Audios`
},
+ orphaned: () => t`Orphaned`,
+ uploads: () => t`Uploads`,
emailNotConfirmed: () => t`Email not confirmed`,
emailNotConfirmedDesc: () =>
t`Your email is not confirmed. Please confirm your email address to change account password.`,
@@ -802,6 +823,7 @@ $headline$: Use starting line of the note as title.`,
password: () => t`Password`,
renameTag: () => t`Rename tag`,
renameColor: () => t`Rename color`,
+ renameColorDesc: (color: string) => t`You are renaming color ${color}`,
name: () => t`Name`,
unlockToDelete: () => t`Unlock note to delete it`,
backupRestored: () => t`Backup restored`,
@@ -833,16 +855,26 @@ $headline$: Use starting line of the note as title.`,
removeFromNotebook: () => t`Remove from notebook`,
attachments: () => t`Attachments`,
history: () => t`History`,
- copyLink: () => t`Copy link`,
+ copyLink: () => t`Copy internal link`,
linkCopied: () => t`Link copied`,
readOnly: () => t`Read only`,
syncOff: () => t`Sync off`,
+ syncOffConfirm: (count: number) =>
+ t`Prevent ${strings.itemsPlural("note", count)} from syncing`,
+ syncOffDesc: (count: number) =>
+ `${strings.itemsPlural(
+ "note",
+ count
+ )} will be automatically deleted from all other devices & any future changes won't get synced. Are you sure you want to continue?`,
duplicate: () => t`Duplicate`,
remindMe: () => t`Remind me`,
published: () => t`Published`,
unpinFromNotifications: () => t`Unpin from notifications`,
pinToNotifications: () => t`Pin to notifications`,
linkNotebooks: () => t`Link notebooks`,
+ unlinkFromAll: () => t`Unlink from all`,
+ removeFromAll: () => t`Remove from all`,
+ assignTo: () => t`Assign to`,
addTags: () => t`Add tags`,
references: () => t`References`,
moveNotebookFix: () => t`Move notebook`,
@@ -850,7 +882,7 @@ $headline$: Use starting line of the note as title.`,
createNewNote: () => t`Create a new note`,
monographs: () => t`Monographs`,
encryptingAttachment: () => t`Encrypting attachment`,
- encryptingAttachmentDesc: (name: string) =>
+ encryptingAttachmentDesc: (name = "attachment") =>
t`Please wait while we encrypt ${name} for upload.`,
fileTooLarge: () => t`File too big`,
fileTooLargeDesc: (sizeInMB: number) =>
@@ -966,6 +998,7 @@ $headline$: Use starting line of the note as title.`,
deleteAccountDesc: () =>
t`All your data will be removed permanently. Make sure you have saved backup of your notes. This action is IRREVERSIBLE.`,
enterAccountPassword: () => t`Enter account password`,
+ enterAccountPasswordDesc: () => t`Enter account password to proceed.`,
failedToDeleteAccount: () => t`Failed to delete account`,
syncSettings: () => t`Sync settings`,
syncSettingsDesc: () => t`Manage your sync settings here`,
@@ -1064,6 +1097,7 @@ $headline$: Use starting line of the note as title.`,
appLockTimeout: () => t`App lock timeout`,
appLockTimeoutDesc: () =>
t`Automatically lock the app after a certain period`,
+
setupAppLockPin: () => t`Setup app lock pin`,
setupAppLockPinDesc: () => t`Setup a pin to lock the app`,
setupAppLockPassword: () => t`Setup app lock password`,
@@ -1186,6 +1220,7 @@ NOTE: Creating a backup with attachments can take a while, and also fail complet
deleteCollapsedDesc: () =>
t`All tools in the collapsed section will be removed`,
clearTrash: () => t`Clear trash`,
+ areYouSure: () => t`Are you sure?`,
clearTrashConfirm: () => t`Are you sure you want to clear trash?`,
trashCleared: () => t`Trash cleared successfully!`,
trash: () => t`Trash`,
@@ -1382,15 +1417,16 @@ For example:
searchANote: () => t`Search a note`,
remindeMeOf: () => t`Remind me of...`,
addShortNote: () => t`Add a short note`,
- typeAKeywordToSearchIn: () => t`Type a keyword to search in`,
- searchingFor: () => t`Searching for`,
+ typeAKeywordToSearchIn: (route: string) =>
+ t`Type a keyword to search in ${route}`,
+ searchingFor: (query: string) => t`Searching for ${query}`,
typeAKeyword: () => t`Type a keyword`,
search: () => t`Search`,
enterEmailAddress: () => t`Enter email address`,
enterValidEmail: () => t`Please enter a valid email address`,
enterValidPhone: () => t`Please enter a valid phone number with country code`,
errorGettingCodes: () => t`Error getting codes`,
- noResultsFound: () => t`No results found for`,
+ noResultsFound: (query: string) => t`No results found for ${query}`,
routes: {
Notes: () => t`Notes`,
Notebooks: () => t`Notebooks`,
@@ -1424,7 +1460,7 @@ For example:
emailOrPasswordIncorrect: () => t`Email or password incorrect`,
errorApplyingPromoCode: () => t`Error applying promo code`,
noNotificationPermission: () =>
- t`"App does not have permission to schedule notifications"`,
+ t`Please grant notifications permission to add new reminders.`,
selectDayError: () => t`Please select the day to repeat the reminder on`,
setTitleError: () => t`Please set title of the reminder`,
dateError: () => t`Reminder date must be set in future`,
@@ -1475,7 +1511,8 @@ For example:
t`Select a backup file from your device to restore backup`,
restoreFromFiles: () => t`Restore from files`,
recentBackups: () => t`RECENT BACKUPS`,
- restoringBackup: () => t`Restoring backups...`,
+ restoringBackup: () => t`Restoring backup...`,
+ restoringBackupDesc: () => t`Please wait while we restore your backup`,
decryptingBackup: () => t`Backup is encrypted, decrypting...`,
preparingBackupRestore: () => t`Preparing to restore backup file...`,
readingBackupFile: () => t`Reading backup file...`,
@@ -1499,9 +1536,9 @@ For example:
connectedToServer: () => t`Connected to all servers sucessfully.`,
allServerUrlsRequired: () => t`All server urls are required.`,
serverNotFound: (host: string) => t`Server with host ${host} not found.`,
- couldNotConnectTo: () => t`Could not connect to`,
- incorrectServerUrl: (url: string) =>
- t`The URL you have given (${url}) does not point to the`,
+ couldNotConnectTo: (server: string) => t`Could not connect to ${server}`,
+ incorrectServerUrl: (url: string, server: string) =>
+ t`The URL you have given (${url}) does not point to the ${server}`,
serverVersionMismatch: (title: string, url: string) =>
t`The ${title} at ${url} is not compatible with this client.`,
testConnectionBeforeSave: () =>
@@ -1588,7 +1625,7 @@ For example:
}),
of: () => t`of`,
installs: () => t`installs`,
- licenseUnder: () => t`Licensed under`,
+ licenseUnder: (license: string) => t`Licensed under ${license}`,
pro: () => t`Pro`,
mfaScanQrCode: () => t`Scan the QR code with your authenticator app`,
scanQrError: () =>
@@ -1643,14 +1680,14 @@ For example:
t`Your changes have been saved and will be reflected after the app has refreshed.`,
edit: () => t`Edit`,
yourFullName: () => t`Your full name`,
- memberSince: () => t`Member since`,
+ memberSince: (date: string) => t`Member since ${date}`,
betaLoginNotice: () =>
t`You are logging into the beta version of Notesnook. Switching between beta &amp; stable versions can cause weird issues including data loss. It is recommended that you do not use both simultaneously.`,
loggingIn: () => "Logging you in",
pleaseWaitLogin: () => t`Please wait while you are authenticated.`,
emailConfirmed: () => t`Your email has been confirmed.`,
confirmEmailThankyou: () =>
- t`Thank you for choosing end-to-end encrypted note taking.`,
+ t`Thank you for choosing end-to-end encrypted note taking. Now you can sync your notes to unlimited devices.`,
shareWithFriends: () => t`Share Notesnook with friends!`,
tagPromoWinText: () => [
t`Use`,
@@ -1659,7 +1696,7 @@ For example:
],
shareWithFriendsDesc: () => t`Because where's the fun in nookin' alone?`,
notebooksAllCaps: () => t`NOTEBOOKS`,
- authenticatedAs: () => t`Authenticated as`,
+ authenticatedAs: (email?: string) => t`Authenticated as ${email}`,
rememberedYourPassword: () => t`Remembered your password?`,
accountRecoveryMethods: [
{
@@ -1786,7 +1823,7 @@ All attachments will be downloaded & cached again on access.
backupYourDataDesc: () =>
t`Please download a backup of your data as your account will be cleared before recovery.`,
backingUpDataWait: () =>
- t`Please wait while we create a backup file for you to download.`,
+ t`We are creating a backup of your data. Please wait...`,
resetAccountPassword: () => t`Reset account password`,
resettingAccountPassword: () => t`Resetting account password`,
resetPasswordWait: () => t`Please wait while we reset your account password.`,
@@ -1809,69 +1846,369 @@ All attachments will be downloaded & cached again on access.
pinned: t`pinned`,
unpublished: t`unpublished`,
published: t`published`,
- permanentlyDeleted: t`permanently deleted`
+ permanentlyDeleted: t`permanently deleted`,
+ restored: t`restored`,
+ edited: t`edited`,
+ created: t`created`,
+ renamed: t`renamed`
+ }),
+ permanentlyDeleteDesc: (type: string, count: number) =>
+ plural(count, {
+ one: `Are you sure you want to permanently delete this ${
+ strings.dataTypes[type as never]
+ }? This action is IRREVERSIBLE.`,
+ other: `Are you sure you want to permanently delete these ${
+ strings.dataTypesPlural[type as never]
+ }? This action is IRREVERSIBLE.`
+ }),
+ doActions: () => ({
+ delete: t`Delete`,
+ unpin: t`Unpin`,
+ pin: t`Pin`,
+ unpublish: t`Unpublish`,
+ publish: t`Publish`,
+ permanentlyDelete: t`Permanently delete`,
+ restore: t`Restore`,
+ edit: t`Edit`,
+ create: t`Created`,
+ rename: t`Rename`,
+ remove: t`Remove`
}),
+
+ doAction: (type: string, count: number, action: string) => {
+ const actions = strings.doActions();
+ return plural(count, {
+ one: `${strings.dataTypesCamelCase[
+ type as keyof typeof strings.dataTypes
+ ]()} ${actions[action as never]}`,
+ other: `# ${strings.dataTypesPlural[
+ type as keyof typeof strings.dataTypesPlural
+ ]()} ${actions[action as never]}`
+ });
+ },
action: (type: string, count: number, action: Actions) => {
const actions = strings.actions();
return plural(count, {
- one: `${
- strings.dataTypesCamelCase[type as keyof typeof strings.dataTypes]
- } ${actions[action]}`,
- other: `# ${
- strings.dataTypesPlural[type as keyof typeof strings.dataTypesPlural]
- } ${actions[action]}`
+ one: `${strings.dataTypesCamelCase[
+ type as keyof typeof strings.dataTypes
+ ]()} ${actions[action]}`,
+ other: `# ${strings.dataTypesPlural[
+ type as keyof typeof strings.dataTypesPlural
+ ]()} ${actions[action]}`
});
},
actionError: (type: string, count: number, action: Actions) => {
const actions = strings.actions();
return plural(count, {
- one: `${
- strings.dataTypesCamelCase[type as keyof typeof strings.dataTypes]
- } could not be ${actions[action]}`,
- other: `# ${
- strings.dataTypesPlural[type as keyof typeof strings.dataTypesPlural]
- } could not be ${actions[action]}`
+ one: `${strings.dataTypesCamelCase[
+ type as keyof typeof strings.dataTypes
+ ]()} could not be ${actions[action]}`,
+ other: `# ${strings.dataTypesPlural[
+ type as keyof typeof strings.dataTypesPlural
+ ]()} could not be ${actions[action]}`
});
},
deleted: (type: string, count: number) =>
plural(count, {
- one: `${
- strings.dataTypesCamelCase[type as keyof typeof strings.dataTypes]
- } deleted`,
- other: `# ${
- strings.dataTypesPlural[type as keyof typeof strings.dataTypesPlural]
- } deleted`
+ one: `${strings.dataTypesCamelCase[
+ type as keyof typeof strings.dataTypes
+ ]()} deleted`,
+ other: `# ${strings.dataTypesPlural[
+ type as keyof typeof strings.dataTypesPlural
+ ]()} deleted`
}),
unpinned: (type: string, count: number) =>
plural(count, {
- one: `${
- strings.dataTypesCamelCase[type as keyof typeof strings.dataTypes]
- } unpinned`,
- other: `# ${
- strings.dataTypesPlural[type as keyof typeof strings.dataTypesPlural]
- } unpinned`
+ one: `${strings.dataTypesCamelCase[
+ type as keyof typeof strings.dataTypes
+ ]()} unpinned`,
+ other: `# ${strings.dataTypesPlural[
+ type as keyof typeof strings.dataTypesPlural
+ ]()} unpinned`
}),
deleting: () => t`Deleting`,
deletingItems: (type: string, count: number) =>
plural(count, {
- one: `Deleting ${
- strings.dataTypes[type as keyof typeof strings.dataTypes]
- }`,
- other: `Deleting ${
- strings.dataTypesPlural[type as keyof typeof strings.dataTypesPlural]
- }`
+ one: `Deleting ${strings.dataTypes[
+ type as keyof typeof strings.dataTypes
+ ]()}`,
+ other: `Deleting ${strings.dataTypesPlural[
+ type as keyof typeof strings.dataTypesPlural
+ ]()}`
}),
itemsPlural: (type: string, count: number) =>
plural(count, {
- one: `${strings.dataTypes[type as keyof typeof strings.dataTypes]}`,
- other: `# ${
- strings.dataTypesPlural[type as keyof typeof strings.dataTypesPlural]
- }`
+ one: `${strings.dataTypes[type as keyof typeof strings.dataTypes]()}`,
+ other: `# ${strings.dataTypesPlural[
+ type as keyof typeof strings.dataTypesPlural
+ ]()}`
}),
backupReadyToDownload: () => t`Your backup is ready to download`,
unlockVault: () => t`Unlock vault`,
unlockVaultDesc: () => t`Please enter your vault password to continue`,
imagePreviewFailed: () => t`This image cannot be previewed`,
- failedToCopyNote: () => t`Failed to copy note`
+ failedToCopyNote: () => t`Failed to copy note`,
+ upgradeToProToUseFeature: (feature = "default") => {
+ const features = {
+ color: t`Upgrade to Notesnook Pro to add colors.`,
+ tags: t`Upgrade to Notesnook Pro to create more tags.`,
+ notebook: t` Upgrade to Notesnook Proto add more notebooks.`,
+ vault: t` Upgrade to Notesnook Proto use the notes vault.`,
+ customPresets: t` Upgrade to Notesnook Pro to use custom toolbar presets.`,
+ customizeToolbar: t` Upgrade to Notesnook Pro to customize the toolbar.`,
+ default: t` Upgrade to Notesnook Proto use this feature.`
+ };
+ return features[feature as keyof typeof features];
+ },
+ noteDoesNotExist: () => t`Note does not exist`,
+ couldNotConvertNote: (format: string) =>
+ t`Could not convert note to ${format}`,
+ remindersNotSupported: () =>
+ t`Reminders will not be active on this device as it does not support notifications.`,
+ invalidHexColor: () => t`Please enter a valid hex color (e.g. #ffffff)`,
+ profileUpdated: () => t`Profile updated`,
+ addedToNotebook: (count: number) =>
+ plural(count, {
+ one: `added to 1 notebook`,
+ other: `added to # notebooks`
+ }),
+ removedFromNotebook: (count: number) =>
+ plural(count, {
+ one: `removed from 1 notebook`,
+ other: `removed from # notebooks`
+ }),
+ noEncryptionKeyFound: () => t`No encryption key found`,
+ couldNotActivateTrial: () => t`Could not activate trial`,
+ pleaseTryAgain: () => t`Please try again`,
+ securityKeyRegistered: () => t`Security key successfully registered.`,
+ restartNow: () => t`Restart now`,
+ copied: () => t`Copied to clipboard`,
+ invalidCors: () => t`Invalid CORS proxy url`,
+ vaultCleared: () => t`Vault cleared`,
+ vaultDeleted: () => t`Vault deleted`,
+ subgroupAdded: () => t`Subgroup added`,
+ subCanceled: () => t`Your subscription has been canceled.`,
+ refundIssued: () =>
+ t`Your refund has been issued. Please wait 24 hours before reaching out to us in case you do not receive your funds.`,
+ failedToInstallTheme: () => t`Failed to install theme`,
+ fullNameUpdated: () => t`Full name updated`,
+ shortcutRemoved: () => t`Shortcut removed`,
+ recheckFailed: () => t`Rechecking failed`,
+ failedToDelete: () => t`Failed to delete`,
+ failedToRegisterTask: () => t`Failed to register task`,
+ couldNotClearTrash: () => t`Could not clear trash`,
+ automaticBackupsDisabled: () => t`Automatic backups disabled`,
+ automaticBackupsDisabledDesc: () =>
+ t`Please upgrade to Pro to enable automatic backups.`,
+ default: () => t`Default`,
+ minimal: () => t`Minimal`,
+ custom: () => t`Custom`,
+ disableEditorMargins: () => t`Disable editor margins`,
+ enableEditorMargins: () => t`Enable editor margins`,
+ exitFullScreen: () => t`Exit fullscreen`,
+ normalMode: () => t`Normal mode`,
+ focusMode: () => t`Focus mode`,
+ closeOthers: () => t`Close others`,
+ closeToRight: () => t`Close to the right`,
+ closeToLeft: () => t`Close to the left`,
+ closeAll: () => t`Close all`,
+ revealInList: () => t`Reveal in list`,
+ keepOpen: () => t`Keep open`,
+ orderBy: () => t`Order by`,
+ oldestToNewest: () => t`Oldest - newest`,
+ newestToOldest: () => t`Newest - oldest`,
+ sort: () => t`Sort`,
+ jumpToGroup: () => t`Jump to group`,
+ rotateLeft: () => t`Rotate left`,
+ rotateRight: () => t`Rotate right`,
+ website: () => t`Website`,
+ resetSidebar: () => t`Reset sidebar`,
+ removeColor: () => t`Remove color`,
+ favorite: () => t`Favorite`,
+ assignColor: () => t`Assign color`,
+ print: () => t`Print`,
+ exportAs: (format?: string) => t`Export as${format ? " " + format : ""}`,
+ copyAs: (format?: string) => t`Copy as${format ? " " + format : ""}`,
+ activate: () => t`Activate`,
+ deactivate: () => t`Deactivate`,
+ minimize: () => t`Minimize`,
+ maximize: () => t`Maximize`,
+ size: () => t`Size`,
+ dateUploaded: () => t`Date uploaded`,
+ editingTagDesc: (tag: string) => t`You are editing #${tag}`,
+ applyingChanges: () => t`Applying changes`,
+ thisMayTakeAWhile: () => t`This may take a while`,
+ processing: () => t`Processing`,
+ root: () => t`Root`,
+ credientials: () => t`Credentials`,
+ thankYouForReporting: () => t`Thank you for reporting!`,
+ bugReportMessage: (
+ url: string
+ ) => t`You can track your bug report at [${url}](${url}).
+
+Please note that we will respond to your bug report on the link above. **We recommended that you save the above link for later reference.**
+
+If your issue is critical (e.g. notes not syncing, crashes etc.), please [join our Discord community](https://discord.com/invite/zQBK97EE22) for one-to-one support.`,
+
+ safeEncryptedNotes: () => t`Safe & encrypted notes`,
+ writeWithFreedom: () =>
+ t`Write with freedom. Never compromise on privacy again.`,
+ chooseYourStyle: () => t`Choose your style`,
+ changeTheme: () =>
+ t`You can change the theme at any time from Settings or the side menu.`,
+ crossPlatformEncrypted: () => t`Cross platform & 100% encrypted`,
+ encryptsEverything: () =>
+ t`Notesnook encrypts everything offline before syncing to your other devices. This means that no one can read your notes except you. Not even us.`,
+ joinTheCause: () => t`Join the cause`,
+ meetPrivacyMinded: () =>
+ t`Meet other privacy-minded people & talk to us directly about your concerns, issues and suggestions.`,
+ nextLevelPrivateNoteTaking: () =>
+ t`Experience the next level of private note taking"`,
+ welcomeToNotesnookPro: () => t`Welcome to Notesnook Pro`,
+ thankYouPrivacy: () =>
+ t`Thank you. You are the proof that privacy always comes first.`,
+ weAreAlwaysListening: () =>
+ t`If you face any issue, you can reach out to us anytime.`,
+ importYourNotes: () =>
+ t`You can import your notes from most other note taking apps.`,
+ congratulations: () => t`Congratulations!`,
+ passwordPin: () => t`Password/pin`,
+ passwordPinDescription: () => t`The password/pin for unlocking the app.`,
+ securityKey: () => t`Security key`,
+ securityKeyDescription: () =>
+ t`The security key for unlocking the app. This is the most secure method.`,
+ unregister: () => t`Unregister`,
+ register: () => t`Register`,
+ enterPasswordOrPin: () => t`Enter pin or password to enable app lock.`,
+ securityKeyUsername: () => t`Enter your username`,
+ securityKeyUsernameDesc: () =>
+ t`This username will be used to distinguish between different credentials in your security key. Make sure it is unique.`,
+ general: () => t`General`,
+ zoomFactor: () => t`Zoom factor`,
+ zoomFactorDescription: () => t`Zoom in or out the app content.`,
+ colorScheme: () => t`Color scheme`,
+ colorSchemeDescription: () => t`Dark or light, we won't judge.`,
+ auto: () => t`Auto`,
+ selectTheme: () => t`Select a theme`,
+ current2faMethod: (method: string) => t`Your current 2FA method is ${method}`,
+ partialBackupDescription: () =>
+ t`Partial backups contain all your data except attachments. They are created from data already available on your device and do not require an Internet connection.`,
+ chooseBackupFormat: () => t`Choose backup format`,
+ backup: () => t`Backup`,
+ backupWithAttachments: () => t`Backup with attachments`,
+ dateAndTime: () => t`Date & time`,
+ desktopApp: () => t`Desktop app`,
+ automaticUpdates: () => t`Automatic updates`,
+ automaticUpdatesDesc: () =>
+ t`Automatically download & install updates in the background without prompting first.`,
+ desktopIntegration: () => t`Desktop integration`,
+ autoStartOnSystemStartup: () => t`Auto start on system startup`,
+ autoStartDescription: () =>
+ t`If true, Notesnook will automatically start up when you turn on & login to your system.`,
+ startMinimized: () => t`Start minimized`,
+ startMinimizedDescription: () =>
+ t`If true, Notesnook will start minimized to either the system tray or your system taskbar/dock. This setting only works with Auto start on system startup is enabled.`,
+ minimizeToSystemTray: () => t`Minimize to system tray`,
+ minimizeToSystemTrayDescription: () =>
+ t`Pressing "—" will hide the app in your system tray.`,
+ closeToSystemTray: () => t`Close to system tray`,
+ closeToSystemTrayDescription: () =>
+ t`Pressing "X" will hide the app in your system tray.`,
+ useNativeTitlebar: () => t`Use native titlebar`,
+ useNativeTitlebarDescription: () =>
+ t`Use native OS titlebar instead of replacing it with a custom one. Requires app restart for changes to take effect.`,
+ spellCheck: () => t`Spell check`,
+ enableSpellChecker: () => t`Enable spell checker`,
+ languages: () => t`Languages`,
+ spellCheckerLanguagesDescription: () =>
+ t`Select the languages the spell checker should check in.`,
+ customDictionaryWords: () => t`Custom dictionary words`,
+ toolbar: () => t`Toolbar`,
+ profile: () => t`Profile`,
+ authentication: () => t`Authentication`,
+ sync: () => t`Sync`,
+ behaviour: () => "Behaviour",
+ notifications: () => "Notifications",
+ servers: () => "Servers",
+ importExport: () => "Import & export",
+ backupExport: () => "Backup & export",
+ notesnookImporter: () => "Notesnook Importer",
+ securityPrivacy: () => "Security & privacy",
+ privacy: () => "Privacy",
+ other: () => "Other",
+ newVersionAvailable: (version: string) =>
+ `New version (v${version}) is available for download.`,
+ installUpdate: () => "Install update",
+ sourceCode: () => "Source code",
+ sourceCodeDescription: () =>
+ "All the source code for Notesnook is available & open for everyone on GitHub.",
+ viewSourceCode: () => "View source code",
+ checkRoadmap: () => "Check roadmap",
+ availableOnIOS: () => "Available on iOS",
+ availableOnIOSAndAndroid: () => "Available on iOS & Android",
+ availableOnIOSDescription: () =>
+ "Get Notesnook app on your iPhone and access all your notes on the go.",
+ availableOnIOSAndAndroidDescription: () =>
+ "Get Notesnook app on your iPhone or Android device and access all your notes on the go.",
+ joinCommunity: () => "Join community",
+ license: () => "License",
+ licenseDescription: () => "GNU GENERAL PUBLIC LICENSE Version 3",
+ follow: () => t`follow`,
+ report: () => t`Report`,
+ send: () => t`Send`,
+ marketingEmailsDescription: () =>
+ t`We send you occasional promotional offers & product updates on your email (once every month).`,
+ hideNoteTitle: () => t`Hide note title`,
+ hideNoteTitleDescription: () =>
+ t`Prevent note title from appearing in tab/window title.`,
+ advanced: () => t`Advanced`,
+ useCustomDns: () => t`Use custom DNS`,
+ customDnsDescription: () =>
+ t`Notesnook uses the following DNS providers:
+
+1. Cloudflare DNS
+2. Quad9
+
+This can sometimes bypass local ISP blockages on Notesnook traffic. Disable this if you want the app to use system's DNS settings.`,
+ changeProxy: () => t`Change proxy`,
+ proxy: () => t`Proxy`,
+ proxyDescription: () =>
+ t`Setup an HTTP/HTTPS/SOCKS proxy.
+
+For example:
+http://foobar:80
+socks4://proxy.example.com
+http://username:password@foobar:80
+
+To remove the proxy, simply erase everything in the input.`,
+ sessions: () => t`Sessions`,
+ loggedOut: () => t`You have been logged out.`,
+ logoutAllOtherDevices: () => t`Log out from all other devices`,
+ logoutAllOtherDevicesDescription: () =>
+ t`Force logout from all your other logged in devices.`,
+ clearSessions: () => t`clear sessions`,
+ loggedOutAllOtherDevices: () =>
+ t`You have been logged out from all other devices.`,
+ paymentMethod: () => t`Payment method`,
+ changePaymentMethodDescription: () =>
+ t`Change the payment method you used to purchase this subscription.`,
+ billingHistory: () => t`Billing history`,
+ failedToTakeBackup: () => t`Failed to take backup`,
+ failedToTakeBackupMessage: () =>
+ t`Failed to take backup of your data. Do you want to continue logging out?`,
+ fullOfflineMode: () => t`Full offline mode`,
+ fullOfflineModeDesc: () =>
+ t`Download everything including attachments on sync`,
+ havingProblemsWithSync: () => t`Having problems with sync?`,
+ understand: () => t`I understand`,
+ havingProblemsWithSyncDesc: () =>
+ t`Force push:
+Use this if changes made on this device are not appearing on other devices. This will overwrite the data on the server with the data from this device.
+
+Force pull:
+Use this if changes from other devices are not appearing on this device. This will overwrite the data on this device with the latest data from the server.
+
+**These must only be used for troubleshooting. Using them regularly for sync is not recommended and will lead to unexpected data loss and other issues. If you are having persistent issues with sync, please report them to us at [email protected].**`,
+ checkingAttachments: () => `Checking attachments`
};