diff options
author | Benno Schulenberg | 2016-03-16 09:55:49 +0100 |
---|---|---|
committer | Karel Zak | 2016-03-16 10:39:35 +0100 |
commit | cb19f5479b899139c8f2c0e98549bbeb9960b7cf (patch) | |
tree | 3ea31063f1be0bb89bf260e9898e5ca7e02c2891 | |
parent | sfdisk: improve the wording of seven error messages (diff) | |
download | kernel-qcow2-util-linux-cb19f5479b899139c8f2c0e98549bbeb9960b7cf.tar.gz kernel-qcow2-util-linux-cb19f5479b899139c8f2c0e98549bbeb9960b7cf.tar.xz kernel-qcow2-util-linux-cb19f5479b899139c8f2c0e98549bbeb9960b7cf.zip |
fdisk, cfdisk, sfdisk: improve the grammar of three messages
Signed-off-by: Benno Schulenberg <bensberg@justemail.net>
-rw-r--r-- | disk-utils/cfdisk.c | 2 | ||||
-rw-r--r-- | disk-utils/fdisk.c | 4 | ||||
-rw-r--r-- | disk-utils/sfdisk.c | 4 |
3 files changed, 5 insertions, 5 deletions
diff --git a/disk-utils/cfdisk.c b/disk-utils/cfdisk.c index 010a19698..3908e3136 100644 --- a/disk-utils/cfdisk.c +++ b/disk-utils/cfdisk.c @@ -2436,7 +2436,7 @@ static int ui_run(struct cfdisk *cf) DBG(UI, ul_debug("start cols=%zu, lines=%zu", ui_cols, ui_lines)); if (fdisk_get_collision(cf->cxt)) { - ui_warnx(_("Device already contains %s signature, it will be removed by write command."), + ui_warnx(_("Device already contains a %s signature; it will be removed by a write command."), fdisk_get_collision(cf->cxt)); fdisk_enable_wipe(cf->cxt, 1); ui_hint(_("Press a key to continue.")); diff --git a/disk-utils/fdisk.c b/disk-utils/fdisk.c index 3f8769d95..c941e5b96 100644 --- a/disk-utils/fdisk.c +++ b/disk-utils/fdisk.c @@ -974,7 +974,7 @@ int main(int argc, char **argv) if (fdisk_get_collision(cxt)) { int dowipe = wipemode == WIPEMODE_ALWAYS ? 1 : 0; - fdisk_warnx(cxt, _("%s: device already contains %s signature."), + fdisk_warnx(cxt, _("Device %s already contains a %s signature."), argv[optind], fdisk_get_collision(cxt)); if (isatty(STDIN_FILENO) && wipemode == WIPEMODE_AUTO) @@ -983,7 +983,7 @@ int main(int argc, char **argv) fdisk_enable_wipe(cxt, dowipe); if (dowipe) fdisk_warnx(cxt, _( - "The signature will be removed by write command.")); + "The signature will be removed by a write command.")); else fdisk_warnx(cxt, _( "It is strongly recommended to wipe the device with " diff --git a/disk-utils/sfdisk.c b/disk-utils/sfdisk.c index f1ddd9cb8..15fa99c47 100644 --- a/disk-utils/sfdisk.c +++ b/disk-utils/sfdisk.c @@ -1537,7 +1537,7 @@ static int command_fdisk(struct sfdisk *sf, int argc, char **argv) if (fdisk_get_collision(sf->cxt)) { int dowipe = sf->wipemode == WIPEMODE_ALWAYS ? 1 : 0; - fdisk_warnx(sf->cxt, _("%s: device already contains %s signature."), + fdisk_warnx(sf->cxt, _("Device %s already contains a %s signature."), devname, fdisk_get_collision(sf->cxt)); if (sf->interactive && sf->wipemode == WIPEMODE_AUTO) @@ -1546,7 +1546,7 @@ static int command_fdisk(struct sfdisk *sf, int argc, char **argv) fdisk_enable_wipe(sf->cxt, dowipe); if (dowipe) fdisk_warnx(sf->cxt, _( - "The signature will be removed by write command.")); + "The signature will be removed by a write command.")); else fdisk_warnx(sf->cxt, _( "It is strongly recommended to wipe the device with " |