From 3423067e7250727c6dc4b8e9616a41826fc347fe Mon Sep 17 00:00:00 2001 From: Michael Shigorin Date: Thu, 26 Feb 2015 20:34:19 +0300 Subject: [PATCH] disk.c: fix the broken suggestion wording It was pidgin engrish in the first place and quite unhelpful along the most common error path (lost race against boot media leading to a moot offer to choose some fixed disk partition). --- disk.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/disk.c b/disk.c index f098850..a452bc9 100644 --- a/disk.c +++ b/disk.c @@ -227,7 +227,7 @@ static enum return_type try_with_device(char *dev_name) return RETURN_ERROR; } - snprintf(buf, sizeof(buf), "Please choose the partition where is copied the %s Distribution.", version); + snprintf(buf, sizeof(buf), "Please choose the partition with %s distribution on boot media or cancel and try again.", version); results = ask_from_list_comments_auto(buf, parts, parts_comments, &choice, "partition", parts); if (results != RETURN_OK) return results; @@ -265,7 +265,7 @@ static enum return_type try_with_partition(char *choice) return RETURN_ERROR; } - snprintf(buf, sizeof(buf), "Please enter the directory (or ISO image file) containing the %s Distribution.", version); + snprintf(buf, sizeof(buf), "Please enter the directory (or ISO image file) containing %s distribution.", version); if (ask_from_entries_auto(buf, questions_location, &answers_location, 24, questions_location_auto, NULL) != RETURN_OK) { umount(IMAGE_LOCATION); return RETURN_ERROR; @@ -361,7 +361,7 @@ enum return_type disk_prepare(void) return (results == RETURN_OK) ? RETURN_OK : RETURN_BACK; } - snprintf(msg, sizeof(msg), "Please choose the DISK drive on which you copied the %s Distribution.", version); + snprintf(msg, sizeof(msg), "Please choose the boot disk drive with %s distribution.", version); results = ask_from_list_comments_auto(msg, medias, medias_models, &choice, "disk", medias); if (results != RETURN_OK)