Skip to contentSkip to conversation

unpack-trees: do not capitalize "working"

PATCH In review Alex Henrie 2 participants 2 messages Sep 8, 2016

lore
Share & tools
lore
#0 lore raw

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

In English, only proper nouns are capitalized.

---
 unpack-trees.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
unpack-trees.c +2 -2
index 11c37fb..c87a90a 100644
@@ -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 */
Signature · 1 line
2.9.3
#1 lore raw
Quoted 12 lines · Alex Henrie

In English, only proper nouns are capitalized.

---
 unpack-trees.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
unpack-trees.c +0 -0
index 11c37fb..c87a90a 100644

unpack-trees.c void setup_unpack_trees_porcelain(struct unpack_trees_options *opts, · line 128

Quoted 8 lines
unpack-trees.c +2 -2
@@ -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.

Signature · 2 lines
Matthieu Moy
http://www-verimag.imag.fr/~moy/