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 message;
let danger = false; let danger = false;
if (boundThreepids.length) { if (boundThreepids.length) {
message = _t( message = <div>
"You are still <b>sharing your personal data</b> on the identity " + <p>{_t(
"server <idserver />. <br /> <br /> " + "You are still <b>sharing your personal data</b> on the identity " +
"We recommend that you remove your email addresses and phone numbers " + "server <idserver />.", {},
"from the identity server before disconnecting.", {}, {
{ idserver: sub => <b>{abbreviateUrl(this.state.currentClientIdServer)}</b>,
idserver: sub => <b>{abbreviateUrl(this.state.currentClientIdServer)}</b>, b: sub => <b>{sub}</b>,
b: sub => <b>{sub}</b>, },
br: () => <br />, )}</p>
}, <p>{_t(
); "We recommend that you remove your email addresses and phone numbers " +
"from the identity server before disconnecting.",
)}</p>
</div>;
danger = true; danger = true;
button = _t("Disconnect anyway"); button = _t("Disconnect anyway");
} else { } else {

View file

@ -563,7 +563,8 @@
"Disconnect identity server": "Disconnect identity server", "Disconnect identity server": "Disconnect identity server",
"Disconnect from the identity server <idserver />?": "Disconnect from the identity server <idserver />?", "Disconnect from the identity server <idserver />?": "Disconnect from the identity server <idserver />?",
"Disconnect": "Disconnect", "Disconnect": "Disconnect",
"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.": "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.", "You are still <b>sharing your personal data</b> on the identity server <idserver />.": "You are still <b>sharing your personal data</b> on the identity server <idserver />.",
"We recommend that you remove your email addresses and phone numbers from the identity server before disconnecting.": "We recommend that you remove your email addresses and phone numbers from the identity server before disconnecting.",
"Disconnect anyway": "Disconnect anyway", "Disconnect anyway": "Disconnect anyway",
"Go back": "Go back", "Go back": "Go back",
"Identity Server (%(server)s)": "Identity Server (%(server)s)", "Identity Server (%(server)s)": "Identity Server (%(server)s)",