[1/4] graphs.pl: Added translation for 'ACPI Thermal Zone'

Message ID 20200905154113.3555-1-matthias.fischer@ipfire.org
State Accepted
Commit fa088214bc9eea0a3c1a906780bd6074af070646
Headers
Series [1/4] graphs.pl: Added translation for 'ACPI Thermal Zone' |

Commit Message

Matthias Fischer Sept. 5, 2020, 3:41 p.m. UTC
  This patchset is based on https://git.ipfire.org/?p=people/ms/ipfire-2.x.git;a=commitdiff;h=4bf0d000ffe961cdc5d9dbd27b3a11f900b3daed

Signed-off-by: Matthias Fischer <matthias.fischer@ipfire.org>
---
 config/cfgroot/graphs.pl | 2 +-
 langs/de/cgi-bin/de.pl   | 1 +
 langs/en/cgi-bin/en.pl   | 1 +
 3 files changed, 3 insertions(+), 1 deletion(-)
  

Patch

diff --git a/config/cfgroot/graphs.pl b/config/cfgroot/graphs.pl
index 5f146d226..8473613a3 100644
--- a/config/cfgroot/graphs.pl
+++ b/config/cfgroot/graphs.pl
@@ -1088,7 +1088,7 @@  sub updatethermaltempgraph {
 		"--start",
 		"-1".$period,
 		"-r",
-		"-t "."ACPI Thermal-Zone Temperature"." - ".$Lang::tr{$period."-graph"},
+		"-t ".$Lang::tr{'acpitemp'}." ".$Lang::tr{'graph per'}." ".$Lang::tr{$period."-graph"},
 		"-v Grad Celsius",
 		"--color=SHADEA".$color{"color19"},
 		"--color=SHADEB".$color{"color19"},
diff --git a/langs/de/cgi-bin/de.pl b/langs/de/cgi-bin/de.pl
index 0c4a3b5b9..119b29913 100644
--- a/langs/de/cgi-bin/de.pl
+++ b/langs/de/cgi-bin/de.pl
@@ -135,6 +135,7 @@ 
 'accounting' => 'Benutzerverwaltung',
 'accounting user nonpdc' => 'Benutzerverwaltung - kein PDC Modus',
 'accounting user pdc' => 'Benutzerverwaltung - PDC Modus',
+'acpitemp' => 'ACPI - Temperaturen',
 'action' => 'Aktion',
 'activate' => 'aktivieren',
 'activate user' => 'Benutzer aktivieren',
diff --git a/langs/en/cgi-bin/en.pl b/langs/en/cgi-bin/en.pl
index 42ee304f7..592ee7fb7 100644
--- a/langs/en/cgi-bin/en.pl
+++ b/langs/en/cgi-bin/en.pl
@@ -133,6 +133,7 @@ 
 'accounting' => 'Accounting',
 'accounting user nonpdc' => 'Accounting - none PDC Mode',
 'accounting user pdc' => 'Accounting - PDC Mode',
+'acpitemp' => 'ACPI - Temperatures',
 'action' => 'Action',
 'activate' => 'Activate',
 'activate user' => 'Activate user',