i18n: index-pack: use plural string instead of normal one

Git could output "completed with 1 local objects", but in this case using "object" instead of "objects" is the correct form. Use Q_() instead of _(). Signed-off-by: Vasco Almeida <vascomalmeida@sapo.pt> Signed-off-by: Junio C Hamano <gitster@pobox.com>

Vasco Almeida committed Apr 8, 2016 at 20:02 UTC 71d99b81dad4eaf3b25bedd5790d68df509f2a45
1 file changed +3 -1
builtin/index-pack.c
+3 -1
@@ -1250,7 +1250,9 @@ static void conclude_pack(int fix_thin_pack, const char *curr_pack, unsigned cha
1250 nr_unresolved * sizeof(*objects));
1251 f = sha1fd(output_fd, curr_pack);
1252 fix_unresolved_deltas(f);
1253 - strbuf_addf(&msg, _("completed with %d local objects"),
1253 + strbuf_addf(&msg, Q_("completed with %d local object",
1254 + "completed with %d local objects",
1255 + nr_objects - nr_objects_initial),
1256 nr_objects - nr_objects_initial);
1257 stop_progress_msg(&progress, msg.buf);
1258 strbuf_release(&msg);