Browse Source

fix(lang,notifications) make join notification text more generic

master
Saúl Ibarra Corretgé 4 years ago
parent
commit
c730676ce6
2 changed files with 2 additions and 3 deletions
  1. 1
    1
      lang/main.json
  2. 1
    2
      react/features/notifications/actions.js

+ 1
- 1
lang/main.json View File

543
     "me": "me",
543
     "me": "me",
544
     "notify": {
544
     "notify": {
545
         "connectedOneMember": "{{name}} joined the meeting",
545
         "connectedOneMember": "{{name}} joined the meeting",
546
-        "connectedThreePlusMembers": "{{name}} and {{count}} others joined the meeting",
546
+        "connectedThreePlusMembers": "{{name}} and many others joined the meeting",
547
         "connectedTwoMembers": "{{first}} and {{second}} joined the meeting",
547
         "connectedTwoMembers": "{{first}} and {{second}} joined the meeting",
548
         "disconnected": "disconnected",
548
         "disconnected": "disconnected",
549
         "focus": "Conference focus",
549
         "focus": "Conference focus",

+ 1
- 2
react/features/notifications/actions.js View File

141
     if (joinedParticipantsCount >= 3) {
141
     if (joinedParticipantsCount >= 3) {
142
         notificationProps = {
142
         notificationProps = {
143
             titleArguments: {
143
             titleArguments: {
144
-                name: joinedParticipantsNames[0],
145
-                count: joinedParticipantsCount - 1
144
+                name: joinedParticipantsNames[0]
146
             },
145
             },
147
             titleKey: 'notify.connectedThreePlusMembers'
146
             titleKey: 'notify.connectedThreePlusMembers'
148
         };
147
         };

Loading…
Cancel
Save