if (VM_Common::proposal_type == "install") { // install
progress_stages = [
// progress stage 1/4
_("Install packages"),
// progress stage 2/4
_("Prepare virtual machine environment"),
// progress stage 3/4
_("Write virtual machine configuration"),
// progress stage 4/4
_("Start the virtual machine"),
];
progress_descriptions = [
// progress stage description 1/4
_("Installing packages"),
// progress stage description 2/4
_("Preparing virtual machine environment"),
// progress stage description 3/4
_("Writing virtual machine configuration"),
// progress stage description 4/4
_("Starting the virtual machine"),
];
// Headline for virtual machine installation
headline = _("Preparing Installation of the Virtual Machine");
// help text 1/1
help_text = _("<p><b><big>Installation<big></b></p><p>Preparing the virtual machine for installation...</p>");
}
else { // existing or boot
progress_stages = [
// progress stage 1/2
_("Update virtual machine configuration"),
// progress stage 1/2
_("Start the virtual machine"),
];
progress_descriptions = [
// progress stage description 1/2
_("Updating virtual machine configuration"),
// progress stage description 2/2
_("Starting the virtual machine"),
];
// Headline for virtual machine installation
string headline = _("Virtual Machine Started");
// help text 1/2
string help_text = _("<p><b><big>Virtual Machine Started<big></b></p><p>Your virtual machine should now be running in a separate window.</p>");
// help text 2/2
help_text = help_text + _("<p>If problems have occurred, you may need to edit the VM configuration file and manually re-start your VM. VM configuration files are stored in <tt>/etc/xen/vm/</tt>.</p>");
_("The virtual machine installation should now be running in a separate window. When the installation has completed, click 'Continue' to finalize the boot settings."),
50, 15,
Label::ContinueButton(),
Label::CancelButton(),
`yes);
if (cont)
return `next;
else
return `forceback;
}
else {
// If the user closed the "xm console", clean up the VM.
_("The virtual machine settings now need to be finalized."),
50, 15,
Label::ContinueButton(),
Label::CancelButton(),
`yes);
if (cont)
return `next;
else
return `forceback;
}
return `next;
}
else {
// popup message heading
boolean more = Popup::AnyQuestionRichText(_("Virtual Machine Started"),
// rich text message
_("<p>Your virtual machine should now be running in a separate window.</p><p>If problems have occurred, you may need to edit the VM configuration file and manually re-start your VM. VM configuration files are stored in <tt>/etc/xen/vm/</tt>.</p>"),