aboutsummaryrefslogtreecommitdiff
path: root/apply.c
diff options
context:
space:
mode:
authorVasco Almeida <vascomalmeida@sapo.pt>2016-10-14 11:43:35 +0000
committerJunio C Hamano <gitster@pobox.com>2016-10-14 10:53:49 -0700
commit965d5c851ac8cea3521e805a3370c587fed78143 (patch)
tree8398ca4a77551f72cc6158e71cf12740926d4a13 /apply.c
parent3cdd5d19178a54d2e51b5098d43b57571241d0ab (diff)
downloadgit-965d5c851ac8cea3521e805a3370c587fed78143.tar.gz
git-965d5c851ac8cea3521e805a3370c587fed78143.tar.xz
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>
Diffstat (limited to 'apply.c')
-rw-r--r--apply.c10
1 files changed, 6 insertions, 4 deletions
diff --git a/apply.c b/apply.c
index b03d274b5..201d3a735 100644
--- a/apply.c
+++ b/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.",