diff --git a/src/assets/translations/en.json b/src/assets/translations/en.json index 5f41402..318ddc8 100644 --- a/src/assets/translations/en.json +++ b/src/assets/translations/en.json @@ -125,6 +125,11 @@ "META_ATTRIBUTION": "Built with Meta Llama 3", "AI_RATE_LIMITED": "The explanation robot is a little too busy right now, please try again later.", "CHOOSING_ROBOT": "Choose your board", + "BROWSER_NOT_SUPPORTED": "The browser you are using doesn't support web-serial or web-usb.", + "BROWSER_NOT_SUPPORTED_1": "You won't be able to upload your code.", + "BROWSER_NOT_SUPPORTED_SUGGESTION": "A chromium based browser should work (Edge/Chrome/Brave)", + "ACKNOWLEDGE_BROWSER_NOT_SUPPORTED": "I understand", + "ACKNOWLEDGE_BROWSER_NOT_SUPPORTED_DONT_SHOW_AGAIN": "Don't show again", "INVALID_ROBOT_TITLE": "Incompatible device", "INVALID_ROBOT": "The selected robot {robot} does not work with the automatically detected {board}!", "INCOMPATIBLE_PROJECT": "Incompatible", diff --git a/src/assets/translations/nl.json b/src/assets/translations/nl.json index cf7c49c..0888a76 100644 --- a/src/assets/translations/nl.json +++ b/src/assets/translations/nl.json @@ -125,6 +125,11 @@ "META_ATTRIBUTION": "Gemaakt met Meta Llama 3", "AI_RATE_LIMITED": "De uitleg robot is op dit moment erg druk, probeer het later nog eens.", "CHOOSING_ROBOT": "Kies je arduino", + "BROWSER_NOT_SUPPORTED": "De browser die je gebruikt support geen web-serial of web-usb.", + "BROWSER_NOT_SUPPORTED_1": "Je zal daardoor je code niet kunnen uploaden.", + "BROWSER_NOT_SUPPORTED_SUGGESTION": "Een chromium based browser zou werken (Edge/Chrome/Brave)", + "ACKNOWLEDGE_BROWSER_NOT_SUPPORTED": "Ik snap het", + "ACKNOWLEDGE_BROWSER_NOT_SUPPORTED_DONT_SHOW_AGAIN": "Laat niet meer zien", "INVALID_ROBOT_TITLE": "Ongeschikte robot", "INVALID_ROBOT": "De geselecteerde robot {robot} werkt niet met de automatisch gedetecteerde {board}!", "INCOMPATIBLE_PROJECT": "Ongeschikt", diff --git a/src/lib/components/core/popups/popups/BrowserNotSupported.svelte b/src/lib/components/core/popups/popups/BrowserNotSupported.svelte new file mode 100644 index 0000000..1e45899 --- /dev/null +++ b/src/lib/components/core/popups/popups/BrowserNotSupported.svelte @@ -0,0 +1,56 @@ + + +