Jitsi Meet - Secure, Simple and Scalable Video Conferences that you use as a standalone app or embed in your web application.
TypeScript debiandeep-videojitsijitsi-meetscalable-video-conferencessfuvideovideo-communicationvideo-conferencingwebrtc
fix(multi-stream) add screenshare display name to i18n
William Liang5ebe30895372
diff --git a/lang/main.json b/lang/main.jsonindex eaa142e905..d2ac86c2b9 100644--- a/lang/main.json+++ b/lang/main.json@@ -894,6 +894,7 @@"unavailableTitle": "Recording unavailable","uploadToCloud": "Upload to the cloud"},+ "screenshareDisplayName": "{{name}}'s screen","sectionList": {"pullToRefresh": "Pull to refresh"},diff --git a/react/features/base/participants/functions.js b/react/features/base/participants/functions.jsindex bd4d93eb96..79e841c883 100644--- a/react/features/base/participants/functions.js+++ b/react/features/base/participants/functions.js@@ -3,6 +3,7 @@import { getGravatarURL } from '@jitsi/js-utils/avatar';import type { Store } from 'redux';+import { i18next } from '../../base/i18n';import { isStageFilmstripEnabled } from '../../filmstrip/functions';import { GRAVATAR_BASE_URL, isCORSAvatarURL } from '../avatar';import { getSourceNameSignalingFeatureFlag } from '../config';@@ -299,8 +300,9 @@ export function getParticipantDisplayName(stateful: Object | Function, id: strin*/export function getScreenshareParticipantDisplayName(stateful: Object | Function, id: string) {const owner = getParticipantById(stateful, getFakeScreenShareParticipantOwnerId(id));+ const name = owner.name;- return `${owner.name}'s screen`;+ return i18next.t('screenshareDisplayName', { name });}/**