diff --git a/protocol-designer/src/assets/localization/en/shared.json b/protocol-designer/src/assets/localization/en/shared.json index 212ae62bf05..afbd96b1211 100644 --- a/protocol-designer/src/assets/localization/en/shared.json +++ b/protocol-designer/src/assets/localization/en/shared.json @@ -37,6 +37,7 @@ "heatershakermoduletype": "Heater-shaker Module", "hints": "Hints", "import": "Import", + "import_existing_protocol": "Import existing protocol", "incorrect_file_header": "Invalid file type", "incorrect_file_type_body": "Protocol Designer only accepts JSON protocol files created with Protocol Designer. Upload a valid file to continue.", "invalid_json_file_body": "This JSON file is either missing required information or contains sections that Protocol Designer cannot read. At this time we do not support JSON files created outside of Protocol Designer.", diff --git a/protocol-designer/src/pages/Designer/LiquidsOverflowMenu.tsx b/protocol-designer/src/pages/Designer/LiquidsOverflowMenu.tsx index 1a4b2e12c29..38b5867b2cc 100644 --- a/protocol-designer/src/pages/Designer/LiquidsOverflowMenu.tsx +++ b/protocol-designer/src/pages/Designer/LiquidsOverflowMenu.tsx @@ -5,10 +5,10 @@ import { useLocation } from 'react-router-dom' import { ALIGN_CENTER, BORDERS, - Box, COLORS, CURSOR_POINTER, DIRECTION_COLUMN, + Divider, Flex, Icon, LiquidIcon, @@ -92,7 +92,7 @@ export function LiquidsOverflowMenu( ) })} {liquids.length > 0 ? ( - + ) : null} { ) fireEvent.click(screen.getByRole('button', { name: 'Create a protocol' })) expect(vi.mocked(toggleNewProtocolModal)).toHaveBeenCalled() - screen.getByText('Edit existing protocol') + screen.getByText('Import existing protocol') screen.getByRole('img', { name: 'welcome image' }) }) diff --git a/protocol-designer/src/pages/Landing/index.tsx b/protocol-designer/src/pages/Landing/index.tsx index 412800c5bc4..3f2f839e33b 100644 --- a/protocol-designer/src/pages/Landing/index.tsx +++ b/protocol-designer/src/pages/Landing/index.tsx @@ -149,7 +149,7 @@ export function Landing(): JSX.Element { - {t('edit_existing')} + {t('import_existing_protocol')}