Use translation in img alt text

Signed-off-by: Stefan Parviainen <pafcu@iki.fi>
This commit is contained in:
Stefan Parviainen 2017-09-24 09:43:52 +02:00
parent 14bce1119c
commit dbae5a66e3

View file

@ -299,7 +299,7 @@ module.exports = React.createClass({
blurToCancel={ false }
onValueChanged={ self.onAliasAdded } />
<div className="mx_RoomSettings_addAlias mx_filterFlipColor">
<img src="img/plus.svg" width="14" height="14" alt="Add"
<img src="img/plus.svg" width="14" height="14" alt={ _t("Add") }
onClick={ self.onAliasAdded.bind(self, undefined) }/>
</div>
</div> : ""