mirror of https://github.com/vector-im/riot-web
update wording and style it like text (text cursor)
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>pull/21833/head
parent
ed1f801254
commit
ed4b82f8fc
|
@ -88,8 +88,9 @@ module.exports = React.createClass({
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
previewsForAccount = (
|
previewsForAccount = (
|
||||||
_t("URL Previews default to off in End-to-End Encrypted rooms to protect your privacy. " +
|
_t("In encrypted rooms, like this one, URL previews are disabled by default to ensure that your " +
|
||||||
"They are requested through your homeserver which could infer links which are otherwise encrypted")
|
"homeserver (where the previews are generated) cannot gather information about links you see in " +
|
||||||
|
"this room.")
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -105,8 +106,13 @@ module.exports = React.createClass({
|
||||||
return (
|
return (
|
||||||
<div className="mx_RoomSettings_toggles">
|
<div className="mx_RoomSettings_toggles">
|
||||||
<h3>{ _t("URL Previews") }</h3>
|
<h3>{ _t("URL Previews") }</h3>
|
||||||
|
<div>
|
||||||
<label>{ previewsForAccount }</label>
|
{ _t('When someone puts a URL in their message, a URL preview can be shown to give more ' +
|
||||||
|
'information about that link such as the title, description, and an image from the website.') }
|
||||||
|
</div>
|
||||||
|
<div>
|
||||||
|
{ previewsForAccount }
|
||||||
|
</div>
|
||||||
{ previewsForRoom }
|
{ previewsForRoom }
|
||||||
<label>{ previewsForRoomAccount }</label>
|
<label>{ previewsForRoomAccount }</label>
|
||||||
</div>
|
</div>
|
||||||
|
|
Loading…
Reference in New Issue