From: Michael J Gruber Date: Mon, 14 Mar 2016 15:30:33 +0000 (+0100) Subject: wt-status: allow "ahead " to be picked up by l10n X-Git-Tag: v2.8.0-rc3~8^2 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=df227241ddd7aa6b94e1d1dcdc3999f34c819119;p=git 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 Signed-off-by: Junio C Hamano --- diff --git a/wt-status.c b/wt-status.c index b53ce330b9..a93e8201bf 100644 --- a/wt-status.c +++ b/wt-status.c @@ -1492,10 +1492,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);