Merge pull request #599 from DanielDent/unbranded-error-messages

Unbranded error messages
pull/21833/head
Matthew Hodgson 2016-12-21 22:46:38 +00:00 committed by GitHub
commit 645349f542
4 changed files with 4 additions and 4 deletions

View File

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

View File

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

View File

@ -203,7 +203,7 @@ module.exports = React.createClass({
!this.state.enteredHomeserverUrl.startsWith("http")))
{
errorText = <span>
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 <a href='https://www.google.com/search?&q=enable%20unsafe%20scripts'>enable unsafe scripts</a>
</span>;
}

View File

@ -94,7 +94,7 @@ module.exports = React.createClass({
if (this.props.invitedEmail) {
if (this.state.threePidFetchError) {
emailMatchBlock = <div className="error">
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.
</div>
} else if (this.state.invitedEmailMxid != MatrixClientPeg.get().credentials.userId) {