diff --git a/packages/shared-components/src/i18n/strings/en_EN.json b/packages/shared-components/src/i18n/strings/en_EN.json index 9fb5de9d3f..2dfcc71fdb 100644 --- a/packages/shared-components/src/i18n/strings/en_EN.json +++ b/packages/shared-components/src/i18n/strings/en_EN.json @@ -243,7 +243,10 @@ "title": "Call in progress" }, "room": { - "join_count": "%(joinedCount)s joined", + "join_count": { + "one": "%(count)s joined", + "other": "%(count)s joined" + }, "title": "Group call in progress" } }, diff --git a/packages/shared-components/src/room/timeline/event-tile/call/ongoing/room/RoomOngoingCallTileView.tsx b/packages/shared-components/src/room/timeline/event-tile/call/ongoing/room/RoomOngoingCallTileView.tsx index e434a3957a..4f7ea61d71 100644 --- a/packages/shared-components/src/room/timeline/event-tile/call/ongoing/room/RoomOngoingCallTileView.tsx +++ b/packages/shared-components/src/room/timeline/event-tile/call/ongoing/room/RoomOngoingCallTileView.tsx @@ -81,13 +81,12 @@ export function RoomOngoingCallTileView(props: Props): React.ReactNode { * the call was ignored (by clicking decline button on the toast). */ function CallJoinedOrIgnoredContent({ snapshot }: { snapshot: RoomOngoingCallTileViewSnapshot }): React.ReactNode { - const { facePileViewModel, totalParticipants } = snapshot; + const { facePileViewModel, totalParticipants: count } = snapshot; const { translate: _t } = useI18n(); - const joinedCount = totalParticipants; return ( - {_t("timeline|call_tile|ongoing|room|join_count", { joinedCount })} + {_t("timeline|call_tile|ongoing|room|join_count", { count })} ); }