Andrew's git
/
gitweb.git
/ diff
summary
|
log
|
commit
| diff |
tree
commit
grep
author
committer
pickaxe
?
re
i18n: index-pack: use plural string instead of normal one
author
Vasco Almeida
<vascomalmeida@sapo.pt>
Fri, 8 Apr 2016 20:02:39 +0000
(20:02 +0000)
committer
Junio C Hamano
<gitster@pobox.com>
Fri, 8 Apr 2016 22:15:54 +0000
(15:15 -0700)
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>
builtin/index-pack.c
patch
|
blob
|
history
raw
|
patch
| inline |
side by side
(parent:
90f7b16
)
diff --git
a/builtin/index-pack.c
b/builtin/index-pack.c
index 45245199aebafc7fdb8eb96197dacd86c422c413..ec6a530159ba916696cf95acbbfcb089ce90bd7f 100644
(file)
--- 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);