]> git.ipfire.org Git - thirdparty/git.git/commitdiff
graph: improve grammar of "invalid color" error message
authorAlex Henrie <alexhenrie24@gmail.com>
Sat, 12 Jun 2021 18:41:44 +0000 (12:41 -0600)
committerJunio C Hamano <gitster@pobox.com>
Tue, 15 Jun 2021 03:54:26 +0000 (12:54 +0900)
Without the "d", it sounds like a command, not an error, and is liable
to be translated incorrectly.

Signed-off-by: Alex Henrie <alexhenrie24@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
graph.c

diff --git a/graph.c b/graph.c
index c128ad0cce8f5954eef4730eb70eb0ffab363310..e3828eb8f2309048353524e4132d33dd6cda3555 100644 (file)
--- a/graph.c
+++ b/graph.c
@@ -95,7 +95,7 @@ static void parse_graph_colors_config(struct strvec *colors, const char *string)
                if (!color_parse_mem(start, comma - start, color))
                        strvec_push(colors, color);
                else
-                       warning(_("ignore invalid color '%.*s' in log.graphColors"),
+                       warning(_("ignored invalid color '%.*s' in log.graphColors"),
                                (int)(comma - start), start);
                start = comma + 1;
        }