aboutsummaryrefslogtreecommitdiff
path: root/admin/api/serverTemp.php
diff options
context:
space:
mode:
Diffstat (limited to 'admin/api/serverTemp.php')
-rw-r--r--admin/api/serverTemp.php8
1 files changed, 4 insertions, 4 deletions
diff --git a/admin/api/serverTemp.php b/admin/api/serverTemp.php
index 55cf34b..613c411 100644
--- a/admin/api/serverTemp.php
+++ b/admin/api/serverTemp.php
@@ -2,7 +2,7 @@
require_once $_SERVER['DOCUMENT_ROOT'] . "/admin/private/header.api.php";
-echo("Server running at <b>");
+echo(l("Server running at", "Serveur fonctionnant à") . " <b>");
exec("sensors -j", $out);
$outp = implode("\n", $out);
$outd = json_decode($outp, true);
@@ -12,9 +12,9 @@ echo(round($outd["cpu_thermal-virtual-0"]["temp1"]["temp1_input"], 1));
?>°C</b>, <?php
if ($outd["cpu_thermal-virtual-0"]["temp1"]["temp1_input"] > 90) {
- echo("completely overheating!");
+ echo(l("completely overheating!", "en pleine surchauffe !"));
} else if ($outd["cpu_thermal-virtual-0"]["temp1"]["temp1_input"] > 60) {
- echo("starting to throttle!");
+ echo(l("starting to throttle!", "commence à être bridé !"));
} else {
- echo("under normal temperatures");
+ echo(l("under normal temperatures", "températures habituelles"));
} \ No newline at end of file