Subject: Re: bug#18054: Problematic translation strings in coreutils 8.22‏

From: Eric Blake <[email-masked]>
Date: Fri, 18 Jul 2014 19:41:32 -0600

On 07/18/2014 03:48 PM, Sebastian Rasmussen wrote:

>  
>    if ((uid_set (uid) || groups) && setgroups (n_gids, gids) != 0)
>      error (EXIT_CANCELED, errno, _("failed to %s supplemental groups"),
> -           gids ? "set" : "clear");
> +           gids ? _("set") : _("clear"));

This is not good; there may be languages where the translation context
around "set" is different than around "clear".  Better is:

error (EXIT_CANCELED, errno,
       gids ? _("failed to set supplemental groups") :
           _("failed to clear supplemental groups"));

-- 
Eric Blake   eblake redhat com    +1-919-301-3266
Libvirt virtualization library http://libvirt.org