cli/pkg
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
..
cmd Fix grammar in repo create prompt (#5557) 2022-05-02 10:21:59 +02:00
cmdutil Replace ioutil with io and os (#5498) 2022-04-26 13:07:44 +02:00
export Replace ioutil with io and os (#5498) 2022-04-26 13:07:44 +02:00
extensions Add extension upgrade --dry-run (#5098) 2022-04-12 07:18:08 +00:00
findsh go fmt 2021-12-02 16:12:24 +01:00
githubtemplate Replace ioutil with io and os (#5498) 2022-04-26 13:07:44 +02:00
httpmock Replace ioutil with io and os (#5498) 2022-04-26 13:07:44 +02:00
iostreams Replace ioutil with io and os (#5498) 2022-04-26 13:07:44 +02:00
jsoncolor Fix "null" display in colored JSON output 2021-05-12 16:56:52 +02:00
liveshare Resolve feedback 2022-04-21 14:56:55 -07:00
markdown Preserve newlines in GitHub-flavored markdown 2022-01-13 19:41:01 +01:00
prompt Have NewAskStubber perform auto-cleanup 2022-01-14 18:52:00 +01:00
search Replace old search utility with new search (#5366) 2022-04-06 16:44:52 +02:00
set Add GH_HOST to hosts list if it has corresponding auth token (#5087) 2022-01-29 07:37:24 +00:00
surveyext Replace ioutil with io and os (#5498) 2022-04-26 13:07:44 +02:00
text Add top level search command and search repos sub command (#5172) 2022-03-09 12:24:27 +00:00