Change to paragraphs outside the strings

This commit is contained in:
J. Ryan Stinnett 2019-09-09 10:27:02 +01:00
parent 3ad88604cc
commit c3adddb5ac
2 changed files with 16 additions and 12 deletions

View file

@ -262,17 +262,20 @@ export default class SetIdServer extends React.Component {
let message;
let danger = false;
if (boundThreepids.length) {
message = _t(
"You are still <b>sharing your personal data</b> on the identity " +
"server <idserver />. <br /> <br /> " +
"We recommend that you remove your email addresses and phone numbers " +
"from the identity server before disconnecting.", {},
{
idserver: sub => <b>{abbreviateUrl(this.state.currentClientIdServer)}</b>,
b: sub => <b>{sub}</b>,
br: () => <br />,
},
);
message = <div>
<p>{_t(
"You are still <b>sharing your personal data</b> on the identity " +
"server <idserver />.", {},
{
idserver: sub => <b>{abbreviateUrl(this.state.currentClientIdServer)}</b>,
b: sub => <b>{sub}</b>,
},
)}</p>
<p>{_t(
"We recommend that you remove your email addresses and phone numbers " +
"from the identity server before disconnecting.",
)}</p>
</div>;
danger = true;
button = _t("Disconnect anyway");
} else {