Make the toggle button on the memberEventListSummary translatable

pull/21833/head
Peter Vágner 2017-11-18 17:48:57 +01:00
parent 184b29daf8
commit 093f110199
2 changed files with 3 additions and 1 deletions

View File

@ -478,7 +478,7 @@ module.exports = React.createClass({
}
const toggleButton = (
<div className={"mx_MemberEventListSummary_toggle"} onClick={this._toggleSummary}>
{ expanded ? 'collapse' : 'expand' }
{ expanded ? _t('collapse') : _t('expand') }
</div>
);

View File

@ -581,6 +581,8 @@
"%(items)s and %(count)s others|other": "%(items)s and %(count)s others",
"%(items)s and %(count)s others|one": "%(items)s and one other",
"%(items)s and %(lastItem)s": "%(items)s and %(lastItem)s",
"collapse": "collapse",
"expand": "expand",
"Custom level": "Custom level",
"Room directory": "Room directory",
"Start chat": "Start chat",