]> git.cworth.org Git - lmno.games/commitdiff
Use "answer" instead of "answers" when there is only one item in a category
authorCarl Worth <cworth@cworth.org>
Sun, 28 Jun 2020 15:20:15 +0000 (08:20 -0700)
committerCarl Worth <cworth@cworth.org>
Sun, 28 Jun 2020 15:20:15 +0000 (08:20 -0700)
It's funny that here I'm taking advantage of the witespace elimination
that I complained about just a couple of commits ago. Ah well.

empathy/empathy.jsx

index d7e6f6f63df15514bfcec0758616797c54655fdc..6133463f35a7a9d6ba4d58cbe8e4188bf4af48a9 100644 (file)
@@ -768,7 +768,8 @@ class ActivePrompt extends React.PureComponent {
         <p>
           Remember, you're trying to match your answers with
           what the other players submit.
         <p>
           Remember, you're trying to match your answers with
           what the other players submit.
-          Give {this.props.prompt.items} answers for the following prompt:
+          Give {this.props.prompt.items} answer
+          {this.props.prompt.items > 1 ? 's' : ''} for the following prompt:
         </p>
         <h2>{this.props.prompt.prompt}</h2>
         <form onSubmit={this.handle_submit}>
         </p>
         <h2>{this.props.prompt.prompt}</h2>
         <form onSubmit={this.handle_submit}>