Skip to content

Jitsi Meet - Secure, Simple and Scalable Video Conferences that you use as a standalone app or embed in your web application.

fix(virtual-backgrounds) make error message translatable

Saúl Ibarra Corretgé00ae2dc6a965
diff --git a/lang/main.json b/lang/main.json
index 339d129fcd..236326c8cc 100644
--- a/lang/main.json
+++ b/lang/main.json
@@ -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": {
diff --git a/react/features/stream-effects/virtual-background/index.js b/react/features/stream-effects/virtual-background/index.js
index e1de56d52b..bc56dcd83d 100644
--- a/react/features/stream-effects/virtual-background/index.js
+++ b/react/features/stream-effects/virtual-background/index.js
@@ -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));
}