From b3e7acbe3a977eff2e7daa72e19256c3b7ab9af9 Mon Sep 17 00:00:00 2001 From: Joey Wunderlich Date: Tue, 19 Sep 2023 09:51:21 -0700 Subject: [PATCH] localization for webusb connection failed msg --- webapp/src/cmds.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/webapp/src/cmds.ts b/webapp/src/cmds.ts index 8fbc023646e1..fdbe3e890b4b 100644 --- a/webapp/src/cmds.ts +++ b/webapp/src/cmds.ts @@ -479,11 +479,11 @@ export async function pairAsync(implicitlyCalled?: boolean): Promise { return true; } catch (e) { // Device - core.infoNotification("Oops, connection failed."); + core.infoNotification(lf("Oops, connection failed.")); return false; } case pxt.commands.WebUSBPairResult.Failed: - core.infoNotification("Oops, no device was paired."); + core.infoNotification(lf("Oops, no device was paired.")); return false; case pxt.commands.WebUSBPairResult.UserRejected: // User exited pair flow intentionally