Merge pull request #1420 from matrix-org/t3chguy/missing-i18n

apply i18n _t to string which has already been translated
This commit is contained in:
David Baker 2017-09-22 20:58:59 +01:00 committed by GitHub
commit 4b7c50810c

View File

@ -208,7 +208,7 @@ module.exports = React.createClass({
if (!this.state.cachedPassword) {
currentPassword = <div className={rowClassName}>
<div className={rowLabelClassName}>
<label htmlFor="passwordold">Current password</label>
<label htmlFor="passwordold">{ _t('Current password') }</label>
</div>
<div className={rowInputClassName}>
<input id="passwordold" type="password" ref="old_input" />