diff options
Diffstat (limited to 'disk-utils')
-rw-r--r-- | disk-utils/cfdisk.c | 2 | ||||
-rw-r--r-- | disk-utils/fdisk-menu.c | 2 | ||||
-rw-r--r-- | disk-utils/fdisk.c | 2 | ||||
-rw-r--r-- | disk-utils/fsck.c | 6 | ||||
-rw-r--r-- | disk-utils/sfdisk.c | 28 |
5 files changed, 20 insertions, 20 deletions
diff --git a/disk-utils/cfdisk.c b/disk-utils/cfdisk.c index f536f098a..391709974 100644 --- a/disk-utils/cfdisk.c +++ b/disk-utils/cfdisk.c @@ -2469,7 +2469,7 @@ static int ui_run(struct cfdisk *cf) ui_draw_extra(cf); if (fdisk_is_readonly(cf->cxt)) - ui_warnx(_("Device open in read-only mode.")); + ui_warnx(_("Device is open in read-only mode.")); else if (cf->wrong_order) ui_info(_("Note that partition table entries are not in disk order now.")); diff --git a/disk-utils/fdisk-menu.c b/disk-utils/fdisk-menu.c index 5159e21ec..81bdb31c8 100644 --- a/disk-utils/fdisk-menu.c +++ b/disk-utils/fdisk-menu.c @@ -535,7 +535,7 @@ static int generic_menu_cb(struct fdisk_context **cxt0, break; case 'w': if (fdisk_is_readonly(cxt)) { - fdisk_warnx(cxt, _("Device open in read-only mode.")); + fdisk_warnx(cxt, _("Device is open in read-only mode.")); break; } rc = fdisk_write_disklabel(cxt); diff --git a/disk-utils/fdisk.c b/disk-utils/fdisk.c index 0e4567677..6b20685ba 100644 --- a/disk-utils/fdisk.c +++ b/disk-utils/fdisk.c @@ -950,7 +950,7 @@ int main(int argc, char **argv) if (rc == -EACCES) { rc = fdisk_assign_device(cxt, argv[optind], 1); if (rc == 0) - fdisk_warnx(cxt, _("Device open in read-only mode.")); + fdisk_warnx(cxt, _("Device is open in read-only mode.")); } if (rc) err(EXIT_FAILURE, _("cannot open %s"), argv[optind]); diff --git a/disk-utils/fsck.c b/disk-utils/fsck.c index 465e6d36d..a103408ef 100644 --- a/disk-utils/fsck.c +++ b/disk-utils/fsck.c @@ -1523,10 +1523,10 @@ static void parse_argv(int argc, char *argv[]) case 'r': report_stats = 1; if (arg[j+1]) { /* -r<fd> */ - report_stats_fd = strtou32_or_err(arg+j+1, _("invalid argument -r")); + report_stats_fd = strtou32_or_err(arg+j+1, _("invalid argument of -r")); goto next_arg; } else if (i+1 < argc && *argv[i+1] >= '0' && *argv[i+1] <= '9') { /* -r <fd> */ - report_stats_fd = strtou32_or_err(argv[i+1], _("invalid argument -r")); + report_stats_fd = strtou32_or_err(argv[i+1], _("invalid argument of -r")); ++i; goto next_arg; } @@ -1574,7 +1574,7 @@ static void parse_argv(int argc, char *argv[]) report_stats_file = fdopen(report_stats_fd, "w"); if (!report_stats_file) err(FSCK_EX_ERROR, - _("invalid argument -r %d"), + _("invalid argument of -r: %d"), report_stats_fd); } diff --git a/disk-utils/sfdisk.c b/disk-utils/sfdisk.c index d3b9baa30..173029f63 100644 --- a/disk-utils/sfdisk.c +++ b/disk-utils/sfdisk.c @@ -698,7 +698,7 @@ static void assign_device_partition(struct sfdisk *sf, lb = fdisk_get_label(sf->cxt, NULL); if (!lb) - errx(EXIT_FAILURE, _("%s: not found partition table."), devname); + errx(EXIT_FAILURE, _("%s: no partition table found"), devname); n = fdisk_get_npartitions(sf->cxt); if (partno > n) @@ -980,10 +980,10 @@ static void command_fdisk_help(void) fputs(_(" write write table to disk and exit\n"), stdout); fputs(_(" quit show new situation and wait for user's feedback before write\n"), stdout); fputs(_(" abort exit sfdisk shell\n"), stdout); - fputs(_(" print print partition table.\n"), stdout); - fputs(_(" help this help.\n"), stdout); + fputs(_(" print display the partition table\n"), stdout); + fputs(_(" help show this help text\n"), stdout); fputc('\n', stdout); - fputs(_(" CTRL-D the same like 'quit' command\n"), stdout); + fputs(_(" Ctrl-D the same as 'quit'\n"), stdout); fputc('\n', stdout); color_scheme_enable("help-title", UL_COLOR_BOLD); @@ -992,28 +992,28 @@ static void command_fdisk_help(void) fputs(_(" <start>, <size>, <type>, <bootable>\n"), stdout); fputc('\n', stdout); - fputs(_(" <start> begin of the partition in sectors or bytes if specified\n" - " in format <number>{K,M,G,T,P,E,Z,Y}. The default is\n" - " the first free space.\n"), stdout); + fputs(_(" <start> Beginning of the partition in sectors, or bytes if\n" + " specified in the format <number>{K,M,G,T,P,E,Z,Y}.\n" + " The default is the first free space.\n"), stdout); fputc('\n', stdout); - fputs(_(" <size> size of the partition in sectors if specified in format\n" - " <number>{K,M,G,T,P,E,Z,Y} then it's interpreted as size\n" - " in bytes. The default is all available space.\n"), stdout); + fputs(_(" <size> Size of the partition in sectors, or bytes if\n" + " specified in the format <number>{K,M,G,T,P,E,Z,Y}.\n" + " The default is all available space.\n"), stdout); fputc('\n', stdout); - fputs(_(" <type> partition type. The default is Linux data partition.\n"), stdout); + fputs(_(" <type> The partition type. Default is a Linux data partition.\n"), stdout); fputs(_(" MBR: hex or L,S,E,X shortcuts.\n"), stdout); - fputs(_(" GPT: uuid or L,S,H shortcuts.\n"), stdout); + fputs(_(" GPT: UUID or L,S,H shortcuts.\n"), stdout); fputc('\n', stdout); - fputs(_(" <bootable> '*' to mark MBR partition as bootable. \n"), stdout); + fputs(_(" <bootable> Use '*' to mark an MBR partition as bootable.\n"), stdout); fputc('\n', stdout); color_scheme_enable("help-title", UL_COLOR_BOLD); fputs(_(" Example:\n"), stdout); color_disable(); - fputs(_(" , 4G creates 4GiB partition on default start offset.\n"), stdout); + fputs(_(" , 4G Creates a 4GiB partition at default start offset.\n"), stdout); fputc('\n', stdout); } |