singular form of "members" when only one member

This commit is contained in:
TaiAurori 2021-09-21 14:41:57 -04:00
parent f7f101f7b2
commit 21122583aa

View file

@ -124,7 +124,7 @@ export function EmbedInvite(props: Props) {
<EmbedInviteDetails>
<EmbedInviteName>{invite.server_name}</EmbedInviteName>
<EmbedInviteMemberCount>
{invite.member_count.toLocaleString()} members
{invite.member_count.toLocaleString()} {invite.member_count === 1 ? "member" : "members"}
</EmbedInviteMemberCount>
</EmbedInviteDetails>
{processing ? (