Commit 83553c3b authored by Linda's avatar Linda

making the conditional translation more elegant

parent 25234d7e
...@@ -141,10 +141,10 @@ class EV3 extends ExtensionLanding { ...@@ -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/${
......
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