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).
This commit is contained in:
Michael Shigorin 2015-02-26 20:34:19 +03:00
parent f1244e8c76
commit 3423067e72

6
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)