summaryrefslogtreecommitdiff
path: root/gl
diff options
context:
space:
mode:
authorPaul Eggert <eggert@cs.ucla.edu>2014-07-19 07:55:41 -0700
committerPaul Eggert <eggert@cs.ucla.edu>2014-07-19 07:56:22 -0700
commit436db6237ce2062aac3611a294b85ceb39e8aeb8 (patch)
treeb279a6e5d38e570a588f10b52090752c146cf131 /gl
parent4fcc2f1781498c656359f24dd8f803828d87ebb8 (diff)
downloadcoreutils-436db6237ce2062aac3611a294b85ceb39e8aeb8.tar.xz
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.
Diffstat (limited to 'gl')
-rw-r--r--gl/lib/randread.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gl/lib/randread.c b/gl/lib/randread.c
index a073cab23..af85653f7 100644
--- a/gl/lib/randread.c
+++ b/gl/lib/randread.c
@@ -125,7 +125,7 @@ randread_error (void const *file_name)
{
if (file_name)
error (exit_failure, errno,
- _(errno == 0 ? "%s: end of file" : "%s: read error"),
+ errno == 0 ? _("%s: end of file") : _("%s: read error"),
quotearg_colon (file_name));
abort ();
}