From 34db181af002f8d71ea0a87e7965abc57b294914 Mon Sep 17 00:00:00 2001 From: adrian-fuertes <62448367+adrian-fuertes@users.noreply.github.com> Date: Sun, 10 Nov 2024 11:16:22 +0100 Subject: [PATCH] fix typos in sync messages and comments (startting -> starting) (#876) --- pro/src/sync.ts | 2 +- src/langs/en.json | 4 ++-- src/misc.ts | 4 ++-- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/pro/src/sync.ts b/pro/src/sync.ts index 11c414b..d4bd9f6 100644 --- a/pro/src/sync.ts +++ b/pro/src/sync.ts @@ -1930,7 +1930,7 @@ export async function syncer( ) => any, callbackSyncProcess?: any ) { - console.info(`startting sync.`); + console.info(`starting sync.`); markIsSyncingFunc(true); let everythingOk = true; diff --git a/src/langs/en.json b/src/langs/en.json index 9fd4fe2..f580655 100644 --- a/src/langs/en.json +++ b/src/langs/en.json @@ -31,7 +31,7 @@ "protocol_dropbox_connect_succ_revoke": "You've connected as user {{username}}. If you want to disconnect, click this button.", "protocol_dropbox_connect_fail": "Something went wrong from response from Dropbox. Maybe the network connection is not good. Maybe you rejected the auth?", "protocol_dropbox_connect_unknown": "Do not know how to deal with the callback: {{params}}", - "protocol_dropbox_no_modal": "You are not startting Dropbox connection from the settings page. Abort.", + "protocol_dropbox_no_modal": "You are not starting Dropbox connection from the settings page. Abort.", "protocol_onedrive_connecting": "Connecting to OneDrive...\nPlease DO NOT close this modal.", "protocol_onedrive_connect_succ_revoke": "You've connected as user {{username}}. If you want to disconnect, click this button.", "protocol_onedrive_connect_fail": "Something went wrong from response from OneDrive. Maybe you rejected the auth?", @@ -110,7 +110,7 @@ "modal_onedriverevokeauth_clean_button": "Clean", "modal_onedriverevokeauth_clean_notice": "Cleaned!", "modal_onedriverevokeauth_clean_fail": "Something goes wrong while revoking.", - "modal_syncconfig_attn": "Attention 1/2: This only syncs (copies) the whole Obsidian config dir, not other startting-with-dot folders or files. Except for ignoring folders .git and node_modules, it also doesn't understand the meaning of sub-files and sub-folders inside the config dir.\nAttention 2/2: After the config dir is synced, plugins settings might be corrupted, and Obsidian might need to be restarted to load the new settings.\nIf you are agreed to take your own risk, please click the following second confirm button.", + "modal_syncconfig_attn": "Attention 1/2: This only syncs (copies) the whole Obsidian config dir, not other starting-with-dot folders or files. Except for ignoring folders .git and node_modules, it also doesn't understand the meaning of sub-files and sub-folders inside the config dir.\nAttention 2/2: After the config dir is synced, plugins settings might be corrupted, and Obsidian might need to be restarted to load the new settings.\nIf you are agreed to take your own risk, please click the following second confirm button.", "modal_syncconfig_secondconfirm": "The Second Confirm To Enable.", "modal_syncconfig_notice": "You've enabled syncing config folder!", "modal_qr_shortdesc": "This exports (partial) settings.\nYou can use another device to scan this qrcode.\nOr, you can click the button to copy the special uri and paste it into another device's web browser or Remotely Save Import Setting.", diff --git a/src/misc.ts b/src/misc.ts index c1b61c4..2d3b2ae 100644 --- a/src/misc.ts +++ b/src/misc.ts @@ -279,7 +279,7 @@ export const reverseString = (x: string) => { }; export interface SplitRange { - partNum: number; // startting from 1 + partNum: number; // starting from 1 start: number; end: number; // exclusive } @@ -316,7 +316,7 @@ export const getTypeName = (obj: any) => { }; /** - * Startting from 1 + * starting from 1 * @param x * @returns */