threads / patch / 44040

patch, 5 partsunpack-trees: do not capitalize "working"

Subject: [PATCH 5/5] unpack-trees: do not capitalize "working"

## tl;dr

2 messages between Sep 8, 2016 and Sep 8, 2016. Diffs are folded; open one to read it.

replies: 1people: 2as markdown or json

Alex Henrie· Sep 8, 2016, 04:34 UTC · lore
In English, only proper nouns are capitalized.
Signed-off-by: Alex Henrie <alexhenrie24@gmail.com>
---
 unpack-trees.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
Show changes to unpack-trees.c +2 −2
diff --git a/unpack-trees.c b/unpack-trees.c
index 11c37fb..c87a90a 100644
--- a/unpack-trees.c
+++ b/unpack-trees.c
@@ -123,9 +123,9 @@ void setup_unpack_trees_porcelain(struct unpack_trees_options *opts,
 	msgs[ERROR_SPARSE_NOT_UPTODATE_FILE] =
 		_("Cannot update sparse checkout: the following entries are not up-to-date:\n%s");
 	msgs[ERROR_WOULD_LOSE_ORPHANED_OVERWRITTEN] =
-		_("The following Working tree files would be overwritten by sparse checkout update:\n%s");
+		_("The following working tree files would be overwritten by sparse checkout update:\n%s");
 	msgs[ERROR_WOULD_LOSE_ORPHANED_REMOVED] =
-		_("The following Working tree files would be removed by sparse checkout update:\n%s");
+		_("The following working tree files would be removed by sparse checkout update:\n%s");
 
 	opts->show_all_errors = 1;
 	/* rejected paths may not have a static buffer */
-- 
2.9.3
Matthieu Moy· Sep 8, 2016, 06:36 UTC · re: Alex Henrie · lore

Re: [PATCH 5/5] unpack-trees: do not capitalize "working"

Alex Henrie <alexhenrie24@gmail.com> writes:
Show 20 quoted lines
> In English, only proper nouns are capitalized.
>
> Signed-off-by: Alex Henrie <alexhenrie24@gmail.com>
> ---
>  unpack-trees.c | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/unpack-trees.c b/unpack-trees.c
> index 11c37fb..c87a90a 100644
> --- a/unpack-trees.c
> +++ b/unpack-trees.c
> @@ -123,9 +123,9 @@ void setup_unpack_trees_porcelain(struct unpack_trees_options *opts,
>  	msgs[ERROR_SPARSE_NOT_UPTODATE_FILE] =
>  		_("Cannot update sparse checkout: the following entries are not up-to-date:\n%s");
>  	msgs[ERROR_WOULD_LOSE_ORPHANED_OVERWRITTEN] =
> -		_("The following Working tree files would be overwritten by sparse checkout update:\n%s");
> +		_("The following working tree files would be overwritten by sparse checkout update:\n%s");
>  	msgs[ERROR_WOULD_LOSE_ORPHANED_REMOVED] =
> -		_("The following Working tree files would be removed by sparse checkout update:\n%s");
> +		_("The following working tree files would be removed by sparse checkout update:\n%s");

Probably a leftover from an old sentence starting with Working? In any case, obviously correct too, thanks.

-- 
Matthieu Moy
http://www-verimag.imag.fr/~moy/

← back to recent threads