Hi,
While updating the Dutch translation for coreutils, I came across a
few small inconsistencies. Attached patches fix those.
Benno
>From 0cceb3fb67b07d7ca50e65f85aaf6b9eeb487939 Mon Sep 17 00:00:00 2001
From: Benno Schulenberg <[EMAIL PROTECTED]>
Date: Sun, 3 Aug 2008 23:52:59 +0200
Subject: [PATCH] chroot: It accepts only one command.
---
src/chroot.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/src/chroot.c b/src/chroot.c
index 399f76c..2196503 100644
--- a/src/chroot.c
+++ b/src/chroot.c
@@ -41,7 +41,7 @@ usage (int status)
else
{
printf (_("\
-Usage: %s NEWROOT [COMMAND...]\n\
+Usage: %s NEWROOT [COMMAND]\n\
or: %s OPTION\n\
"), program_name, program_name);
fputs (_("\
--
1.5.4.5
>From 184fae41aef2ffaa4de60a2d710a097119423196 Mon Sep 17 00:00:00 2001
From: Benno Schulenberg <[EMAIL PROTECTED]>
Date: Mon, 4 Aug 2008 00:00:56 +0200
Subject: [PATCH] shred: Normalize the synopsis.
---
src/shred.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/src/shred.c b/src/shred.c
index 9e82cf2..d766405 100644
--- a/src/shred.c
+++ b/src/shred.c
@@ -155,7 +155,7 @@ usage (int status)
program_name);
else
{
- printf (_("Usage: %s [OPTIONS] FILE [...]\n"), program_name);
+ printf (_("Usage: %s [OPTION]... FILE...\n"), program_name);
fputs (_("\
Overwrite the specified FILE(s) repeatedly, in order to make it harder\n\
for even very expensive hardware probing to recover the data.\n\
--
1.5.4.5
>From 5beb4f171685d457306a72e35fc7f12b86038303 Mon Sep 17 00:00:00 2001
From: Benno Schulenberg <[EMAIL PROTECTED]>
Date: Sun, 3 Aug 2008 23:59:22 +0200
Subject: [PATCH] sum: Option -r does not overrule -s; the last one counts.
---
src/sum.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/src/sum.c b/src/sum.c
index 4dfc867..314656f 100644
--- a/src/sum.c
+++ b/src/sum.c
@@ -62,7 +62,7 @@ Usage: %s [OPTION]... [FILE]...\n\
fputs (_("\
Print checksum and block counts for each FILE.\n\
\n\
- -r defeat -s, use BSD sum algorithm, use 1K blocks\n\
+ -r use BSD sum algorithm, use 1K blocks\n\
-s, --sysv use System V sum algorithm, use 512 bytes blocks\n\
"), stdout);
fputs (HELP_OPTION_DESCRIPTION, stdout);
--
1.5.4.5
>From d06c881ce6ba6b321c0295fa683a28ddb7581331 Mon Sep 17 00:00:00 2001
From: Benno Schulenberg <[EMAIL PROTECTED]>
Date: Sun, 3 Aug 2008 23:56:21 +0200
Subject: [PATCH] stty: Options -F and --file are alternatives, cannot both be used.
---
src/stty.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/src/stty.c b/src/stty.c
index 5ac2cc6..a70fd95 100644
--- a/src/stty.c
+++ b/src/stty.c
@@ -504,9 +504,9 @@ usage (int status)
else
{
printf (_("\
-Usage: %s [-F DEVICE] [--file=DEVICE] [SETTING]...\n\
- or: %s [-F DEVICE] [--file=DEVICE] [-a|--all]\n\
- or: %s [-F DEVICE] [--file=DEVICE] [-g|--save]\n\
+Usage: %s [-F DEVICE | --file=DEVICE] [SETTING]...\n\
+ or: %s [-F DEVICE | --file=DEVICE] [-a|--all]\n\
+ or: %s [-F DEVICE | --file=DEVICE] [-g|--save]\n\
"),
program_name, program_name, program_name);
fputs (_("\
--
1.5.4.5
>From e9807a9769db21a7efc65df97fbf4bbfee8abdfd Mon Sep 17 00:00:00 2001
From: Benno Schulenberg <[EMAIL PROTECTED]>
Date: Mon, 4 Aug 2008 00:07:20 +0200
Subject: [PATCH] du: Remove superfluous argument after short option -X.
Also remove inconsistent uppercase and final period;
and use a single indent level for prettiness.
---
src/du.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/src/du.c b/src/du.c
index ee24269..fafcea0 100644
--- a/src/du.c
+++ b/src/du.c
@@ -311,9 +311,9 @@ Mandatory arguments to long options are mandatory for short options too.\n\
-s, --summarize display only a total for each argument\n\
"), stdout);
fputs (_("\
- -x, --one-file-system skip directories on different file systems\n\
- -X FILE, --exclude-from=FILE Exclude files that match any pattern in FILE.\n\
- --exclude=PATTERN Exclude files that match PATTERN.\n\
+ -x, --one-file-system skip directories on different file systems\n\
+ -X, --exclude-from=FILE exclude files that match any pattern in FILE\n\
+ --exclude=PATTERN exclude files that match PATTERN\n\
--max-depth=N print the total for a directory (or file, with --all)\n\
only if it is N or fewer levels below the command\n\
line argument; --max-depth=0 is the same as\n\
--
1.5.4.5
>From 7525fcf31fda7cda9bfbf7acb500feb38ec3a070 Mon Sep 17 00:00:00 2001
From: Benno Schulenberg <[EMAIL PROTECTED]>
Date: Mon, 4 Aug 2008 00:18:03 +0200
Subject: [PATCH] uptime, users: Remove inconsistent space from the synopses.
---
src/uptime.c | 2 +-
src/users.c | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/uptime.c b/src/uptime.c
index 9e3384f..56ad861 100644
--- a/src/uptime.c
+++ b/src/uptime.c
@@ -193,7 +193,7 @@ usage (int status)
program_name);
else
{
- printf (_("Usage: %s [OPTION]... [ FILE ]\n"), program_name);
+ printf (_("Usage: %s [OPTION]... [FILE]\n"), program_name);
printf (_("\
Print the current time, the length of time the system has been up,\n\
the number of users on the system, and the average number of jobs\n\
diff --git a/src/users.c b/src/users.c
index 551616e..19ffce8 100644
--- a/src/users.c
+++ b/src/users.c
@@ -103,7 +103,7 @@ usage (int status)
program_name);
else
{
- printf (_("Usage: %s [OPTION]... [ FILE ]\n"), program_name);
+ printf (_("Usage: %s [OPTION]... [FILE]\n"), program_name);
printf (_("\
Output who is currently logged in according to FILE.\n\
If FILE is not specified, use %s. %s as FILE is common.\n\
--
1.5.4.5
>From 0a71862ddebf243167a7de451ebc2e7db84f7346 Mon Sep 17 00:00:00 2001
From: Benno Schulenberg <[EMAIL PROTECTED]>
Date: Mon, 4 Aug 2008 00:21:37 +0200
Subject: [PATCH] true: Gettextize also the docstring for 'false'.
---
src/true.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/src/true.c b/src/true.c
index 75e53bc..e8be913 100644
--- a/src/true.c
+++ b/src/true.c
@@ -41,9 +41,9 @@ Usage: %s [ignored command line arguments]\n\
"),
program_name, program_name);
printf ("%s\n\n",
- _(EXIT_STATUS == EXIT_SUCCESS
- ? "Exit with a status code indicating success."
- : "Exit with a status code indicating failure."));
+ EXIT_STATUS == EXIT_SUCCESS
+ ? _("Exit with a status code indicating success.")
+ : _("Exit with a status code indicating failure."));
fputs (HELP_OPTION_DESCRIPTION, stdout);
fputs (VERSION_OPTION_DESCRIPTION, stdout);
printf (USAGE_BUILTIN_WARNING, PROGRAM_NAME);
--
1.5.4.5
>From fee56b821c3933f54045713f2612bef3824f646c Mon Sep 17 00:00:00 2001
From: Benno Schulenberg <[EMAIL PROTECTED]>
Date: Mon, 4 Aug 2008 00:15:20 +0200
Subject: [PATCH] cut: Remove an inconsistent period in an option description.
---
src/cut.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/src/cut.c b/src/cut.c
index 0e151fd..99d2eaa 100644
--- a/src/cut.c
+++ b/src/cut.c
@@ -210,7 +210,7 @@ Mandatory arguments to long options are mandatory for short options too.\n\
"), stdout);
fputs (_("\
--complement complement the set of selected bytes, characters\n\
- or fields.\n\
+ or fields\n\
"), stdout);
fputs (_("\
-s, --only-delimited do not print lines not containing delimiters\n\
--
1.5.4.5
_______________________________________________
Bug-coreutils mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/bug-coreutils