#!/bin/sh
#(c) Copyright Barry Kauler, Feb. 2017. License GPL v3 (usr/share/doc/legal)
#190306 fixed hyperlinks.

export TEXTDOMAIN=easy-installer
export OUTPUT_CHARSET=UTF-8

WC="65"

export EI_DLG1="<window title=\"$(gettext "Easy Installer")\" icon-name=\"gtk-convert\">
<vbox>
 <text use-markup=\"true\"><label>\"<b>$(gettext 'Welcome to Easy Installer!')</b>\"</label></text>
 <text use-markup=\"true\"><label>\"$(gettext 'Easy Linux is deployed as a disk image file, that can be written to Flash media such as USB-stick or SD-card (2GB or greater). It may also be written to an external solid-state drive (SSD) or magnetic-platter drive, as long as it is understood that Easy Linux will replace enything else that was on the drive. Easy Linux may be booted on these media and used indefinitely.')\"</label></text>
 <hbox>
   <text use-markup=\"true\"><label>\"$(gettext 'Instructions for configuring a desktop PC or laptop to boot from an external drive are posted online:')\"</label></text>
   <vbox><button><label>$(gettext 'View in browser')</label><action>defaultbrowser https://easyos.org/install/how-to-write-easyos-to-a-flash-drive.html & </action></button></vbox>
 </hbox>
 
 <text use-markup=\"true\"><label>\"$(gettext 'Easy Linux may also be installed to an internal hard drive, and co-exist with other pre-existing operating systems. There is not yet an automated or semi-automated method for doing this, it has to be done manually.')\"</label></text>
 <text use-markup=\"true\"><label>\"$(gettext 'For users with PCs manufactured before 2012, with traditional BIOS, you will need to install and configure a boot manager such as GRUB. The user can create a fat32 and ext4 partitions, as explained in the link below, or, in theory, Easy can be installed to one ext4 partition. Theoretically again, it should also be possible to install Easy in what Puppy Linux users refer to as <i>frugal</i> mode.')\"</label></text>
 <hbox>
   <text use-markup=\"true\"><label>\"$(gettext 'For users with modern PCs manufactured from 2012, Windows 10 and UEFI-BIOS computers, there is a fairly simple manual method for installing to internal hard drive explained online:')\"</label></text>
   <vbox><button><label>$(gettext 'View in browser')</label><action>defaultbrowser https://easyos.org/install/how-to-install-easyos-on-your-hard-drive.html & </action></button></vbox>
 </hbox>
 <hbox>
   <text use-markup=\"true\"><label>\"$(gettext 'For information on frugal installation, particularly useful for pre-2012 PCs:')\"</label></text>
   <vbox><button><label>$(gettext 'View in browser')</label><action>defaultbrowser https://easyos.org/install/easy-frugal-installation.html & </action></button></vbox>
 </hbox>
 
 <text><label>\"  \"</label></text>
 <text use-markup=\"true\"><label>\"<i>$(gettext 'It is intended that these instructions will be improved')</i>\"</label></text>
 
 <hbox>
   <button ok></button>
 </hbox>
</vbox>
</window>"

RETSTRING1="$(gtkdialog --program=EI_DLG1 --center)"
[ $? -ne 0 ] && exit
eval "$RETSTRING1"
