tazpanel diff index.cgi @ rev 378
Use /lib/libtaz.sh and msgmerge
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Sat Dec 21 21:40:29 2013 +0100 (2013-12-21) |
parents | 5c7e041e367a |
children | b3f5245b1e90 |
line diff
1.1 --- a/index.cgi Mon Jul 01 10:07:17 2013 +0200 1.2 +++ b/index.cgi Sat Dec 21 21:40:29 2013 +0100 1.3 @@ -236,7 +236,7 @@ 1.4 output=/var/cache/slitaz/sys-report.html 1.5 xhtml_header 1.6 cat << EOT 1.7 -<h2>$(eval_gettext "Reporting to: $output")</h2> 1.8 +<h2>$(eval_gettext 'Reporting to: $output')</h2> 1.9 <table class="zebra outbox"> 1.10 <tbody> 1.11 <tr><td>$(gettext 'Creating report header...')</td> 1.12 @@ -367,7 +367,7 @@ 1.13 hostname=$(hostname) 1.14 cat << EOT 1.15 <div id="wrapper"> 1.16 - <h2>$(eval_gettext "Host: $hostname")</h2> 1.17 + <h2>$(eval_gettext 'Host: $hostname')</h2> 1.18 <p>$(gettext 'SliTaz administration and configuration Panel')<p> 1.19 </div> 1.20 <div id="actions"> 1.21 @@ -391,7 +391,7 @@ 1.22 free -m | grep Mem: | awk '{print $2, $3, $4}' | while read memtotal memused memfree 1.23 do 1.24 cat << EOT 1.25 - <td>$(eval_gettext "Total: $memtotal, Used: $memused, Free: $memfree")</td> 1.26 + <td>$(eval_gettext 'Total: $memtotal, Used: $memused, Free: $memfree')</td> 1.27 EOT 1.28 done 1.29 cat << EOT