mirror of
https://github.com/git-for-windows/git.git
synced 2026-04-27 18:11:59 -05:00
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:
committed by
Junio C Hamano
parent
3cdd5d1917
commit
965d5c851a
10
apply.c
10
apply.c
@@ -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.",
|
||||
|
||||
Reference in New Issue
Block a user