i18n: apply: mark plural string for translation

Mark plural string for translation using Q_().

Signed-off-by: Vasco Almeida <vascomalmeida@sapo.pt>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
This commit is contained in:
Vasco Almeida 2016-10-14 11:43:35 +00:00 committed by Junio C Hamano
parent 3cdd5d1917
commit 965d5c851a

10
apply.c
View file

@ -4869,10 +4869,12 @@ int apply_all_patches(struct apply_state *state,
goto end;
}
if (state->applied_after_fixing_ws && state->apply)
warning("%d line%s applied after"
" fixing whitespace errors.",
state->applied_after_fixing_ws,
state->applied_after_fixing_ws == 1 ? "" : "s");
warning(Q_("%d line applied after"
" fixing whitespace errors.",
"%d lines applied after"
" fixing whitespace errors.",
state->applied_after_fixing_ws),
state->applied_after_fixing_ws);
else if (state->whitespace_error)
warning(Q_("%d line adds whitespace errors.",
"%d lines add whitespace errors.",