From 290bf54d4f399aee34478f54a917c1cc59ba5a35 Mon Sep 17 00:00:00 2001 From: Michael Telatynski <7t3chguy@gmail.com> Date: Fri, 5 Jan 2018 23:55:32 +0000 Subject: [PATCH] pluralise properly Signed-off-by: Michael Telatynski <7t3chguy@gmail.com> --- src/components/structures/RightPanel.js | 2 +- src/i18n/strings/en_EN.json | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) 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 =