Skip to content

Commit ef9a82e

Browse files
committed
Tweak copy
1 parent bedfbda commit ef9a82e

File tree

2 files changed

+7
-5
lines changed

2 files changed

+7
-5
lines changed

ui/src/pages/deployment-details/deployment-details-form/section-example-captures/section-example-captures.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ export const SectionExampleCaptures = ({
6464
if (!deployment.createdAt) {
6565
return (
6666
<FormSection
67-
title={translate(STRING.FIELD_LABEL_SAMPLE_CAPTURES)}
67+
title={translate(STRING.FIELD_LABEL_UPLOAD_CAPTURES)}
6868
description={translate(STRING.MESSAGE_CAPTURE_UPLOAD_HIDDEN)}
6969
/>
7070
)
@@ -76,7 +76,7 @@ export const SectionExampleCaptures = ({
7676

7777
return (
7878
<FormSection
79-
title={translate(STRING.FIELD_LABEL_SAMPLE_CAPTURES)}
79+
title={translate(STRING.FIELD_LABEL_UPLOAD_CAPTURES)}
8080
description={CAPTURE_FIELD_DESCRIPTION}
8181
>
8282
<div className={styles.collection}>

ui/src/utils/language.ts

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -110,6 +110,7 @@ export enum STRING {
110110
FIELD_LABEL_FIRST_DATE,
111111
FIELD_LABEL_LAST_DATE,
112112
FIELD_LABEL_UPDATED_AT,
113+
FIELD_LABEL_UPLOAD_CAPTURES,
113114
FIELD_LABEL_VERSION,
114115
FIELD_LABEL_VERSION_NAME,
115116

@@ -255,7 +256,7 @@ const ENGLISH_STRINGS: { [key in STRING]: string } = {
255256
[STRING.FIELD_LABEL_COMMENT]: 'Comment',
256257
[STRING.FIELD_LABEL_CONNECTION_STATUS]: 'Connection status',
257258
[STRING.FIELD_LABEL_CREATED_AT]: 'Created at',
258-
[STRING.FIELD_LABEL_DATA_SOURCE_CAPTURES]: 'Deployment captures',
259+
[STRING.FIELD_LABEL_DATA_SOURCE_CAPTURES]: 'Data source captures',
259260
[STRING.FIELD_LABEL_DATE]: 'Date',
260261
[STRING.FIELD_LABEL_DATE_OBSERVED]: 'Date observed',
261262
[STRING.FIELD_LABEL_DELAY]: 'Delay',
@@ -291,7 +292,7 @@ const ENGLISH_STRINGS: { [key in STRING]: string } = {
291292
[STRING.FIELD_LABEL_SOURCE_IMAGE]: 'Source image',
292293
[STRING.FIELD_LABEL_SOURCE_IMAGES]: 'Source images',
293294
[STRING.FIELD_LABEL_DATA_SOURCE]: 'Data source',
294-
[STRING.FIELD_LABEL_SAMPLE_CAPTURES]: 'Deployment sample captures',
295+
[STRING.FIELD_LABEL_SAMPLE_CAPTURES]: 'Sample captures',
295296
[STRING.FIELD_LABEL_SCORE]: 'Score',
296297
[STRING.FIELD_LABEL_SNAPSHOTS]: 'Snapshots',
297298
[STRING.FIELD_LABEL_SPECIES]: 'Species',
@@ -307,6 +308,7 @@ const ENGLISH_STRINGS: { [key in STRING]: string } = {
307308
[STRING.FIELD_LABEL_TRAINING_IMAGES]: 'Reference images',
308309
[STRING.FIELD_LABEL_FIRST_DATE]: 'First date',
309310
[STRING.FIELD_LABEL_LAST_DATE]: 'Last date',
311+
[STRING.FIELD_LABEL_UPLOAD_CAPTURES]: 'Upload captures',
310312
[STRING.FIELD_LABEL_UPDATED_AT]: 'Updated at',
311313
[STRING.FIELD_LABEL_VERSION]: 'Version',
312314
[STRING.FIELD_LABEL_VERSION_NAME]: 'Version',
@@ -328,7 +330,7 @@ const ENGLISH_STRINGS: { [key in STRING]: string } = {
328330
[STRING.MESSAGE_CAPTURE_FILENAME]:
329331
'Image filename must contain a timestamp in the format YYYYMMDDHHMMSS (e.g. 20210101120000-snapshot.jpg).',
330332
[STRING.MESSAGE_CAPTURE_LIMIT]:
331-
'A maximum of {{numCaptures}} sample captures can be uploaded through the web browser. Configure a data source to upload data in bulk.',
333+
'A maximum of {{numCaptures}} captures can be uploaded through the web browser. Configure a data source to upload data in bulk.',
332334
[STRING.MESSAGE_CAPTURE_SYNC_HIDDEN]:
333335
'Deployment must be created before syncing captures.',
334336
[STRING.MESSAGE_CAPTURE_TOO_MANY]:

0 commit comments

Comments
 (0)