From: Benno Schulenberg Date: Mon, 2 Feb 2015 20:44:34 +0000 (+0100) Subject: libfdisk: (dos) make a helpful message fit within 80 characters X-Git-Tag: v2.26-rc2~15 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=33b981f7570e83d5b998b043a0c48181e671bf72;p=thirdparty%2Futil-linux.git libfdisk: (dos) make a helpful message fit within 80 characters Also add a hint for translators. Signed-off-by: Benno Schulenberg --- diff --git a/libfdisk/src/dos.c b/libfdisk/src/dos.c index 24b824c2ee..8557408b6c 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) {