refactor: reformat locales

This commit is contained in:
Yurii
2026-05-16 13:42:28 +03:00
parent ef1d6bf195
commit 44fb0afffa
7 changed files with 64 additions and 34 deletions
+12 -6
View File
@@ -89,7 +89,7 @@
"thermostat": { "thermostat": {
"heating": "供暖", "heating": "供暖",
"dhw": "生活热水", "dhw": "生活热水",
"temp.current": "当前温度", "currentTemp": "当前温度",
"enable": "启用", "enable": "启用",
"turbo": "Turbo 模式" "turbo": "Turbo 模式"
}, },
@@ -188,7 +188,9 @@
}, },
"sta": { "sta": {
"channel.note": "自动选择设置为0" "channel": {
"note": "自动选择设置为0"
}
} }
}, },
@@ -528,10 +530,14 @@
"name": "固件升级", "name": "固件升级",
"section": { "section": {
"backupAndRestore": "备份与恢复", "backupAndRestore": {
"backupAndRestore.desc": "本功能支持备份恢复全部设置", "title": "备份恢复",
"upgrade": "升级", "desc": "本功能支持备份和恢复全部设置"
"upgrade.desc": "本模块支持升级设备的固件与系统文件。<br />可从以下地址下载最新版本 <a href=\"https://github.com/Laxilef/OTGateway/releases\" target=\"_blank\">Releases page</a> 。" },
"upgrade": {
"title": "升级",
"desc": "本模块支持升级设备的固件与系统文件。<br />可从以下地址下载最新版本 <a href=\"https://github.com/Laxilef/OTGateway/releases\" target=\"_blank\">Releases page</a> 。"
}
}, },
"note": { "note": {
+12 -6
View File
@@ -89,7 +89,7 @@
"thermostat": { "thermostat": {
"heating": "Heating", "heating": "Heating",
"dhw": "DHW", "dhw": "DHW",
"temp.current": "Current", "currentTemp": "Current",
"enable": "Enable", "enable": "Enable",
"turbo": "Turbo mode" "turbo": "Turbo mode"
}, },
@@ -188,7 +188,9 @@
}, },
"sta": { "sta": {
"channel.note": "set 0 for auto select" "channel": {
"note": "set 0 for auto select"
}
} }
}, },
@@ -528,10 +530,14 @@
"name": "Upgrade", "name": "Upgrade",
"section": { "section": {
"backupAndRestore": "Backup & restore", "backupAndRestore": {
"backupAndRestore.desc": "In this section you can save and restore a backup of ALL settings.", "title": "Backup & restore",
"upgrade": "Upgrade", "desc": "In this section you can save and restore a backup of ALL settings."
"upgrade.desc": "In this section you can upgrade the firmware and filesystem of your device.<br />Latest releases can be downloaded from the <a href=\"https://github.com/Laxilef/OTGateway/releases\" target=\"_blank\">Releases page</a> of the project repository." },
"upgrade": {
"title": "Upgrade",
"desc": "In this section you can upgrade the firmware and filesystem of your device.<br />Latest releases can be downloaded from the <a href=\"https://github.com/Laxilef/OTGateway/releases\" target=\"_blank\">Releases page</a> of the project repository."
}
}, },
"note": { "note": {
+12 -6
View File
@@ -89,7 +89,7 @@
"thermostat": { "thermostat": {
"heating": "Riscaldamento", "heating": "Riscaldamento",
"dhw": "ACS", "dhw": "ACS",
"temp.current": "Attuale", "currentTemp": "Attuale",
"enable": "Attiva", "enable": "Attiva",
"turbo": "Turbo" "turbo": "Turbo"
}, },
@@ -188,7 +188,9 @@
}, },
"sta": { "sta": {
"channel.note": "Metti 0 per auto selezione" "channel": {
"note": "Metti 0 per auto selezione"
}
} }
}, },
@@ -528,10 +530,14 @@
"name": "Aggiornamenti", "name": "Aggiornamenti",
"section": { "section": {
"backupAndRestore": "Backup & restore", "backupAndRestore": {
"backupAndRestore.desc": "In questa sezione puoi salvare e recuperare un backup di tutte le impostazioni.", "title": "Backup & restore",
"upgrade": "Aggiorna", "desc": "In questa sezione puoi salvare e recuperare un backup di tutte le impostazioni."
"upgrade.desc": "In questa sezione puoi aggiornare il firmware il filesystem del tuo dispositivo.<br />L'ultimo aggiornamento può essere scaricato da <a href=\"https://github.com/Laxilef/OTGateway/releases\" target=\"_blank\">Releases page</a> del progetto." },
"upgrade": {
"title": "Aggiorna",
"desc": "In questa sezione puoi aggiornare il firmware il filesystem del tuo dispositivo.<br />L'ultimo aggiornamento può essere scaricato da <a href=\"https://github.com/Laxilef/OTGateway/releases\" target=\"_blank\">Releases page</a> del progetto."
}
}, },
"note": { "note": {
+12 -6
View File
@@ -82,7 +82,7 @@
"thermostat": { "thermostat": {
"heating": "Verwarming", "heating": "Verwarming",
"dhw": "Warm water", "dhw": "Warm water",
"temp.current": "Huidig", "currentTemp": "Huidig",
"enable": "Inschakelen", "enable": "Inschakelen",
"turbo": "Turbomodus" "turbo": "Turbomodus"
}, },
@@ -169,7 +169,9 @@
"dns": "DNS" "dns": "DNS"
}, },
"sta": { "sta": {
"channel.note": "zet op 0 voor automatische selectie" "channel": {
"note": "zet op 0 voor automatische selectie"
}
} }
}, },
"sensors": { "sensors": {
@@ -490,10 +492,14 @@
"title": "Upgrade - OpenTherm Gateway", "title": "Upgrade - OpenTherm Gateway",
"name": "Upgrade", "name": "Upgrade",
"section": { "section": {
"backupAndRestore": "Back-up & herstel", "backupAndRestore": {
"backupAndRestore.desc": "In deze sectie kunt u een back-up van ALLE instellingen opslaan en herstellen.", "title": "Back-up & herstel",
"upgrade": "Upgrade", "desc": "In deze sectie kunt u een back-up van ALLE instellingen opslaan en herstellen."
"upgrade.desc": "In deze sectie kunt u de firmware en het bestandssysteem van uw apparaat upgraden.<br />De nieuwste releases kunnen worden gedownload van de <a href=\"https://github.com/Laxilef/OTGateway/releases\" target=\"_blank\">Releases-pagina</a> van de projectrepository." },
"upgrade": {
"title": "Upgrade",
"desc": "In deze sectie kunt u de firmware en het bestandssysteem van uw apparaat upgraden.<br />De nieuwste releases kunnen worden gedownload van de <a href=\"https://github.com/Laxilef/OTGateway/releases\" target=\"_blank\">Releases-pagina</a> van de projectrepository."
}
}, },
"note": { "note": {
"disclaimer1": "Na een succesvolle upgrade van het bestandssysteem worden ALLE instellingen teruggezet naar de standaardwaarden! Sla een back-up op voordat u gaat upgraden.", "disclaimer1": "Na een succesvolle upgrade van het bestandssysteem worden ALLE instellingen teruggezet naar de standaardwaarden! Sla een back-up op voordat u gaat upgraden.",
+12 -6
View File
@@ -90,7 +90,7 @@
"thermostat": { "thermostat": {
"heating": "Отопление", "heating": "Отопление",
"dhw": "ГВС", "dhw": "ГВС",
"temp.current": "Текущая", "currentTemp": "Текущая",
"enable": "Вкл", "enable": "Вкл",
"turbo": "Турбо" "turbo": "Турбо"
}, },
@@ -189,7 +189,9 @@
}, },
"sta": { "sta": {
"channel.note": "установите 0 для автоматического выбора" "channel": {
"note": "установите 0 для автоматического выбора"
}
} }
}, },
@@ -529,10 +531,14 @@
"name": "Обновление", "name": "Обновление",
"section": { "section": {
"backupAndRestore": "Резервное копирование и восстановление", "backupAndRestore": {
"backupAndRestore.desc": "В этом разделе вы можете сохранить и восстановить резервную копию ВСЕХ настроек.", "title": "Резервное копирование и восстановление",
"upgrade": "Обновление", "desc": "В этом разделе вы можете сохранить и восстановить резервную копию ВСЕХ настроек."
"upgrade.desc": "В этом разделе вы можете обновить прошивку и файловую систему вашего устройства.<br />Последнюю версию можно загрузить со страницы <a href=\"https://github.com/Laxilef/OTGateway/releases\" target=\"_blank\">Релизы</a> в репозитории проекта." },
"upgrade": {
"title": "Обновление",
"desc": "В этом разделе вы можете обновить прошивку и файловую систему вашего устройства.<br />Последнюю версию можно загрузить со страницы <a href=\"https://github.com/Laxilef/OTGateway/releases\" target=\"_blank\">Релизы</a> в репозитории проекта."
}
}, },
"note": { "note": {
+2 -2
View File
@@ -47,7 +47,7 @@
<div class="thermostat-header" data-i18n>dashboard.thermostat.heating</div> <div class="thermostat-header" data-i18n>dashboard.thermostat.heating</div>
<div class="thermostat-temp"> <div class="thermostat-temp">
<div class="thermostat-temp-target"><span class="targetTemp"></span> <span class="tempUnit"></span></div> <div class="thermostat-temp-target"><span class="targetTemp"></span> <span class="tempUnit"></span></div>
<div class="thermostat-temp-current"><span data-i18n>dashboard.thermostat.temp.current</span>: <span id="tHeatCurrentTemp"></span> <span class="tempUnit"></span></div> <div class="thermostat-temp-current"><span data-i18n>dashboard.thermostat.currentTemp</span>: <span id="tHeatCurrentTemp"></span> <span class="tempUnit"></span></div>
</div> </div>
<div class="thermostat-minus"> <div class="thermostat-minus">
<button class="tAction outline" data-action="decrement"><i class="icons-down"></i></button> <button class="tAction outline" data-action="decrement"><i class="icons-down"></i></button>
@@ -68,7 +68,7 @@
<div class="thermostat-header" data-i18n>dashboard.thermostat.dhw</div> <div class="thermostat-header" data-i18n>dashboard.thermostat.dhw</div>
<div class="thermostat-temp"> <div class="thermostat-temp">
<div class="thermostat-temp-target"><span class="targetTemp"></span> <span class="tempUnit"></span></div> <div class="thermostat-temp-target"><span class="targetTemp"></span> <span class="tempUnit"></span></div>
<div class="thermostat-temp-current"><span data-i18n>dashboard.thermostat.temp.current</span>: <span id="tDhwCurrentTemp"></span> <span class="tempUnit"></span></div> <div class="thermostat-temp-current"><span data-i18n>dashboard.thermostat.currentTemp</span>: <span id="tDhwCurrentTemp"></span> <span class="tempUnit"></span></div>
</div> </div>
<div class="thermostat-minus"> <div class="thermostat-minus">
<button class="tAction outline" data-action="decrement"><i class="icons-down"></i></button> <button class="tAction outline" data-action="decrement"><i class="icons-down"></i></button>
+2 -2
View File
@@ -35,7 +35,7 @@
<article> <article>
<div> <div>
<hgroup> <hgroup>
<h2 data-i18n>upgrade.section.backupAndRestore</h2> <h2 data-i18n>upgrade.section.backupAndRestore.title</h2>
<p data-i18n>upgrade.section.backupAndRestore.desc</p> <p data-i18n>upgrade.section.backupAndRestore.desc</p>
</hgroup> </hgroup>
@@ -56,7 +56,7 @@
<article> <article>
<div> <div>
<hgroup> <hgroup>
<h2 data-i18n>upgrade.section.upgrade</h2> <h2 data-i18n>upgrade.section.upgrade.title</h2>
<p data-i18n>upgrade.section.upgrade.desc</p> <p data-i18n>upgrade.section.upgrade.desc</p>
</hgroup> </hgroup>