From 3ef681c5dbaccd2d905026b964c580f2ce3466ca Mon Sep 17 00:00:00 2001 From: Theodore Ts'o Date: Sun, 19 Sep 2004 08:04:44 -0400 Subject: [PATCH] badblocks.c: Use _() around done_string, so that it gets correctly translated. (Addresses Debian Bug #252836) --- debian/changelog | 2 ++ misc/ChangeLog | 3 +++ misc/badblocks.c | 8 ++++---- 3 files changed, 9 insertions(+), 4 deletions(-) diff --git a/debian/changelog b/debian/changelog index 9b30eec..c48d284 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,5 +1,7 @@ e2fsprogs (1.35-7) unstable; urgency=low + * Make sure "done" gets correctly translated in badblocks(8). + (Closes #252836) * Always build the fsck wrapper on Debian systems (Closes: #248050) * Filter out linux-gate.so, which is a pseudo entry for the 32->64bit translation for amd64 systems, in the initrd creation script. diff --git a/misc/ChangeLog b/misc/ChangeLog index 0b32949..649b142 100644 --- a/misc/ChangeLog +++ b/misc/ChangeLog @@ -1,5 +1,8 @@ 2004-09-19 Theodore Ts'o + * badblocks.c: Use _() around done_string, so that it gets + correctly translated. (Addresses Debian Bug #252836) + * tune2fs.8.in: Add a description of the .journal file, why it is created, and how e2fsck converts it to an invisible journal. (Addresses Debian Bug #256760) diff --git a/misc/badblocks.c b/misc/badblocks.c index 838bbcb..2cd800c 100644 --- a/misc/badblocks.c +++ b/misc/badblocks.c @@ -412,7 +412,7 @@ static unsigned int test_ro (int dev, unsigned long last_block, num_blocks = 0; alarm(0); if (s_flag || v_flag) - fputs(done_string, stderr); + fputs(_(done_string), stderr); fflush (stderr); free (blkbuf); @@ -493,7 +493,7 @@ static unsigned int test_rw (int dev, unsigned long last_block, num_blocks = 0; alarm (0); if (s_flag | v_flag) - fputs(done_string, stderr); + fputs(_(done_string), stderr); flush_bufs(); if (s_flag | v_flag) fputs(_("Reading and comparing: "), stderr); @@ -534,7 +534,7 @@ static unsigned int test_rw (int dev, unsigned long last_block, num_blocks = 0; alarm (0); if (s_flag | v_flag) - fputs(done_string, stderr); + fputs(_(done_string), stderr); flush_bufs(); } uncapture_terminate(); @@ -756,7 +756,7 @@ static unsigned int test_nd (int dev, unsigned long last_block, num_blocks = 0; alarm(0); if (s_flag || v_flag > 1) - fputs(done_string, stderr); + fputs(_(done_string), stderr); flush_bufs(); } -- 1.8.3.1