diff options
author | Evgeny Zinoviev <me@ch1p.io> | 2022-08-31 23:35:57 +0300 |
---|---|---|
committer | Evgeny Zinoviev <me@ch1p.io> | 2022-08-31 23:35:57 +0300 |
commit | 06ca251b94e06b8fe58437704a7ada716d3056b0 (patch) | |
tree | 0b970b14c38f1ddab3a12389f98ee792c1b9e175 | |
parent | 5015a473032806718eeaa601c3099a93d5bfff73 (diff) |
ac label fix
-rw-r--r-- | localwebsite/handlers/InverterHandler.php | 2 | ||||
-rwxr-xr-x | 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('<b>A/C input:</b> %s %s', + $html .= "\n".sprintf('<b>AC input:</b> %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='<b>Ошибка:</b> %s.', # other notifications - ac_mode_changed_notification='Пользователь <a href="tg://user?id=%d">%s</a> установил режим A/C: <b>%s</b>.', + ac_mode_changed_notification='Пользователь <a href="tg://user?id=%d">%s</a> установил режим AC: <b>%s</b>.', bat_state_normal='Нормальный', bat_state_low='Низкий', @@ -507,7 +507,7 @@ class InverterBot(Wrapper): error_message='<b>Error:</b> %s.', # other notifications - ac_mode_changed_notification='User <a href="tg://user?id=%d">%s</a> set A/C mode to <b>%s</b>.', + ac_mode_changed_notification='User <a href="tg://user?id=%d">%s</a> set AC mode to <b>%s</b>.', bat_state_normal='Normal', bat_state_low='Low', |