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(suboptimal-browser): remove inserting of app name in notification

Leonard Kime8eb7e1e1f43
diff --git a/lang/main.json b/lang/main.json
index 748230db62..0ed584815f 100644
--- a/lang/main.json
+++ b/lang/main.json
@@ -429,7 +429,7 @@
"somebody": "Somebody",
"startSilentTitle": "You joined with no audio output!",
"startSilentDescription": "Rejoin the meeting to enable audio",
- "suboptimalExperienceDescription": "Eer... we are afraid your experience with {{appName}} isn't going to be that great here. We are looking for ways to improve this but, until then, please try using one of the <a href='static/recommendedBrowsers.html' target='_blank'>fully supported browsers</a>.",
+ "suboptimalBrowserWarning": "We are afraid your meeting experience isn't going to be that great here. We are looking for ways to improve this, but until then please try using one of the <a href='static/recommendedBrowsers.html' target='_blank'>fully supported browsers</a>.",
"suboptimalExperienceTitle": "Browser Warning",
"unmute": "Unmute",
"newDeviceCameraTitle": "New camera detected",
diff --git a/react/features/conference/functions.js b/react/features/conference/functions.js
index 7971848772..f1da432442 100644
--- a/react/features/conference/functions.js
+++ b/react/features/conference/functions.js
@@ -2,7 +2,6 @@ import { translateToHTML } from '../base/i18n';
import { isSuboptimalBrowser } from '../base/environment';
import { toState } from '../base/redux';
-import { getName } from '../app';
import {
areThereNotifications,
showWarningNotification
@@ -24,10 +23,8 @@ export function maybeShowSuboptimalExperienceNotification(dispatch, t) {
titleKey: 'notify.suboptimalExperienceTitle',
description: translateToHTML(
t,
- 'notify.suboptimalExperienceDescription',
- {
- appName: getName()
- })
+ 'notify.suboptimalBrowserWarning'
+ )
}
)
);