summaryrefslogtreecommitdiffstats
path: root/libfdisk
diff options
context:
space:
mode:
authorBenno Schulenberg2015-02-02 21:44:34 +0100
committerKarel Zak2015-02-03 13:25:27 +0100
commit33b981f7570e83d5b998b043a0c48181e671bf72 (patch)
treefc6d8bb8fd2addc9c3210edeecfba95fc7cec560 /libfdisk
parentlibfdisk: don't align very small partitions (diff)
downloadkernel-qcow2-util-linux-33b981f7570e83d5b998b043a0c48181e671bf72.tar.gz
kernel-qcow2-util-linux-33b981f7570e83d5b998b043a0c48181e671bf72.tar.xz
kernel-qcow2-util-linux-33b981f7570e83d5b998b043a0c48181e671bf72.zip
libfdisk: (dos) make a helpful message fit within 80 characters
Also add a hint for translators. Signed-off-by: Benno Schulenberg <bensberg@justemail.net>
Diffstat (limited to 'libfdisk')
-rw-r--r--libfdisk/src/dos.c8
1 files changed, 3 insertions, 5 deletions
diff --git a/libfdisk/src/dos.c b/libfdisk/src/dos.c
index 24b824c2e..8557408b6 100644
--- a/libfdisk/src/dos.c
+++ b/libfdisk/src/dos.c
@@ -1593,11 +1593,9 @@ static int dos_add_partition(struct fdisk_context *cxt,
}
rc = add_logical(cxt, pa, &res);
} else {
- fdisk_info(cxt,
- _( "Impossible to create another primary partition. "
- "If you want to create more partitions, you must "
- "replace a primary partition with an extended "
- "partition first."));
+ /* TRANSLATORS: Try to keep this within 80 characters. */
+ fdisk_info(cxt, _("To create more partitions, first replace "
+ "a primary with an extended partition."));
return -EINVAL;
}
} else if (cxt->label->nparts_max >= MAXIMUM_PARTS) {