From 0fbbba54ec527cff32c24e176687a5753503ab0e Mon Sep 17 00:00:00 2001 From: "claude[bot]" <209825114+claude[bot]@users.noreply.github.com> Date: Wed, 1 Oct 2025 16:04:15 +0000 Subject: [PATCH] correct typos in user-facing text (#6725) - Fixed 'occured' -> 'occurred' (10 instances) - Fixed 'commited' -> 'committed' (2 instances) Co-authored-by: claude[bot] <209825114+claude[bot]@users.noreply.github.com> Co-authored-by: windmill-internal-app[bot] --- backend/windmill-worker/src/python_executor.rs | 2 +- backend/windmill-worker/src/universal_pkg_installer.rs | 2 +- frontend/src/lib/components/InstanceSetting.svelte | 4 ++-- frontend/src/lib/components/ScriptBuilder.svelte | 2 +- .../apps/components/helpers/RunnableComponent.svelte | 4 ++-- .../src/lib/components/apps/editor/component/components.ts | 2 +- frontend/src/lib/components/progressBar/ProgressBar.svelte | 2 +- frontend/src/lib/components/table/tableUtils.ts | 2 +- frontend/src/lib/script_helpers.ts | 2 +- frontend/src/routes/(root)/(logged)/run/[...run]/+page.svelte | 2 +- 10 files changed, 12 insertions(+), 12 deletions(-) diff --git a/backend/windmill-worker/src/python_executor.rs b/backend/windmill-worker/src/python_executor.rs index d4acf709c2..80b577f5f3 100644 --- a/backend/windmill-worker/src/python_executor.rs +++ b/backend/windmill-worker/src/python_executor.rs @@ -1867,7 +1867,7 @@ pub async fn handle_python_reqs( if let Err(e) = pull { tracing::info!( workspace_id = %w_id, - "No tarball was found for {venv_p} on S3 or different problem occured {job_id}:\n{e}", + "No tarball was found for {venv_p} on S3 or different problem occurred {job_id}:\n{e}", ); } else { print_success( diff --git a/backend/windmill-worker/src/universal_pkg_installer.rs b/backend/windmill-worker/src/universal_pkg_installer.rs index 3f3198339a..d4e33b4a72 100644 --- a/backend/windmill-worker/src/universal_pkg_installer.rs +++ b/backend/windmill-worker/src/universal_pkg_installer.rs @@ -544,7 +544,7 @@ async fn try_install_one_detached<'a, T: Clone + std::marker::Send + Sync + 'a + if let Err(e) = s3_pull_future.await { tracing::info!( workspace_id = %w_id, - "No tarball was found for {:?} on S3 or different problem occured {job_id}:\n{e}", + "No tarball was found for {:?} on S3 or different problem occurred {job_id}:\n{e}", &dep._s3_handle.clone() ); } else { diff --git a/frontend/src/lib/components/InstanceSetting.svelte b/frontend/src/lib/components/InstanceSetting.svelte index 6a059dcf00..95fb21b614 100644 --- a/frontend/src/lib/components/InstanceSetting.svelte +++ b/frontend/src/lib/components/InstanceSetting.svelte @@ -746,7 +746,7 @@ The max amount of documents (here jobs) per commit. To optimize indexing throughput, it is best to keep this as high as possible. However, especially when reindexing the whole instance, it can be useful to have a limit on how many - jobs can be written without being commited. A commit will make the jobs + jobs can be written without being committed. A commit will make the jobs available for search, constitute a "checkpoint" state in the indexing and will be logged. @@ -805,7 +805,7 @@ representing all logs during 1 minute for a specific host. To optimize indexing throughput, it is best to keep this as high as possible. However, especially when reindexing the whole instance, it can be useful to have a limit on how many - logs can be written without being commited. A commit will make the logs + logs can be written without being committed. A commit will make the logs available for search, appear as a log line, and be a "checkpoint" of the indexing progress. diff --git a/frontend/src/lib/components/ScriptBuilder.svelte b/frontend/src/lib/components/ScriptBuilder.svelte index f81c45f8e9..2394ffcbe2 100644 --- a/frontend/src/lib/components/ScriptBuilder.svelte +++ b/frontend/src/lib/components/ScriptBuilder.svelte @@ -360,7 +360,7 @@ return templateScript } catch (error) { sendUserToast( - 'An error occured when trying to load your template script, please try again later', + 'An error occurred when trying to load your template script, please try again later', true ) } diff --git a/frontend/src/lib/components/apps/components/helpers/RunnableComponent.svelte b/frontend/src/lib/components/apps/components/helpers/RunnableComponent.svelte index 69653bc17a..c68edc20d4 100644 --- a/frontend/src/lib/components/apps/components/helpers/RunnableComponent.svelte +++ b/frontend/src/lib/components/apps/components/helpers/RunnableComponent.svelte @@ -614,7 +614,7 @@ return { error: { name: 'TransformerError', - message: 'An error occured in the transformer', + message: 'An error occurred in the transformer', stack: err.message } } @@ -894,7 +894,7 @@
- An error occured, please contact the app author. + An error occurred, please contact the app author. {#if $errorByComponent?.[id]?.error}
{$errorByComponent[id].error}
diff --git a/frontend/src/lib/components/apps/editor/component/components.ts b/frontend/src/lib/components/apps/editor/component/components.ts index 6b1041832a..aeee9ee010 100644 --- a/frontend/src/lib/components/apps/editor/component/components.ts +++ b/frontend/src/lib/components/apps/editor/component/components.ts @@ -673,7 +673,7 @@ const onErrorClick = { tooltip: 'The message of the toast to display', fieldType: 'text', type: 'static', - value: 'An error occured', + value: 'An error occurred', placeholder: 'Hello there', onDemandOnly: true }, diff --git a/frontend/src/lib/components/progressBar/ProgressBar.svelte b/frontend/src/lib/components/progressBar/ProgressBar.svelte index bb0c6b5328..c50a76453f 100644 --- a/frontend/src/lib/components/progressBar/ProgressBar.svelte +++ b/frontend/src/lib/components/progressBar/ProgressBar.svelte @@ -70,7 +70,7 @@ > {error != undefined - ? 'Error occured' + ? 'Error occurred' : finished ? 'Done' : hideStepTitle diff --git a/frontend/src/lib/components/table/tableUtils.ts b/frontend/src/lib/components/table/tableUtils.ts index 0068f802cc..db935ebe02 100644 --- a/frontend/src/lib/components/table/tableUtils.ts +++ b/frontend/src/lib/components/table/tableUtils.ts @@ -47,6 +47,6 @@ export function convertJsonToCsv(arr: Array>): string { const csv = parser.parse(arr) return csv } catch (err) { - throw new Error('An error occured when generating CSV:' + err) + throw new Error('An error occurred when generating CSV:' + err) } } diff --git a/frontend/src/lib/script_helpers.ts b/frontend/src/lib/script_helpers.ts index f2a84c034e..75003d837d 100644 --- a/frontend/src/lib/script_helpers.ts +++ b/frontend/src/lib/script_helpers.ts @@ -522,7 +522,7 @@ const FETCH_INIT_CODE = `export async function main( return await fetch(url, requestOptions) .then((res) => res.json()) .catch(() => { - throw new Error('An error occured') + throw new Error('An error occurred') }) }` diff --git a/frontend/src/routes/(root)/(logged)/run/[...run]/+page.svelte b/frontend/src/routes/(root)/(logged)/run/[...run]/+page.svelte index 95848b37c4..f04879339b 100644 --- a/frontend/src/routes/(root)/(logged)/run/[...run]/+page.svelte +++ b/frontend/src/routes/(root)/(logged)/run/[...run]/+page.svelte @@ -227,7 +227,7 @@ job.type == 'CompletedJob' && (job.job_kind == 'script' || isScriptPreview(job.job_kind)) ) { - // If error occured and job is completed + // If error occurred and job is completed // than we fetch progress from server to display on what progress did it fail // Could be displayed after run or as a historical page // If opening page without running job (e.g. reloading page after run) progress will be displayed instantly