From 05906b5eb769f3451dbbb71ac3f3ae668b0a2fbd Mon Sep 17 00:00:00 2001 From: Yurii Date: Sun, 29 Nov 2026 05:43:53 +0300 Subject: [PATCH] refactor: clarify settings labels and section notes Shorten Home Assistant discovery translation keys and explain device prefixes and forced publication intervals in all five locales. Put interval units in the help text and visually separate discovery settings. Move emergency guidance to the section level and update its translation path and placement below the fields without changing the help text. --- src_data/locales/cn.json | 20 +++++++++++++------- src_data/locales/en.json | 20 +++++++++++++------- src_data/locales/it.json | 20 +++++++++++++------- src_data/locales/nl.json | 20 +++++++++++++------- src_data/locales/ru.json | 20 +++++++++++++------- src_data/pages/settings.html | 15 ++++++++++----- 6 files changed, 75 insertions(+), 40 deletions(-) diff --git a/src_data/locales/cn.json b/src_data/locales/cn.json index aa750b5..116a442 100644 --- a/src_data/locales/cn.json +++ b/src_data/locales/cn.json @@ -393,10 +393,10 @@ "emergency": { "desc": "紧急模式会在以下情况自动激活(当PID或气候补偿无法计算热媒设定值时):
启用气候补偿但室外温度传感器断开连接;
启用PID或 OpenTherm 选项中启用原生供暖控制但室内温度传感器断开连接。
注意: 网络故障或MQTT 服务器连接故障时,类型为通过MQTT/API手动控制的传感器将显示为断开连接状态。", "target": { - "title": "目标温度", - "note": "重要提示: 若启用OpenTherm选项 «原生供暖控制»,此处设定值为目标室内温度;
其他所有情况下,此处设定值为 目标热媒出水温度." + "title": "目标温度" }, - "thresholdTime": "状态变化延时 (秒)" + "thresholdTime": "状态变化延时 (秒)", + "note": "重要提示: 若启用OpenTherm选项 «原生供暖控制»,此处设定值为目标室内温度;
其他所有情况下,此处设定值为 目标热媒出水温度." }, "equitherm": { "slope": { @@ -492,14 +492,20 @@ } }, "mqtt": { - "homeAssistantDiscovery": "HomeAssistant 自动发现", - "homeAssistantDiscoveryPrefix": "HomeAssistant 自动发现前缀", + "haDiscovery": "HomeAssistant 自动发现", + "haDiscoveryPrefix": "HomeAssistant 自动发现前缀", "server": "服务器地址", "port": "端口", "user": "用户名", "password": "密码", - "prefix": "Prefix 前缀", - "interval": "发布间隔 (秒)" + "prefix": { + "title": "设备前缀", + "note": "设备 MQTT 主题的前缀,每台设备必须唯一" + }, + "interval": { + "title": "发布间隔", + "note": "强制发布数值的周期,即使数值未发生变化也会发布(秒)" + } }, "extPump": { "use": "使用外置循环泵", diff --git a/src_data/locales/en.json b/src_data/locales/en.json index 6e7a16b..80b5f71 100644 --- a/src_data/locales/en.json +++ b/src_data/locales/en.json @@ -393,10 +393,10 @@ "emergency": { "desc": "Emergency mode is activated automatically when «PID» or «Equitherm» cannot calculate the heat carrier setpoint:
- if «Equitherm» is enabled and the outdoor temperature sensor is disconnected;
- if «PID» or OT option «Native heating control» is enabled and the indoor temperature sensor is disconnected.
Note: On network fault or MQTT fault, sensors with «Manual via MQTT/API» type will be in DISCONNECTED state.", "target": { - "title": "Target temperature", - "note": "Important: Target indoor temperature if OT option «Native heating control» is enabled.
In all other cases, the target heat carrier temperature." + "title": "Target temperature" }, - "thresholdTime": "State change delay (sec)" + "thresholdTime": "State change delay (sec)", + "note": "Important: Target indoor temperature if OT option «Native heating control» is enabled.
In all other cases, the target heat carrier temperature." }, "equitherm": { "slope": { @@ -492,14 +492,20 @@ } }, "mqtt": { - "homeAssistantDiscovery": "HomeAssistant Discovery", - "homeAssistantDiscoveryPrefix": "HomeAssistant discovery prefix", + "haDiscovery": "HomeAssistant Discovery", + "haDiscoveryPrefix": "HomeAssistant discovery prefix", "server": "Server", "port": "Port", "user": "User", "password": "Password", - "prefix": "Prefix", - "interval": "Publish interval (sec)" + "prefix": { + "title": "Device prefix", + "note": "MQTT topic prefix, unique to each device" + }, + "interval": { + "title": "Publish interval", + "note": "Interval for forced publication of values, even when unchanged (in seconds)" + } }, "extPump": { "use": "Use external pump", diff --git a/src_data/locales/it.json b/src_data/locales/it.json index 06984fb..a7fd682 100644 --- a/src_data/locales/it.json +++ b/src_data/locales/it.json @@ -393,10 +393,10 @@ "emergency": { "desc": "Il modo emergenza è attivato automaticamente quando «PID» o «Equitherm» non possono calcolare il setpoint:
- se «Equitherm» è attivato e il sensore della temperatura esternare è disconnesso;
- se «PID» o l'opzione OT «Impostazioni riscaldamento native» è attiva e il sensore di temperatura interno è disconnesso.
Nota: In mancanza di rete o MQTT, sensore di tipo «Manuale via MQTT/API» è in stato Disconnesso.", "target": { - "title": "Temperatura impostata", - "note": "Importante: Temperatura interna impostata se l'opzione OT «Controllo riscaldamento interno» è attivato.
In tutti gli altri casi, la target heat carrier temperature." + "title": "Temperatura impostata" }, - "thresholdTime": "Ritardo del cambio di stato (sec)" + "thresholdTime": "Ritardo del cambio di stato (sec)", + "note": "Importante: Temperatura interna impostata se l'opzione OT «Controllo riscaldamento interno» è attivato.
In tutti gli altri casi, la target heat carrier temperature." }, "equitherm": { "slope": { @@ -492,14 +492,20 @@ } }, "mqtt": { - "homeAssistantDiscovery": "HomeAssistant Discovery", - "homeAssistantDiscoveryPrefix": "Prefisso discovery di HomeAssistant", + "haDiscovery": "HomeAssistant Discovery", + "haDiscoveryPrefix": "Prefisso discovery di HomeAssistant", "server": "Server", "port": "Porta", "user": "Utente", "password": "Password", - "prefix": "Prefisso", - "interval": "Intervallo invio (sec)" + "prefix": { + "title": "Prefisso dispositivo", + "note": "Prefisso dei topic MQTT, univoco per ogni dispositivo" + }, + "interval": { + "title": "Intervallo di pubblicazione", + "note": "Intervallo di pubblicazione forzata dei valori, anche se invariati (in secondi)" + } }, "extPump": { "use": "Usa pompa/circolatore esterno", diff --git a/src_data/locales/nl.json b/src_data/locales/nl.json index cdf1c05..4d58b12 100644 --- a/src_data/locales/nl.json +++ b/src_data/locales/nl.json @@ -393,10 +393,10 @@ "emergency": { "desc": "Noodmodus wordt automatisch geactiveerd wanneer «PID» of «Equitherm» het instelpunt van de warmtedrager niet kan berekenen:
- als «Equitherm» is ingeschakeld en de buitentemperatuursensor is losgekoppeld;
- als «PID» of OT-optie «Natuurlijke verwarmingsregeling» is ingeschakeld en de binnentemperatuursensor is losgekoppeld.
Let op: Bij een netwerk- of MQTT-storing krijgen sensoren van het type «Handmatig via MQTT/API» de status ONVERBONDEN.", "target": { - "title": "Doeltemperatuur", - "note": "Belangrijk: Doel binnentemperatuur als OT-optie «Natuurlijke verwarmingsregeling» is ingeschakeld.
In alle andere gevallen, de doel warmtedragertemperatuur." + "title": "Doeltemperatuur" }, - "thresholdTime": "Vertraging bij statuswijziging (sec)" + "thresholdTime": "Vertraging bij statuswijziging (sec)", + "note": "Belangrijk: Doel binnentemperatuur als OT-optie «Natuurlijke verwarmingsregeling» is ingeschakeld.
In alle andere gevallen, de doel warmtedragertemperatuur." }, "equitherm": { "slope": { @@ -492,14 +492,20 @@ } }, "mqtt": { - "homeAssistantDiscovery": "HomeAssistant Discovery", - "homeAssistantDiscoveryPrefix": "Prefix voor HomeAssistant Discovery", + "haDiscovery": "HomeAssistant Discovery", + "haDiscoveryPrefix": "Prefix voor HomeAssistant Discovery", "server": "Server", "port": "Poort", "user": "Gebruiker", "password": "Wachtwoord", - "prefix": "Prefix", - "interval": "Publicatie-interval (sec)" + "prefix": { + "title": "Apparaatvoorvoegsel", + "note": "MQTT-topicvoorvoegsel, uniek voor elk apparaat" + }, + "interval": { + "title": "Publicatie-interval", + "note": "Interval voor het geforceerd publiceren van waarden, ook als ze ongewijzigd zijn (in seconden)" + } }, "extPump": { "use": "Gebruik externe pomp", diff --git a/src_data/locales/ru.json b/src_data/locales/ru.json index e90cd2c..1fb38c9 100644 --- a/src_data/locales/ru.json +++ b/src_data/locales/ru.json @@ -393,10 +393,10 @@ "emergency": { "desc": "Аварийный режим активируется автоматически, если «ПИД» или «ПЗА» не могут рассчитать уставку теплоносителя:
- если «ПЗА» включен и датчик наружной температуры отключен;
- если включен «ПИД» или OT опция «Передать управление отоплением котлу» и датчик внутренней температуры отключен.
Примечание: При сбое сети или MQTT датчики с типом «Вручную через MQTT/API» будут находиться в состоянии ОТКЛЮЧЕН.", "target": { - "title": "Целевая температура", - "note": "Важно: Целевая температура в помещении, если включена ОТ опция «Передать управление отоплением котлу».
Во всех остальных случаях целевая температура теплоносителя." + "title": "Целевая температура" }, - "thresholdTime": "Задержка изменения состояния (сек)" + "thresholdTime": "Задержка изменения состояния (сек)", + "note": "Важно: Целевая температура в помещении, если включена ОТ опция «Передать управление отоплением котлу».
Во всех остальных случаях целевая температура теплоносителя." }, "equitherm": { "slope": { @@ -492,14 +492,20 @@ } }, "mqtt": { - "homeAssistantDiscovery": "Home AssistantDiscovery", - "homeAssistantDiscoveryPrefix": "HomeAssistant Discovery префикс", + "haDiscovery": "HomeAssistant Discovery", + "haDiscoveryPrefix": "HomeAssistant Discovery префикс", "server": "Адрес сервера", "port": "Порт", "user": "Имя пользователя", "password": "Пароль", - "prefix": "Префикс", - "interval": "Интервал публикации (сек)" + "prefix": { + "title": "Префикс устройства", + "note": "Префикс MQTT-топиков, уникальный для каждого устройства" + }, + "interval": { + "title": "Интервал публикации", + "note": "Период принудительной публикации значений, включая неизменившиеся (в секундах)" + } }, "extPump": { "use": "Использовать доп. насос", diff --git a/src_data/pages/settings.html b/src_data/pages/settings.html index 7c5f775..ac50518 100644 --- a/src_data/pages/settings.html +++ b/src_data/pages/settings.html @@ -362,7 +362,6 @@ + settings.emergency.note + @@ -799,15 +800,17 @@ +
+