]> git.ipfire.org Git - thirdparty/git.git/commitdiff
i18n: mark more bundle.c strings for translation
authorD. Ben Knoble <ben.knoble+github@gmail.com>
Thu, 13 Jul 2023 22:01:22 +0000 (22:01 +0000)
committerJunio C Hamano <gitster@pobox.com>
Thu, 13 Jul 2023 22:21:10 +0000 (15:21 -0700)
These two messages were introduced in 8ba221e245 (bundle: output hash
information in 'verify', 2022-03-22) and 105c6f14ad (bundle: parse
filter capability, 2022-03-09) but never for translation.

Signed-off-by: D. Ben Knoble <ben.knoble+github@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
bundle.c

index d50cfb5aa7e9c28afc121f9bf27499518a3fee37..be7c0dd77b0a03d8437ffd42dc7dafca9dc247a8 100644 (file)
--- a/bundle.c
+++ b/bundle.c
@@ -278,10 +278,10 @@ int verify_bundle(struct repository *r,
                        list_refs(r, 0, NULL);
                }
 
-               printf_ln("The bundle uses this hash algorithm: %s",
+               printf_ln(_("The bundle uses this hash algorithm: %s"),
                          header->hash_algo->name);
                if (header->filter.choice)
-                       printf_ln("The bundle uses this filter: %s",
+                       printf_ln(_("The bundle uses this filter: %s"),
                                  list_objects_filter_spec(&header->filter));
        }
        return ret;