From 7c841a86ef9e1586d47c603e55f15a37e328cca3 Mon Sep 17 00:00:00 2001 From: Daniel Dent Date: Wed, 21 Dec 2016 14:25:46 -0800 Subject: [PATCH] Unbranded error messages --- src/CallHandler.js | 2 +- src/components/structures/TimelinePanel.js | 2 +- src/components/structures/login/Login.js | 2 +- src/components/views/rooms/RoomPreviewBar.js | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/CallHandler.js b/src/CallHandler.js index 2f931d8e3f..a7845f6bea 100644 --- a/src/CallHandler.js +++ b/src/CallHandler.js @@ -280,7 +280,7 @@ function _onAction(payload) { var QuestionDialog = sdk.getComponent("dialogs.QuestionDialog"); Modal.createDialog(QuestionDialog, { title: "Warning!", - description: "Conference calling in Riot is in development and may not be reliable.", + description: "Conference calling is in development and may not be reliable.", onFinished: confirm=>{ if (confirm) { ConferenceHandler.createNewMatrixCall( diff --git a/src/components/structures/TimelinePanel.js b/src/components/structures/TimelinePanel.js index 4311f683df..bf31f44315 100644 --- a/src/components/structures/TimelinePanel.js +++ b/src/components/structures/TimelinePanel.js @@ -810,7 +810,7 @@ var TimelinePanel = React.createClass({ }); }; } - var message = "Riot was trying to load a specific point in this room's timeline but "; + var message = "Tried to load a specific point in this room's timeline, but "; if (error.errcode == 'M_FORBIDDEN') { message += "you do not have permission to view the message in question."; } else { diff --git a/src/components/structures/login/Login.js b/src/components/structures/login/Login.js index e8b1a35213..c0d0c08d2c 100644 --- a/src/components/structures/login/Login.js +++ b/src/components/structures/login/Login.js @@ -203,7 +203,7 @@ module.exports = React.createClass({ !this.state.enteredHomeserverUrl.startsWith("http"))) { errorText = - Can't connect to homeserver via HTTP when using Riot served by HTTPS. + Can't connect to homeserver via HTTP when an HTTPS URL is in your browser bar. Either use HTTPS or enable unsafe scripts ; } diff --git a/src/components/views/rooms/RoomPreviewBar.js b/src/components/views/rooms/RoomPreviewBar.js index baeae4807d..b9912b6fcc 100644 --- a/src/components/views/rooms/RoomPreviewBar.js +++ b/src/components/views/rooms/RoomPreviewBar.js @@ -94,7 +94,7 @@ module.exports = React.createClass({ if (this.props.invitedEmail) { if (this.state.threePidFetchError) { emailMatchBlock =
- Riot was unable to ascertain that the address this invite was + Unable to ascertain that the address this invite was sent to matches one associated with your account.
} else if (this.state.invitedEmailMxid != MatrixClientPeg.get().credentials.userId) {