Adds new text for Firefox screen-sharing permission denied error.
This commit is contained in:
parent
a902540167
commit
ea431ca90c
|
@ -1721,8 +1721,23 @@ export default {
|
||||||
let titleKey;
|
let titleKey;
|
||||||
|
|
||||||
if (error.name === JitsiTrackErrors.PERMISSION_DENIED) {
|
if (error.name === JitsiTrackErrors.PERMISSION_DENIED) {
|
||||||
|
|
||||||
|
// in FF the only option for user is to deny access temporary or
|
||||||
|
// permanently and we only receive permission_denied
|
||||||
|
// we always show some info cause in case of permanently, no info
|
||||||
|
// shown will be bad experience
|
||||||
|
//
|
||||||
|
// TODO: detect interval between requesting permissions and received
|
||||||
|
// error, this way we can detect user interaction which will have
|
||||||
|
// longer delay
|
||||||
|
if (JitsiMeetJS.util.browser.isFirefox()) {
|
||||||
|
descriptionKey
|
||||||
|
= 'dialog.screenSharingFirefoxPermissionDeniedError';
|
||||||
|
titleKey = 'dialog.screenSharingFirefoxPermissionDeniedTitle';
|
||||||
|
} else {
|
||||||
descriptionKey = 'dialog.screenSharingPermissionDeniedError';
|
descriptionKey = 'dialog.screenSharingPermissionDeniedError';
|
||||||
titleKey = 'dialog.screenSharingFailedToInstallTitle';
|
titleKey = 'dialog.screenSharingFailedToInstallTitle';
|
||||||
|
}
|
||||||
} else {
|
} else {
|
||||||
descriptionKey = 'dialog.screenSharingFailedToInstall';
|
descriptionKey = 'dialog.screenSharingFailedToInstall';
|
||||||
titleKey = 'dialog.screenSharingFailedToInstallTitle';
|
titleKey = 'dialog.screenSharingFailedToInstallTitle';
|
||||||
|
|
|
@ -293,6 +293,8 @@
|
||||||
"permissionDenied": "Permission Denied",
|
"permissionDenied": "Permission Denied",
|
||||||
"screenSharingFailedToInstall": "Oops! Your screen sharing extension failed to install.",
|
"screenSharingFailedToInstall": "Oops! Your screen sharing extension failed to install.",
|
||||||
"screenSharingFailedToInstallTitle": "Screen sharing extension failed to install",
|
"screenSharingFailedToInstallTitle": "Screen sharing extension failed to install",
|
||||||
|
"screenSharingFirefoxPermissionDeniedError": "Something went wrong while we were trying to share your screen. Please make sure that you have given us permission to do so. ",
|
||||||
|
"screenSharingFirefoxPermissionDeniedTitle": "Oops! We weren’t able to start screen sharing!",
|
||||||
"screenSharingPermissionDeniedError": "Oops! Something went wrong with your screen sharing extension permissions. Please reload and try again.",
|
"screenSharingPermissionDeniedError": "Oops! Something went wrong with your screen sharing extension permissions. Please reload and try again.",
|
||||||
"cameraUnsupportedResolutionError": "Your camera does not support required video resolution.",
|
"cameraUnsupportedResolutionError": "Your camera does not support required video resolution.",
|
||||||
"cameraUnknownError": "Cannot use camera for an unknown reason.",
|
"cameraUnknownError": "Cannot use camera for an unknown reason.",
|
||||||
|
|
Loading…
Reference in New Issue