summaryrefslogtreecommitdiff
path: root/builtin/index-pack.c
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2016-05-26 20:17:20 (GMT)
committerJunio C Hamano <gitster@pobox.com>2016-05-26 20:17:20 (GMT)
commitb262b8f889392623f8b6772505de013d0796824d (patch)
treeb881fb40018e11736be1dde03896dbaa0630462e /builtin/index-pack.c
parent57b76d3379ade86d72cc9db83141e6ec084e6c8c (diff)
parent2e3926b9489cb767b38526a3a72403087053a1d8 (diff)
downloadgit-b262b8f889392623f8b6772505de013d0796824d.zip
git-b262b8f889392623f8b6772505de013d0796824d.tar.gz
git-b262b8f889392623f8b6772505de013d0796824d.tar.bz2
Merge branch 'va/i18n-misc-updates' into maint
Mark several messages for translation. * va/i18n-misc-updates: i18n: unpack-trees: avoid substituting only a verb in sentences i18n: builtin/pull.c: split strings marked for translation i18n: builtin/pull.c: mark placeholders for translation i18n: git-parse-remote.sh: mark strings for translation i18n: branch: move comment for translators i18n: branch: unmark string for translation i18n: builtin/rm.c: remove a comma ',' from string i18n: unpack-trees: mark strings for translation i18n: builtin/branch.c: mark option for translation i18n: index-pack: use plural string instead of normal one
Diffstat (limited to 'builtin/index-pack.c')
-rw-r--r--builtin/index-pack.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/builtin/index-pack.c b/builtin/index-pack.c
index 2d1eb8b..e8c71fc 100644
--- a/builtin/index-pack.c
+++ b/builtin/index-pack.c
@@ -1250,7 +1250,9 @@ static void conclude_pack(int fix_thin_pack, const char *curr_pack, unsigned cha
nr_unresolved * sizeof(*objects));
f = sha1fd(output_fd, curr_pack);
fix_unresolved_deltas(f);
- strbuf_addf(&msg, _("completed with %d local objects"),
+ strbuf_addf(&msg, Q_("completed with %d local object",
+ "completed with %d local objects",
+ nr_objects - nr_objects_initial),
nr_objects - nr_objects_initial);
stop_progress_msg(&progress, msg.buf);
strbuf_release(&msg);