mirror of
https://github.com/scratchfoundation/scratch-www.git
synced 2024-11-27 09:35:56 -05:00
making the conditional translation more elegant
This commit is contained in:
parent
25234d7e27
commit
83553c3bc2
1 changed files with 3 additions and 3 deletions
|
@ -141,10 +141,10 @@ class EV3 extends ExtensionLanding {
|
||||||
<Step>
|
<Step>
|
||||||
<div className="step-image">
|
<div className="step-image">
|
||||||
<img
|
<img
|
||||||
alt={this.props.intl.formatMessage({id: `${
|
alt={this.props.intl.formatMessage({id: `ev3.imgAlt${
|
||||||
this.state.OS === OS_ENUM.WINDOWS ?
|
this.state.OS === OS_ENUM.WINDOWS ?
|
||||||
'ev3.imgAltWaitForWindows' :
|
'WaitForWindows' :
|
||||||
'ev3.imgAltEnterPasscodeMac'
|
'EnterPasscodeMac'
|
||||||
}`})}
|
}`})}
|
||||||
className="screenshot"
|
className="screenshot"
|
||||||
src={`/images/ev3/${
|
src={`/images/ev3/${
|
||||||
|
|
Loading…
Reference in a new issue