Skip to content

Commit 71d99b8

Browse files
vascoolgitster
authored andcommitted
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 <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent 90f7b16 commit 71d99b8

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

builtin/index-pack.c

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1250,7 +1250,9 @@ static void conclude_pack(int fix_thin_pack, const char *curr_pack, unsigned cha
12501250
nr_unresolved * sizeof(*objects));
12511251
f = sha1fd(output_fd, curr_pack);
12521252
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),
12541256
nr_objects - nr_objects_initial);
12551257
stop_progress_msg(&progress, msg.buf);
12561258
strbuf_release(&msg);

0 commit comments

Comments
 (0)