Commit 83553c3b authored by Linda's avatar Linda

making the conditional translation more elegant

parent 25234d7e
......@@ -141,10 +141,10 @@ class EV3 extends ExtensionLanding {
<Step>
<div className="step-image">
<img
alt={this.props.intl.formatMessage({id: `${
alt={this.props.intl.formatMessage({id: `ev3.imgAlt${
this.state.OS === OS_ENUM.WINDOWS ?
'ev3.imgAltWaitForWindows' :
'ev3.imgAltEnterPasscodeMac'
'WaitForWindows' :
'EnterPasscodeMac'
}`})}
className="screenshot"
src={`/images/ev3/${
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment