From a400189115f50f1d6b1247de7fe8886137e79a85 Mon Sep 17 00:00:00 2001 From: Ed Cormany Date: Thu, 31 Aug 2023 15:13:34 -0400 Subject: [PATCH] refactor(app): update network setup header copy (#13436) * update network setup header copy * remove unused string --- app/src/assets/localization/en/device_settings.json | 2 +- app/src/pages/OnDeviceDisplay/NetworkSetupMenu.tsx | 2 +- .../pages/OnDeviceDisplay/__tests__/NetworkSetupMenu.test.tsx | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/app/src/assets/localization/en/device_settings.json b/app/src/assets/localization/en/device_settings.json index defe65af574..d6c8ff0b53d 100644 --- a/app/src/assets/localization/en/device_settings.json +++ b/app/src/assets/localization/en/device_settings.json @@ -28,6 +28,7 @@ "characters_max": "17 characters max", "check_for_updates": "Check for updates", "checking_for_updates": "Checking for updates", + "choose_network_type": "Choose network type", "choose_reset_settings": "Choose reset settings", "choose": "Choose...", "clear_all_data": "Clear all data", @@ -49,7 +50,6 @@ "confirm_device_reset_description": "This will permanently delete all protocol, calibration, and other data. You’ll have to redo initial setup before using the robot again.", "confirm_device_reset_heading": "Are you sure you want to reset your device?", "connect_the_estop_to_continue": "Connect the E-stop to continue", - "connect_to_a_network": "Connect to a network", "connect_to_wifi_network": "Connect to Wi-Fi network", "connect_to": "Connect to {{ssid}}", "connect_via_usb_description_1": "1. Connect the USB A-to-B cable to the robot’s USB-B port.", diff --git a/app/src/pages/OnDeviceDisplay/NetworkSetupMenu.tsx b/app/src/pages/OnDeviceDisplay/NetworkSetupMenu.tsx index ac20b750ef9..a0b7eb07564 100644 --- a/app/src/pages/OnDeviceDisplay/NetworkSetupMenu.tsx +++ b/app/src/pages/OnDeviceDisplay/NetworkSetupMenu.tsx @@ -62,7 +62,7 @@ export function NetworkSetupMenu(): JSX.Element { fontWeight={TYPOGRAPHY.fontWeightBold} color={COLORS.black} > - {t('connect_to_a_network')} + {t('choose_network_type')} { it('should render text and button, and step meter', () => { const [{ getByText }] = render() - getByText('Connect to a network') + getByText('Choose network type') getByText( 'You’ll use this connection to run software updates and load protocols onto your Opentrons Flex.' )