Re: [PATCH] For Real - Fixed pluralization in diff reports

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

 



Heya,

On Mon, Aug 1, 2011 at 06:46, Jon Forrest <nobozo@xxxxxxxxx> wrote:
>        fprintf(options->file, "%s", line_prefix);
>        fprintf(options->file,
> -              " %d files changed, %d insertions(+), %d deletions(-)\n",
> -              total_files, adds, dels);
> +              " %d file%s changed, %d insertion%s(+), %d deletion%s(-)\n",
> +              total_files, total_files == 1 ? "" : "s", adds, adds == 1 ?
> "" : "s", dels,
> +               dels == 1 ? "" : "s");
>  }

Also, this is rather detrimental to the i18n effort methinks?

-- 
Cheers,

Sverre Rabbelier
--
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]