summaryrefslogtreecommitdiff
path: root/wt-status.c
diff options
context:
space:
mode:
authorMichael J Gruber <git@drmicha.warpmail.net>2016-03-14 15:30:33 (GMT)
committerJunio C Hamano <gitster@pobox.com>2016-03-14 17:45:04 (GMT)
commitdf227241ddd7aa6b94e1d1dcdc3999f34c819119 (patch)
treea5c064a8c6f3080f175158c69da0151d7038bc58 /wt-status.c
parent7a76c28ff29d6f819bb0bf9852b858f974b5c53a (diff)
downloadgit-df227241ddd7aa6b94e1d1dcdc3999f34c819119.zip
git-df227241ddd7aa6b94e1d1dcdc3999f34c819119.tar.gz
git-df227241ddd7aa6b94e1d1dcdc3999f34c819119.tar.bz2
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 <git@drmicha.warpmail.net> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'wt-status.c')
-rw-r--r--wt-status.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/wt-status.c b/wt-status.c
index b53ce33..a93e820 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);