graphs.pl: Standardize localization strings for entropy graphs
Commit Message
Signed-off-by: Matthias Fischer <matthias.fischer@ipfire.org>
---
config/cfgroot/graphs.pl | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
Comments
Reviewed-by: Michael Tremer <michael.tremer@ipfire.org>
> On 22 Aug 2020, at 23:01, Matthias Fischer <matthias.fischer@ipfire.org> wrote:
>
> Signed-off-by: Matthias Fischer <matthias.fischer@ipfire.org>
> ---
> config/cfgroot/graphs.pl | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/config/cfgroot/graphs.pl b/config/cfgroot/graphs.pl
> index de306710e..9b310d458 100644
> --- a/config/cfgroot/graphs.pl
> +++ b/config/cfgroot/graphs.pl
> @@ -1142,7 +1142,7 @@ sub updateentropygraph {
> "-1".$period,
> "-r",
> "--lower-limit","0",
> - "-t $Lang::tr{'entropy'}",
> + "-t ".$Lang::tr{'entropy'}." ".$Lang::tr{'graph per'}." ".$Lang::tr{$period."-graph"},
> "-v $Lang::tr{'bit'}",
> "DEF:entropy=$mainsettings{'RRDLOG'}/collectd/localhost/entropy/entropy.rrd:entropy:AVERAGE",
> "LINE3:entropy#ff0000:" . sprintf("%-15s", $Lang::tr{'entropy'}),
> --
> 2.17.1
>
@@ -1142,7 +1142,7 @@ sub updateentropygraph {
"-1".$period,
"-r",
"--lower-limit","0",
- "-t $Lang::tr{'entropy'}",
+ "-t ".$Lang::tr{'entropy'}." ".$Lang::tr{'graph per'}." ".$Lang::tr{$period."-graph"},
"-v $Lang::tr{'bit'}",
"DEF:entropy=$mainsettings{'RRDLOG'}/collectd/localhost/entropy/entropy.rrd:entropy:AVERAGE",
"LINE3:entropy#ff0000:" . sprintf("%-15s", $Lang::tr{'entropy'}),