From 3ce222e565926e81d9463cc7e3010ca71540ba12 Mon Sep 17 00:00:00 2001 From: JEALG Date: Mon, 21 Apr 2025 08:34:55 +0200 Subject: [PATCH 1/4] auteur changement --- plugin_info/info.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugin_info/info.json b/plugin_info/info.json index d31ba76..94f2377 100644 --- a/plugin_info/info.json +++ b/plugin_info/info.json @@ -11,7 +11,7 @@ }, "usage": "Ce plugin permet de calculer l'effet du vent sur la température ressentie, windchill (plutôt lorsque les températures sont basses), ainsi que l'effet d'inconfort provoqué par le taux d'humidité lorsque les températures sont élevées (humidex).", "licence": "AGPL", - "author": "Claude Metzger / JAG", + "author": "JAG", "require": "4.2", "os": { "min": 10, From e3092edcf5a548eb5f3c8306b8a62099ae56f9f0 Mon Sep 17 00:00:00 2001 From: JEALG Date: Fri, 6 Mar 2026 09:52:10 +0100 Subject: [PATCH 2/4] traduction --- .github/workflows/build.yml | 4 ++-- core/class/temperature.class.php | 8 ++++---- desktop/php/temperature.php | 4 ++-- docs/fr_FR/index.md | 2 +- plugin_info/install.php | 7 ++++++- 5 files changed, 15 insertions(+), 10 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index c3a1962..f87723a 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -1,4 +1,4 @@ -name: PHP8.3 +name: PHP8.3/4 on: push: @@ -11,6 +11,6 @@ jobs: steps: - uses: actions/checkout@v4 - name: PHP Syntax Checker (Lint) - uses: StephaneBour/actions-php-lint@8.3 + uses: StephaneBour/actions-php-lint@8.4 with: dir: "." diff --git a/core/class/temperature.class.php b/core/class/temperature.class.php index eac9e3c..7255021 100644 --- a/core/class/temperature.class.php +++ b/core/class/temperature.class.php @@ -353,12 +353,12 @@ public function getInformations() } log::add('temperature', 'debug', '| ───▶︎ ' . __('Vent', __FILE__) . ' : ' . $wind . ' ' . $wind_unite); - /* ********************** Seuil PRE-Alerte Humidex*************************** => VALABLE AUSSI POUR LE PLUGIN TEMPERATURE/ROSEE*/ + /* ********************** Seuil Préalerte Humidex*************************** => VALABLE AUSSI POUR LE PLUGIN TEMPERATURE/ROSEE*/ $pre_seuil = $this->getConfiguration('PRE_SEUIL'); - $msg_log_pre_seuil = __('Seuil Pré-Alerte Humidex', __FILE__); + $msg_log_pre_seuil = __('Seuil Préalerte Humidex', __FILE__); if ($pre_seuil === '') { $pre_seuil = 30; - $msg_log_pre_seuil = __('Aucun Seuil Pré-Alerte Humidex de saisie, valeur par défaut', __FILE__); + $msg_log_pre_seuil = __('Aucun Seuil Préalerte Humidex de saisie, valeur par défaut', __FILE__); } log::add('temperature', 'debug', '| ───▶︎ ' . $msg_log_pre_seuil . ' : ' . $pre_seuil . ' °C'); @@ -529,7 +529,7 @@ public static function getTemperature($wind, $temperature, $humidity, $pre_seuil } else { $alert_2 = 0; } - log::add('temperature', 'debug', '| ───▶︎ ' . __('Seuil Pré-alerte', __FILE__) . ' Humidex : ' . $alert_1 . ' / ' . __('Seuil Alerte Haute', __FILE__) . ' Humidex : ' . $alert_2); + log::add('temperature', 'debug', '| ───▶︎ ' . __('Seuil Préalerte', __FILE__) . ' Humidex : ' . $alert_1 . ' / ' . __('Seuil Alerte Haute', __FILE__) . ' Humidex : ' . $alert_2); return array($windchill, $td, $td_num, $humidex, $alert_1, $alert_2); } diff --git a/desktop/php/temperature.php b/desktop/php/temperature.php index 55748ce..bf073a7 100644 --- a/desktop/php/temperature.php +++ b/desktop/php/temperature.php @@ -180,8 +180,8 @@
-