git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: [PATCH] i18n: mark more bundle.c strings for translation

From
Junio C Hamano <gitster@pobox.com>
Date
Jul 13, 2023, 22:20 UTC
Message-ID
<xmqqh6q7lahl.fsf@gitster.g>
In-Reply-To
<pull.1550.git.1689285683013.gitgitgadget@gmail.com>
"D. Ben Knoble via GitGitGadget" <gitgitgadget@gmail.com> writes:
Show 5 quoted lines
> From: "D. Ben Knoble" <ben.knoble+github@gmail.com>
>
> 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.
Thanks for catching and reporting.
Show 15 quoted lines
> diff --git a/bundle.c b/bundle.c
> index 8d5936c4212..a9744da255c 100644
> --- a/bundle.c
> +++ b/bundle.c
> @@ -271,10 +271,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));
Looking good.  Will queue.
Thanks.
Previous: D. Ben Knoble via GitGitGadget
Message 2 of 2 in “i18n: mark more bundle.c strings for translation”
  1. i18n: mark more bundle.c strings for translationD. Ben Knoble via GitGitGadget, Jul 13, 2023
  2. Junio C HamanoJul 13, 2023

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.