refactor: rework after #312

This commit is contained in:
Yurii committed 2026-12-06 16:13:00 +03:00
1 parent 75e22e92e9
commit 96473129a8
9 files changed
+111 -128

No files matched your search

+2 -3
View File
@@ -369,9 +369,8 @@
"mdns": "使用 mDNS",
"apiToken": {
"title": "API token",
"note": "Lets a device push sensor values without the portal password: <code>Authorization: Bearer &lt;token&gt;</code> for <code>POST /api/sensor/value?id=N</code>. Works only for this endpoint.",
"regenerate": "Regenerate token",
"regenerateConfirm": "The current token will stop working. Continue?"
"note": "用于免密访问 API。可以手动输入 32 个字符的令牌,也可以通过<b>刷新</b>按钮生成。<br />令牌通过请求头 <code>Authorization: Bearer &lt;令牌&gt;</code> 发送。",
"refreshConfirm": "当前令牌将失效。要继续吗?"
}
},
"system": {
+2 -3
View File
@@ -369,9 +369,8 @@
"mdns": "Use mDNS",
"apiToken": {
"title": "API token",
"note": "Lets a device push sensor values without the portal password: <code>Authorization: Bearer &lt;token&gt;</code> for <code>POST /api/sensor/value?id=N</code>. Works only for this endpoint.",
"regenerate": "Regenerate token",
"regenerateConfirm": "The current token will stop working. Continue?"
"note": "For API access without a password. You can enter a 32-character token manually or generate one with <b>Refresh</b>.<br />The token is sent in the <code>Authorization: Bearer &lt;token&gt;</code> header.",
"refreshConfirm": "The current token will stop working. Continue?"
}
},
"system": {
+2 -3
View File
@@ -369,9 +369,8 @@
"mdns": "Usa mDNS",
"apiToken": {
"title": "API token",
"note": "Lets a device push sensor values without the portal password: <code>Authorization: Bearer &lt;token&gt;</code> for <code>POST /api/sensor/value?id=N</code>. Works only for this endpoint.",
"regenerate": "Regenerate token",
"regenerateConfirm": "The current token will stop working. Continue?"
"note": "Per accedere all’API senza password. Il token di 32 caratteri può essere inserito manualmente o generato con <b>Ricarica</b>.<br />Viene inviato nell’intestazione <code>Authorization: Bearer &lt;token&gt;</code>.",
"refreshConfirm": "Il token attuale smetterà di funzionare. Continuare?"
}
},
"system": {
+2 -3
View File
@@ -369,9 +369,8 @@
"mdns": "Gebruik mDNS",
"apiToken": {
"title": "API token",
"note": "Lets a device push sensor values without the portal password: <code>Authorization: Bearer &lt;token&gt;</code> for <code>POST /api/sensor/value?id=N</code>. Works only for this endpoint.",
"regenerate": "Regenerate token",
"regenerateConfirm": "The current token will stop working. Continue?"
"note": "Voor toegang tot de API zonder wachtwoord. Je kunt het token van 32 tekens zelf invoeren of genereren met <b>Vernieuwen</b>.<br />Het token wordt meegestuurd in de header <code>Authorization: Bearer &lt;token&gt;</code>.",
"refreshConfirm": "Het huidige token werkt daarna niet meer. Doorgaan?"
}
},
"system": {
+2 -3
View File
@@ -369,9 +369,8 @@
"mdns": "Использовать mDNS",
"apiToken": {
"title": "API-токен",
"note": "Позволяет устройству передавать значения датчиков без пароля портала: <code>Authorization: Bearer &lt;токен&gt;</code> для <code>POST /api/sensor/value?id=N</code>. Действует только для этого адреса.",
"regenerate": "Сгенерировать новый токен",
"regenerateConfirm": "Текущий токен перестанет работать. Продолжить?"
"note": "Для доступа к API без пароля. Можно задать вручную (32 символа) или сгенерировать кнопкой <b>Обновить</b>.<br />Передавайте в заголовке <code>Authorization: Bearer &lt;токен&gt;</code>.",
"refreshConfirm": "Текущий токен перестанет работать. Продолжить?"
}
},
"system": {