diff --git a/disk-utils/cfdisk.c b/disk-utils/cfdisk.c index 109489a1e..5a42ab189 100644 --- a/disk-utils/cfdisk.c +++ b/disk-utils/cfdisk.c @@ -1806,9 +1806,9 @@ static int main_menu_action(struct cfdisk *cf, int key) ref = 1; if (t && fdisk_set_partition_type(cf->cxt, n, t) == 0) - info = _("Changed type of the partition %zu."); + info = _("Changed type of partition %zu."); else - info = _("Type of the partition %zu is unchanged."); + info = _("The type of partition %zu is unchanged."); break; } case 's': /* fix order */ @@ -1830,7 +1830,7 @@ static int main_menu_action(struct cfdisk *cf, int key) rc = ui_get_string(cf, _("Are you sure you want to write the partition " "table to disk? "), - _("Type \"yes\" or \"no\" or press ESC to left dialog."), + _("Type \"yes\" or \"no\", or press ESC to leave this dialog."), buf, sizeof(buf)); ref = 1; diff --git a/disk-utils/fdisk.c b/disk-utils/fdisk.c index d6bb73739..8d57dbb17 100644 --- a/disk-utils/fdisk.c +++ b/disk-utils/fdisk.c @@ -958,7 +958,7 @@ int main(int argc, char **argv) } else if (fdisk_is_disklabel(cxt, GPT) && fdisk_gpt_is_hybrid(cxt)) fdisk_warnx(cxt, _( - "The hybrid GPT detected. You have to sync " + "A hybrid GPT was detected. You have to sync " "the hybrid MBR manually (expert command 'M').")); while (1) diff --git a/disk-utils/fsck.cramfs.c b/disk-utils/fsck.cramfs.c index 6adfa3334..0a1c6f27b 100644 --- a/disk-utils/fsck.cramfs.c +++ b/disk-utils/fsck.cramfs.c @@ -105,7 +105,7 @@ static void __attribute__((__noreturn__)) usage(int status) fputs(USAGE_HEADER, stream); fprintf(stream, - _(" %s [options] file\n"), program_invocation_short_name); + _(" %s [options] \n"), program_invocation_short_name); fputs(USAGE_OPTIONS, stream); fputs(_(" -a for compatibility only, ignored\n"), stream); fputs(_(" -v, --verbose be more verbose\n"), stream); diff --git a/libfdisk/src/bsd.c b/libfdisk/src/bsd.c index df0fc135f..0a03338f7 100644 --- a/libfdisk/src/bsd.c +++ b/libfdisk/src/bsd.c @@ -797,7 +797,7 @@ int fdisk_bsd_link_partition(struct fdisk_context *cxt) struct bsd_disklabel *d = self_disklabel(cxt); if (!cxt->parent || !fdisk_is_disklabel(cxt->parent, DOS)) { - fdisk_warnx(cxt, _("BSD label is not nested within a DOS partition")); + fdisk_warnx(cxt, _("BSD label is not nested within a DOS partition.")); return -EINVAL; } diff --git a/libfdisk/src/gpt.c b/libfdisk/src/gpt.c index db8651f46..1b5ffb43a 100644 --- a/libfdisk/src/gpt.c +++ b/libfdisk/src/gpt.c @@ -514,7 +514,7 @@ static int gpt_mknew_header(struct fdisk_context *cxt, header->size = cpu_to_le32(sizeof(struct gpt_header)); /* - * 128 partitions is the default. It can go behond this, however, + * 128 partitions are the default. It can go beyond that, but * we're creating a de facto header here, so no funny business. */ header->npartition_entries = cpu_to_le32(GPT_NPARTITIONS); @@ -958,7 +958,7 @@ static uint32_t partition_start_after_end(struct gpt_header *header, struct gpt_ } /* - * Check if partition e1 overlaps with partition e2 + * Check if partition e1 overlaps with partition e2. */ static inline int partition_overlap(struct gpt_entry *e1, struct gpt_entry *e2) { @@ -971,7 +971,7 @@ static inline int partition_overlap(struct gpt_entry *e1, struct gpt_entry *e2) } /* - * Find any paritions that overlap. + * Find any partitions that overlap. */ static uint32_t partition_check_overlaps(struct gpt_header *header, struct gpt_entry *e) { diff --git a/libfdisk/src/sgi.c b/libfdisk/src/sgi.c index cf1354132..b191176d2 100644 --- a/libfdisk/src/sgi.c +++ b/libfdisk/src/sgi.c @@ -140,7 +140,7 @@ int fdisk_sgi_create_info(struct fdisk_context *cxt) sgilabel->volume[0].num_bytes = cpu_to_be32(sizeof(struct sgi_info)); strncpy((char *) sgilabel->volume[0].name, "sgilabel", 8); - fdisk_info(cxt, _("SGI info created on second sector")); + fdisk_info(cxt, _("SGI info created on second sector.")); return 0; } diff --git a/login-utils/chfn.c b/login-utils/chfn.c index 5aa491d32..ca10fbfdb 100644 --- a/login-utils/chfn.c +++ b/login-utils/chfn.c @@ -80,7 +80,7 @@ static int save_new_data(struct finfo *pinfo); static void __attribute__((__noreturn__)) usage(FILE *fp) { fputs(USAGE_HEADER, fp); - fprintf(fp, _(" %s [options] [username]\n"), program_invocation_short_name); + fprintf(fp, _(" %s [options] []\n"), program_invocation_short_name); fputs(USAGE_OPTIONS, fp); fputs(_(" -f, --full-name real name\n"), fp); fputs(_(" -o, --office office number\n"), fp); diff --git a/login-utils/chsh.c b/login-utils/chsh.c index e14efe088..76c3d2115 100644 --- a/login-utils/chsh.c +++ b/login-utils/chsh.c @@ -69,7 +69,7 @@ static int get_shell_list(char *shell); static void __attribute__((__noreturn__)) usage (FILE *fp) { fputs(USAGE_HEADER, fp); - fprintf(fp, _(" %s [options] [username]\n"), program_invocation_short_name); + fprintf(fp, _(" %s [options] []\n"), program_invocation_short_name); fputs(USAGE_OPTIONS, fp); fputs(_(" -s, --shell specify login shell\n"), fp); fputs(_(" -l, --list-shells print list of shells and exit\n"), fp); @@ -112,7 +112,7 @@ int main(int argc, char **argv) #ifndef HAVE_LIBUSER if (!(is_local(pw->pw_name))) - errx(EXIT_FAILURE, _("can only change local entries.")); + errx(EXIT_FAILURE, _("can only change local entries")); #endif #ifdef HAVE_LIBSELINUX diff --git a/login-utils/last.c b/login-utils/last.c index f0c2b8c87..f7a2576f4 100644 --- a/login-utils/last.c +++ b/login-utils/last.c @@ -564,11 +564,11 @@ static void __attribute__((__noreturn__)) usage(FILE *out) fputs(_(" -R, --nohostname don't display the hostname field\n"), out); fputs(_(" -s, --since