fix(virtual-backgrounds) make error message translatable
This commit is contained in:
parent
a182f53cdc
commit
00ae2dc6a9
|
@ -418,6 +418,7 @@
|
|||
"desktopShareError": "Could not create desktop share",
|
||||
"desktopShare":"Desktop share",
|
||||
"webAssemblyWarning": "WebAssembly not supported",
|
||||
"webAssemblyWarningDescription": "WebAssembly disabled or not supported by this browser",
|
||||
"backgroundEffectError": "Failed to apply background effect."
|
||||
},
|
||||
"feedback": {
|
||||
|
|
|
@ -65,10 +65,10 @@ export async function createVirtualBackgroundEffect(virtualBackground: Object, d
|
|||
titleKey: 'virtualBackground.backgroundEffectError'
|
||||
}, NOTIFICATION_TIMEOUT_TYPE.LONG));
|
||||
} else {
|
||||
logger.error('Looks like WebAssembly is disabled or not supported on this browser');
|
||||
logger.error('Looks like WebAssembly is disabled or not supported on this browser', err);
|
||||
dispatch(showWarningNotification({
|
||||
titleKey: 'virtualBackground.webAssemblyWarning',
|
||||
description: 'WebAssembly disabled or not supported by this browser'
|
||||
descriptionKey: 'virtualBackground.webAssemblyWarningDescription'
|
||||
}, NOTIFICATION_TIMEOUT_TYPE.LONG));
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue