pull/21833/head
David Baker 2018-08-13 14:04:08 +01:00
parent d84ecbe97c
commit f7f62ba09d
1 changed files with 7 additions and 4 deletions

View File

@ -29,7 +29,7 @@ export default React.createClass({
getDefaultProps: function() { getDefaultProps: function() {
return { return {
kind: 'hard', kind: 'hard',
} };
}, },
render: function() { render: function() {
@ -44,12 +44,13 @@ export default React.createClass({
} else { } else {
return sub; return sub;
} }
} };
if (this.props.kind === 'hard') { if (this.props.kind === 'hard') {
toolbarClasses['mx_MatrixToolbar_error'] = true; toolbarClasses['mx_MatrixToolbar_error'] = true;
content = _t( content = _t(
"This homeserver has hit its Monthly Active User limit. Please <a>contact your service administrator</a> to continue using the service.", "This homeserver has hit its Monthly Active User limit. " +
"Please <a>contact your service administrator</a> to continue using the service.",
{}, {},
{ {
'a': translateLink, 'a': translateLink,
@ -58,7 +59,9 @@ export default React.createClass({
} else { } else {
toolbarClasses['mx_MatrixToolbar_info'] = true; toolbarClasses['mx_MatrixToolbar_info'] = true;
content = _t( content = _t(
"This homeserver has hit its Monthly Active User limit so some users will not be able to log in. Please <a>contact your service administrator</a> to get this limit increased.", "This homeserver has hit its Monthly Active User " +
"limit so some users will not be able to log in. " +
"Please <a>contact your service administrator</a> to get this limit increased.",
{}, {},
{ {
'a': translateLink, 'a': translateLink,