Skip to content

Commit 878cd9f

Browse files
authored
fix(app): Waste chute removal pages for 96ch calibration (#20242)
# Overview Additional pages added for warning to remove waste chute before 96 ch calibration ## Test Plan and Hands on Testing - smoke on robot on app https://github.com/user-attachments/assets/6a99a747-c439-4955-8a50-58b91e1f61ca ## Changelog - fixed merge conflicts - fixed continue string copy error ## Risk assessment low
1 parent 5afca88 commit 878cd9f

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

app/src/assets/localization/en/pipette_wizard_flows.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,10 +87,10 @@
8787
"unscrew_and_detach": "Loosen Screws and Detach Mounting Plate",
8888
"unscrew_at_top": "<block>Loosen the captive screw on the top right of the carriage. This releases the right pipette mount, which should then freely move up and down.</block>",
8989
"unscrew_carriage": "unscrew z-axis carriage",
90-
"waste_chute_attach_warning": "Re-attach waste chute to match current deck configuration.",
9190
"waste_chute_error": "Remove waste chute before calibrating.",
9291
"waste_chute_warning": "A collision will occur with the pipette if the waste chute remains on deck.",
9392
"waste_chute_warning_probe": "If the waste chute is installed, remove it from the Deck Plate Adapter before proceeding.",
93+
"waste_chute_attach_warning": "Re-attach waste chute to match current deck configuration.",
9494
"wrong_pip": "wrong instrument installed",
9595
"z_axis_still_attached": "z-axis screw still secure"
9696
}

app/src/organisms/PipetteWizardFlows/AttachProbe.tsx

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
import { useState } from 'react'
22
import { Trans, useTranslation } from 'react-i18next'
3-
import capitalize from 'lodash/capitalize'
43
import { css } from 'styled-components'
54

65
import {
@@ -69,7 +68,7 @@ export const AttachProbe = (props: AttachProbeProps): JSX.Element | null => {
6968
proceed()
7069
}
7170

72-
const { t, i18n } = useTranslation('pipette_wizard_flows')
71+
const { t, i18n } = useTranslation(['pipette_wizard_flows', 'shared'])
7372
const pipetteWizardStep = { mount, flowType, section: SECTIONS.ATTACH_PROBE }
7473
const [showUnableToDetect, setShowUnableToDetect] = useState<boolean>(false)
7574
const pipetteId = attachedPipettes[mount]?.serialNumber
@@ -199,7 +198,7 @@ export const AttachProbe = (props: AttachProbeProps): JSX.Element | null => {
199198
}
200199
proceedButtonText={
201200
is96Channel && isWasteChuteOnDeck(deckConfig)
202-
? capitalize('shared:continue')
201+
? t('shared:continue')
203202
: t('begin_calibration')
204203
}
205204
proceed={

0 commit comments

Comments
 (0)