cli/pkg/cmd
chemotaxis a291b3eed3
Fix grammar in repo create prompt (#5557)
* Use plural linking verb

While it looks like you could use "there's" informally, grammatically, it should be "are" since "commits" is plural.

<https://dictionary.cambridge.org/us/grammar/british-grammar/there-is-there-s-and-there-are>

* Omit "the"

I created a remote called "github" and got this prompt:

> Would you like to push commits from the current branch to the "github"?

Normally, the default name "origin" doesn't sound bad in that prompt,
but using the name "github" made the prompt sound like something wasn't
right to my American English-speaking ears.

Here are a few options.  Yes, I know English grammar sucks, to put it
mildly.  But, hopefully, the following options and explanations make
sense.

Get rid of "the".  This is the option I went with.  "github" acts as a
proper noun, so no determiner is needed.  If you substitute your own
name for "github" in the original prompt above, you get the same effect:

> Would you like to push commits from the current branch to "github"?

Add the implicit word "remote".  "github" now acts as an adjective and
"the" refers to "remote":

> Would you like to push commits from the current branch to the "github" remote?

Or, combine the two.  This last option relies on the fact that
instructions and manuals often omit definite articles because most
articles are definite.  See the [zero-marking][2] article on Wikipedia.
The original prompt already does this by omitting "the" before the word
"commits":

> Would you like to push commits from the current branch to "github" remote?

Reference:

[1]: http://writing.umn.edu/sws/quickhelp/grammar/articlesproper.html

[2]: https://en.wikipedia.org/wiki/Zero-marking_in_English
2022-05-02 10:21:59 +02:00
..
actions gh: list help topics in help output 2022-02-18 18:39:30 +01:00
alias Replace ioutil with io and os (#5498) 2022-04-26 13:07:44 +02:00
api Replace ioutil with io and os (#5498) 2022-04-26 13:07:44 +02:00
auth Replace ioutil with io and os (#5498) 2022-04-26 13:07:44 +02:00
browse Replace ioutil with io and os (#5498) 2022-04-26 13:07:44 +02:00
codespace Add command to open codespaces in JupyterLab 2022-04-28 16:11:14 -05:00
completion Replace ioutil with io and os (#5498) 2022-04-26 13:07:44 +02:00
config Replace ioutil with io and os (#5498) 2022-04-26 13:07:44 +02:00
extension Replace ioutil with io and os (#5498) 2022-04-26 13:07:44 +02:00
factory Replace ioutil with io and os (#5498) 2022-04-26 13:07:44 +02:00
gist Add progress indicator to gist create (#5526) 2022-04-27 08:17:17 +00:00
gpg-key Replace ioutil with io and os (#5498) 2022-04-26 13:07:44 +02:00
issue Replace ioutil with io and os (#5498) 2022-04-26 13:07:44 +02:00
label Remove Stringer from ghrepo.Interface (#5536) 2022-04-28 08:58:34 +02:00
pr Replace ioutil with io and os (#5498) 2022-04-26 13:07:44 +02:00
release Replace ioutil with io and os (#5498) 2022-04-26 13:07:44 +02:00
repo Fix grammar in repo create prompt (#5557) 2022-05-02 10:21:59 +02:00
root Add extension upgrade --dry-run (#5098) 2022-04-12 07:18:08 +00:00
run Replace ioutil with io and os (#5498) 2022-04-26 13:07:44 +02:00
search Replace ioutil with io and os (#5498) 2022-04-26 13:07:44 +02:00
secret Replace ioutil with io and os (#5498) 2022-04-26 13:07:44 +02:00
ssh-key Replace ioutil with io and os (#5498) 2022-04-26 13:07:44 +02:00
status Replace ioutil with io and os (#5498) 2022-04-26 13:07:44 +02:00
version Rename the module to "github.com/cli/cli/v2" 2021-08-25 12:41:30 +02:00
workflow Replace ioutil with io and os (#5498) 2022-04-26 13:07:44 +02:00