mirror of
https://github.com/element-hq/element-web.git
synced 2024-12-03 20:36:57 +03:00
pluralise properly
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
This commit is contained in:
parent
c68c54618f
commit
290bf54d4f
2 changed files with 3 additions and 2 deletions
|
@ -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 = <div title={membersTitle}>{ formatCount(numMembers) }</div>;
|
||||
userIsInRoom = room.hasMembershipState(this.context.matrixClient.credentials.userId, 'join');
|
||||
}
|
||||
|
|
|
@ -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",
|
||||
|
|
Loading…
Reference in a new issue