]> err.no Git - util-linux/commitdiff
po: fix msgid bugs
authorKarel Zak <kzak@redhat.com>
Thu, 10 Dec 2009 12:04:41 +0000 (13:04 +0100)
committerKarel Zak <kzak@redhat.com>
Thu, 10 Dec 2009 12:04:41 +0000 (13:04 +0100)
Reported-by: Petr Pisar <petr.pisar@atlas.cz>
Signed-off-by: Karel Zak <kzak@redhat.com>
fdisk/fdisk.c
misc-utils/wipefs.c
mount/swapon.c
schedutils/chrt.c
text-utils/more.c

index 19bbab5b9dbb36f4cfe7c699b6bf58743acde7a1..af525baddf63302c126c58f16f0efa3f65c058b8 100644 (file)
@@ -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);
 }
 
index a5ea44ac38627f5138c10c632428d2230ca6a3da..a59b5d7261b34ece16bda7b976d159ca9dd66942 100644 (file)
@@ -319,7 +319,7 @@ usage(FILE *out)
        " -o, --offset <num>  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);
 }
index a66d59d6d6cd97420a6c72729123b13ee9b72c1b..75ba86533e3a023592206fe7f2a041d374e79a4c 100644 (file)
@@ -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;
 }
index 6728ad3a0484811e8957941ce1b67bb7c1d38a2b..6953addd7e86069e77e999535abb6dafa3a8b0e7 100644 (file)
@@ -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;
index a152463c056ab9eb2f6b7f791bad41bc177d69d8..2eedfbe1a20e5fd10074c1fc15aa015b27d3dd6d 100644 (file)
@@ -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;
 }