Web lists-archives.com

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




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.