Subject: Re: [PATCH 19/22] trailer.c: mark strings for translation

From: Junio C Hamano <[email-masked]>
Date: Mon, 29 Feb 2016 10:55:37 -0800

Nguyễn Thái Ngọc Duy  <[email-masked]> writes:

> Signed-off-by: Nguyễn Thái Ngọc Duy <[email-masked]>
> ---

I'll take this one, even though it is quite old, as the file has a
serious amount of messages that are already marked.

>  trailer.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/trailer.c b/trailer.c
> index 94b387b..8e48a5c 100644
> --- a/trailer.c
> +++ b/trailer.c
> @@ -234,7 +234,7 @@ static const char *apply_command(const char *command, const char *arg)
>  	cp.use_shell = 1;
>  
>  	if (capture_command(&cp, &buf, 1024)) {
> -		error("running trailer command '%s' failed", cmd.buf);
> +		error(_("running trailer command '%s' failed"), cmd.buf);
>  		strbuf_release(&buf);
>  		result = xstrdup("");
>  	} else {