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>
Vasco Almeida committed
Oct 14, 2016 at 11:43 UTC
965d5c851ac8cea3521e805a3370c587fed78143
1 file changed
+6
-4
apply.c
+6
-4
@@ -4869,10 +4869,12 @@ int apply_all_patches(struct apply_state *state,
4869
goto end;
4870
}
4871
if (state->applied_after_fixing_ws && state->apply)
4872
- warning("%d line%s applied after"
4873
- " fixing whitespace errors.",
4874
- state->applied_after_fixing_ws,
4875
- state->applied_after_fixing_ws == 1 ? "" : "s");
4872
+ warning(Q_("%d line applied after"
4873
+ " fixing whitespace errors.",
4874
+ "%d lines applied after"
4875
+ " fixing whitespace errors.",
4876
+ state->applied_after_fixing_ws),
4877
+ state->applied_after_fixing_ws);
4878
else if (state->whitespace_error)
4879
warning(Q_("%d line adds whitespace errors.",
4880
"%d lines add whitespace errors.",