[PATCH] libfdisk: (dos) make a helpful message fit within 80 characters

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Also add a hint for translators.

Signed-off-by: Benno Schulenberg <bensberg@xxxxxxxxxxxxx>
---
 libfdisk/src/dos.c |    8 +++-----
 1 files changed, 3 insertions(+), 5 deletions(-)

diff --git a/libfdisk/src/dos.c b/libfdisk/src/dos.c
index 8257d19..05dd6be 100644
--- a/libfdisk/src/dos.c
+++ b/libfdisk/src/dos.c
@@ -1581,11 +1581,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) {
-- 
1.7.0.4

--
To unsubscribe from this list: send the line "unsubscribe util-linux" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Netdev]     [Ethernet Bridging]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux