summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael J Gruber <git@drmicha.warpmail.net>2016-03-14 16:30:33 +0100
committerJunio C Hamano <gitster@pobox.com>2016-03-14 10:45:04 -0700
commitdf227241ddd7aa6b94e1d1dcdc3999f34c819119 (patch)
treea5c064a8c6f3080f175158c69da0151d7038bc58
parent7a76c28ff29d6f819bb0bf9852b858f974b5c53a (diff)
downloadgit-df227241ddd7aa6b94e1d1dcdc3999f34c819119.tar.gz
wt-status: allow "ahead " to be picked up by l10nmg/wt-status-mismarked-i18n
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 <git@drmicha.warpmail.net> Signed-off-by: Junio C Hamano <gitster@pobox.com>
-rw-r--r--wt-status.c4
1 files changed, 2 insertions, 2 deletions
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);