Re: [PATCH 19/22] trailer.c: mark strings for translation
- From
Junio C Hamano <gitster@pobox.com>
- Date
- Feb 29, 2016, 18:55 UTC
- Message-ID
- <xmqq37sbbb2u.fsf@gitster.mtv.corp.google.com>
- In-Reply-To
- <1456555333-5853-20-git-send-email-pclouds@gmail.com>
Nguyễn Thái Ngọc Duy <pclouds@gmail.com> writes:
> Signed-off-by: Nguyễn Thái Ngọc Duy <pclouds@gmail.com> > ---
I'll take this one, even though it is quite old, as the file has a serious amount of messages that are already marked.
Show 16 quoted lines
> 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 {