Skip to content

Commit

Permalink
refactor(app): refactor CommandText
Browse files Browse the repository at this point in the history
Decouple the logic that generates command text from the component that renders it.
  • Loading branch information
mjhuff committed Jul 17, 2024
1 parent 67097d7 commit a3442d4
Show file tree
Hide file tree
Showing 30 changed files with 941 additions and 580 deletions.
9 changes: 9 additions & 0 deletions app/src/assets/localization/en/protocol_command_text.json
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@
"opening_tc_lid": "Opening Thermocycler lid",
"pause_on": "Pause on {{robot_name}}",
"pause": "Pause",
"load_pipette_protocol_setup": "Load {{pipette_name}} in {{mount_name}} Mount",
"pickup_tip": "Picking up tip(s) from {{well_range}} of {{labware}} in {{labware_location}}",
"prepare_to_aspirate": "Preparing {{pipette}} to aspirate",
"return_tip": "Returning tip to {{well_name}} of {{labware}} in {{labware_location}}",
Expand All @@ -53,6 +54,14 @@
"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}}",
"load_module_protocol_setup": "Load {{module}} in Slot {{slot_name}}",
"load_labware_info_protocol_setup": "Load {{labware}} in {{module_name}} in Slot {{slot_name}}",
"load_labware_info_protocol_setup_adapter": "Load {{labware}} in {{adapter_name}} in Slot {{slot_name}}",
"load_labware_info_protocol_setup_adapter_module": "Load {{labware}} in {{adapter_name}} in {{module_name}} in Slot {{slot_name}}",
"load_labware_info_protocol_setup_adapter_off_deck": "Load {{labware}} in {{adapter_name}} off deck",
"load_labware_info_protocol_setup_no_module": "Load {{labware}} in Slot {{slot_name}}",
"load_labware_info_protocol_setup_off_deck": "Load {{labware}} off deck",
"load_liquids_info_protocol_setup": "Load {{liquid}} into {{labware}}",
"slot": "Slot {{slot_name}}",
"target_temperature": "target temperature",
"tc_awaiting_for_duration": "Waiting for Thermocycler profile to complete",
Expand Down
9 changes: 0 additions & 9 deletions app/src/assets/localization/en/run_details.json
Original file line number Diff line number Diff line change
Expand Up @@ -49,17 +49,8 @@
"labware_offset_data": "labware offset data",
"left": "Left",
"listed_values": "Listed values are view-only",
"load_labware_info_protocol_setup": "Load {{labware}} in {{module_name}} in Slot {{slot_name}}",
"load_labware_info_protocol_setup_adapter": "Load {{labware}} in {{adapter_name}} in Slot {{slot_name}}",
"load_labware_info_protocol_setup_adapter_module": "Load {{labware}} in {{adapter_name}} in {{module_name}} in Slot {{slot_name}}",
"load_labware_info_protocol_setup_adapter_off_deck": "Load {{labware}} in {{adapter_name}} off deck",
"load_labware_info_protocol_setup_no_module": "Load {{labware}} in Slot {{slot_name}}",
"load_labware_info_protocol_setup_off_deck": "Load {{labware}} off deck",
"load_labware_info_protocol_setup_plural": "Load {{labware}} in {{module_name}}",
"load_liquids_info_protocol_setup": "Load {{liquid}} into {{labware}}",
"load_module_protocol_setup": "Load {{module}} in Slot {{slot_name}}",
"load_module_protocol_setup_plural": "Load {{module}}",
"load_pipette_protocol_setup": "Load {{pipette_name}} in {{mount_name}} Mount",
"loading_data": "Loading data...",
"loading_protocol": "Loading Protocol",
"location": "location",
Expand Down
Loading

0 comments on commit a3442d4

Please sign in to comment.