diff --git a/apps/mobile/app/components/dialogs/result/pro-features.js b/apps/mobile/app/components/dialogs/result/pro-features.js index 44898a35d..5222faed8 100644 --- a/apps/mobile/app/components/dialogs/result/pro-features.js +++ b/apps/mobile/app/components/dialogs/result/pro-features.js @@ -48,7 +48,7 @@ export const ProFeatures = ({ count = 6 }) => { content: "Instantly sync to unlimited devices" }, { - content: "A private vault to keep everything imporant always locked" + content: "A private vault to keep everything important always locked" }, { content: diff --git a/apps/mobile/app/components/dialogs/vault/index.js b/apps/mobile/app/components/dialogs/vault/index.js index 89ff1f271..1ad9e6f95 100644 --- a/apps/mobile/app/components/dialogs/vault/index.js +++ b/apps/mobile/app/components/dialogs/vault/index.js @@ -543,7 +543,7 @@ export class VaultDialog extends Component { .remove(this.state.note.id, this.password) .then(() => { ToastEvent.show({ - heading: "Note permanantly unlocked.", + heading: "Note permanently unlocked.", type: "success", context: "global" }); diff --git a/apps/mobile/app/components/exception-handler/index.tsx b/apps/mobile/app/components/exception-handler/index.tsx index 4655f923f..051ed7d00 100644 --- a/apps/mobile/app/components/exception-handler/index.tsx +++ b/apps/mobile/app/components/exception-handler/index.tsx @@ -39,9 +39,9 @@ class ExceptionHandler extends React.Component<{ error: Error | null; hasError: boolean; } = { - hasError: false, - error: null - }; + hasError: false, + error: null + }; static getDerivedStateFromError(error: Error) { return { hasError: true, error: error }; } @@ -69,7 +69,7 @@ class ExceptionHandler extends React.Component<{ this.props.component )} defaultTitle={this.state.error?.message} - issueTitle="An exception occured" + issueTitle="An exception occurred" /> diff --git a/apps/mobile/app/components/list-items/notebook/wrapper.js b/apps/mobile/app/components/list-items/notebook/wrapper.js index 28bab39ba..73008a8a0 100644 --- a/apps/mobile/app/components/list-items/notebook/wrapper.js +++ b/apps/mobile/app/components/list-items/notebook/wrapper.js @@ -77,7 +77,7 @@ export const openNotebookTopic = (item) => { useTrashStore.getState().setTrash(); useSelectionStore.getState().setSelectionMode(false); ToastEvent.show({ - heading: "Permanantly deleted items", + heading: "Permanently deleted items", type: "success", context: "local" }); diff --git a/apps/mobile/app/components/note-history/preview.js b/apps/mobile/app/components/note-history/preview.js index bf7637a7c..7d1246cc4 100644 --- a/apps/mobile/app/components/note-history/preview.js +++ b/apps/mobile/app/components/note-history/preview.js @@ -84,7 +84,7 @@ export default function NotePreview({ session, content, note }) { useTrashStore.getState().setTrash(); useSelectionStore.getState().setSelectionMode(false); ToastEvent.show({ - heading: "Permanantly deleted items", + heading: "Permanently deleted items", type: "success", context: "local" }); diff --git a/apps/mobile/app/components/premium/compact-features.js b/apps/mobile/app/components/premium/compact-features.js index 950effb3a..a51e96ea9 100644 --- a/apps/mobile/app/components/premium/compact-features.js +++ b/apps/mobile/app/components/premium/compact-features.js @@ -56,7 +56,7 @@ export const CompactFeatures = ({ icon: "shield" }, { - highlight: "Daily, weekly & montly", + highlight: "Daily, weekly & monthly", content: "recurring reminders", icon: "bell" }, diff --git a/apps/mobile/app/components/premium/features.js b/apps/mobile/app/components/premium/features.js index 5316a6224..649125f6b 100644 --- a/apps/mobile/app/components/premium/features.js +++ b/apps/mobile/app/components/premium/features.js @@ -98,7 +98,7 @@ export const features = [ icon: "bell" }, { - highlight: "Daily, weekly & montly", + highlight: "Daily, weekly & monthly", content: "reminders", icon: "refresh", pro: true @@ -194,7 +194,7 @@ export const features = [ "Having the right tool at the right time is crucial for note taking. Lists, tables, codeblocks — you name it, we have it.", features: [ { - highlight: "Basic formating", + highlight: "Basic formatting", content: "and lists", icon: "format-bold" }, diff --git a/apps/mobile/app/components/sheets/github/issue.js b/apps/mobile/app/components/sheets/github/issue.js index b67c5d4c2..c294ac01f 100644 --- a/apps/mobile/app/components/sheets/github/issue.js +++ b/apps/mobile/app/components/sheets/github/issue.js @@ -111,7 +111,7 @@ Logged in: ${user ? "yes" : "no"}`, } catch (e) { setLoading(false); ToastEvent.show({ - heading: "An error occured", + heading: "An error occurred", message: e.message, type: "error" }); diff --git a/apps/mobile/app/components/sheets/migrate/index.tsx b/apps/mobile/app/components/sheets/migrate/index.tsx index f24c8d724..b7946b6da 100644 --- a/apps/mobile/app/components/sheets/migrate/index.tsx +++ b/apps/mobile/app/components/sheets/migrate/index.tsx @@ -177,7 +177,7 @@ export default function Migrate() { textAlign: "center" }} > - An error occured while migrating your data. You can logout of your + 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. diff --git a/apps/mobile/app/components/walkthroughs/walkthroughs.tsx b/apps/mobile/app/components/walkthroughs/walkthroughs.tsx index f49866be4..13b831bc5 100644 --- a/apps/mobile/app/components/walkthroughs/walkthroughs.tsx +++ b/apps/mobile/app/components/walkthroughs/walkthroughs.tsx @@ -70,8 +70,8 @@ const NotebookWelcome = () => { count: 5 }, { - title: "Recipies", - description: "I love cooking and collecting recipies", + title: "Recipes", + description: "I love cooking and collecting recipes", count: 10 } ]); @@ -195,7 +195,7 @@ const notebooks: { id: string; steps: TStep[] } = { > {" "} - Feburary 2022 Week 2 + February 2022 Week 2 {" "} - Feburary 2022 Week 1 + February 2022 Week 1 {}} + onPress={() => { }} /> {}} + onPress={() => { }} /> ), diff --git a/apps/mobile/app/hooks/use-actions.js b/apps/mobile/app/hooks/use-actions.js index 1557a5ff2..5cc48a105 100644 --- a/apps/mobile/app/hooks/use-actions.js +++ b/apps/mobile/app/hooks/use-actions.js @@ -520,7 +520,7 @@ export const useActions = ({ close = () => null, item }) => { await sleep(300); presentDialog({ title: "Permanent delete", - paragraph: `Are you sure you want to delete this ${item.itemType} permanantly from trash?`, + paragraph: `Are you sure you want to delete this ${item.itemType} permanently from trash?`, positiveText: "Delete", negativeText: "Cancel", positivePress: async () => { @@ -529,7 +529,7 @@ export const useActions = ({ close = () => null, item }) => { Navigation.queueRoutesForUpdate(); useSelectionStore.getState().setSelectionMode(false); ToastEvent.show({ - heading: "Permanantly deleted items", + heading: "Permanently deleted items", type: "success", context: "local" }); diff --git a/apps/mobile/app/hooks/use-app-events.js b/apps/mobile/app/hooks/use-app-events.js index 3de712898..4854849cb 100644 --- a/apps/mobile/app/hooks/use-app-events.js +++ b/apps/mobile/app/hooks/use-app-events.js @@ -467,7 +467,7 @@ export const useAppEvents = () => { }); } } catch (e) { - ToastEvent.error(e, "An error occured", "global"); + ToastEvent.error(e, "An error occurred", "global"); } user = await db.user.getUser(); diff --git a/apps/mobile/app/screens/search/search-bar.js b/apps/mobile/app/screens/search/search-bar.js index 5c8239e94..478ec583b 100644 --- a/apps/mobile/app/screens/search/search-bar.js +++ b/apps/mobile/app/screens/search/search-bar.js @@ -71,7 +71,7 @@ export const SearchBar = () => { } catch (e) { console.log(e); ToastEvent.show({ - heading: "Error occured while searching", + heading: "Error occurred while searching", message: e.message, type: "error" }); diff --git a/apps/mobile/app/screens/settings/settings-data.tsx b/apps/mobile/app/screens/settings/settings-data.tsx index 346804954..5cc1e42bc 100644 --- a/apps/mobile/app/screens/settings/settings-data.tsx +++ b/apps/mobile/app/screens/settings/settings-data.tsx @@ -88,8 +88,8 @@ export const settingsGroups: SettingSection[] = [ return isBasic || !user.subscription?.type ? "Subscribe to Pro" : isTrial - ? "Your free trial has started" - : "Subscription details"; + ? "Your free trial has started" + : "Subscription details"; }, type: "component", component: "subscription", @@ -111,16 +111,16 @@ export const settingsGroups: SettingSection[] = [ return user.subscription?.type === 2 ? "You signed up on " + startDate : user.subscription?.type === 1 - ? "Your free trial will end on " + expiryDate - : user.subscription?.type === 6 - ? subscriptionDaysLeft.time < -3 - ? "Your subscription has ended" - : "Your account will be downgraded to Basic in 3 days" - : user.subscription?.type === 7 - ? `Your subscription will end on ${expiryDate}.` - : user.subscription?.type === 5 - ? `Your subscription will renew on ${expiryDate}.` - : "Never hesitate to choose privacy"; + ? "Your free trial will end on " + expiryDate + : user.subscription?.type === 6 + ? subscriptionDaysLeft.time < -3 + ? "Your subscription has ended" + : "Your account will be downgraded to Basic in 3 days" + : user.subscription?.type === 7 + ? `Your subscription will end on ${expiryDate}.` + : user.subscription?.type === 5 + ? `Your subscription will renew on ${expiryDate}.` + : "Never hesitate to choose privacy"; } }, { @@ -320,13 +320,13 @@ export const settingsGroups: SettingSection[] = [ name: "Delete account", icon: "alert", description: - "All your data will be removed permanantly. Make sure you have saved backup of your notes. This action is IRREVERSIBLE.", + "All your data will be removed permanently. Make sure you have saved backup of your notes. This action is IRREVERSIBLE.", modifer: () => { presentDialog({ title: "Delete account", paragraphColor: "red", paragraph: - "All your data will be removed permanantly. Make sure you have saved backup of your notes. This action is IRREVERSIBLE.", + "All your data will be removed permanently. Make sure you have saved backup of your notes. This action is IRREVERSIBLE.", positiveType: "errorShade", input: true, inputPlaceholder: "Enter account password", diff --git a/apps/mobile/app/screens/trash/index.tsx b/apps/mobile/app/screens/trash/index.tsx index 343d92f5d..9e4ebca38 100644 --- a/apps/mobile/app/screens/trash/index.tsx +++ b/apps/mobile/app/screens/trash/index.tsx @@ -52,7 +52,7 @@ const onPressFloatingButton = () => { ToastEvent.show({ heading: "Trash cleared", message: - "All notes and notebooks in the trash have been removed permanantly.", + "All notes and notebooks in the trash have been removed permanently.", type: "success", context: "local" }); diff --git a/apps/mobile/app/services/premium.js b/apps/mobile/app/services/premium.js index a6ea7176f..07e9c8a6d 100644 --- a/apps/mobile/app/services/premium.js +++ b/apps/mobile/app/services/premium.js @@ -362,7 +362,7 @@ const features_list = [ content: "Instantly sync to unlimited devices" }, { - content: "A private vault to keep everything imporant always locked" + content: "A private vault to keep everything important always locked" }, { content: @@ -382,7 +382,7 @@ const sheet = (context, promo, trial) => { centered title="Upgrade to Notesnook" titlePart="Pro" - paragraph="Manage your work on another level, enjoy seemless sync and keep all notes in one place." + paragraph="Manage your work on another level, enjoy seamless sync and keep all notes in one place." padding={12} /> diff --git a/apps/mobile/app/services/tip-manager.ts b/apps/mobile/app/services/tip-manager.ts index bead0ba00..45d6dd310 100644 --- a/apps/mobile/app/services/tip-manager.ts +++ b/apps/mobile/app/services/tip-manager.ts @@ -215,7 +215,7 @@ const placeholderTips = [ "If you read someone else's diary, you get what you deserve. - David Sedaris", "Take quick notes from notifications. Enable the option in Settings to try", "Get Notesnook on all your devices. Or even open it in browser by going to https://app.notesnook.com to access all your notes", - "With note history, you can restore back to an older version of the note if you accidently deleted something.", + "With note history, you can restore back to an older version of the note if you accidentally deleted something.", "When your heart speaks, take good notes. - Judith Campbell", "You can publish a note and share it with anyone. Even if they don't use Notesnook!", "Published notes can be encrypted. Which means only you and the person you share the password with can read them.", diff --git a/apps/mobile/native/ios/Notesnook.xcodeproj/project.pbxproj b/apps/mobile/native/ios/Notesnook.xcodeproj/project.pbxproj index b479fce95..9461a06fe 100644 --- a/apps/mobile/native/ios/Notesnook.xcodeproj/project.pbxproj +++ b/apps/mobile/native/ios/Notesnook.xcodeproj/project.pbxproj @@ -1606,7 +1606,7 @@ PRODUCT_BUNDLE_IDENTIFIER = org.streetwriters.notesnook.share; PRODUCT_NAME = "$(TARGET_NAME)"; PROVISIONING_PROFILE_SPECIFIER = ""; - "PROVISIONING_PROFILE_SPECIFIER[sdk=iphoneos*]" = "Notesnook Share Distrubution 2023"; + "PROVISIONING_PROFILE_SPECIFIER[sdk=iphoneos*]" = "Notesnook Share Distribution 2023"; SKIP_INSTALL = YES; SWIFT_OBJC_BRIDGING_HEADER = "Make Note/Make Note-Bridging-Header.h"; SWIFT_VERSION = 5.0; diff --git a/apps/mobile/native/worker.js b/apps/mobile/native/worker.js index 2cd01ed4c..3ad3ca1f1 100644 --- a/apps/mobile/native/worker.js +++ b/apps/mobile/native/worker.js @@ -2087,7 +2087,7 @@ function getEscaper(regex, map) { if (lastIdx !== match.index) { result += data.substring(lastIdx, match.index); } - // We know that this chararcter will be in the map. + // We know that this character will be in the map. result += map.get(match[0].charCodeAt(0)); // Every match will be of length 1 lastIdx = match.index + 1; @@ -2996,7 +2996,7 @@ function removeSubsets$1(nodes) { /* * Remove the node if it is not unique. * We are going through the array from the end, so we only - * have to check nodes that preceed the node under consideration in the array. + * have to check nodes that precede the node under consideration in the array. */ if (idx > 0 && nodes.lastIndexOf(node, idx - 1) >= 0) { nodes.splice(idx, 1); @@ -9883,7 +9883,7 @@ CSSOM$2.CSSValueExpression.prototype._findMatchedIdx = function (token, idx, sep } } - // boundary must be in the same line(js sting or regexp) + // boundary must be in the same line(js string or regexp) var nextNewLineIdx = token.indexOf('\n', idx + 1); if (nextNewLineIdx < endIdx) { endIdx = NOT_FOUND;