update wording and style it like text (text cursor)

Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
pull/21833/head
Michael Telatynski 2018-06-21 01:40:16 +01:00
parent ed1f801254
commit ed4b82f8fc
No known key found for this signature in database
GPG Key ID: 3F879DA5AD802A5E
1 changed files with 10 additions and 4 deletions

View File

@ -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>