tazpanel diff installer.cgi @ rev 292

translatable header, footer & titles; make pot
author Aleksej Bobylev <al.bobylev@gmail.com>
date Wed Apr 11 20:12:41 2012 +0300 (2012-04-11)
parents 5b379dc437a3
children 1a58d33b9df8
line diff
     1.1 --- a/installer.cgi	Mon Mar 12 19:54:26 2012 +0100
     1.2 +++ b/installer.cgi	Wed Apr 11 20:12:41 2012 +0300
     1.3 @@ -21,7 +21,7 @@
     1.4  TEXTDOMAIN='installer'
     1.5  export TEXTDOMAIN
     1.6  
     1.7 -TITLE="- Installer"
     1.8 +TITLE=$(gettext 'TazPanel - Installer')
     1.9  
    1.10  # Tazinst required version
    1.11  TAZINST_REQUIRED_VERSION="3.3"
    1.12 @@ -124,10 +124,10 @@
    1.13  			if [ ! -r $INSTFILE ]; then
    1.14  				cat <<EOT
    1.15  <span class="msg-nok">$(gettext "Setup File Error")<br />
    1.16 -$(gettext "The setup file <strong>$INSTFILE</strong> is not readable. 
    1.17 +$(gettext "The setup file <strong>$INSTFILE</strong> is not readable.
    1.18  Check permissions and ownership.")</span><br />
    1.19  EOT
    1.20 -			fi	
    1.21 +			fi
    1.22  		fi
    1.23  	fi
    1.24  	# read setup file
    1.25 @@ -156,7 +156,7 @@
    1.26  <p>
    1.27  	$(gettext "Install SliTaz on a partition of your hard disk drive. If
    1.28  	you decide to format your partition, all data will be lost. If you do not
    1.29 -	format, all data except for any existing /home directory will be removed, 
    1.30 +	format, all data except for any existing /home directory will be removed,
    1.31  	the home directory will be kept as is.")
    1.32  </p>
    1.33  <p>
    1.34 @@ -194,19 +194,19 @@
    1.35  <h4>$(gettext "Partitioning")</h4>
    1.36  <div class="box">
    1.37  <p>
    1.38 -	$(gettext "On most used systems, the hard drive is already dedicated to 
    1.39 -	partitions for Windows<sup>&copy;</sup>, or Linux, or another operating 
    1.40 +	$(gettext "On most used systems, the hard drive is already dedicated to
    1.41 +	partitions for Windows<sup>&copy;</sup>, or Linux, or another operating
    1.42  	system. You'll need to resize these partitions in order to make space for
    1.43  	SliTaz GNU/Linux. SliTaz will co-exist with other operating systems already
    1.44 -	installed on your hard drive.") 
    1.45 +	installed on your hard drive.")
    1.46  </p>
    1.47  <p>
    1.48 -	$(gettext "The amount of space needed depends on how much software you 
    1.49 +	$(gettext "The amount of space needed depends on how much software you
    1.50  	plan to install	and how much space you require for users. It's conceivable
    1.51  	that you could run a minimal SliTaz system in 300 megs or less, but 2 gigs
    1.52  	is indeed more comfy.")
    1.53  <p>
    1.54 -	$(gettext "A separate home partition, and a partition that will be used 
    1.55 +	$(gettext "A separate home partition, and a partition that will be used
    1.56  	as Linux swap space may be created if needed. Slitaz detects and uses swap
    1.57  	partitions automatically.")
    1.58  </p>
    1.59 @@ -222,7 +222,7 @@
    1.60  <p>
    1.61  	$(gettext "Gparted supports ext2, ext3, ext4, linux swap, ntfs and fat32
    1.62  	filesystems right out of the box. Support for xjs, jfs, hfs and other
    1.63 -	filesystems is available as well but you first need to add drivers for 
    1.64 +	filesystems is available as well but you first need to add drivers for
    1.65  	these filesystems by installing the related packages xfsprogs, jfsutils,
    1.66  	linux-hfs and so on.")
    1.67  </p>
    1.68 @@ -248,8 +248,8 @@
    1.69  <div id="wrapper">
    1.70  <h3>$(gettext "Install SliTaz")</h3>
    1.71  <p>$(gettext "You're going to install SliTaz on a partition of your hard disk drive. If
    1.72 -	you decide to format your HDD, all data will be lost. If you do not 
    1.73 -	format, all data except for any existing /home directory will be removed, 
    1.74 +	you decide to format your HDD, all data will be lost. If you do not
    1.75 +	format, all data except for any existing /home directory will be removed,
    1.76  	the home directory will be kept as is.")<p>
    1.77  </div>
    1.78  <input type="hidden" name="INST_ACTION" value="$1">
    1.79 @@ -415,7 +415,7 @@
    1.80  	fi
    1.81  cat <<EOT
    1.82  </select>
    1.83 -	
    1.84 +
    1.85  <input type="checkbox" name="HOME_FMT" value="yes" $([ -n "$TGT_HOME_FS" ] && echo "checked") id="homefs" />
    1.86  <label for="homefs">$(gettext "Format partition as:")</label>
    1.87  <select name="HOME_FS">"
    1.88 @@ -529,9 +529,9 @@
    1.89  <meta name="keywords" content="automatic redirection">
    1.90  </head>
    1.91  <body>
    1.92 -$(gettext "If your browser doesn't automatically redirect within a few seconds, 
    1.93 +$(gettext "If your browser doesn't automatically redirect within a few seconds,
    1.94  you may want to go there manually")
    1.95 -<a href="$SCRIPT_NAME?page=$1">$1</a> 
    1.96 +<a href="$SCRIPT_NAME?page=$1">$1</a>
    1.97  </body>
    1.98  </html>
    1.99  EOT
   1.100 @@ -539,7 +539,7 @@
   1.101  
   1.102  check_ressources()
   1.103  {
   1.104 -	local code 
   1.105 +	local code
   1.106  	code=0
   1.107  	# Check tazinst
   1.108  	if ! tazinst usage | grep -q Usage: ; then