]> git.ipfire.org Git - thirdparty/util-linux.git/commitdiff
libfdisk: (dos) make a helpful message fit within 80 characters
authorBenno Schulenberg <bensberg@justemail.net>
Mon, 2 Feb 2015 20:44:34 +0000 (21:44 +0100)
committerKarel Zak <kzak@redhat.com>
Tue, 3 Feb 2015 12:25:27 +0000 (13:25 +0100)
Also add a hint for translators.

Signed-off-by: Benno Schulenberg <bensberg@justemail.net>
libfdisk/src/dos.c

index 24b824c2eeb1ae98eb5c51aedd09d031fce8b862..8557408b6c30b39f9d806596b8167db1493b831e 100644 (file)
@@ -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) {