def gtk_start(self): """ Start the frontend """ # Check if we are root... root_check() self.window.set_header("info", _("Welcome!"), "") self.window.text_new(_("Welcome to the %s installation wizard!") % self.moduleclass.main_settings["distro"]) self.window.text_new() self.window.text_new(_("This wizard will help you with the installation of the distribution into your Hard Disk or another removable media.")) self.window.text_new(_("Keep in mind that this installer it's still in testing phase.")) self.window.text_new(_("Please reports any problem at http://bugs.launchpad.net/linstaller.")) self.window.text_new() self.window.reset_position() verbose("Starting installation prompts.")
def start(self): """ Start the frontend """ # Check if we are root... root_check() self.header(_("Welcome!")) print(_("Welcome to the %s installation wizard!") % self.moduleclass.main_settings["distro"]) print print(_("This wizard will help you with the installation of the distribution into your Hard Disk or another removable media.")) print(_("Keep in mind that this installer it's still in testing phase.")) print(_("Please reports any problem at http://bugs.launchpad.net/linstaller.")) print # We should continue? res = self.question(_("Do you want to begin installation?"), default=True) if not res: self.end() verbose("Starting installation prompts.")