diff --git a/protocol-designer/src/assets/localization/en/protocol_overview.json b/protocol-designer/src/assets/localization/en/protocol_overview.json index c3d72e55127..e1975f4e4ef 100644 --- a/protocol-designer/src/assets/localization/en/protocol_overview.json +++ b/protocol-designer/src/assets/localization/en/protocol_overview.json @@ -26,11 +26,11 @@ "no_steps": "No steps defined", "number_of_steps": "Number of steps", "protocol_metadata": "Protocol Metadata", + "protocol_steps": "Protocol Steps", "required_app_version": "Required app version", "right_pip": "Right pipette", "robotType": "Robot type", "starting_deck": "Protocol Starting Deck", - "step": "Protocol Steps", "steps": "{{count}} steps", "total_well_volume": "Total Well Volume", "untitled_protocol": "Untitled protocol", diff --git a/protocol-designer/src/pages/ProtocolOverview/StepsInfo.tsx b/protocol-designer/src/pages/ProtocolOverview/StepsInfo.tsx index 6f9d4aa7e8b..ad31f0bc5aa 100644 --- a/protocol-designer/src/pages/ProtocolOverview/StepsInfo.tsx +++ b/protocol-designer/src/pages/ProtocolOverview/StepsInfo.tsx @@ -23,10 +23,12 @@ export function StepsInfo({ savedStepForms }: StepsInfoProps): JSX.Element { return ( - {t('step')} + + {t('protocol_steps')} + - {Object.keys(savedStepForms).length <= 1 ? ( + {Object.keys(savedStepForms).length < 1 ? ( ) : ( @@ -43,7 +45,7 @@ export function StepsInfo({ savedStepForms }: StepsInfoProps): JSX.Element { content={ {t('steps', { - count: (Object.keys(savedStepForms).length - 1).toString(), + count: Object.keys(savedStepForms).length.toString(), })} }