mirror of
https://github.com/pybricks/pybricks-code.git
synced 2026-09-14 10:35:11 +00:00
s/Web USB/WebUSB/g
This commit is contained in:
@@ -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": {
|
||||
|
||||
@@ -689,7 +689,7 @@ function* handleFlashUsbDfu(action: ReturnType<typeof firmwareFlashUsbDfu>): 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());
|
||||
|
||||
@@ -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"
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user