Re: [PATCH 09/23] config.c: mark more strings for translation

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

 



On Sat, Jun 30, 2018 at 2:08 AM, Nguyễn Thái Ngọc Duy <pclouds@xxxxxxxxx> wrote:

> @@ -1409,11 +1409,11 @@ static int git_default_push_config(const char *var, const char *value)
>                         push_default = PUSH_DEFAULT_UPSTREAM;
>                 else if (!strcmp(value, "current"))
>                         push_default = PUSH_DEFAULT_CURRENT;
> -               else {
> -                       error("malformed value for %s: %s", var, value);
> -                       return error("Must be one of nothing, matching, simple, "
> -                                    "upstream or current.");
> -               }
> +               else
> +                       return error(_("malformed value for %s: %s\n"
> +                                      "Must be one of nothing, matching, simple, "
> +                                      "upstream or current."),
> +                                    var, value);

Patch 1?


No other issues noticed.




[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]

  Powered by Linux