diff --git a/src/components/structures/RightPanel.js b/src/components/structures/RightPanel.js index da1e711741..82933c7449 100644 --- a/src/components/structures/RightPanel.js +++ b/src/components/structures/RightPanel.js @@ -274,7 +274,7 @@ module.exports = React.createClass({ let userIsInRoom; if (room) { const numMembers = room.getJoinedMembers().length; - membersTitle = _t('%(numMembers)s Members', { numMembers }); + membersTitle = _t('%(count)s Members', { count: numMembers }); membersBadge =
{ formatCount(numMembers) }
; userIsInRoom = room.hasMembershipState(this.context.matrixClient.credentials.userId, 'join'); } diff --git a/src/i18n/strings/en_EN.json b/src/i18n/strings/en_EN.json index 52244e099e..84bac98f27 100644 --- a/src/i18n/strings/en_EN.json +++ b/src/i18n/strings/en_EN.json @@ -158,7 +158,8 @@ "Register": "Register", "Invite to this room": "Invite to this room", "Members": "Members", - "%(numMembers)s Members": "%(numMembers)s Members", + "%(count)s Members|other": "%(count)s Members", + "%(count)s Members|one": "%(count)s Member", "Files": "Files", "Notifications": "Notifications", "Rooms": "Rooms",