Skip to content
Snippets Groups Projects
Commit 67f0de08 authored by Michael J Gruber's avatar Michael J Gruber Committed by Anton Wuerfel
Browse files

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: default avatarMichael J Gruber <git@drmicha.warpmail.net>
Signed-off-by: default avatarJunio C Hamano <gitster@pobox.com>
parent 1200471b
Branches
Tags
No related merge requests found
......@@ -1677,10 +1677,10 @@ static void wt_shortstatus_print_tracking(struct wt_status *s)
color_fprintf(s->fp, header_color, LABEL(N_("behind ")));
color_fprintf(s->fp, branch_color_remote, "%d", num_theirs);
} else if (!num_theirs) {
color_fprintf(s->fp, header_color, LABEL(N_(("ahead "))));
color_fprintf(s->fp, header_color, LABEL(N_("ahead ")));
color_fprintf(s->fp, branch_color_local, "%d", num_ours);
} else {
color_fprintf(s->fp, header_color, LABEL(N_(("ahead "))));
color_fprintf(s->fp, header_color, LABEL(N_("ahead ")));
color_fprintf(s->fp, branch_color_local, "%d", num_ours);
color_fprintf(s->fp, header_color, ", %s", LABEL(N_("behind ")));
color_fprintf(s->fp, branch_color_remote, "%d", num_theirs);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment