diff --git a/app/src/assets/localization/en/protocol_command_text.json b/app/src/assets/localization/en/protocol_command_text.json index a1d027bb084..0315d25dd7d 100644 --- a/app/src/assets/localization/en/protocol_command_text.json +++ b/app/src/assets/localization/en/protocol_command_text.json @@ -53,6 +53,7 @@ "move_to_coordinates": "Moving to (X: {{x}}, Y: {{y}}, Z: {{z}})", "move_to_slot": "Moving to Slot {{slot_name}}", "move_to_well": "Moving to well {{well_name}} of {{labware}} in {{labware_location}}", + "multiple": "multiple", "notes": "notes", "off_deck": "off deck", "offdeck": "offdeck", @@ -70,9 +71,10 @@ "setting_temperature_module_temp": "Setting Temperature Module to {{temp}} (rounded to nearest integer)", "setting_thermocycler_block_temp": "Setting Thermocycler block temperature to {{temp}} with hold time of {{hold_time_seconds}} seconds after target reached", "setting_thermocycler_lid_temp": "Setting Thermocycler lid temperature to {{temp}}", + "single": "single", + "slot": "Slot {{slot_name}}", "turning_rail_lights_off": "Turning rail lights off", "turning_rail_lights_on": "Turning rail lights on", - "slot": "Slot {{slot_name}}", "target_temperature": "target temperature", "tc_awaiting_for_duration": "Waiting for Thermocycler profile to complete", "tc_run_profile_steps": "Temperature: {{celsius}}°C, hold time: {{duration}}", diff --git a/app/src/molecules/Command/hooks/useCommandTextString/utils/getAbsorbanceReaderCommandText.ts b/app/src/molecules/Command/hooks/useCommandTextString/utils/getAbsorbanceReaderCommandText.ts index bd527c3b57a..8fcd01db884 100644 --- a/app/src/molecules/Command/hooks/useCommandTextString/utils/getAbsorbanceReaderCommandText.ts +++ b/app/src/molecules/Command/hooks/useCommandTextString/utils/getAbsorbanceReaderCommandText.ts @@ -33,12 +33,13 @@ export const getAbsorbanceReaderCommandText = ({ command, t, }: GetAbsorbanceReaderCommandText): string => { - console.log(t(KEYS_BY_COMMAND_TYPE[command.commandType])) if (command.commandType === 'absorbanceReader/initialize') { const wavelengths = command.params.sampleWavelengths.join(' nm, ') + ` nm` + const mode = + command.params.measureMode === 'multi' ? t('multiple') : t('single') return t('absorbance_reader_initialize', { - mode: command.params.measureMode, - wavelengths: wavelengths, + mode, + wavelengths, }) } return t(KEYS_BY_COMMAND_TYPE[command.commandType])