diff options
author | Junio C Hamano <gitster@pobox.com> | 2014-03-14 14:26:31 -0700 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2014-03-14 14:26:31 -0700 |
commit | 0963008cbf266db8001521c87084cea353005020 (patch) | |
tree | 0b3539923c45dd02000a0f27eade9e37d04f3b33 /builtin/pack-objects.c | |
parent | Merge branch 'mh/object-code-cleanup' (diff) | |
parent | i18n: mark all progress lines for translation (diff) | |
download | tgif-0963008cbf266db8001521c87084cea353005020.tar.xz |
Merge branch 'nd/i18n-progress'
Mark the progress indicators from various time-consuming commands
for i18n/l10n.
* nd/i18n-progress:
i18n: mark all progress lines for translation
Diffstat (limited to 'builtin/pack-objects.c')
-rw-r--r-- | builtin/pack-objects.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/builtin/pack-objects.c b/builtin/pack-objects.c index c73337931b..8b89f8121a 100644 --- a/builtin/pack-objects.c +++ b/builtin/pack-objects.c @@ -755,7 +755,7 @@ static void write_pack_file(void) struct object_entry **write_order; if (progress > pack_to_stdout) - progress_state = start_progress("Writing objects", nr_result); + progress_state = start_progress(_("Writing objects"), nr_result); written_list = xmalloc(to_pack.nr_objects * sizeof(*written_list)); write_order = compute_write_order(); @@ -2154,7 +2154,7 @@ static void prepare_pack(int window, int depth) if (nr_deltas && n > 1) { unsigned nr_done = 0; if (progress) - progress_state = start_progress("Compressing objects", + progress_state = start_progress(_("Compressing objects"), nr_deltas); qsort(delta_list, n, sizeof(*delta_list), type_size_sort); ll_find_deltas(delta_list, n, window+1, depth, &nr_done); @@ -2687,7 +2687,7 @@ int cmd_pack_objects(int argc, const char **argv, const char *prefix) prepare_packed_git(); if (progress) - progress_state = start_progress("Counting objects", 0); + progress_state = start_progress(_("Counting objects"), 0); if (!use_internal_rev_list) read_object_list_from_stdin(); else { |