From 49d80bcfff46b8d9efa846decf9415e43ea354f5 Mon Sep 17 00:00:00 2001 From: Carl Worth Date: Sun, 28 Jun 2020 08:34:32 -0700 Subject: [PATCH 1/1] More avoidance of plurals to describe singular lists And I'm not worrying about internationalization here. --- empathy/empathy.jsx | 18 ++++++++++++------ 1 file changed, 12 insertions(+), 6 deletions(-) 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' : '' } + :

,