Skip to content

Commit

Permalink
fix(app): fix various app copy (#13557)
Browse files Browse the repository at this point in the history
  • Loading branch information
smb2268 authored Sep 14, 2023
1 parent c8aca82 commit c19927d
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 4 deletions.
4 changes: 2 additions & 2 deletions app/src/assets/localization/en/firmware_update.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@
"gantry_y": "Gantry Y",
"gripper": "Gripper",
"head": "Head",
"pipette_left": "Left Pipette",
"pipette_right": "Right Pipette",
"pipette_left": "pipette",
"pipette_right": "pipette",
"ready_to_use": "Your <bold>{{instrument}}</bold> is ready to use!",
"rear_panel": "Rear Panel",
"successful_update": "Successful update!",
Expand Down
1 change: 1 addition & 0 deletions app/src/assets/localization/en/pipette_wizard_flows.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
"calibrate_pipette": "calibrate {{mount}} pipette",
"calibration_probe_touching": "The calibration probe will touch the sides of the calibration square in slot {{slotNumber}} to determine its exact position.",
"cancel_attachment": "cancel attachment",
"cancel_detachment": "cancel detachment",
"choose_pipette": "Choose a pipette to attach",
"complete_cal": "Complete calibration",
"connect_96_channel": "connect and attach 96-channel pipette",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ describe('UpdateInProgressModal', () => {
})
it('renders test and progress bar', () => {
const { getByText } = render(props)
getByText('Updating Right Pipette firmware...')
getByText('Updating pipette firmware...')
getByText('12')
})
})
4 changes: 3 additions & 1 deletion app/src/organisms/PipetteWizardFlows/Results.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -244,7 +244,9 @@ export const Results = (props: ResultsProps): JSX.Element => {
aria-label="Results_errorExit"
marginRight={SPACING.spacing4}
>
{i18n.format(t('cancel_attachment'), 'capitalize')}
{flowType === FLOWS.DETACH
? i18n.format(t('cancel_detachment'), 'capitalize')
: i18n.format(t('cancel_attachment'), 'capitalize')}
</SecondaryButton>
)}
<CheckPipetteButton
Expand Down

0 comments on commit c19927d

Please sign in to comment.