system.cgi: correctly translate CPU frequency

The CPU frequency diagram used the same "translation" as the CPU load,
which was confusing. This patch introduces a dedicated translation for
"CPU frequency", which makes things a little bit better but still does
not solve a Deppenleerzeichen ("CPU-Frequenz Diagramm") in the German
translation.

Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
Reviewed-by: Michael Tremer <michael.tremer@ipfire.org>
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
This commit is contained in:
Peter Müller
2020-04-11 11:02:26 +02:00
committed by Arne Fitzenreiter
parent 2a554ea34f
commit 003fb6f608
3 changed files with 3 additions and 1 deletions

View File

@@ -61,7 +61,7 @@ if ( $querry[0] =~ "cpufreq"){
&Header::closebox();
if ( -e "$mainsettings{'RRDLOG'}/collectd/localhost/cpufreq/cpufreq-0.rrd"){
&Header::openbox('100%', 'center', "CPU $Lang::tr{'graph'}");
&Header::openbox('100%', 'center', "$Lang::tr{'cpu frequency'} $Lang::tr{'graph'}");
&Graphs::makegraphbox("system.cgi","cpufreq","day");
&Header::closebox();
}

View File

@@ -662,6 +662,7 @@
'country' => 'Land',
'country codes and flags' => 'Länder und Länderkennungen',
'countrycode' => 'Kennung',
'cpu frequency' => 'CPU-Frequenz',
'cpu frequency per' => 'CPU-Frequenz pro',
'cpu idle usage' => 'Leerlauf CPU-Nutzung',
'cpu interrupt usage' => 'Interrupt CPU-Nutzung',

View File

@@ -678,6 +678,7 @@
'country' => 'Country',
'country codes and flags' => 'Country Codes and Flags:',
'countrycode' => 'Code',
'cpu frequency' => 'CPU frequency',
'cpu frequency per' => 'CPU frequency per',
'cpu idle usage' => 'Idle CPU Usage',
'cpu interrupt usage' => 'Interrupt CPU Usage',