From 9ceaeee73900672ef3c259c6ee2731bf16853b52 Mon Sep 17 00:00:00 2001
From: Laurens Valk
Date: Thu, 15 Dec 2022 20:25:01 +0100
Subject: [PATCH] firmware/installPybricksDialog: Make heart icon variable.
---
src/firmware/installPybricksDialog/InstallPybricksDialog.tsx | 4 +++-
src/firmware/installPybricksDialog/translations/en.json | 4 ++--
2 files changed, 5 insertions(+), 3 deletions(-)
diff --git a/src/firmware/installPybricksDialog/InstallPybricksDialog.tsx b/src/firmware/installPybricksDialog/InstallPybricksDialog.tsx
index 69bc3e44..590c2690 100644
--- a/src/firmware/installPybricksDialog/InstallPybricksDialog.tsx
+++ b/src/firmware/installPybricksDialog/InstallPybricksDialog.tsx
@@ -108,7 +108,9 @@ const UnsupportedHubs: React.VoidFunctionComponent = () => {
)}
- {i18n.translate('selectHubPanel.notOnListButton.info.mindstorms.help')}
+ {i18n.translate('selectHubPanel.notOnListButton.info.mindstorms.help', {
+ icon: '♥',
+ })}
-
diff --git a/src/firmware/installPybricksDialog/translations/en.json b/src/firmware/installPybricksDialog/translations/en.json
index 0de87bd9..f6800ecd 100644
--- a/src/firmware/installPybricksDialog/translations/en.json
+++ b/src/firmware/installPybricksDialog/translations/en.json
@@ -9,9 +9,9 @@
"mindstorms": {
"title": "{legoMindstormsRegisteredTrademark} bricks",
"intro": "{appName} does not currently support previous generations of {legoMindstormsRegisteredTrademark}.",
- "help": "But with your help, it can! Click the ♥ icon in the top right to learn more.",
+ "help": "But with your help, it can! Click the {icon} icon in the top right to see how you can support us.",
"rcx": "RCX: Might work in streaming mode.",
- "nxt": "NXT: We have tested this. It works!",
+ "nxt": "NXT: We have tested this. It could work!",
"ev3": "EV3: Supported using Visual Studio Code."
},
"poweredUp": {