1234567891011121314151617181920212223242526272829303132333435363738 |
- #!/bin/sh
- #2007 Lesser GPL licence v2 (http://www.fsf.org/licensing/licenses/lgpl.html)
- #120202 rodin.s: internationalized.
- export TEXTDOMAIN=wakepup2
- export TEXTDOMAINDIR=/usr/share/locale
- export OUTPUT_CHARSET=UTF-8
- eval_gettext () {
- local myMESSAGE=$(gettext "$1")
- eval echo \"$myMESSAGE\"
- }
- export LANGORG=$LANG
- export DLGBOX="
- <window title=\"WakePup2\">
- <vbox>
- <text><label>$(gettext 'Welcome! This little program will create a boot floppy disk, for booting puppy. WakePup2 is a floppy disk that will search for Puppy on USB, CD/DVD or hard drive and if found will boot puppy. A limitation is that Puppy must be installed in a FAT or NTFS partition on the USB or hard drive.')</label></text>
- <text><label>`gettext \"Why use WakePup2? The most common reason is you have used the Puppy Universal Installer (see 'Setup' menu) to install Puppy to a USB Flash 'key' drive, but the PC refuses to boot from it. Or, you have a PC that has a CD drive but refuses to boot from it. This is a solution for such cantankerous PCs, but of course is not applicable if you have a modern sans-floppy-drive PC.\"`</label></text>
- <text><label>`gettext \"Note, if you need to boot Puppy installed in a Linux partition (ext2, ext3, reiserfs, or minix), it is possible to create a GRUB boot floppy and this can be done when the 'Puppy Universal Installer' (in 'Setup' menu) is executed, or by selecting 'GRUB bootloader config' from the 'Control Panel' menu.\"`</label></text>
- <text><label>\" \"</label></text>
- <text><label>$(gettext 'WAKEPUP2 CURRENTLY NOT AVAILABLE')</label></text>
- <text><label>`gettext \"You need to first install the WakePup2 PET package -- just click the 'install' button on the desktop (Internet access required). Note, the WakePup developer guys have come up with different WakePup's that may perform better on certain hardware -- see the main Puppy Forum\"`</label></text>
- <text><label>`gettext \"CLICK 'Cancel' button for now, then install WakePup2...\"`</label></text>
- <hbox>
- <button cancel></button>
- </hbox>
- </vbox>
- </window>
- "
- #echo "$DLGBOX" | gtkdialog2 --stdin
- gtkdialog3 --program=DLGBOX &
- WPPID=$!
- sleep 120
- kill $WPPID
- ###END###
|