From mboxrd@z Thu Jan 1 00:00:00 1970 From: Peter =?utf-8?q?M=C3=BCller?= To: development@lists.ipfire.org Subject: [PATCH] system.cgi: properly translate load average graph Date: Mon, 27 Apr 2020 17:37:41 +0200 Message-ID: MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============7151727997119657091==" List-Id: --===============7151727997119657091== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Signed-off-by: Peter M=C3=BCller --- config/cfgroot/graphs.pl | 2 +- html/cgi-bin/system.cgi | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/config/cfgroot/graphs.pl b/config/cfgroot/graphs.pl index 1bed49fa3..928a74cfb 100644 --- a/config/cfgroot/graphs.pl +++ b/config/cfgroot/graphs.pl @@ -256,7 +256,7 @@ sub updateloadgraph { "-1".$period, "-l 0", "-r", - "-t Load Average ".$Lang::tr{'graph per'}." ".$Lang::tr{$period."-graph"}, + "-t ".$Lang::tr{'uptime load average'}." ".$Lang::tr{'graph per'}." ".$Lan= g::tr{$period."-graph"}, "-v ".$Lang::tr{'processes'}, "--color=3DSHADEA".$color{"color19"}, "--color=3DSHADEB".$color{"color19"}, diff --git a/html/cgi-bin/system.cgi b/html/cgi-bin/system.cgi index 487ba996c..2c83f1e81 100644 --- a/html/cgi-bin/system.cgi +++ b/html/cgi-bin/system.cgi @@ -66,7 +66,7 @@ if ( $querry[0] =3D~ "cpufreq"){ &Header::closebox(); } =20 - &Header::openbox('100%', 'center', "Load $Lang::tr{'graph'}"); + &Header::openbox('100%', 'center', "$Lang::tr{'uptime load average'} $Lang:= :tr{'graph'}"); &Graphs::makegraphbox("system.cgi","load","day"); &Header::closebox(); =20 --=20 2.16.4 --===============7151727997119657091==--