mirror of
https://github.com/pybricks/pybricks-code.git
synced 2026-07-28 04:08:05 +00:00
firmware/bootloaderInstructions: Edit unsupported hubs.
This commit is contained in:
committed by
David Lechner
parent
8aa82eee46
commit
d303e28756
@@ -34,7 +34,7 @@
|
||||
"keepHolding": "Keep holding the {button}."
|
||||
},
|
||||
"connect": {
|
||||
"start": "Activate the connection:",
|
||||
"start": "Install:",
|
||||
"clickConnectAndFlash": "Click the {flashButton} button below.",
|
||||
"selectDevice": "In the pop-up dialog, select {deviceName} and click {connectButton}.",
|
||||
"connectButton": "Connect"
|
||||
|
||||
@@ -27,6 +27,7 @@ import { useDropzone } from 'react-dropzone';
|
||||
import { useDispatch } from 'react-redux';
|
||||
import { useLocalStorage } from 'usehooks-ts';
|
||||
import { alertsShowAlert } from '../../alerts/actions';
|
||||
import { appName, legoMindstormsRegisteredTrademark } from '../../app/constants';
|
||||
import HelpButton from '../../components/HelpButton';
|
||||
import { Hub, hubBootloaderType } from '../../components/hubPicker';
|
||||
import { HubPicker } from '../../components/hubPicker/HubPicker';
|
||||
@@ -92,8 +93,23 @@ const UnsupportedHubs: React.VoidFunctionComponent = () => {
|
||||
return (
|
||||
<div className={Classes.RUNNING_TEXT}>
|
||||
<h4>
|
||||
{i18n.translate('selectHubPanel.notOnListButton.info.mindstorms.title')}
|
||||
{i18n.translate(
|
||||
'selectHubPanel.notOnListButton.info.mindstorms.title',
|
||||
{ legoMindstormsRegisteredTrademark },
|
||||
)}
|
||||
</h4>
|
||||
<p>
|
||||
{i18n.translate(
|
||||
'selectHubPanel.notOnListButton.info.mindstorms.intro',
|
||||
{
|
||||
appName,
|
||||
legoMindstormsRegisteredTrademark,
|
||||
},
|
||||
)}
|
||||
</p>
|
||||
<p>
|
||||
{i18n.translate('selectHubPanel.notOnListButton.info.mindstorms.help')}
|
||||
</p>
|
||||
<ul>
|
||||
<li>
|
||||
{i18n.translate(
|
||||
@@ -114,18 +130,19 @@ const UnsupportedHubs: React.VoidFunctionComponent = () => {
|
||||
<h4>
|
||||
{i18n.translate('selectHubPanel.notOnListButton.info.poweredUp.title')}
|
||||
</h4>
|
||||
<p>
|
||||
{i18n.translate('selectHubPanel.notOnListButton.info.poweredUp.intro')}
|
||||
</p>
|
||||
<ul>
|
||||
<li>
|
||||
{i18n.translate(
|
||||
'selectHubPanel.notOnListButton.info.poweredUp.wedo2',
|
||||
)}
|
||||
<em>*</em>
|
||||
</li>
|
||||
<li>
|
||||
{i18n.translate(
|
||||
'selectHubPanel.notOnListButton.info.poweredUp.duploTrain',
|
||||
)}
|
||||
<em>*</em>
|
||||
</li>
|
||||
<li>
|
||||
{i18n.translate(
|
||||
@@ -133,13 +150,6 @@ const UnsupportedHubs: React.VoidFunctionComponent = () => {
|
||||
)}
|
||||
</li>
|
||||
</ul>
|
||||
|
||||
<em>
|
||||
*{' '}
|
||||
{i18n.translate(
|
||||
'selectHubPanel.notOnListButton.info.poweredUp.footnote',
|
||||
)}
|
||||
</em>
|
||||
</div>
|
||||
);
|
||||
};
|
||||
|
||||
@@ -2,22 +2,24 @@
|
||||
"title": "Install Pybricks Firmware",
|
||||
"selectHubPanel": {
|
||||
"title": "Select hub type",
|
||||
"message": "Which kind of hub do you want to use?",
|
||||
"message": "Select your hub.",
|
||||
"notOnListButton": {
|
||||
"label": "My hub is not in the list.",
|
||||
"label": "What about other hubs?",
|
||||
"info": {
|
||||
"mindstorms": {
|
||||
"title": "MINDSTORMS Programmable Bricks",
|
||||
"rcx": "RCX - not enough memory to run Pybricks",
|
||||
"nxt": "NXT - maybe some day",
|
||||
"ev3": "EV3 - supported using VS Code instead of Pybricks Code"
|
||||
"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.",
|
||||
"rcx": "RCX: Might work in streaming mode.",
|
||||
"nxt": "NXT: We have tested this. It works!",
|
||||
"ev3": "EV3: Supported using Visual Studio Code."
|
||||
},
|
||||
"poweredUp": {
|
||||
"title": "Unsupported Powered Up Hubs",
|
||||
"wedo2": "WeDo 2.0 Smart hub",
|
||||
"duploTrain": "Duplo Train hub",
|
||||
"mario": "Mario/Luigi/Peach",
|
||||
"footnote": "firmware cannot be updated"
|
||||
"title": "Other hubs",
|
||||
"intro": "Support for these hubs is currently not planned.",
|
||||
"wedo2": "WeDo 2.0 Smart hub.",
|
||||
"duploTrain": "Duplo Train hub.",
|
||||
"mario": "Mario/Luigi/Peach."
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user