From: Karel Zak Date: Thu, 10 Dec 2009 12:04:41 +0000 (+0100) Subject: po: fix msgid bugs X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=04c944419df0f549129f5af62d38823164f2e037;p=util-linux po: fix msgid bugs Reported-by: Petr Pisar Signed-off-by: Karel Zak --- diff --git a/fdisk/fdisk.c b/fdisk/fdisk.c index 19bbab5b..af525bad 100644 --- a/fdisk/fdisk.c +++ b/fdisk/fdisk.c @@ -388,7 +388,7 @@ static void menu(void) { if (sun_label) { puts(_("Command action")); - puts(_(" a toggle a read only flag")); /* sun */ + puts(_(" a toggle a read only flag")); /* sun */ puts(_(" b edit bsd disklabel")); puts(_(" c toggle the mountable flag")); /* sun */ puts(_(" d delete a partition")); @@ -1048,8 +1048,8 @@ update_sector_offset(void) */ if (sectors && alignment_offset && !lba_is_aligned(sectors)) fprintf(stderr, _( - "\nWARNING: the device provides alignment_offset, but " - "the offset does not \nmatch with device geometry.\n\n")); + "\nWARNING: the device provides alignment_offset, but the offset does not\n" + "match with device geometry.\n\n")); } else { /* * Align the begin of the first partition to the physical block @@ -2206,7 +2206,7 @@ verify(void) { printf(_("Total allocated sectors %llu greater than the maximum" " %llu\n"), total, n_sectors); else if (total < n_sectors) - printf(_("%lld unallocated %d-byte sectors\n"), + printf(_("Remaining %lld unallocated %d-byte sectors\n"), n_sectors - total, sector_size); } diff --git a/misc-utils/wipefs.c b/misc-utils/wipefs.c index a5ea44ac..a59b5d72 100644 --- a/misc-utils/wipefs.c +++ b/misc-utils/wipefs.c @@ -319,7 +319,7 @@ usage(FILE *out) " -o, --offset offset to erase, in bytes\n" " -p, --parsable print out in parsable instead of printable format\n")); - fprintf(out, _("\nFor more information see wipefs(1).\n")); + fprintf(out, _("\nFor more information see wipefs(8).\n")); exit(out == stderr ? EXIT_FAILURE : EXIT_SUCCESS); } diff --git a/mount/swapon.c b/mount/swapon.c index a66d59d6..75ba8653 100644 --- a/mount/swapon.c +++ b/mount/swapon.c @@ -347,12 +347,12 @@ swap_get_size(const char *hdr, const char *devname, unsigned int pagesize) last_page = swab32(s->last_page); } if (verbose) - warnx(_("%s: found %sswap v%d signature string" - " for %d KiB PAGE_SIZE\n"), + warnx(_("%s: found swap signature: version %d, " + "page-size %d, %s byte order"), devname, - flip ? "other-endian " : "", swap_version, - pagesize / 1024); + pagesize / 1024, + flip ? _("different") : _("same")); return (last_page + 1) * pagesize; } diff --git a/schedutils/chrt.c b/schedutils/chrt.c index 6728ad3a..6953addd 100644 --- a/schedutils/chrt.c +++ b/schedutils/chrt.c @@ -239,7 +239,7 @@ int main(int argc, char *argv[]) err(EXIT_FAILURE, _("failed to set pid %d's policy"), pid); if (verbose) - show_rt_info("new", pid); + show_rt_info(_("new"), pid); if (!pid) { argv += optind + 1; diff --git a/text-utils/more.c b/text-utils/more.c index a152463c..2eedfbe1 100644 --- a/text-utils/more.c +++ b/text-utils/more.c @@ -795,7 +795,7 @@ int prepare_line_buffer(void) * function when the Line buffer is initilized first time in main() */ if (Line) - error(_("out if memory")); + error(_("out of memory")); return -1; }