tazpanel 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 a4067a3222a9
children bc85a363a4ba
files Makefile boot.cgi data/tazpanel.conf hardware.cgi help.cgi index.cgi installer.cgi lib/libtazpanel live.cgi network.cgi pkgs.cgi po/tazpanel.pot settings.cgi styles/default/footer.html styles/default/footer.sh styles/default/header.html styles/default/header.sh
line diff
     1.1 --- a/Makefile	Mon Apr 09 23:59:46 2012 +0200
     1.2 +++ b/Makefile	Wed Apr 11 20:12:41 2012 +0300
     1.3 @@ -18,7 +18,8 @@
     1.4  		--package-version="$(VERSION)" \
     1.5  		./tazpanel ./index.cgi ./pkgs.cgi ./live.cgi \
     1.6  		./network.cgi ./boot.cgi ./hardware.cgi \
     1.7 -		./settings.cgi ./lib/libtazpanel ./installer.cgi
     1.8 +		./settings.cgi ./lib/libtazpanel ./installer.cgi \
     1.9 +		./styles/default/header.sh ./styles/default/footer.sh
    1.10  
    1.11  msgmerge:
    1.12  	@for l in $(LINGUAS); do \
    1.13 @@ -45,7 +46,7 @@
    1.14  		$(DESTDIR)/var/log
    1.15  	cp -a tazpanel $(DESTDIR)$(PREFIX)/bin
    1.16  	cp -a data/*.conf $(DESTDIR)$(SYSCONFDIR)
    1.17 -	cp -a *.cgi lib/ styles/ doc/ README $(DESTDIR)$(PANEL)	
    1.18 +	cp -a *.cgi lib/ styles/ doc/ README $(DESTDIR)$(PANEL)
    1.19  	cp -a po/mo/* $(DESTDIR)$(PREFIX)/share/locale
    1.20  	cp -a data/*.desktop $(DESTDIR)$(PREFIX)/share/applications
    1.21  	cp -a data/*.png $(DESTDIR)$(PREFIX)/share/pixmaps
     2.1 --- a/boot.cgi	Mon Apr 09 23:59:46 2012 +0200
     2.2 +++ b/boot.cgi	Wed Apr 11 20:12:41 2012 +0300
     2.3 @@ -11,7 +11,7 @@
     2.4  header
     2.5  get_config
     2.6  
     2.7 -TITLE="- Boot"
     2.8 +TITLE=$(gettext 'TazPanel - Boot')
     2.9  
    2.10  #
    2.11  # Commands
    2.12 @@ -51,16 +51,16 @@
    2.13  		#
    2.14  		# Everything until user login
    2.15  		#
    2.16 -		# Start and stop a daemon. I think we don't need a restart since 2 
    2.17 +		# Start and stop a daemon. I think we don't need a restart since 2
    2.18  		# clicks and you are done
    2.19  		. /etc/rcS.conf
    2.20  		xhtml_header
    2.21 -		
    2.22 +
    2.23  		cat << EOT
    2.24  <div id="wrapper">
    2.25  	<h2>`gettext "Manage daemons"`</h2>
    2.26  	<p>
    2.27 -		`gettext "Check, start and stop daemons on SliTaz"` 
    2.28 +		`gettext "Check, start and stop daemons on SliTaz"`
    2.29  	</p>
    2.30  </div>
    2.31  EOT
     3.1 --- a/data/tazpanel.conf	Mon Apr 09 23:59:46 2012 +0200
     3.2 +++ b/data/tazpanel.conf	Wed Apr 11 20:12:41 2012 +0300
     3.3 @@ -1,6 +1,6 @@
     3.4  # tazpanel.conf: SliTaz Web Control Panel configuration
     3.5  #
     3.6 -# Copyright (C) 2011 SliTaz GNU/Linux - BSD License
     3.7 +# Copyright (C) 2011-2012 SliTaz GNU/Linux - BSD License
     3.8  #
     3.9  
    3.10  # Panel location and theme
    3.11 @@ -9,8 +9,8 @@
    3.12  
    3.13  # Absolute paths to images and xHTML skel from $PANEL
    3.14  IMAGES="/styles/$STYLE/images"
    3.15 -HEADER="/styles/$STYLE/header.html"
    3.16 -FOOTER="/styles/$STYLE/footer.html"
    3.17 +HEADER="/styles/$STYLE/header.sh"
    3.18 +FOOTER="/styles/$STYLE/footer.sh"
    3.19  
    3.20  # Display some debug messages
    3.21  DEBUG="0"
     4.1 --- a/hardware.cgi	Mon Apr 09 23:59:46 2012 +0200
     4.2 +++ b/hardware.cgi	Wed Apr 11 20:12:41 2012 +0300
     4.3 @@ -10,7 +10,7 @@
     4.4  get_config
     4.5  header
     4.6  
     4.7 -TITLE="- Hardware"
     4.8 +TITLE=$(gettext 'TazPanel - Hardware')
     4.9  
    4.10  #
    4.11  # Commands
    4.12 @@ -61,7 +61,7 @@
    4.13  		if [ -n "$(GET modprobe)" ]; then
    4.14  			echo '<pre>'
    4.15  			modprobe -v $(GET modprobe)
    4.16 -			echo '</pre>' 
    4.17 +			echo '</pre>'
    4.18  		fi
    4.19  		if [ -n "$(GET rmmod)" ]; then
    4.20  			echo "Removing"
    4.21 @@ -103,7 +103,7 @@
    4.22  	*)
    4.23  		[ -n "$(GET brightness)" ] &&
    4.24  		echo -n $(GET brightness) > /sys/devices/virtual/backlight/$(GET dev)/brightness
    4.25 -		
    4.26 +
    4.27  		#
    4.28  		# Default to summary with mounted filesystem, loaded modules
    4.29  		#
     5.1 --- a/help.cgi	Mon Apr 09 23:59:46 2012 +0200
     5.2 +++ b/help.cgi	Wed Apr 11 20:12:41 2012 +0300
     5.3 @@ -25,7 +25,7 @@
     5.4  }
     5.5  
     5.6  # Cat translated help content
     5.7 -TITLE="- Help \&amp; Doc"
     5.8 +TITLE=$(gettext 'TazPanel - Help \&amp; Doc')
     5.9  
    5.10  xhtml_header
    5.11  search_form
     6.1 --- a/index.cgi	Mon Apr 09 23:59:46 2012 +0200
     6.2 +++ b/index.cgi	Wed Apr 11 20:12:41 2012 +0300
     6.3 @@ -4,7 +4,7 @@
     6.4  # command so we are faster and do not load unneeded functions. If necessary
     6.5  # you can use the lib/ dir to handle external resources.
     6.6  #
     6.7 -# Copyright (C) 2011 SliTaz GNU/Linux - BSD License
     6.8 +# Copyright (C) 2011-2012 SliTaz GNU/Linux - BSD License
     6.9  #
    6.10  
    6.11  # Common functions from libtazpanel
    6.12 @@ -12,11 +12,13 @@
    6.13  get_config
    6.14  header
    6.15  
    6.16 +TITLE="TazPanel"
    6.17 +
    6.18  # Check whether a configuration file has been modified after installation
    6.19  file_is_modified()
    6.20  {
    6.21  	grep -l "  $1$" $INSTALLED/*/md5sum | while read file; do
    6.22 -	
    6.23 +
    6.24  		# Found, but can we do diff ?
    6.25  		[ "$(grep -h "  $1$" $file)" != "$(md5sum $1)" ] || break
    6.26  		org=$(dirname $file)/volatile.cpio.gz
    6.27 @@ -61,7 +63,7 @@
    6.28  			*.html)
    6.29  				cat $file && exit 0 ;;
    6.30  			*)
    6.31 -				TITLE="- File"
    6.32 +				TITLE=$(gettext 'TazPanel - File')
    6.33  				xhtml_header
    6.34  				echo "<h2>$file</h2>" ;;
    6.35  		esac
    6.36 @@ -84,7 +86,7 @@
    6.37  			file_is_modified $file diff | syntax_highlighter diff
    6.38  			echo '</pre>'
    6.39  		else
    6.40 -			[ -n "$(POST content)" ] && 
    6.41 +			[ -n "$(POST content)" ] &&
    6.42  				sed "s/`echo -en '\r'` /\n/g" > $file <<EOT
    6.43  $(POST content)
    6.44  EOT
    6.45 @@ -110,7 +112,7 @@
    6.46  		# Cmdline terminal.
    6.47  		commands='cat du help ls ping pwd who wget'
    6.48  		cmd=$(GET cmd)
    6.49 -		TITLE="- $(gettext "Terminal")"
    6.50 +		TITLE=$(gettext 'TazPanel - Terminal')
    6.51  		xhtml_header
    6.52  		cat << EOT
    6.53  <form method="get" action="$SCRIPT_NAME">
    6.54 @@ -146,7 +148,7 @@
    6.55  	esac
    6.56  	echo '</pre>' ;;
    6.57  	*\ top\ *)
    6.58 -		TITLE="- $(gettext "Process activity")"
    6.59 +		TITLE=$(gettext 'TazPanel - Process activity')
    6.60  		xhtml_header
    6.61  		echo `gettext "Refresh: "` $(GET refresh)
    6.62  		echo '<br/>
    6.63 @@ -157,7 +159,7 @@
    6.64  	<input type="submit" name="refresh" value="10s"/>
    6.65  	<input type="submit" value="none"/>
    6.66  </form>	'
    6.67 -		[ -n $(GET refresh) ] && 
    6.68 +		[ -n $(GET refresh) ] &&
    6.69  		echo '<meta http-equiv="refresh" content="' $(GET refresh) '">' | sed "s/s //"
    6.70  
    6.71  		echo '<pre>'
    6.72 @@ -166,14 +168,14 @@
    6.73  			-e s"#PID.*\([^']\)#<span class='top'>\0</span>#"g
    6.74  		echo '</pre>' ;;
    6.75  	*\ debug\ *)
    6.76 -		TITLE="- Debug"
    6.77 +		TITLE=$(gettext 'TazPanel - Debug')
    6.78  		xhtml_header
    6.79  		echo '<h2>HTTP Environment</h2>'
    6.80  		echo '<pre>'
    6.81  		httpinfo
    6.82  		echo '</pre>' ;;
    6.83  	*\ report\ *)
    6.84 -		TITLE="- $(gettext "System report")"
    6.85 +		TITLE=$(gettext 'TazPanel - System report')
    6.86  		[ -d /var/cache/slitaz ] || mkdir -p /var/cache/slitaz
    6.87  		output=/var/cache/slitaz/sys-report.html
    6.88  		xhtml_header
     7.1 --- a/installer.cgi	Mon Apr 09 23:59:46 2012 +0200
     7.2 +++ b/installer.cgi	Wed Apr 11 20:12:41 2012 +0300
     7.3 @@ -21,7 +21,7 @@
     7.4  TEXTDOMAIN='installer'
     7.5  export TEXTDOMAIN
     7.6  
     7.7 -TITLE="- Installer"
     7.8 +TITLE=$(gettext 'TazPanel - Installer')
     7.9  
    7.10  # Tazinst required version
    7.11  TAZINST_REQUIRED_VERSION="3.3"
    7.12 @@ -124,10 +124,10 @@
    7.13  			if [ ! -r $INSTFILE ]; then
    7.14  				cat <<EOT
    7.15  <span class="msg-nok">$(gettext "Setup File Error")<br />
    7.16 -$(gettext "The setup file <strong>$INSTFILE</strong> is not readable. 
    7.17 +$(gettext "The setup file <strong>$INSTFILE</strong> is not readable.
    7.18  Check permissions and ownership.")</span><br />
    7.19  EOT
    7.20 -			fi	
    7.21 +			fi
    7.22  		fi
    7.23  	fi
    7.24  	# read setup file
    7.25 @@ -156,7 +156,7 @@
    7.26  <p>
    7.27  	$(gettext "Install SliTaz on a partition of your hard disk drive. If
    7.28  	you decide to format your partition, all data will be lost. If you do not
    7.29 -	format, all data except for any existing /home directory will be removed, 
    7.30 +	format, all data except for any existing /home directory will be removed,
    7.31  	the home directory will be kept as is.")
    7.32  </p>
    7.33  <p>
    7.34 @@ -194,19 +194,19 @@
    7.35  <h4>$(gettext "Partitioning")</h4>
    7.36  <div class="box">
    7.37  <p>
    7.38 -	$(gettext "On most used systems, the hard drive is already dedicated to 
    7.39 -	partitions for Windows<sup>&copy;</sup>, or Linux, or another operating 
    7.40 +	$(gettext "On most used systems, the hard drive is already dedicated to
    7.41 +	partitions for Windows<sup>&copy;</sup>, or Linux, or another operating
    7.42  	system. You'll need to resize these partitions in order to make space for
    7.43  	SliTaz GNU/Linux. SliTaz will co-exist with other operating systems already
    7.44 -	installed on your hard drive.") 
    7.45 +	installed on your hard drive.")
    7.46  </p>
    7.47  <p>
    7.48 -	$(gettext "The amount of space needed depends on how much software you 
    7.49 +	$(gettext "The amount of space needed depends on how much software you
    7.50  	plan to install	and how much space you require for users. It's conceivable
    7.51  	that you could run a minimal SliTaz system in 300 megs or less, but 2 gigs
    7.52  	is indeed more comfy.")
    7.53  <p>
    7.54 -	$(gettext "A separate home partition, and a partition that will be used 
    7.55 +	$(gettext "A separate home partition, and a partition that will be used
    7.56  	as Linux swap space may be created if needed. Slitaz detects and uses swap
    7.57  	partitions automatically.")
    7.58  </p>
    7.59 @@ -222,7 +222,7 @@
    7.60  <p>
    7.61  	$(gettext "Gparted supports ext2, ext3, ext4, linux swap, ntfs and fat32
    7.62  	filesystems right out of the box. Support for xjs, jfs, hfs and other
    7.63 -	filesystems is available as well but you first need to add drivers for 
    7.64 +	filesystems is available as well but you first need to add drivers for
    7.65  	these filesystems by installing the related packages xfsprogs, jfsutils,
    7.66  	linux-hfs and so on.")
    7.67  </p>
    7.68 @@ -248,8 +248,8 @@
    7.69  <div id="wrapper">
    7.70  <h3>$(gettext "Install SliTaz")</h3>
    7.71  <p>$(gettext "You're going to install SliTaz on a partition of your hard disk drive. If
    7.72 -	you decide to format your HDD, all data will be lost. If you do not 
    7.73 -	format, all data except for any existing /home directory will be removed, 
    7.74 +	you decide to format your HDD, all data will be lost. If you do not
    7.75 +	format, all data except for any existing /home directory will be removed,
    7.76  	the home directory will be kept as is.")<p>
    7.77  </div>
    7.78  <input type="hidden" name="INST_ACTION" value="$1">
    7.79 @@ -415,7 +415,7 @@
    7.80  	fi
    7.81  cat <<EOT
    7.82  </select>
    7.83 -	
    7.84 +
    7.85  <input type="checkbox" name="HOME_FMT" value="yes" $([ -n "$TGT_HOME_FS" ] && echo "checked") id="homefs" />
    7.86  <label for="homefs">$(gettext "Format partition as:")</label>
    7.87  <select name="HOME_FS">"
    7.88 @@ -529,9 +529,9 @@
    7.89  <meta name="keywords" content="automatic redirection">
    7.90  </head>
    7.91  <body>
    7.92 -$(gettext "If your browser doesn't automatically redirect within a few seconds, 
    7.93 +$(gettext "If your browser doesn't automatically redirect within a few seconds,
    7.94  you may want to go there manually")
    7.95 -<a href="$SCRIPT_NAME?page=$1">$1</a> 
    7.96 +<a href="$SCRIPT_NAME?page=$1">$1</a>
    7.97  </body>
    7.98  </html>
    7.99  EOT
   7.100 @@ -539,7 +539,7 @@
   7.101  
   7.102  check_ressources()
   7.103  {
   7.104 -	local code 
   7.105 +	local code
   7.106  	code=0
   7.107  	# Check tazinst
   7.108  	if ! tazinst usage | grep -q Usage: ; then
     8.1 --- a/lib/libtazpanel	Mon Apr 09 23:59:46 2012 +0200
     8.2 +++ b/lib/libtazpanel	Wed Apr 11 20:12:41 2012 +0300
     8.3 @@ -149,7 +149,7 @@
     8.4  }
     8.5  
     8.6  xhtml_header() {
     8.7 -	cat ${PANEL}$HEADER | sed s/'- %TITLE%'/"$TITLE"/
     8.8 +	. ${PANEL}$HEADER
     8.9  	if [ $DEBUG == "1" ]; then
    8.10  		local i
    8.11  		local j
    8.12 @@ -180,7 +180,7 @@
    8.13  }
    8.14  
    8.15  xhtml_footer() {
    8.16 -	cat ${PANEL}$FOOTER
    8.17 +	. ${PANEL}$FOOTER
    8.18  }
    8.19  
    8.20  table_start() {
    8.21 @@ -195,7 +195,7 @@
    8.22  	</tbody>
    8.23  </table>
    8.24  EOT
    8.25 -	
    8.26 +
    8.27  }
    8.28  
    8.29  df_thead() {
     9.1 --- a/live.cgi	Mon Apr 09 23:59:46 2012 +0200
     9.2 +++ b/live.cgi	Wed Apr 11 20:12:41 2012 +0300
     9.3 @@ -22,7 +22,7 @@
     9.4  get_config
     9.5  header
     9.6  
     9.7 -TITLE="- Live"
     9.8 +TITLE=$(gettext 'TazPanel - Live')
     9.9  
    9.10  # Build arguments to create a meta iso using 'tazlito merge' command
    9.11  merge_args()
    9.12 @@ -209,7 +209,7 @@
    9.13  		done
    9.14  		metaoutput="$(GET metaoutput)"
    9.15  		[ -n "$metaoutput" ] || metaoutput="/root/meta.iso"
    9.16 -		
    9.17 +
    9.18  		cat << EOT
    9.19  	<tr>
    9.20  	<td>`gettext "ISO to add"`
    10.1 --- a/network.cgi	Mon Apr 09 23:59:46 2012 +0200
    10.2 +++ b/network.cgi	Wed Apr 11 20:12:41 2012 +0300
    10.3 @@ -10,7 +10,7 @@
    10.4  get_config
    10.5  header
    10.6  
    10.7 -TITLE="- Network"
    10.8 +TITLE=$(gettext 'TazPanel - Network')
    10.9  
   10.10  # Catch ESSIDs and format output for GTK tree. We get the list of
   10.11  # networks by Cell and without spaces.
    11.1 --- a/pkgs.cgi	Mon Apr 09 23:59:46 2012 +0200
    11.2 +++ b/pkgs.cgi	Wed Apr 11 20:12:41 2012 +0300
    11.3 @@ -14,7 +14,7 @@
    11.4  header
    11.5  
    11.6  # xHTML 5 header with special side bar for categories.
    11.7 -TITLE="- Packages"
    11.8 +TITLE=$(gettext 'TazPanel - Packages')
    11.9  xhtml_header | sed 's/id="content"/id="content-sidebar"/'
   11.10  
   11.11  pkg_info_link()
   11.12 @@ -152,7 +152,7 @@
   11.13  	<a class="active_non-free" href="$SCRIPT_NAME?cat=non-free&repo=$repo">Non free</a>
   11.14  	<a class="active_all" href="$SCRIPT_NAME?cat=all&repo=$repo">All</a>
   11.15  EOT
   11.16 -	
   11.17 +
   11.18  	if [ -d $LOCALSTATE/undigest ]; then
   11.19  		[ -n "$category" ] || category="base-system"
   11.20  		cat << EOT
   11.21 @@ -472,7 +472,7 @@
   11.22  		#
   11.23  		opt=""
   11.24  		pkgs=""
   11.25 -		cmdline=$(echo ${QUERY_STRING#do=} | sed s'/&/ /g')	
   11.26 +		cmdline=$(echo ${QUERY_STRING#do=} | sed s'/&/ /g')
   11.27  		cmd=$(echo ${cmdline} | awk '{print $1}')
   11.28  		cmdline=${cmdline#*repo=* }
   11.29  		pkgs=$(echo $cmdline | sed -e s'/+/ /g' -e s'/pkg=//g' -e s/$cmd//)
   11.30 @@ -551,7 +551,7 @@
   11.31  			temp="$(echo $pkg | sed 's/get-//g')"
   11.32  			echo "<a class='button' href='$SCRIPT_NAME?do=$action&$temp'>$action (Non Free)</a>"
   11.33  		else
   11.34 -			
   11.35 +
   11.36  			echo "<a class='button' href='$SCRIPT_NAME?do=$action&$pkg'>$action</a>"
   11.37  		fi
   11.38  
   11.39 @@ -590,14 +590,14 @@
   11.40  EOT
   11.41  			if [ -n "$DEPENDS" ]; then
   11.42  				echo -n "Depends     : "
   11.43 -				for i in $DEPENDS; do 
   11.44 +				for i in $DEPENDS; do
   11.45  					echo -n "<a href="$(pkg_info_link $i)">$i</a> "
   11.46  				done
   11.47  				echo ""
   11.48  			fi
   11.49  			if [ -n "$SUGGESTED" ]; then
   11.50  				echo -n "Suggested   : "
   11.51 -				for i in $SUGGESTED; do 
   11.52 +				for i in $SUGGESTED; do
   11.53  					echo -n "<a href="$(pkg_info_link $i)">$i</a> "
   11.54  				done
   11.55  				echo ""
   11.56 @@ -785,7 +785,7 @@
   11.57  <form method="get" action="$SCRIPT_NAME">
   11.58  <p>
   11.59  	<input type="hidden" name="admin" value="add-link" />
   11.60 -	<input type="text" name="link" 
   11.61 +	<input type="text" name="link"
   11.62  	 value="$(readlink $LOCALSTATE/fslink 2> /dev/null)" size="50">
   11.63  	<input type="submit" name="admin" value="$(gettext "Set link")" />
   11.64  	<input type="submit" name="admin" value="$(gettext "Remove link")" />
   11.65 @@ -869,7 +869,7 @@
   11.66  	<a class="button" href='$SCRIPT_NAME?up'>
   11.67  		<img src="$IMAGES/update.png" />`gettext "Check upgrades"`</a>
   11.68  	<a class="button" href='$SCRIPT_NAME?admin'>
   11.69 -		<img src="$IMAGES/edit.png" />`gettext "Administration"`</a>	
   11.70 +		<img src="$IMAGES/edit.png" />`gettext "Administration"`</a>
   11.71  </div>
   11.72  <pre class="pre-main">
   11.73  `packages_summary`
    12.1 --- a/po/tazpanel.pot	Mon Apr 09 23:59:46 2012 +0200
    12.2 +++ b/po/tazpanel.pot	Wed Apr 11 20:12:41 2012 +0300
    12.3 @@ -8,7 +8,7 @@
    12.4  msgstr ""
    12.5  "Project-Id-Version: TazPanel 1.4.3\n"
    12.6  "Report-Msgid-Bugs-To: \n"
    12.7 -"POT-Creation-Date: 2012-04-02 10:12+0200\n"
    12.8 +"POT-Creation-Date: 2012-04-11 20:01+0300\n"
    12.9  "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
   12.10  "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
   12.11  "Language-Team: LANGUAGE <LL@li.org>\n"
   12.12 @@ -41,134 +41,154 @@
   12.13  msgid "Usage:"
   12.14  msgstr ""
   12.15  
   12.16 -#: index.cgi:36 index.cgi:74
   12.17 +#: index.cgi:38 index.cgi:76
   12.18  msgid "Differences"
   12.19  msgstr ""
   12.20  
   12.21 -#: index.cgi:72
   12.22 +#: index.cgi:66
   12.23 +msgid "TazPanel - File"
   12.24 +msgstr ""
   12.25 +
   12.26 +#: index.cgi:74
   12.27  msgid "Save"
   12.28  msgstr ""
   12.29  
   12.30 -#: index.cgi:94 settings.cgi:256
   12.31 +#: index.cgi:96 settings.cgi:256
   12.32  msgid "Edit"
   12.33  msgstr ""
   12.34  
   12.35 -#: index.cgi:113 index.cgi:313
   12.36 +#: index.cgi:115
   12.37 +msgid "TazPanel - Terminal"
   12.38 +msgstr ""
   12.39 +
   12.40 +#: index.cgi:128
   12.41 +msgid "Small terminal emulator, commands options are supported."
   12.42 +msgstr ""
   12.43 +
   12.44 +#: index.cgi:130 index.cgi:147
   12.45 +msgid "Commands:"
   12.46 +msgstr ""
   12.47 +
   12.48 +#: index.cgi:134
   12.49 +msgid "Downloading to:"
   12.50 +msgstr ""
   12.51 +
   12.52 +#: index.cgi:151
   12.53 +msgid "TazPanel - Process activity"
   12.54 +msgstr ""
   12.55 +
   12.56 +#: index.cgi:153
   12.57 +msgid "Refresh: "
   12.58 +msgstr ""
   12.59 +
   12.60 +#: index.cgi:171
   12.61 +msgid "TazPanel - Debug"
   12.62 +msgstr ""
   12.63 +
   12.64 +#: index.cgi:178
   12.65 +msgid "TazPanel - System report"
   12.66 +msgstr ""
   12.67 +
   12.68 +#: index.cgi:182
   12.69 +msgid "Reporting to:"
   12.70 +msgstr ""
   12.71 +
   12.72 +#: index.cgi:184
   12.73 +msgid "Creating report header...  "
   12.74 +msgstr ""
   12.75 +
   12.76 +#: index.cgi:201
   12.77 +msgid "Creating system summary... "
   12.78 +msgstr ""
   12.79 +
   12.80 +#: index.cgi:214
   12.81 +msgid "Getting hardware info...   "
   12.82 +msgstr ""
   12.83 +
   12.84 +#: index.cgi:238
   12.85 +msgid "Getting networking info... "
   12.86 +msgstr ""
   12.87 +
   12.88 +#: index.cgi:254
   12.89 +msgid "Getting filesystems info..."
   12.90 +msgstr ""
   12.91 +
   12.92 +#: index.cgi:278
   12.93 +msgid "Getting boot logs...       "
   12.94 +msgstr ""
   12.95 +
   12.96 +#: index.cgi:280 boot.cgi:29 boot.cgi:34
   12.97 +msgid "Kernel messages"
   12.98 +msgstr ""
   12.99 +
  12.100 +#: index.cgi:284 boot.cgi:30 boot.cgi:39
  12.101 +msgid "Boot scripts"
  12.102 +msgstr ""
  12.103 +
  12.104 +#: index.cgi:290
  12.105 +msgid "Creating report footer...  "
  12.106 +msgstr ""
  12.107 +
  12.108 +#: index.cgi:298
  12.109 +msgid "View report"
  12.110 +msgstr ""
  12.111 +
  12.112 +#: index.cgi:299
  12.113 +msgid "This report can be attached with a bug report on: "
  12.114 +msgstr ""
  12.115 +
  12.116 +#: index.cgi:310
  12.117 +msgid "Host:"
  12.118 +msgstr ""
  12.119 +
  12.120 +#: index.cgi:311
  12.121 +msgid "SliTaz administration and configuration Panel"
  12.122 +msgstr ""
  12.123 +
  12.124 +#: index.cgi:315 styles/default/header.sh:27
  12.125  msgid "Terminal"
  12.126  msgstr ""
  12.127  
  12.128 -#: index.cgi:126
  12.129 -msgid "Small terminal emulator, commands options are supported."
  12.130 -msgstr ""
  12.131 -
  12.132 -#: index.cgi:128 index.cgi:145
  12.133 -msgid "Commands:"
  12.134 -msgstr ""
  12.135 -
  12.136 -#: index.cgi:132
  12.137 -msgid "Downloading to:"
  12.138 -msgstr ""
  12.139 -
  12.140 -#: index.cgi:149 index.cgi:315
  12.141 +#: index.cgi:317
  12.142  msgid "Process activity"
  12.143  msgstr ""
  12.144  
  12.145 -#: index.cgi:151
  12.146 -msgid "Refresh: "
  12.147 -msgstr ""
  12.148 -
  12.149 -#: index.cgi:176
  12.150 -msgid "System report"
  12.151 -msgstr ""
  12.152 -
  12.153 -#: index.cgi:180
  12.154 -msgid "Reporting to:"
  12.155 -msgstr ""
  12.156 -
  12.157 -#: index.cgi:182
  12.158 -msgid "Creating report header...  "
  12.159 -msgstr ""
  12.160 -
  12.161 -#: index.cgi:199
  12.162 -msgid "Creating system summary... "
  12.163 -msgstr ""
  12.164 -
  12.165 -#: index.cgi:212
  12.166 -msgid "Getting hardware info...   "
  12.167 -msgstr ""
  12.168 -
  12.169 -#: index.cgi:236
  12.170 -msgid "Getting networking info... "
  12.171 -msgstr ""
  12.172 -
  12.173 -#: index.cgi:252
  12.174 -msgid "Getting filesystems info..."
  12.175 -msgstr ""
  12.176 -
  12.177 -#: index.cgi:276
  12.178 -msgid "Getting boot logs...       "
  12.179 -msgstr ""
  12.180 -
  12.181 -#: index.cgi:278 boot.cgi:29 boot.cgi:34
  12.182 -msgid "Kernel messages"
  12.183 -msgstr ""
  12.184 -
  12.185 -#: index.cgi:282 boot.cgi:30 boot.cgi:39
  12.186 -msgid "Boot scripts"
  12.187 -msgstr ""
  12.188 -
  12.189 -#: index.cgi:288
  12.190 -msgid "Creating report footer...  "
  12.191 -msgstr ""
  12.192 -
  12.193 -#: index.cgi:296
  12.194 -msgid "View report"
  12.195 -msgstr ""
  12.196 -
  12.197 -#: index.cgi:297
  12.198 -msgid "This report can be attached with a bug report on: "
  12.199 -msgstr ""
  12.200 -
  12.201 -#: index.cgi:308
  12.202 -msgid "Host:"
  12.203 -msgstr ""
  12.204 -
  12.205 -#: index.cgi:309
  12.206 -msgid "SliTaz administration and configuration Panel"
  12.207 -msgstr ""
  12.208 -
  12.209 -#: index.cgi:317
  12.210 +#: index.cgi:319
  12.211  msgid "Create a report"
  12.212  msgstr ""
  12.213  
  12.214 -#: index.cgi:320 pkgs.cgi:855
  12.215 +#: index.cgi:322 pkgs.cgi:855
  12.216  msgid "Summary"
  12.217  msgstr ""
  12.218  
  12.219 -#: index.cgi:323
  12.220 +#: index.cgi:325
  12.221  msgid "Uptime       :"
  12.222  msgstr ""
  12.223  
  12.224 -#: index.cgi:324
  12.225 +#: index.cgi:326
  12.226  msgid "Memory in Mb :"
  12.227  msgstr ""
  12.228  
  12.229 -#: index.cgi:326
  12.230 +#: index.cgi:328
  12.231  msgid "Linux kernel :"
  12.232  msgstr ""
  12.233  
  12.234 -#: index.cgi:331
  12.235 +#: index.cgi:333
  12.236  msgid "Network status"
  12.237  msgstr ""
  12.238  
  12.239 -#: index.cgi:334 hardware.cgi:193
  12.240 +#: index.cgi:336 hardware.cgi:193
  12.241  msgid "Filesystem usage statistics"
  12.242  msgstr ""
  12.243  
  12.244 -#: index.cgi:355
  12.245 +#: index.cgi:357
  12.246  msgid "Panel Activity"
  12.247  msgstr ""
  12.248  
  12.249 +#: pkgs.cgi:17
  12.250 +msgid "TazPanel - Packages"
  12.251 +msgstr ""
  12.252 +
  12.253  #: pkgs.cgi:50
  12.254  msgid "Last recharge        : "
  12.255  msgstr ""
  12.256 @@ -215,7 +235,7 @@
  12.257  msgstr ""
  12.258  
  12.259  #: pkgs.cgi:212 pkgs.cgi:321 pkgs.cgi:362 pkgs.cgi:416 pkgs.cgi:454
  12.260 -#: pkgs.cgi:503 pkgs.cgi:575 pkgs.cgi:858
  12.261 +#: pkgs.cgi:503 pkgs.cgi:575 pkgs.cgi:858 styles/default/header.sh:37
  12.262  msgid "My packages"
  12.263  msgstr ""
  12.264  
  12.265 @@ -288,7 +308,7 @@
  12.266  msgid "Getting package info..."
  12.267  msgstr ""
  12.268  
  12.269 -#: pkgs.cgi:541 pkgs.cgi:550 installer.cgi:155
  12.270 +#: pkgs.cgi:541 pkgs.cgi:550 installer.cgi:155 styles/default/header.sh:88
  12.271  msgid "Install"
  12.272  msgstr ""
  12.273  
  12.274 @@ -312,7 +332,7 @@
  12.275  msgid "Remove link"
  12.276  msgstr ""
  12.277  
  12.278 -#: pkgs.cgi:675 pkgs.cgi:872
  12.279 +#: pkgs.cgi:675 pkgs.cgi:872 styles/default/header.sh:43
  12.280  msgid "Administration"
  12.281  msgstr ""
  12.282  
  12.283 @@ -402,7 +422,7 @@
  12.284  msgid "Install from ISO image: "
  12.285  msgstr ""
  12.286  
  12.287 -#: pkgs.cgi:868
  12.288 +#: pkgs.cgi:868 styles/default/header.sh:39
  12.289  msgid "Recharge list"
  12.290  msgstr ""
  12.291  
  12.292 @@ -410,47 +430,59 @@
  12.293  msgid "Latest log entries"
  12.294  msgstr ""
  12.295  
  12.296 -#: live.cgi:88
  12.297 +#: live.cgi:25
  12.298 +msgid "TazPanel - Live"
  12.299 +msgstr ""
  12.300 +
  12.301 +#: live.cgi:83
  12.302  msgid "TODO"
  12.303  msgstr ""
  12.304  
  12.305 -#: live.cgi:96
  12.306 -msgid "SliTaz Live Systems"
  12.307 +#: live.cgi:88
  12.308 +msgid "SliTaz LiveUSB"
  12.309  msgstr ""
  12.310  
  12.311 -#: live.cgi:97
  12.312 -msgid "Create and manage Live CD or USB SliTaz systems"
  12.313 +#: live.cgi:89
  12.314 +msgid "Create Live USB SliTaz systems"
  12.315  msgstr ""
  12.316  
  12.317 -#: live.cgi:101
  12.318 -msgid "Live USB"
  12.319 -msgstr ""
  12.320 -
  12.321 -#: live.cgi:103
  12.322 +#: live.cgi:93
  12.323  msgid ""
  12.324  "Generate SliTaz LiveUSB media and boot in RAM! Insert a\n"
  12.325  "\tLiveCD into the cdrom drive, select the correct device and press\n"
  12.326  "\tGenerate."
  12.327  msgstr ""
  12.328  
  12.329 -#: live.cgi:108
  12.330 +#: live.cgi:99
  12.331  msgid "USB Media to use:"
  12.332  msgstr ""
  12.333  
  12.334 -#: live.cgi:117 installer.cgi:302 installer.cgi:346 installer.cgi:381
  12.335 +#: live.cgi:108 installer.cgi:302 installer.cgi:346 installer.cgi:381
  12.336  #: installer.cgi:414
  12.337  msgid "Not found"
  12.338  msgstr ""
  12.339  
  12.340 -#: live.cgi:121
  12.341 +#: live.cgi:112
  12.342  msgid "Generate"
  12.343  msgstr ""
  12.344  
  12.345 -#: live.cgi:125
  12.346 +#: live.cgi:129
  12.347 +msgid "SliTaz Live Systems"
  12.348 +msgstr ""
  12.349 +
  12.350 +#: live.cgi:130
  12.351 +msgid "Create and manage Live CD or USB SliTaz systems"
  12.352 +msgstr ""
  12.353 +
  12.354 +#: live.cgi:135
  12.355 +msgid "Create LiveUSB"
  12.356 +msgstr ""
  12.357 +
  12.358 +#: live.cgi:139
  12.359  msgid "Write a Live CD"
  12.360  msgstr ""
  12.361  
  12.362 -#: live.cgi:127
  12.363 +#: live.cgi:141
  12.364  msgid ""
  12.365  "The command writeiso will generate an ISO image of the\n"
  12.366  "\tcurrent filesystem as is, including all files in the /home directory.\n"
  12.367 @@ -458,75 +490,79 @@
  12.368  "\tto: boot, modify, writeiso."
  12.369  msgstr ""
  12.370  
  12.371 -#: live.cgi:133
  12.372 +#: live.cgi:147
  12.373  msgid "Compression type:"
  12.374  msgstr ""
  12.375  
  12.376 -#: live.cgi:139
  12.377 +#: live.cgi:153
  12.378  msgid "Write ISO"
  12.379  msgstr ""
  12.380  
  12.381 -#: live.cgi:142
  12.382 +#: live.cgi:156
  12.383  msgid "Live CD tools"
  12.384  msgstr ""
  12.385  
  12.386 -#: live.cgi:144 live.cgi:169
  12.387 +#: live.cgi:158 live.cgi:183 styles/default/header.sh:84
  12.388  msgid "Convert ISO to loram"
  12.389  msgstr ""
  12.390  
  12.391 -#: live.cgi:146
  12.392 +#: live.cgi:160
  12.393  msgid ""
  12.394  "This command will convert an ISO image of a SliTaz Live CD\n"
  12.395  "\tto a new ISO image requiring less RAM to run."
  12.396  msgstr ""
  12.397  
  12.398 -#: live.cgi:152
  12.399 +#: live.cgi:166
  12.400  msgid "ISO to convert"
  12.401  msgstr ""
  12.402  
  12.403 -#: live.cgi:156
  12.404 +#: live.cgi:170
  12.405  msgid "The filesystem is always in RAM"
  12.406  msgstr ""
  12.407  
  12.408 -#: live.cgi:159
  12.409 +#: live.cgi:173
  12.410  msgid "The filesystem may be on a small CDROM"
  12.411  msgstr ""
  12.412  
  12.413 -#: live.cgi:162
  12.414 +#: live.cgi:176
  12.415  msgid "The filesystem may be on a large CDROM"
  12.416  msgstr ""
  12.417  
  12.418 -#: live.cgi:165 live.cgi:208
  12.419 +#: live.cgi:179 live.cgi:222
  12.420  msgid "ISO to create"
  12.421  msgstr ""
  12.422  
  12.423 -#: live.cgi:173 live.cgi:212
  12.424 +#: live.cgi:187 live.cgi:226 styles/default/header.sh:85
  12.425  msgid "Build a meta ISO"
  12.426  msgstr ""
  12.427  
  12.428 -#: live.cgi:175
  12.429 +#: live.cgi:189
  12.430  msgid ""
  12.431  "Combines several ISO flavors like nested Russian dolls.\n"
  12.432  "\tThe amount of RAM available at startup will be used to select the\n"
  12.433  "\tutmost one."
  12.434  msgstr ""
  12.435  
  12.436 -#: live.cgi:188
  12.437 +#: live.cgi:202
  12.438  msgid "ISO number"
  12.439  msgstr ""
  12.440  
  12.441 -#: live.cgi:190 live.cgi:203
  12.442 +#: live.cgi:204 live.cgi:217
  12.443  msgid "Minimum RAM"
  12.444  msgstr ""
  12.445  
  12.446 -#: live.cgi:201
  12.447 +#: live.cgi:215
  12.448  msgid "ISO to add"
  12.449  msgstr ""
  12.450  
  12.451 -#: live.cgi:205
  12.452 +#: live.cgi:219
  12.453  msgid "Add to the list"
  12.454  msgstr ""
  12.455  
  12.456 +#: network.cgi:13
  12.457 +msgid "TazPanel - Network"
  12.458 +msgstr ""
  12.459 +
  12.460  #: network.cgi:24
  12.461  msgid "Quality"
  12.462  msgstr ""
  12.463 @@ -631,11 +667,11 @@
  12.464  msgid "Wireless connection"
  12.465  msgstr ""
  12.466  
  12.467 -#: network.cgi:203 network.cgi:290
  12.468 +#: network.cgi:203 network.cgi:289
  12.469  msgid "Start"
  12.470  msgstr ""
  12.471  
  12.472 -#: network.cgi:205 network.cgi:292
  12.473 +#: network.cgi:205 network.cgi:291
  12.474  msgid "Stop"
  12.475  msgstr ""
  12.476  
  12.477 @@ -681,54 +717,54 @@
  12.478  msgid "Manage network connections and services"
  12.479  msgstr ""
  12.480  
  12.481 -#: network.cgi:288
  12.482 -msgid "Connection:"
  12.483 -msgstr ""
  12.484 -
  12.485 -#: network.cgi:294
  12.486 +#: network.cgi:293
  12.487  msgid "Restart"
  12.488  msgstr ""
  12.489  
  12.490 -#: network.cgi:297
  12.491 +#: network.cgi:296
  12.492  msgid "Configuration:"
  12.493  msgstr ""
  12.494  
  12.495 -#: network.cgi:307
  12.496 +#: network.cgi:306
  12.497  msgid "Hosts"
  12.498  msgstr ""
  12.499  
  12.500 -#: network.cgi:312
  12.501 +#: network.cgi:311
  12.502  msgid "Edit hosts"
  12.503  msgstr ""
  12.504  
  12.505 -#: network.cgi:314 installer.cgi:438
  12.506 +#: network.cgi:313 installer.cgi:438
  12.507  msgid "Hostname"
  12.508  msgstr ""
  12.509  
  12.510 -#: network.cgi:317
  12.511 +#: network.cgi:316
  12.512  msgid "Change hostname"
  12.513  msgstr ""
  12.514  
  12.515 -#: network.cgi:322
  12.516 +#: network.cgi:321
  12.517  msgid "Output of "
  12.518  msgstr ""
  12.519  
  12.520 -#: network.cgi:328
  12.521 +#: network.cgi:327
  12.522  msgid "Routing table"
  12.523  msgstr ""
  12.524  
  12.525 -#: network.cgi:334
  12.526 +#: network.cgi:333
  12.527  msgid "Domain name resolution"
  12.528  msgstr ""
  12.529  
  12.530 -#: network.cgi:340
  12.531 +#: network.cgi:339
  12.532  msgid "ARP table"
  12.533  msgstr ""
  12.534  
  12.535 -#: network.cgi:346
  12.536 +#: network.cgi:345
  12.537  msgid "IP Connections"
  12.538  msgstr ""
  12.539  
  12.540 +#: boot.cgi:14
  12.541 +msgid "TazPanel - Boot"
  12.542 +msgstr ""
  12.543 +
  12.544  #: boot.cgi:25
  12.545  msgid "Boot log files"
  12.546  msgstr ""
  12.547 @@ -737,7 +773,7 @@
  12.548  msgid "X server"
  12.549  msgstr ""
  12.550  
  12.551 -#: boot.cgi:61 boot.cgi:244
  12.552 +#: boot.cgi:61 boot.cgi:244 styles/default/header.sh:67
  12.553  msgid "Manage daemons"
  12.554  msgstr ""
  12.555  
  12.556 @@ -829,11 +865,11 @@
  12.557  msgid "Everything that happens before user login"
  12.558  msgstr ""
  12.559  
  12.560 -#: boot.cgi:242
  12.561 +#: boot.cgi:242 styles/default/header.sh:65
  12.562  msgid "Boot logs"
  12.563  msgstr ""
  12.564  
  12.565 -#: boot.cgi:245
  12.566 +#: boot.cgi:245 styles/default/header.sh:69
  12.567  msgid "Boot loader"
  12.568  msgstr ""
  12.569  
  12.570 @@ -857,6 +893,10 @@
  12.571  msgid "Edit script"
  12.572  msgstr ""
  12.573  
  12.574 +#: hardware.cgi:13
  12.575 +msgid "TazPanel - Hardware"
  12.576 +msgstr ""
  12.577 +
  12.578  #: hardware.cgi:28
  12.579  msgid "Detect hardware"
  12.580  msgstr ""
  12.581 @@ -865,7 +905,7 @@
  12.582  msgid "Detect PCI and USB hardware"
  12.583  msgstr ""
  12.584  
  12.585 -#: hardware.cgi:42
  12.586 +#: hardware.cgi:42 styles/default/header.sh:75
  12.587  msgid "Kernel modules"
  12.588  msgstr ""
  12.589  
  12.590 @@ -913,6 +953,10 @@
  12.591  msgid "System memory"
  12.592  msgstr ""
  12.593  
  12.594 +#: settings.cgi:15
  12.595 +msgid "TazPanel - Settings"
  12.596 +msgstr ""
  12.597 +
  12.598  #: settings.cgi:88 settings.cgi:176
  12.599  msgid "Manage users"
  12.600  msgstr ""
  12.601 @@ -1064,7 +1108,7 @@
  12.602  msgid "Configuration files: "
  12.603  msgstr ""
  12.604  
  12.605 -#: settings.cgi:289
  12.606 +#: settings.cgi:289 styles/default/header.sh:24
  12.607  msgid "Panel"
  12.608  msgstr ""
  12.609  
  12.610 @@ -1096,6 +1140,10 @@
  12.611  msgid "Mount point"
  12.612  msgstr ""
  12.613  
  12.614 +#: installer.cgi:24
  12.615 +msgid "TazPanel - Installer"
  12.616 +msgstr ""
  12.617 +
  12.618  #: installer.cgi:120 installer.cgi:126
  12.619  msgid "Setup File Error"
  12.620  msgstr ""
  12.621 @@ -1116,8 +1164,7 @@
  12.622  msgid ""
  12.623  "Install SliTaz on a partition of your hard disk drive. If\n"
  12.624  "\tyou decide to format your partition, all data will be lost. If you do not\n"
  12.625 -"\tformat, all data except for any existing /home directory will be "
  12.626 -"removed, \n"
  12.627 +"\tformat, all data except for any existing /home directory will be removed,\n"
  12.628  "\tthe home directory will be kept as is."
  12.629  msgstr ""
  12.630  
  12.631 @@ -1128,7 +1175,7 @@
  12.632  "\tYou can graphically manage your partitions with Gparted"
  12.633  msgstr ""
  12.634  
  12.635 -#: installer.cgi:169 installer.cgi:249
  12.636 +#: installer.cgi:169 installer.cgi:249 styles/default/header.sh:90
  12.637  msgid "Install SliTaz"
  12.638  msgstr ""
  12.639  
  12.640 @@ -1155,8 +1202,8 @@
  12.641  
  12.642  #: installer.cgi:197
  12.643  msgid ""
  12.644 -"On most used systems, the hard drive is already dedicated to \n"
  12.645 -"\tpartitions for Windows<sup>&copy;</sup>, or Linux, or another operating \n"
  12.646 +"On most used systems, the hard drive is already dedicated to\n"
  12.647 +"\tpartitions for Windows<sup>&copy;</sup>, or Linux, or another operating\n"
  12.648  "\tsystem. You'll need to resize these partitions in order to make space for\n"
  12.649  "\tSliTaz GNU/Linux. SliTaz will co-exist with other operating systems "
  12.650  "already\n"
  12.651 @@ -1165,7 +1212,7 @@
  12.652  
  12.653  #: installer.cgi:204
  12.654  msgid ""
  12.655 -"The amount of space needed depends on how much software you \n"
  12.656 +"The amount of space needed depends on how much software you\n"
  12.657  "\tplan to install\tand how much space you require for users. It's "
  12.658  "conceivable\n"
  12.659  "\tthat you could run a minimal SliTaz system in 300 megs or less, but 2 "
  12.660 @@ -1175,7 +1222,7 @@
  12.661  
  12.662  #: installer.cgi:209
  12.663  msgid ""
  12.664 -"A separate home partition, and a partition that will be used \n"
  12.665 +"A separate home partition, and a partition that will be used\n"
  12.666  "\tas Linux swap space may be created if needed. Slitaz detects and uses "
  12.667  "swap\n"
  12.668  "\tpartitions automatically."
  12.669 @@ -1194,7 +1241,7 @@
  12.670  msgid ""
  12.671  "Gparted supports ext2, ext3, ext4, linux swap, ntfs and fat32\n"
  12.672  "\tfilesystems right out of the box. Support for xjs, jfs, hfs and other\n"
  12.673 -"\tfilesystems is available as well but you first need to add drivers for \n"
  12.674 +"\tfilesystems is available as well but you first need to add drivers for\n"
  12.675  "\tthese filesystems by installing the related packages xfsprogs, jfsutils,\n"
  12.676  "\tlinux-hfs and so on."
  12.677  msgstr ""
  12.678 @@ -1224,9 +1271,8 @@
  12.679  #: installer.cgi:250
  12.680  msgid ""
  12.681  "You're going to install SliTaz on a partition of your hard disk drive. If\n"
  12.682 -"\tyou decide to format your HDD, all data will be lost. If you do not \n"
  12.683 -"\tformat, all data except for any existing /home directory will be "
  12.684 -"removed, \n"
  12.685 +"\tyou decide to format your HDD, all data will be lost. If you do not\n"
  12.686 +"\tformat, all data except for any existing /home directory will be removed,\n"
  12.687  "\tthe home directory will be kept as is."
  12.688  msgstr ""
  12.689  
  12.690 @@ -1388,7 +1434,7 @@
  12.691  
  12.692  #: installer.cgi:532
  12.693  msgid ""
  12.694 -"If your browser doesn't automatically redirect within a few seconds, \n"
  12.695 +"If your browser doesn't automatically redirect within a few seconds,\n"
  12.696  "you may want to go there manually"
  12.697  msgstr ""
  12.698  
  12.699 @@ -1413,3 +1459,79 @@
  12.700  #: installer.cgi:630 installer.cgi:641
  12.701  msgid "Do you really want to continue?"
  12.702  msgstr ""
  12.703 +
  12.704 +#: styles/default/header.sh:29
  12.705 +msgid "Processes"
  12.706 +msgstr ""
  12.707 +
  12.708 +#: styles/default/header.sh:31
  12.709 +msgid "Create Report"
  12.710 +msgstr ""
  12.711 +
  12.712 +#: styles/default/header.sh:34
  12.713 +msgid "Packages"
  12.714 +msgstr ""
  12.715 +
  12.716 +#: styles/default/header.sh:41
  12.717 +msgid "Check updates"
  12.718 +msgstr ""
  12.719 +
  12.720 +#: styles/default/header.sh:46
  12.721 +msgid "Network"
  12.722 +msgstr ""
  12.723 +
  12.724 +#: styles/default/header.sh:49
  12.725 +msgid "Ethernet"
  12.726 +msgstr ""
  12.727 +
  12.728 +#: styles/default/header.sh:51
  12.729 +msgid "Wireless"
  12.730 +msgstr ""
  12.731 +
  12.732 +#: styles/default/header.sh:53
  12.733 +msgid "Config file"
  12.734 +msgstr ""
  12.735 +
  12.736 +#: styles/default/header.sh:56
  12.737 +msgid "Settings"
  12.738 +msgstr ""
  12.739 +
  12.740 +#: styles/default/header.sh:59
  12.741 +msgid "Users"
  12.742 +msgstr ""
  12.743 +
  12.744 +#: styles/default/header.sh:62
  12.745 +msgid "Boot"
  12.746 +msgstr ""
  12.747 +
  12.748 +#: styles/default/header.sh:72
  12.749 +msgid "Hardware"
  12.750 +msgstr ""
  12.751 +
  12.752 +#: styles/default/header.sh:77
  12.753 +msgid "Detect PCI/USB"
  12.754 +msgstr ""
  12.755 +
  12.756 +#: styles/default/header.sh:80
  12.757 +msgid "Live"
  12.758 +msgstr ""
  12.759 +
  12.760 +#: styles/default/header.sh:82
  12.761 +msgid "Create a live USB key"
  12.762 +msgstr ""
  12.763 +
  12.764 +#: styles/default/header.sh:83
  12.765 +msgid "Create a live CD-ROM"
  12.766 +msgstr ""
  12.767 +
  12.768 +#: styles/default/header.sh:91
  12.769 +msgid "Upgrade system"
  12.770 +msgstr ""
  12.771 +
  12.772 +#: styles/default/footer.sh:6
  12.773 +msgid "Copyright"
  12.774 +msgstr ""
  12.775 +
  12.776 +#: styles/default/footer.sh:8
  12.777 +msgid "BSD License"
  12.778 +msgstr ""
    13.1 --- a/settings.cgi	Mon Apr 09 23:59:46 2012 +0200
    13.2 +++ b/settings.cgi	Wed Apr 11 20:12:41 2012 +0300
    13.3 @@ -12,7 +12,7 @@
    13.4  get_config
    13.5  header
    13.6  
    13.7 -TITLE="- Settings"
    13.8 +TITLE=$(gettext 'TazPanel - Settings')
    13.9  
   13.10  #
   13.11  # Commands executed before page loading.
   13.12 @@ -70,7 +70,7 @@
   13.13  		sed -i s@/:root:.*@/:root:$(GET panel_pass)@ $HTTPD_CONF ;;
   13.14  	*\ style*)
   13.15  		sed -i s/'^STYLE.*'/"STYLE=\"$(GET style)\""/ $CONFIG
   13.16 -		. $CONFIG ;;	
   13.17 +		. $CONFIG ;;
   13.18  esac
   13.19  
   13.20  #
    14.1 --- a/styles/default/footer.html	Mon Apr 09 23:59:46 2012 +0200
    14.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
    14.3 @@ -1,12 +0,0 @@
    14.4 -
    14.5 -<!-- End of content-->
    14.6 -</div>
    14.7 -
    14.8 -<div id="footer">
    14.9 -	Copyright &copy; 2012
   14.10 -	<a href="http://www.slitaz.org/">SliTaz GNU/Linux</a>
   14.11 -	- <a href="/index.cgi?file=/usr/share/licenses/bsd.txt">BSD License</a>
   14.12 -</div>
   14.13 -
   14.14 -</body>
   14.15 -</html>
    15.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
    15.2 +++ b/styles/default/footer.sh	Wed Apr 11 20:12:41 2012 +0300
    15.3 @@ -0,0 +1,13 @@
    15.4 +cat << EOT
    15.5 +<!-- End of content-->
    15.6 +</div>
    15.7 +
    15.8 +<div id="footer">
    15.9 +	$(gettext 'Copyright') &copy; 2012
   15.10 +	<a href="http://www.slitaz.org/">SliTaz GNU/Linux</a>
   15.11 +	- <a href="/index.cgi?file=/usr/share/licenses/bsd.txt">$(gettext 'BSD License')</a>
   15.12 +</div>
   15.13 +
   15.14 +</body>
   15.15 +</html>
   15.16 +EOT
    16.1 --- a/styles/default/header.html	Mon Apr 09 23:59:46 2012 +0200
    16.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
    16.3 @@ -1,101 +0,0 @@
    16.4 -<!DOCTYPE html>
    16.5 -<html xmlns="http://www.w3.org/1999/xhtml">
    16.6 -<head>
    16.7 -	<title>Tazpanel - %TITLE%</title>
    16.8 -	<meta charset="utf-8" />
    16.9 -	<link rel="shortcut icon" href="/styles/default/favicon.ico" />
   16.10 -	<link rel="stylesheet" type="text/css" href="/styles/default/style.css" />
   16.11 -	<!-- Function to hide the loading message when page is generated. -->
   16.12 -	<script type="text/javascript">
   16.13 -		function showLoading(){
   16.14 -			document.getElementById("loading").style.display='none';
   16.15 -		}
   16.16 -	</script>
   16.17 -</head>
   16.18 -<body onload="showLoading()"> 
   16.19 -
   16.20 -<div id="toolbar">
   16.21 -	<div id="icons">
   16.22 -		<a href="/help.cgi">
   16.23 -			<img src="/styles/default/images/help.png" /></a>
   16.24 -	</div>
   16.25 -	<ul id="menu">
   16.26 -		<li><a href="/">Panel</a>
   16.27 -			<ul>
   16.28 -				<li><a href="/index.cgi?terminal"><img
   16.29 -					src="/styles/default/images/terminal.png" />Terminal</a></li>
   16.30 -				<li><a href="/index.cgi?top"><img
   16.31 -					src="/styles/default/images/monitor.png" />Processes</a></li>
   16.32 -				<li><a href="/index.cgi?report"><img
   16.33 -					src="/styles/default/images/text.png" />Create Report</a></li>
   16.34 -			</ul>
   16.35 -		</li>
   16.36 -		<li><a href="/pkgs.cgi">Packages</a>
   16.37 -			<ul>
   16.38 -				<li><a href="/pkgs.cgi?list"><img
   16.39 -					src="/styles/default/images/tazpkg.png" />My packages</a></li>
   16.40 -				<li><a href="/pkgs.cgi?recharge"><img
   16.41 -					src="/styles/default/images/update.png" />Recharge list</a></li>
   16.42 -				<li><a href="/pkgs.cgi?up"><img
   16.43 -					src="/styles/default/images/update.png" />Check updates</a></li>
   16.44 -				<li><a href="/pkgs.cgi?admin"><img
   16.45 -					src="/styles/default/images/edit.png" />Administration</a></li>
   16.46 -			</ul>
   16.47 -		</li>
   16.48 -		<li><a href="/network.cgi">Network</a>
   16.49 -			<ul>
   16.50 -				<li><a href="/network.cgi?eth"><img
   16.51 -					src="/styles/default/images/ethernet.png" />Ethernet</a></li>
   16.52 -				<li><a href="/network.cgi?wifi"><img
   16.53 -					src="/styles/default/images/wireless.png" />Wireless</a></li>
   16.54 -				<li><a href="/index.cgi?file=/etc/network.conf"><img
   16.55 -					src="/styles/default/images/edit.png" />Config file</a></li>
   16.56 -			</ul>
   16.57 -		</li>
   16.58 -		<li><a href="/settings.cgi">Settings</a>
   16.59 -			<ul>
   16.60 -				<li><a href="/settings.cgi?users"><img
   16.61 -					src="/styles/default/images/users.png" />Users</a></li>
   16.62 -			</ul>
   16.63 -		</li>
   16.64 -		<li><a href="/boot.cgi">Boot</a>
   16.65 -			<ul>
   16.66 -				<li><a href="/boot.cgi?log"><img
   16.67 -					src="/styles/default/images/text.png" />Boot logs</a></li>
   16.68 -				<li><a href="/boot.cgi?daemons"><img
   16.69 -					src="/styles/default/images/recharge.png" />Manage daemons</a></li>
   16.70 -				<li><a href="/boot.cgi?grub"><img
   16.71 -					src="/styles/default/images/tux.png" />Boot loader</a></li>
   16.72 -			</ul>
   16.73 -		</li>
   16.74 -		<li><a href="/hardware.cgi">Hardware</a>
   16.75 -			<ul>
   16.76 -				<li><a href="/hardware.cgi?modules"><img
   16.77 -					src="/styles/default/images/tux.png" />Kernel modules</a></li>
   16.78 -				<li><a href="/hardware.cgi?detect"><img
   16.79 -					src="/styles/default/images/monitor.png" />Detect PCI/USB</a></li>
   16.80 -			</ul>
   16.81 -		</li>
   16.82 -		<li><a href="/live.cgi">Live</a>
   16.83 -			<ul>
   16.84 -				<li><a href="/live.cgi?liveusb">Create a live USB key</a></li>
   16.85 -				<li><a href="/live.cgi#liveiso">Create a live CD-ROM</a></li>
   16.86 -				<li><a href="/live.cgi#loram">Convert ISO to loram</a></li>
   16.87 -				<li><a href="/live.cgi#meta">Build a meta ISO</a></li>
   16.88 -			</ul>
   16.89 -		</li>
   16.90 -		<li><a href="/installer.cgi">Install</a>
   16.91 -			<ul>
   16.92 -				<li><a href="/installer.cgi?page=menu_install">Install SliTaz</a></li>
   16.93 -				<li><a href="/installer.cgi?page=menu_upgrade">Upgrade system</a></li>
   16.94 -			</ul>
   16.95 -		</li>
   16.96 -	</ul>
   16.97 -</div>
   16.98 -
   16.99 -<div id="header">
  16.100 -	<h1>TazPanel - %TITLE%</h1>
  16.101 -</div>
  16.102 -
  16.103 -<!-- Page content -->
  16.104 -<div id="content">
    17.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
    17.2 +++ b/styles/default/header.sh	Wed Apr 11 20:12:41 2012 +0300
    17.3 @@ -0,0 +1,103 @@
    17.4 +cat << EOT
    17.5 +<!DOCTYPE html>
    17.6 +<html xmlns="http://www.w3.org/1999/xhtml" lang="$(echo $LANG | cut -f1 -d_)">
    17.7 +<head>
    17.8 +	<title>$TITLE</title>
    17.9 +	<meta charset="utf-8" />
   17.10 +	<link rel="shortcut icon" href="/styles/default/favicon.ico" />
   17.11 +	<link rel="stylesheet" type="text/css" href="/styles/default/style.css" />
   17.12 +	<!-- Function to hide the loading message when page is generated. -->
   17.13 +	<script type="text/javascript">
   17.14 +		function showLoading(){
   17.15 +			document.getElementById("loading").style.display='none';
   17.16 +		}
   17.17 +	</script>
   17.18 +</head>
   17.19 +<body onload="showLoading()">
   17.20 +
   17.21 +<div id="toolbar">
   17.22 +	<div id="icons">
   17.23 +		<a href="/help.cgi">
   17.24 +			<img src="/styles/default/images/help.png" alt="Help" /></a>
   17.25 +	</div>
   17.26 +	<ul id="menu">
   17.27 +		<li><a href="/">$(gettext 'Panel')</a>
   17.28 +			<ul>
   17.29 +				<li><a href="/index.cgi?terminal"><img
   17.30 +					src="/styles/default/images/terminal.png" />$(gettext 'Terminal')</a></li>
   17.31 +				<li><a href="/index.cgi?top"><img
   17.32 +					src="/styles/default/images/monitor.png" />$(gettext 'Processes')</a></li>
   17.33 +				<li><a href="/index.cgi?report"><img
   17.34 +					src="/styles/default/images/text.png" />$(gettext 'Create Report')</a></li>
   17.35 +			</ul>
   17.36 +		</li>
   17.37 +		<li><a href="/pkgs.cgi">$(gettext 'Packages')</a>
   17.38 +			<ul>
   17.39 +				<li><a href="/pkgs.cgi?list"><img
   17.40 +					src="/styles/default/images/tazpkg.png" />$(gettext 'My packages')</a></li>
   17.41 +				<li><a href="/pkgs.cgi?recharge"><img
   17.42 +					src="/styles/default/images/update.png" />$(gettext 'Recharge list')</a></li>
   17.43 +				<li><a href="/pkgs.cgi?up"><img
   17.44 +					src="/styles/default/images/update.png" />$(gettext 'Check updates')</a></li>
   17.45 +				<li><a href="/pkgs.cgi?admin"><img
   17.46 +					src="/styles/default/images/edit.png" />$(gettext 'Administration')</a></li>
   17.47 +			</ul>
   17.48 +		</li>
   17.49 +		<li><a href="/network.cgi">$(gettext 'Network')</a>
   17.50 +			<ul>
   17.51 +				<li><a href="/network.cgi?eth"><img
   17.52 +					src="/styles/default/images/ethernet.png" />$(gettext 'Ethernet')</a></li>
   17.53 +				<li><a href="/network.cgi?wifi"><img
   17.54 +					src="/styles/default/images/wireless.png" />$(gettext 'Wireless')</a></li>
   17.55 +				<li><a href="/index.cgi?file=/etc/network.conf"><img
   17.56 +					src="/styles/default/images/edit.png" />$(gettext 'Config file')</a></li>
   17.57 +			</ul>
   17.58 +		</li>
   17.59 +		<li><a href="/settings.cgi">$(gettext 'Settings')</a>
   17.60 +			<ul>
   17.61 +				<li><a href="/settings.cgi?users"><img
   17.62 +					src="/styles/default/images/users.png" />$(gettext 'Users')</a></li>
   17.63 +			</ul>
   17.64 +		</li>
   17.65 +		<li><a href="/boot.cgi">$(gettext 'Boot')</a>
   17.66 +			<ul>
   17.67 +				<li><a href="/boot.cgi?log"><img
   17.68 +					src="/styles/default/images/text.png" />$(gettext 'Boot logs')</a></li>
   17.69 +				<li><a href="/boot.cgi?daemons"><img
   17.70 +					src="/styles/default/images/recharge.png" />$(gettext 'Manage daemons')</a></li>
   17.71 +				<li><a href="/boot.cgi?grub"><img
   17.72 +					src="/styles/default/images/tux.png" />$(gettext 'Boot loader')</a></li>
   17.73 +			</ul>
   17.74 +		</li>
   17.75 +		<li><a href="/hardware.cgi">$(gettext 'Hardware')</a>
   17.76 +			<ul>
   17.77 +				<li><a href="/hardware.cgi?modules"><img
   17.78 +					src="/styles/default/images/tux.png" />$(gettext 'Kernel modules')</a></li>
   17.79 +				<li><a href="/hardware.cgi?detect"><img
   17.80 +					src="/styles/default/images/monitor.png" />$(gettext 'Detect PCI/USB')</a></li>
   17.81 +			</ul>
   17.82 +		</li>
   17.83 +		<li><a href="/live.cgi">$(gettext 'Live')</a>
   17.84 +			<ul>
   17.85 +				<li><a href="/live.cgi?liveusb">$(gettext 'Create a live USB key')</a></li>
   17.86 +				<li><a href="/live.cgi#liveiso">$(gettext 'Create a live CD-ROM')</a></li>
   17.87 +				<li><a href="/live.cgi#loram">$(gettext 'Convert ISO to loram')</a></li>
   17.88 +				<li><a href="/live.cgi#meta">$(gettext 'Build a meta ISO')</a></li>
   17.89 +			</ul>
   17.90 +		</li>
   17.91 +		<li><a href="/installer.cgi">$(gettext 'Install')</a>
   17.92 +			<ul>
   17.93 +				<li><a href="/installer.cgi?page=menu_install">$(gettext 'Install SliTaz')</a></li>
   17.94 +				<li><a href="/installer.cgi?page=menu_upgrade">$(gettext 'Upgrade system')</a></li>
   17.95 +			</ul>
   17.96 +		</li>
   17.97 +	</ul>
   17.98 +</div>
   17.99 +
  17.100 +<div id="header">
  17.101 +	<h1>$TITLE</h1>
  17.102 +</div>
  17.103 +
  17.104 +<!-- Page content -->
  17.105 +<div id="content">
  17.106 +EOT