Skip to content

Commit

Permalink
refactor(app): update network setup header copy (#13436)
Browse files Browse the repository at this point in the history
* update network setup header copy

* remove unused string
  • Loading branch information
ecormany authored Aug 31, 2023
1 parent 273d7e9 commit a400189
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion app/src/assets/localization/en/device_settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand All @@ -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.",
Expand Down
2 changes: 1 addition & 1 deletion app/src/pages/OnDeviceDisplay/NetworkSetupMenu.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ export function NetworkSetupMenu(): JSX.Element {
fontWeight={TYPOGRAPHY.fontWeightBold}
color={COLORS.black}
>
{t('connect_to_a_network')}
{t('choose_network_type')}
</StyledText>
</Flex>
<Flex
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ describe('NetworkSetupMenu', () => {
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.'
)
Expand Down

0 comments on commit a400189

Please sign in to comment.