Merge pull request #902 from jitsi/fix-authentication-failed-msg

Fixes message for authentication failed.
This commit is contained in:
yanas 2016-09-20 12:47:53 -05:00 committed by GitHub
commit 0bf6d52eef
2 changed files with 8 additions and 5 deletions

View File

@ -197,8 +197,8 @@
"lockMessage": "Failed to lock the conference.", "lockMessage": "Failed to lock the conference.",
"warning": "Warning", "warning": "Warning",
"passwordNotSupported": "Room passwords are currently not supported.", "passwordNotSupported": "Room passwords are currently not supported.",
"sorry": "Sorry", "internalErrorTitle": "Internal error",
"internalError": "Internal application error [setRemoteDescription]", "internalError": "Oups! Something went wrong. The following error occurred: [setRemoteDescription]",
"unableToSwitch": "Unable to switch video stream.", "unableToSwitch": "Unable to switch video stream.",
"SLDFailure": "Oops! Something went wrong and we failed to mute! (SLD Failure)", "SLDFailure": "Oops! Something went wrong and we failed to mute! (SLD Failure)",
"SRDFailure": "Oops! Something went wrong and we failed to stop video! (SRD Failure)", "SRDFailure": "Oops! Something went wrong and we failed to stop video! (SRD Failure)",
@ -246,7 +246,8 @@
"password": "Enter password", "password": "Enter password",
"userPassword": "user password", "userPassword": "user password",
"token": "token", "token": "token",
"tokenAuthFailed": "Failed to authenticate with XMPP server: invalid token", "tokenAuthFailedTitle": "Authentication problem",
"tokenAuthFailed": "Sorry, you're not allowed to join this call.",
"displayNameRequired": "Please enter your display name", "displayNameRequired": "Please enter your display name",
"extensionRequired": "Extension required:", "extensionRequired": "Extension required:",
"firefoxExtensionPrompt": "You need to install a Firefox extension in order to use screen sharing. Please try again after you <a href='__url__'>get it from here</a>!", "firefoxExtensionPrompt": "You need to install a Firefox extension in order to use screen sharing. Please try again after you <a href='__url__'>get it from here</a>!",

View File

@ -1152,11 +1152,13 @@ UI.updateRecordingState = function (state) {
}; };
UI.notifyTokenAuthFailed = function () { UI.notifyTokenAuthFailed = function () {
messageHandler.showError("dialog.error", "dialog.tokenAuthFailed"); messageHandler.showError( "dialog.tokenAuthFailedTitle",
"dialog.tokenAuthFailed");
}; };
UI.notifyInternalError = function () { UI.notifyInternalError = function () {
messageHandler.showError("dialog.sorry", "dialog.internalError"); messageHandler.showError( "dialog.internalErrorTitle",
"dialog.internalError");
}; };
UI.notifyFocusDisconnected = function (focus, retrySec) { UI.notifyFocusDisconnected = function (focus, retrySec) {