pluralise properly
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
This commit is contained in:
parent
c68c54618f
commit
290bf54d4f
|
@ -274,7 +274,7 @@ module.exports = React.createClass({
|
||||||
let userIsInRoom;
|
let userIsInRoom;
|
||||||
if (room) {
|
if (room) {
|
||||||
const numMembers = room.getJoinedMembers().length;
|
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>;
|
membersBadge = <div title={membersTitle}>{ formatCount(numMembers) }</div>;
|
||||||
userIsInRoom = room.hasMembershipState(this.context.matrixClient.credentials.userId, 'join');
|
userIsInRoom = room.hasMembershipState(this.context.matrixClient.credentials.userId, 'join');
|
||||||
}
|
}
|
||||||
|
|
|
@ -158,7 +158,8 @@
|
||||||
"Register": "Register",
|
"Register": "Register",
|
||||||
"Invite to this room": "Invite to this room",
|
"Invite to this room": "Invite to this room",
|
||||||
"Members": "Members",
|
"Members": "Members",
|
||||||
"%(numMembers)s Members": "%(numMembers)s Members",
|
"%(count)s Members|other": "%(count)s Members",
|
||||||
|
"%(count)s Members|one": "%(count)s Member",
|
||||||
"Files": "Files",
|
"Files": "Files",
|
||||||
"Notifications": "Notifications",
|
"Notifications": "Notifications",
|
||||||
"Rooms": "Rooms",
|
"Rooms": "Rooms",
|
||||||
|
|
Loading…
Reference in New Issue