diff --git a/src/components/views/auth/VectorCustomServerDialog.js b/src/components/views/auth/VectorCustomServerDialog.js index c60ff6da273..b817cc3feb5 100644 --- a/src/components/views/auth/VectorCustomServerDialog.js +++ b/src/components/views/auth/VectorCustomServerDialog.js @@ -16,9 +16,12 @@ limitations under the License. */ const React = require("react"); -const sanitizeHtml = require("sanitize-html"); import { _t } from 'matrix-react-sdk/lib/languageHandler'; +/** + * This is identical to `CustomServerDialog` except for replacing "this app" + * with "Riot". + */ module.exports = React.createClass({ displayName: 'VectorCustomServerDialog', statics: { @@ -32,13 +35,17 @@ module.exports = React.createClass({ { _t('Custom Server Options') }
- This allows "+ - "you to use Riot with an existing Matrix account on a different home "+ - "server.

You can also set a custom identity server but you won't "+ - "be able to invite users by email address, or be invited by email address yourself.", - ))}} /> +

{_t( + "You can use the custom server options to sign into other " + + "Matrix servers by specifying a different homeserver URL. This " + + "allows you to use Riot with an existing Matrix account on a " + + "different homeserver.", + )}

+

{_t( + "You can also set a custom identity server, but you won't be " + + "able to invite users by email address, or be invited by email " + + "address yourself.", + )}