Skip to content

Commit

Permalink
fix(protocol-designer): fix pipette selection issue (#16363)
Browse files Browse the repository at this point in the history
* fix(protocol-designer): fix pipette selection issue
  • Loading branch information
koji authored Sep 27, 2024
1 parent e3c39e7 commit 4324dd3
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 17 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,10 @@
"modules_added": "Modules added",
"name": "Name",
"need_gripper": "Do you want to move labware automatically with the gripper?",
"pip_gen": "Pipette generation",
"pip_tips": "Pipette tips",
"pip_type": "Pipette type",
"pip_vol": "Pipette volume",
"pipette_gen": "Pipette generation",
"pipette_tips": "Pipette tips",
"pipette_type": "Pipette type",
"pipette_vol": "Pipette volume",
"pip": "{{mount}} pipette",
"quantity": "Quantity",
"remove": "Remove",
Expand All @@ -42,5 +42,5 @@
"which_fixtures": "Which fixtures will you be using?",
"which_modules": "Select modules to use in your protocol.",
"which_pipette": "Pick your first pipette. If you need a second pipette, you can add it next.",
"your_pips": "Your pipettes"
"your_pipettes": "Your pipettes"
}
10 changes: 5 additions & 5 deletions protocol-designer/src/organisms/EditInstrumentsModal/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -207,7 +207,7 @@ export function EditInstrumentsModal(
alignItems={ALIGN_CENTER}
>
<StyledText desktopStyle="bodyLargeSemiBold">
{t('your_pips')}
{t('your_pipettes')}
</StyledText>
{has96Channel ? null : (
<Btn
Expand Down Expand Up @@ -385,7 +385,7 @@ export function EditInstrumentsModal(
desktopStyle="bodyLargeSemiBold"
marginBottom={SPACING.spacing16}
>
{t('pip_type')}
{t('pipette_type')}
</StyledText>
<Flex gridGap={SPACING.spacing4}>
{PIPETTE_TYPES[robotType].map(type => {
Expand Down Expand Up @@ -415,7 +415,7 @@ export function EditInstrumentsModal(
desktopStyle="bodyLargeSemiBold"
marginBottom={SPACING.spacing16}
>
{t('pip_gen')}
{t('pipette_gen')}
</StyledText>
<Flex gridGap={SPACING.spacing4}>
{PIPETTE_GENS.map(gen => (
Expand Down Expand Up @@ -446,7 +446,7 @@ export function EditInstrumentsModal(
desktopStyle="bodyLargeSemiBold"
marginBottom={SPACING.spacing16}
>
{t('pip_vol')}
{t('pipette_vol')}
</StyledText>
<Flex gridGap={SPACING.spacing4}>
{PIPETTE_VOLUMES[robotType]?.map(volume => {
Expand Down Expand Up @@ -506,7 +506,7 @@ export function EditInstrumentsModal(
desktopStyle="bodyLargeSemiBold"
marginBottom={SPACING.spacing16}
>
{t('pip_tips')}
{t('pipette_tips')}
</StyledText>
<Box
css={css`
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -155,13 +155,13 @@ export function SelectPipettes(props: WizardTileProps): JSX.Element | null {
gridGap={SPACING.spacing12}
>
<StyledText desktopStyle="headingSmallBold">
{t('pip_type')}
{t('pipette_type')}
</StyledText>
<Flex gridGap={SPACING.spacing4}>
{PIPETTE_TYPES[robotType].map(type => {
return type.value === '96' &&
pipettesByMount.left.pipetteName != null &&
pipettesByMount.right.pipetteName != null ? null : (
(pipettesByMount.left.pipetteName != null ||
pipettesByMount.right.pipetteName != null) ? null : (
<RadioButton
key={`${type.label}_${type.value}`}
onChange={() => {
Expand Down Expand Up @@ -192,7 +192,7 @@ export function SelectPipettes(props: WizardTileProps): JSX.Element | null {
gridGap={SPACING.spacing12}
>
<StyledText desktopStyle="headingSmallBold">
{t('pip_gen')}
{t('pipette_gen')}
</StyledText>
<Flex gridGap={SPACING.spacing4}>
{PIPETTE_GENS.map(gen => (
Expand All @@ -219,7 +219,7 @@ export function SelectPipettes(props: WizardTileProps): JSX.Element | null {
gridGap={SPACING.spacing12}
>
<StyledText desktopStyle="headingSmallBold">
{t('pip_vol')}
{t('pipette_vol')}
</StyledText>
<Flex gridGap={SPACING.spacing4}>
{PIPETTE_VOLUMES[robotType]?.map(volume => {
Expand Down Expand Up @@ -283,7 +283,7 @@ export function SelectPipettes(props: WizardTileProps): JSX.Element | null {
gridGap={SPACING.spacing16}
>
<StyledText desktopStyle="headingSmallBold">
{t('pip_tips')}
{t('pipette_tips')}
</StyledText>
<Box
css={css`
Expand Down Expand Up @@ -373,7 +373,7 @@ export function SelectPipettes(props: WizardTileProps): JSX.Element | null {
alignItems={ALIGN_CENTER}
>
<StyledText desktopStyle="headingSmallBold">
{t('your_pips')}
{t('your_pipettes')}
</StyledText>
{has96Channel ? null : (
<Btn
Expand Down

0 comments on commit 4324dd3

Please sign in to comment.