зеркало из https://github.com/microsoft/git.git
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:
Родитель
3cdd5d1917
Коммит
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.",
|
||||
|
|
Загрузка…
Ссылка в новой задаче