Fix grammar of read receipt text (#744)
authorAndrew Morgan <1342360+anoadragon453@users.noreply.github.com>
Fri, 12 Aug 2022 10:33:56 +0000 (11:33 +0100)
committerGitHub <noreply@github.com>
Fri, 12 Aug 2022 10:33:56 +0000 (16:03 +0530)
'other' should be plural in this context.

src/app/organisms/room/common.jsx

index 12b9f2ba46f57bd275c65b49370ea23c75507993..28974a85d46fc3894149a6cfd445d97171a457c1 100644 (file)
@@ -164,7 +164,7 @@ function getUsersActionJsx(roomId, userIds, actionStr) {
 
   const othersCount = userIds.length - MAX_VISIBLE_COUNT;
   // eslint-disable-next-line react/jsx-one-expression-per-line
-  return <>{u1Jsx}, {u2Jsx}, {u3Jsx} and {othersCount} other are {actionStr}</>;
+  return <>{u1Jsx}, {u2Jsx}, {u3Jsx} and {othersCount} others are {actionStr}</>;
 }
 
 function parseTimelineChange(mEvent) {