summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul Eggert <eggert@cs.ucla.edu>2006-08-15 20:50:22 +0000
committerPaul Eggert <eggert@cs.ucla.edu>2006-08-15 20:50:22 +0000
commit7b0f6f1559b98597407bf85fd2a283e8ea678bdd (patch)
tree640ee621183d827b7b93b38d4f042c663a8d305a
parent2ee444b5fe414a627f8600cb3989b8eed1676b9f (diff)
downloadcoreutils-7b0f6f1559b98597407bf85fd2a283e8ea678bdd.tar.xz
* src/dd.c (print_stats): Don't substitute "1" for number, as this
causes confusion for the Hungarian translators. Problem reported by Egmont Koblinger.
-rw-r--r--ChangeLog6
-rw-r--r--src/dd.c4
2 files changed, 8 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index d5c85f34b..5225e2981 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2006-08-15 Paul Eggert <eggert@cs.ucla.edu>
+
+ * src/dd.c (print_stats): Don't substitute "1" for number, as this
+ causes confusion for the Hungarian translators. Problem reported
+ by Egmont Koblinger.
+
2006-08-15 Jim Meyering <jim@meyering.net>
* .x-sc_require_config_h: Add lib/at-func.c.
diff --git a/src/dd.c b/src/dd.c
index ff30eda98..577e9a08b 100644
--- a/src/dd.c
+++ b/src/dd.c
@@ -548,7 +548,7 @@ print_stats (void)
if (r_truncate != 0)
fprintf (stderr,
- ngettext ("1 truncated record\n",
+ ngettext ("%"PRIuMAX" truncated record\n",
"%"PRIuMAX" truncated records\n",
MIN (r_truncate, ULONG_MAX)),
r_truncate);
@@ -560,7 +560,7 @@ print_stats (void)
since that makes it easy to use SI abbreviations. */
fprintf (stderr,
- ngettext ("1 byte (1 B) copied",
+ ngettext ("%"PRIuMAX" byte (%s) copied",
"%"PRIuMAX" bytes (%s) copied",
MIN (w_bytes, ULONG_MAX)),
w_bytes,