From 7b0f6f1559b98597407bf85fd2a283e8ea678bdd Mon Sep 17 00:00:00 2001 From: Paul Eggert Date: Tue, 15 Aug 2006 20:50:22 +0000 Subject: [PATCH] * src/dd.c (print_stats): Don't substitute "1" for number, as this causes confusion for the Hungarian translators. Problem reported by Egmont Koblinger. --- ChangeLog | 6 ++++++ src/dd.c | 4 ++-- 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 + + * 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 * .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, -- 2.34.1