Skip to content
This repository was archived by the owner on Sep 11, 2024. It is now read-only.

Commit 645349f

Browse files
authored
Merge pull request #599 from DanielDent/unbranded-error-messages
Unbranded error messages
2 parents 197c68c + 7c841a8 commit 645349f

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

src/CallHandler.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -280,7 +280,7 @@ function _onAction(payload) {
280280
var QuestionDialog = sdk.getComponent("dialogs.QuestionDialog");
281281
Modal.createDialog(QuestionDialog, {
282282
title: "Warning!",
283-
description: "Conference calling in Riot is in development and may not be reliable.",
283+
description: "Conference calling is in development and may not be reliable.",
284284
onFinished: confirm=>{
285285
if (confirm) {
286286
ConferenceHandler.createNewMatrixCall(

src/components/structures/TimelinePanel.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -810,7 +810,7 @@ var TimelinePanel = React.createClass({
810810
});
811811
};
812812
}
813-
var message = "Riot was trying to load a specific point in this room's timeline but ";
813+
var message = "Tried to load a specific point in this room's timeline, but ";
814814
if (error.errcode == 'M_FORBIDDEN') {
815815
message += "you do not have permission to view the message in question.";
816816
} else {

src/components/structures/login/Login.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -203,7 +203,7 @@ module.exports = React.createClass({
203203
!this.state.enteredHomeserverUrl.startsWith("http")))
204204
{
205205
errorText = <span>
206-
Can't connect to homeserver via HTTP when using Riot served by HTTPS.
206+
Can't connect to homeserver via HTTP when an HTTPS URL is in your browser bar.
207207
Either use HTTPS or <a href='https://www.google.com/search?&q=enable%20unsafe%20scripts'>enable unsafe scripts</a>
208208
</span>;
209209
}

src/components/views/rooms/RoomPreviewBar.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ module.exports = React.createClass({
9494
if (this.props.invitedEmail) {
9595
if (this.state.threePidFetchError) {
9696
emailMatchBlock = <div className="error">
97-
Riot was unable to ascertain that the address this invite was
97+
Unable to ascertain that the address this invite was
9898
sent to matches one associated with your account.
9999
</div>
100100
} else if (this.state.invitedEmailMxid != MatrixClientPeg.get().credentials.userId) {

0 commit comments

Comments
 (0)