From 8b5cab4760d2b333bf40f723927791a58114b7bb Mon Sep 17 00:00:00 2001 From: David Lechner Date: Sat, 9 Aug 2025 20:34:36 +0000 Subject: [PATCH] s/Web USB/WebUSB/g --- src/firmware/alerts/translations/en.json | 2 +- src/firmware/sagas.ts | 2 +- src/usb/alerts/translations/en.json | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/firmware/alerts/translations/en.json b/src/firmware/alerts/translations/en.json index c38a961f..51e4b974 100644 --- a/src/firmware/alerts/translations/en.json +++ b/src/firmware/alerts/translations/en.json @@ -5,7 +5,7 @@ "tryAgainButton": "Try again" }, "noWebUsb": { - "message": "This browser does not support Web USB or Web USB is not enabled.", + "message": "This browser does not support WebUSB or WebUSB is not enabled.", "suggestion": "Use a supported browser such as Google Chrome or Microsoft Edge." }, "noDfuHub": { diff --git a/src/firmware/sagas.ts b/src/firmware/sagas.ts index 8225c71a..006a8eb8 100644 --- a/src/firmware/sagas.ts +++ b/src/firmware/sagas.ts @@ -689,7 +689,7 @@ function* handleFlashUsbDfu(action: ReturnType): Gen const defer = new Array<() => void>(); try { - // not all web browsers support Web USB + // not all web browsers support WebUSB if (!navigator.usb) { yield* put(alertsShowAlert('firmware', 'noWebUsb')); yield* put(firmwareDidFailToFlashUsbDfu()); diff --git a/src/usb/alerts/translations/en.json b/src/usb/alerts/translations/en.json index 58484b62..93732567 100644 --- a/src/usb/alerts/translations/en.json +++ b/src/usb/alerts/translations/en.json @@ -1,6 +1,6 @@ { "noWebUsb": { - "message": "This browser does not support Web USB or it is not enabled.", + "message": "This browser does not support WebUSB or it is not enabled.", "suggestion": "Use a supported browser such as Google Chrome or Microsoft Edge.", "action": "More Info" },