From 436db6237ce2062aac3611a294b85ceb39e8aeb8 Mon Sep 17 00:00:00 2001 From: Paul Eggert Date: Sat, 19 Jul 2014 07:55:41 -0700 Subject: maint: fix message translation glitches Problem reported by Sebastian Rasmussen in: http://bugs.gnu.org/18054 * gl/lib/randread.c (randread_error): Don't put multiple string literals inside _(...), as xgettext doesn't support that. * src/chroot.c (main): In diagnostics, don't bother to distinguish between setting the number of supplemental group IDs to a zero or to a nonzero value, as the underlying system call is the same either way. This also makes the string easier to translate correctly. --- src/chroot.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src') diff --git a/src/chroot.c b/src/chroot.c index fff0b533d..6c2d63f55 100644 --- a/src/chroot.c +++ b/src/chroot.c @@ -392,8 +392,7 @@ main (int argc, char **argv) #endif if ((uid_set (uid) || groups) && setgroups (n_gids, gids) != 0) - error (EXIT_CANCELED, errno, _("failed to %s supplemental groups"), - gids ? "set" : "clear"); + error (EXIT_CANCELED, errno, _("failed to set supplemental groups")); free (in_gids); free (out_gids); -- cgit v1.2.3-54-g00ecf