Re: [PATCH 03/22] builtin/checkout.c: mark strings for translation

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Nguyễn Thái Ngọc Duy  <pclouds@xxxxxxxxx> writes:

> Signed-off-by: Nguyễn Thái Ngọc Duy <pclouds@xxxxxxxxx>
> ---
>  builtin/checkout.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)

The command otherwise has been i18n'ed and it is clear that the
patch that added this string should have done the i18n marking shown
here from the beginning.  Let's take this.

>
> diff --git a/builtin/checkout.c b/builtin/checkout.c
> index cfa66e2..efcbd8f 100644
> --- a/builtin/checkout.c
> +++ b/builtin/checkout.c
> @@ -662,7 +662,7 @@ static void update_refs_for_switch(const struct checkout_opts *opts,
>  		}
>  	} else if (new->path) {	/* Switch branches. */
>  		if (create_symref("HEAD", new->path, msg.buf) < 0)
> -			die("unable to update HEAD");
> +			die(_("unable to update HEAD"));
>  		if (!opts->quiet) {
>  			if (old->path && !strcmp(new->path, old->path)) {
>  				if (opts->new_branch_force)
--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]