tazpanel rev 468

hardware.cgi: fix battery charging display
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Apr 26 19:09:38 2015 +0200 (2015-04-26)
parents 48308cb57e31
children c65bbbb1b0e1
files hardware.cgi
line diff
     1.1 --- a/hardware.cgi	Sun Apr 26 18:40:28 2015 +0200
     1.2 +++ b/hardware.cgi	Sun Apr 26 19:09:38 2015 +0200
     1.3 @@ -267,7 +267,7 @@
     1.4  				"charging")
     1.5  					remtime=$(( ($full - $remain) * 60 / $rate ))
     1.6  					remtimef=$(printf "%d:%02d" $(($remtime/60)) $(($remtime%60)))
     1.7 -					eval_gettext 'Charging %d%% - %s' $rempct $remtimef ;;
     1.8 +					_ 'Charging %d%% - %s' $rempct $remtimef ;;
     1.9  				"charged")
    1.10  					_ 'Charged 100%' ;;
    1.11  				esac