From: Carl Worth Date: Sun, 28 Jun 2020 15:34:32 +0000 (-0700) Subject: More avoidance of plurals to describe singular lists X-Git-Url: https://git.cworth.org/git?p=lmno.games;a=commitdiff_plain;h=49d80bcfff46b8d9efa846decf9415e43ea354f5 More avoidance of plurals to describe singular lists And I'm not worrying about internationalization here. --- diff --git a/empathy/empathy.jsx b/empathy/empathy.jsx index 3869b3a..e887b1b 100644 --- a/empathy/empathy.jsx +++ b/empathy/empathy.jsx @@ -570,13 +570,16 @@ class Ambiguities extends React.PureComponent { } let still_waiting = null; - if (Object.keys(this.props.players_judging).length) { + const judging_players = Object.keys(this.props.players_judging); + if (judging_players.length) { still_waiting = [

- Still waiting for the following players: + Still waiting for the following player + {judging_players.length > 1 ? 's' : '' } + :

,