From 06ca251b94e06b8fe58437704a7ada716d3056b0 Mon Sep 17 00:00:00 2001 From: Evgeny Zinoviev Date: Wed, 31 Aug 2022 23:35:57 +0300 Subject: ac label fix --- localwebsite/handlers/InverterHandler.php | 2 +- src/inverter_bot.py | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/localwebsite/handlers/InverterHandler.php b/localwebsite/handlers/InverterHandler.php index cb6571d..8fb5d74 100644 --- a/localwebsite/handlers/InverterHandler.php +++ b/localwebsite/handlers/InverterHandler.php @@ -69,7 +69,7 @@ class InverterHandler extends RequestHandler $status['pv1_input_power']['unit']); if ($status['grid_voltage']['value'] > 0 or $status['grid_freq']['value'] > 0) { - $html .= "\n".sprintf('A/C input: %s %s', + $html .= "\n".sprintf('AC input: %s %s', $status['grid_voltage']['value'], $status['grid_voltage']['unit']); $html .= sprintf(', %s %s', diff --git a/src/inverter_bot.py b/src/inverter_bot.py index 447eeb1..b8a01c4 100755 --- a/src/inverter_bot.py +++ b/src/inverter_bot.py @@ -444,7 +444,7 @@ class InverterBot(Wrapper): error_message='Ошибка: %s.', # other notifications - ac_mode_changed_notification='Пользователь %s установил режим A/C: %s.', + ac_mode_changed_notification='Пользователь %s установил режим AC: %s.', bat_state_normal='Нормальный', bat_state_low='Низкий', @@ -507,7 +507,7 @@ class InverterBot(Wrapper): error_message='Error: %s.', # other notifications - ac_mode_changed_notification='User %s set A/C mode to %s.', + ac_mode_changed_notification='User %s set AC mode to %s.', bat_state_normal='Normal', bat_state_low='Low', -- cgit v1.2.3