ac label fix

This commit is contained in:
Evgeny Zinoviev 2022-08-31 23:35:57 +03:00
parent 5015a47303
commit 06ca251b94
2 changed files with 3 additions and 3 deletions

View File

@ -69,7 +69,7 @@ class InverterHandler extends RequestHandler
$status['pv1_input_power']['unit']); $status['pv1_input_power']['unit']);
if ($status['grid_voltage']['value'] > 0 or $status['grid_freq']['value'] > 0) { 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']['value'],
$status['grid_voltage']['unit']); $status['grid_voltage']['unit']);
$html .= sprintf(', %s %s', $html .= sprintf(', %s %s',

View File

@ -444,7 +444,7 @@ class InverterBot(Wrapper):
error_message='<b>Ошибка:</b> %s.', error_message='<b>Ошибка:</b> %s.',
# other notifications # 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_normal='Нормальный',
bat_state_low='Низкий', bat_state_low='Низкий',
@ -507,7 +507,7 @@ class InverterBot(Wrapper):
error_message='<b>Error:</b> %s.', error_message='<b>Error:</b> %s.',
# other notifications # 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_normal='Normal',
bat_state_low='Low', bat_state_low='Low',