From: Karel Zak Date: Mon, 30 Sep 2013 11:58:53 +0000 (+0200) Subject: textual: fix misspelled words in -rc1 X-Git-Tag: v2.24-rc2~82 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=a1e276ae1560dca9e985ca63f05fccb555d3f0d8;p=thirdparty%2Futil-linux.git textual: fix misspelled words in -rc1 Reported-by: Rafael Ferreira Signed-off-by: Karel Zak --- diff --git a/libfdisk/src/dos.c b/libfdisk/src/dos.c index d9b1e745b2..fbadcca053 100644 --- a/libfdisk/src/dos.c +++ b/libfdisk/src/dos.c @@ -1251,7 +1251,7 @@ static int dos_add_partition( rc = add_logical(cxt); } else fdisk_info(cxt, _("If you want to create more than " - "four partitions, you must replace a" + "four partitions, you must replace a " "primary partition with an extended " "partition first.")); @@ -1585,7 +1585,7 @@ static int dos_list_disklabel(struct fdisk_context *cxt) if (is_garbage_table(cxt)) { fdisk_warnx(cxt, _( - "This doesn't look like a partition table " + "This doesn't look like a partition table. " "Probably you selected the wrong device.")); } diff --git a/libfdisk/src/gpt.c b/libfdisk/src/gpt.c index d6817d4a37..7f34b18f7b 100644 --- a/libfdisk/src/gpt.c +++ b/libfdisk/src/gpt.c @@ -1479,7 +1479,7 @@ static int gpt_verify_disklabel(struct fdisk_context *cxt) } if (le64_to_cpu(gpt->pheader->alternative_lba) >= cxt->total_sectors) { nerror++; - fdisk_warnx(cxt, _("Disk is to small to hold all data.")); + fdisk_warnx(cxt, _("Disk is too small to hold all data.")); } /* @@ -1529,7 +1529,9 @@ static int gpt_verify_disklabel(struct fdisk_context *cxt) "(largest %ld)."), free_sectors, nsegments, largest_segment); } else - fdisk_warnx(cxt, _("Detected %d error(s)."), nerror); + fdisk_warnx(cxt, + P_("%d error detected.", "%s errors detected", nerror), + nerror); return 0; } diff --git a/libfdisk/src/sgi.c b/libfdisk/src/sgi.c index 23da06ad9c..d2e8778329 100644 --- a/libfdisk/src/sgi.c +++ b/libfdisk/src/sgi.c @@ -973,10 +973,10 @@ static int sgi_create_disklabel(struct fdisk_context *cxt) } else { /* otherwise print error and use truncated version */ fdisk_warnx(cxt, - _("Warning: BLKGETSIZE ioctl failed on %s. " - "Using geometry cylinder value of %llu." - "This value may be truncated for devices" - " > 33.8 GB."), cxt->dev_path, cxt->geom.cylinders); + _("Warning: BLKGETSIZE ioctl failed on %s. " + "Using geometry cylinder value of %llu. " + "This value may be truncated for devices " + "> 33.8 GB."), cxt->dev_path, cxt->geom.cylinders); } } #endif diff --git a/term-utils/agetty.c b/term-utils/agetty.c index 3033558bd4..6ba263c2e8 100644 --- a/term-utils/agetty.c +++ b/term-utils/agetty.c @@ -667,7 +667,7 @@ static void parse_args(int argc, char **argv, struct options *op) else if (strcmp(optarg, "=auto") == 0) op->clocal = CLOCAL_MODE_AUTO; else - log_err(_("unssuported --local-line mode argument")); + log_err(_("unsupported --local-line mode argument")); } break; case 'm':