From 01051bad211544a57fbf82049d82bfe0cd3b8de8 Mon Sep 17 00:00:00 2001
From: Henri Courdent <122811744+hcourdent@users.noreply.github.com>
Date: Wed, 7 Aug 2024 12:04:26 +0200
Subject: [PATCH] JavaScript spelling (#4206)
---
frontend/src/lib/components/InputTransformForm.svelte | 2 +-
frontend/src/lib/components/copilot/PredicateGen.svelte | 2 +-
.../src/lib/components/flows/content/DynamicInputHelpBox.svelte | 2 +-
.../lib/components/tutorials/FlowBuilderTutorialsForLoop.svelte | 2 +-
4 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/frontend/src/lib/components/InputTransformForm.svelte b/frontend/src/lib/components/InputTransformForm.svelte
index 40507bbf27..2c5cec02a9 100644
--- a/frontend/src/lib/components/InputTransformForm.svelte
+++ b/frontend/src/lib/components/InputTransformForm.svelte
@@ -315,7 +315,7 @@
diff --git a/frontend/src/lib/components/copilot/PredicateGen.svelte b/frontend/src/lib/components/copilot/PredicateGen.svelte
index eb82d4b3d7..fb50cc11f9 100644
--- a/frontend/src/lib/components/copilot/PredicateGen.svelte
+++ b/frontend/src/lib/components/copilot/PredicateGen.svelte
@@ -52,7 +52,7 @@ Here's the user's request: ${instructions}
You can find the details of all the steps below:
${flowDetails}
-Determine for the user the javascript expression for the branching condition composed of the previous results or the flow inputs.
+Determine for the user the JavaScript expression for the branching condition composed of the previous results or the flow inputs.
All inputs start with either results. or flow_input. and are followed by the key of the input.
Here's a summary of the available data:
diff --git a/frontend/src/lib/components/flows/content/DynamicInputHelpBox.svelte b/frontend/src/lib/components/flows/content/DynamicInputHelpBox.svelte
index 38cb462338..1f649d205a 100644
--- a/frontend/src/lib/components/flows/content/DynamicInputHelpBox.svelte
+++ b/frontend/src/lib/components/flows/content/DynamicInputHelpBox.svelte
@@ -27,7 +27,7 @@
role="alert"
id="dynamic-input-help-box"
>
- Single javascript expression. The following functions and objects are available:
+ Single JavaScript expression. The following functions and objects are available:
- {'results.'}: the result of step at id 'id'
- flow_input: the object containing the flow input arguments
diff --git a/frontend/src/lib/components/tutorials/FlowBuilderTutorialsForLoop.svelte b/frontend/src/lib/components/tutorials/FlowBuilderTutorialsForLoop.svelte
index fe3fe2ffb2..3c26131df1 100644
--- a/frontend/src/lib/components/tutorials/FlowBuilderTutorialsForLoop.svelte
+++ b/frontend/src/lib/components/tutorials/FlowBuilderTutorialsForLoop.svelte
@@ -88,7 +88,7 @@
popover: {
title: 'Iterator expression',
description:
- 'The iterator expression is a javascript expression that respresents the array to iterate on. Here we will iterate on the firstname input letter by letter',
+ 'The iterator expression is a JavaScript expression that respresents the array to iterate on. Here we will iterate on the firstname input letter by letter',
onNextClick: () => {
updateFlowModuleById($flowStore, id, (module) => {
if (module.value.type === 'forloopflow') {