From 97ea2b1ac7a3043a9fd13e9c04e48d0ceaf75d37 Mon Sep 17 00:00:00 2001 From: Laurens Valk Date: Tue, 13 Dec 2022 10:35:57 +0100 Subject: [PATCH] ble/alerts/translations: Copy edit. --- src/ble/alerts/NoHub.tsx | 12 ++---------- src/ble/alerts/translations/en.json | 11 +++++------ 2 files changed, 7 insertions(+), 16 deletions(-) diff --git a/src/ble/alerts/NoHub.tsx b/src/ble/alerts/NoHub.tsx index 8a96c995..70680a81 100644 --- a/src/ble/alerts/NoHub.tsx +++ b/src/ble/alerts/NoHub.tsx @@ -4,7 +4,7 @@ import './index.scss'; import { AnchorButton, Button, Intent } from '@blueprintjs/core'; import React from 'react'; -import { appName, pybricksBluetoothTroubleshootingUrl } from '../../app/constants'; +import { pybricksBluetoothTroubleshootingUrl } from '../../app/constants'; import ExternalLinkIcon from '../../components/ExternalLinkIcon'; import type { CreateToast } from '../../toasterTypes'; import { useI18n } from './i18n'; @@ -19,15 +19,7 @@ const NoHub: React.VoidFunctionComponent = ({ onFlashFirmware }) => return ( <>

{i18n.translate('noHub.message')}

-

- {i18n.translate('noHub.suggestion1', { - appName, - buttonName: ( - {i18n.translate('noHub.flashFirmwareButton')} - ), - })} -

-

{i18n.translate('noHub.suggestion2')}

+

{i18n.translate('noHub.suggestion')}