fix(lang,notifications) make join notification text more generic
This commit is contained in:
parent
76a53b039f
commit
c730676ce6
|
@ -543,7 +543,7 @@
|
||||||
"me": "me",
|
"me": "me",
|
||||||
"notify": {
|
"notify": {
|
||||||
"connectedOneMember": "{{name}} joined the meeting",
|
"connectedOneMember": "{{name}} joined the meeting",
|
||||||
"connectedThreePlusMembers": "{{name}} and {{count}} others joined the meeting",
|
"connectedThreePlusMembers": "{{name}} and many others joined the meeting",
|
||||||
"connectedTwoMembers": "{{first}} and {{second}} joined the meeting",
|
"connectedTwoMembers": "{{first}} and {{second}} joined the meeting",
|
||||||
"disconnected": "disconnected",
|
"disconnected": "disconnected",
|
||||||
"focus": "Conference focus",
|
"focus": "Conference focus",
|
||||||
|
|
|
@ -141,8 +141,7 @@ const _throttledNotifyParticipantConnected = throttle((dispatch: Dispatch<any>)
|
||||||
if (joinedParticipantsCount >= 3) {
|
if (joinedParticipantsCount >= 3) {
|
||||||
notificationProps = {
|
notificationProps = {
|
||||||
titleArguments: {
|
titleArguments: {
|
||||||
name: joinedParticipantsNames[0],
|
name: joinedParticipantsNames[0]
|
||||||
count: joinedParticipantsCount - 1
|
|
||||||
},
|
},
|
||||||
titleKey: 'notify.connectedThreePlusMembers'
|
titleKey: 'notify.connectedThreePlusMembers'
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in New Issue