From 340b3b0a68fd0efbe7bf25e5fb5138fdf50c5302 Mon Sep 17 00:00:00 2001 From: Benno Schulenberg Date: Sat, 30 Jul 2011 17:17:26 +0200 Subject: [PATCH] wipefs: gettextize one sentence as a whole Signed-off-by: Benno Schulenberg --- misc-utils/wipefs.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/misc-utils/wipefs.c b/misc-utils/wipefs.c index 51b6fadf8..09c6070ce 100644 --- a/misc-utils/wipefs.c +++ b/misc-utils/wipefs.c @@ -237,7 +237,8 @@ do_wipe_offset(int fd, struct wipe_desc *wp, const char *fname, int noact) if (noact == 0 && write_all(fd, buf, len)) err(EXIT_FAILURE, _("%s: write failed"), fname); - printf(_("%zd bytes ["), wp->len); + printf(_("%zd bytes were erased at offset 0x%jx (%s)\nthey were: "), + wp->len, wp->offset, wp->type); for (i = 0; i < len; i++) { printf("%02x", wp->magic[i]); @@ -245,7 +246,7 @@ do_wipe_offset(int fd, struct wipe_desc *wp, const char *fname, int noact) fputc(' ', stdout); } - printf(_("] erased at offset 0x%jx (%s)\n"), wp->offset, wp->type); + printf("\n"); return 0; }