don't translate most extension device names

This commit is contained in:
Christopher Willis-Ford 2022-07-12 07:22:30 -07:00
parent d0e42fb39c
commit 804bbbcc2e
8 changed files with 4 additions and 14 deletions

View file

@ -192,9 +192,7 @@ class Boost extends ExtensionLanding {
/>
</Steps>
</ExtensionSection>
<ExtensionTroubleshooting
deviceName={this.props.intl.formatMessage({id: 'boost.deviceName'})}
>
<ExtensionTroubleshooting deviceName="BOOST">
{isDownloaded(this.state.OS) && (
<React.Fragment>
<h3 className="faq-title"><FormattedMessage id="boost.updateScratchLinkTitle" /></h3>

View file

@ -1,5 +1,4 @@
{
"boost.deviceName": "BOOST",
"boost.headerText": "The {boostLink} kit brings your LEGO creations to life with powerful motors, a color sensor and more. By combining it with Scratch, you can build your own robotic creatures, tell physical-digital stories, invent new game controllers, or whatever else you can imagine.",
"boost.gettingStarted": "Getting Started",
"boost.connectingBoost": "Connecting BOOST to Scratch",

View file

@ -281,7 +281,7 @@ class EV3 extends ExtensionLanding {
</Steps>
</ExtensionSection>
<ExtensionTroubleshooting
deviceName={this.props.intl.formatMessage({id: 'ev3.deviceName'})}
deviceName="EV3"
scratchLinkOnly // EV3 is Bluetooth Classic so it's only available through Scratch Link
>
{isDownloaded(this.state.OS) && (

View file

@ -1,5 +1,4 @@
{
"ev3.deviceName": "EV3",
"ev3.headerText": "{ev3Link} is an invention kit with motors and sensors you can use to build interactive robotic creations. Connecting it to Scratch expands the possibilities: build a robotic puppet and tell stories, make your own musical instruments and game controllers, or whatever else you can imagine.",
"ev3.gettingStarted": "Getting Started",
"ev3.connectingEV3": "Connecting EV3 to Scratch",

View file

@ -1,5 +1,4 @@
{
"microbit.deviceName": "micro:bit",
"microbit.headerText": "{microbitLink} is a tiny circuit board designed to help kids learn to code and create with technology. It has many features including an LED display, buttons, and a motion sensor. You can connect it to Scratch and build creative projects that combine the magic of the digital and physical worlds.",
"microbit.gettingStarted": "Getting Started",
"microbit.installMicrobitHex": "Install Scratch micro:bit HEX",

View file

@ -319,9 +319,7 @@ class MicroBit extends ExtensionLanding {
</FlexRow>
<hr />
</ExtensionSection>
<ExtensionTroubleshooting
deviceName={this.props.intl.formatMessage({id: 'microbit.deviceName'})}
>
<ExtensionTroubleshooting deviceName="micro:bit">
{isDownloaded(this.state.OS) && (
<React.Fragment>
<h3 className="faq-title"><FormattedMessage id="microbit.checkOSVersionTitle" /></h3>

View file

@ -1,5 +1,4 @@
{
"wedo2.deviceName": "WeDo 2.0",
"wedo2.headerText": "{wedo2Link} is an introductory invention kit you can use to build interactive robots and other creations. You can snap together Scratch programming blocks to interact with your WeDo 2.0 creations and add animations and sounds.",
"wedo2.gettingStarted": "Getting Started",
"wedo2.connectingWedo2": "Connecting WeDo 2.0 to Scratch",

View file

@ -191,9 +191,7 @@ class Wedo2 extends ExtensionLanding {
/>
</Steps>
</ExtensionSection>
<ExtensionTroubleshooting
deviceName={this.props.intl.formatMessage({id: 'wedo2.deviceName'})}
>
<ExtensionTroubleshooting deviceName="WeDo 2.0">
{isDownloaded(this.state.OS) && (
<React.Fragment>
<h3 className="faq-title"><FormattedMessage id="wedo2.checkOSVersionTitle" /></h3>