From 9feaa982bfd9349564ab3ed8ce60c55f85a23901 Mon Sep 17 00:00:00 2001 From: v-kamat Date: Sun, 26 Oct 2025 00:10:49 -0700 Subject: [PATCH 1/2] Fix: Update station edit form 3rd section header to show 'Data Source' --- .../deployment-details-form/deployment-details-form.tsx | 6 +++--- ui/src/utils/language.ts | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/ui/src/pages/deployment-details/deployment-details-form/deployment-details-form.tsx b/ui/src/pages/deployment-details/deployment-details-form/deployment-details-form.tsx index 92cf18526..bc0362c36 100644 --- a/ui/src/pages/deployment-details/deployment-details-form/deployment-details-form.tsx +++ b/ui/src/pages/deployment-details/deployment-details-form/deployment-details-form.tsx @@ -1,7 +1,7 @@ import { FormError as _FormError } from 'components/form/layout/layout' import { - DeploymentDetails, - DeploymentFieldValues, + DeploymentDetails, + DeploymentFieldValues, } from 'data-services/models/deployment-details' import { Button, ButtonTheme } from 'design-system/components/button/button' import * as Dialog from 'design-system/components/dialog/dialog' @@ -145,7 +145,7 @@ const FormStepper = () => { }, { id: Section.SourceImages, - label: translate(STRING.FIELD_LABEL_SOURCE_IMAGES), + label: translate(STRING.FIELD_LABEL_DATA_SOURCE), }, ]} currentItemId={currentSection} diff --git a/ui/src/utils/language.ts b/ui/src/utils/language.ts index 7b97debe1..3eee3600d 100644 --- a/ui/src/utils/language.ts +++ b/ui/src/utils/language.ts @@ -393,7 +393,7 @@ const ENGLISH_STRINGS: { [key in STRING]: string } = { [STRING.FIELD_LABEL_SOURCE_IMAGE]: 'Source image', [STRING.FIELD_LABEL_SOURCE_IMAGES]: 'Source images', [STRING.FIELD_LABEL_SOURCE_IMAGES_COLLECTION]: 'Source images collection', - [STRING.FIELD_LABEL_DATA_SOURCE]: 'Data source', + [STRING.FIELD_LABEL_DATA_SOURCE]: 'Data Source', [STRING.FIELD_LABEL_SAMPLE_CAPTURES]: 'Sample images', [STRING.FIELD_LABEL_SCORE]: 'Score', [STRING.FIELD_LABEL_SNAPSHOTS]: 'Snapshots', From 528b41375145740ef4453de009a0f7764a57e183 Mon Sep 17 00:00:00 2001 From: weknowthecalmat Date: Thu, 13 Nov 2025 10:51:46 -0800 Subject: [PATCH 2/2] Change 'Data Source' to 'Data source' for consistency --- ui/src/utils/language.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ui/src/utils/language.ts b/ui/src/utils/language.ts index 3eee3600d..7b97debe1 100644 --- a/ui/src/utils/language.ts +++ b/ui/src/utils/language.ts @@ -393,7 +393,7 @@ const ENGLISH_STRINGS: { [key in STRING]: string } = { [STRING.FIELD_LABEL_SOURCE_IMAGE]: 'Source image', [STRING.FIELD_LABEL_SOURCE_IMAGES]: 'Source images', [STRING.FIELD_LABEL_SOURCE_IMAGES_COLLECTION]: 'Source images collection', - [STRING.FIELD_LABEL_DATA_SOURCE]: 'Data Source', + [STRING.FIELD_LABEL_DATA_SOURCE]: 'Data source', [STRING.FIELD_LABEL_SAMPLE_CAPTURES]: 'Sample images', [STRING.FIELD_LABEL_SCORE]: 'Score', [STRING.FIELD_LABEL_SNAPSHOTS]: 'Snapshots',