Skip to content

Commit df22724

Browse files
Michael J Grubergitster
authored andcommitted
wt-status: allow "ahead " to be picked up by l10n
The extra pair of parentheses keeps the l10n engine from picking up the string. Remove them so that "ahead " ends up in git.pot. Signed-off-by: Michael J Gruber <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent 7a76c28 commit df22724

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

wt-status.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1492,10 +1492,10 @@ static void wt_shortstatus_print_tracking(struct wt_status *s)
14921492
color_fprintf(s->fp, header_color, LABEL(N_("behind ")));
14931493
color_fprintf(s->fp, branch_color_remote, "%d", num_theirs);
14941494
} else if (!num_theirs) {
1495-
color_fprintf(s->fp, header_color, LABEL(N_(("ahead "))));
1495+
color_fprintf(s->fp, header_color, LABEL(N_("ahead ")));
14961496
color_fprintf(s->fp, branch_color_local, "%d", num_ours);
14971497
} else {
1498-
color_fprintf(s->fp, header_color, LABEL(N_(("ahead "))));
1498+
color_fprintf(s->fp, header_color, LABEL(N_("ahead ")));
14991499
color_fprintf(s->fp, branch_color_local, "%d", num_ours);
15001500
color_fprintf(s->fp, header_color, ", %s", LABEL(N_("behind ")));
15011501
color_fprintf(s->fp, branch_color_remote, "%d", num_theirs);

0 commit comments

Comments
 (0)