Add `D_BATTERY` (#20478)

Add `D_BATTERY` to language files
This commit is contained in:
SteWers 2024-01-13 10:00:39 +01:00 committed by GitHub
parent c1f3561a3e
commit e68a6fd078
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
31 changed files with 31 additions and 7 deletions

View File

@ -57,6 +57,7 @@
#define D_AP "AP" // Access Point
#define D_AS "as"
#define D_AUTO "AUTO"
#define D_BATTERY "Battery"
#define D_BATT "Batt" // Short for Battery
#define D_BATTERY_CHARGE "Lading" // Battery charge in %
#define D_BLINK "Flits"

View File

@ -57,6 +57,7 @@
#define D_AP "Точка за достъп" // Access Point
#define D_AS "като"
#define D_AUTO "АВТОМАТИЧНО"
#define D_BATTERY "Battery"
#define D_BATT "Бат." // Short for Battery
#define D_BATTERY_CHARGE "Charge" // Battery charge in %
#define D_BLINK "Мигане вкл."

View File

@ -57,6 +57,7 @@
#define D_AP "PA" // Access Point
#define D_AS "com"
#define D_AUTO "AUTO"
#define D_BATTERY "Battery"
#define D_BATT "Bat" // Short for Battery
#define D_BATTERY_CHARGE "Charge" // Battery charge in %
#define D_BLINK "Espurna"

View File

@ -57,6 +57,7 @@
#define D_AP "AP" // Access Point
#define D_AS "jako"
#define D_AUTO "AUTO"
#define D_BATTERY "Battery"
#define D_BATT "Batt" // Short for Battery
#define D_BATTERY_CHARGE "Charge" // Battery charge in %
#define D_BLINK "Blikání"

View File

@ -28,7 +28,7 @@
* Use online command StateText to translate ON, OFF, HOLD and TOGGLE.
* Use online command Prefix to translate cmnd, stat and tele.
*
* Updated until v13.3.0.1 - Last update 18.12.2023
* Updated until v13.3.0.3 - Last update 12.01.2024
\*********************************************************************/
//#define LANGUAGE_MODULE_NAME // Enable to display "Module Generic" (ie Spanish), Disable to display "Generic Module" (ie English)
@ -57,6 +57,7 @@
#define D_AP "AP" // Access Point
#define D_AS "als"
#define D_AUTO "AUTO"
#define D_BATTERY "Batterie"
#define D_BATT "Batt" // Short for Battery
#define D_BATTERY_CHARGE "Ladung" // Battery charge in %
#define D_BLINK "Blinken"

View File

@ -57,6 +57,7 @@
#define D_AP "AP" // Access Point
#define D_AS "ως"
#define D_AUTO "ΑΥΤΟΜΑΤΟ"
#define D_BATTERY "Battery"
#define D_BATT "Batt" // Short for Battery
#define D_BATTERY_CHARGE "Charge" // Battery charge in %
#define D_BLINK "Blink"

View File

@ -57,6 +57,7 @@
#define D_AP "AP" // Access Point
#define D_AS "as"
#define D_AUTO "AUTO"
#define D_BATTERY "Battery"
#define D_BATT "Batt" // Short for Battery
#define D_BATTERY_CHARGE "Charge" // Battery charge in %
#define D_BLINK "Blink"

View File

@ -57,6 +57,7 @@
#define D_AP "AP" // Access Point
#define D_AS "como"
#define D_AUTO "AUTO"
#define D_BATTERY "Battery"
#define D_BATT "Bat" // Short for Battery
#define D_BATTERY_CHARGE "Charge" // Battery charge in %
#define D_BLINK "Blink"

View File

@ -57,6 +57,7 @@
#define D_AP "AP" // Access Point
#define D_AS "comme"
#define D_AUTO "AUTO"
#define D_BATTERY "Battery"
#define D_BATT "Batt" // Short for Battery
#define D_BATTERY_CHARGE "Charge" // Battery charge in %
#define D_BLINK "Blink" // Not better in french

View File

@ -57,6 +57,7 @@
#define D_AP "AP" // Access Point
#define D_AS "als"
#define D_AUTO "AUTO"
#define D_BATTERY "Battery"
#define D_BATT "Batt" // Short for Battery
#define D_BATTERY_CHARGE "Lading" // Battery charge in %
#define D_BLINK "Blinkje"

View File

@ -57,6 +57,7 @@
#define D_AP "AP" // Access Point
#define D_AS "-כ"
#define D_AUTO "אוטומטי"
#define D_BATTERY "Battery"
#define D_BATT "Batt" // Short for Battery
#define D_BATTERY_CHARGE "Charge" // Battery charge in %
#define D_BLINK "מהבהב"

View File

@ -57,6 +57,7 @@
#define D_AP "AP" // Access Point
#define D_AS "mint"
#define D_AUTO "AUTO"
#define D_BATTERY "Battery"
#define D_BATT "Batt" // Short for Battery
#define D_BATTERY_CHARGE "Charge" // Battery charge in %
#define D_BLINK "Villogás"

View File

@ -57,6 +57,7 @@
#define D_AP "AP" // Access Point
#define D_AS "come"
#define D_AUTO "AUTO"
#define D_BATTERY "Battery"
#define D_BATT "Batt" // Short for Battery
#define D_BATTERY_CHARGE "Carica" // Battery charge in %
#define D_BLINK "Lampeggia"

View File

@ -57,6 +57,7 @@
#define D_AP "AP" // Access Point
#define D_AS "as"
#define D_AUTO "자동"
#define D_BATTERY "Battery"
#define D_BATT "Batt" // Short for Battery
#define D_BATTERY_CHARGE "Charge" // Battery charge in %
#define D_BLINK "깜박임"

View File

@ -57,6 +57,7 @@
#define D_AP "AP" // Access Point
#define D_AS "als"
#define D_AUTO "AUTO"
#define D_BATTERY "Battery"
#define D_BATT "Batt" // Short for Battery
#define D_BATTERY_CHARGE "Lading" // Battery charge in %
#define D_BLINK "Knipper"

View File

@ -57,6 +57,7 @@
#define D_AP "AP" // Access Point
#define D_AS "jak"
#define D_AUTO "AUTO"
#define D_BATTERY "Battery"
#define D_BATT "Batt" // Short for Battery
#define D_BATTERY_CHARGE "Charge" // Battery charge in %
#define D_BLINK "Miganie"

View File

@ -57,6 +57,7 @@
#define D_AP "Ponto de acesso" // Ponto de Acesso
#define D_AS "como"
#define D_AUTO "Auto"
#define D_BATTERY "Battery"
#define D_BATT "Bat" // Short for Battery
#define D_BATTERY_CHARGE "Charge" // Battery charge in %
#define D_BLINK "Piscar"

View File

@ -57,6 +57,7 @@
#define D_AP "AP" // Ponto de Acesso
#define D_AS "como"
#define D_AUTO "AUTO"
#define D_BATTERY "Battery"
#define D_BATT "Batt" // Short for Battery
#define D_BATTERY_CHARGE "Charge" // Battery charge in %
#define D_BLINK "Piscar"

View File

@ -57,6 +57,7 @@
#define D_AP "AP" // Access Point
#define D_AS "as"
#define D_AUTO "AUTO"
#define D_BATTERY "Battery"
#define D_BATT "Batt" // Short for Battery
#define D_BATTERY_CHARGE "Charge" // Battery charge in %
#define D_BLINK "Blink"

View File

@ -58,6 +58,7 @@
#define D_AP "AP" // Access Point
#define D_AS "как"
#define D_AUTO "АВТО"
#define D_BATTERY "Battery"
#define D_BATT "Batt" // Short for Battery
#define D_BATTERY_CHARGE "Charge" // Battery charge in %
#define D_BLINK "Мигать"

View File

@ -57,6 +57,7 @@
#define D_AP "AP" // Access Point
#define D_AS "ako"
#define D_AUTO "AUTO"
#define D_BATTERY "Battery"
#define D_BATT "Batt" // Short for Battery
#define D_BATTERY_CHARGE "Charge" // Battery charge in %
#define D_BLINK "Blikanie"

View File

@ -57,6 +57,7 @@
#define D_AP "AP" // Access Point
#define D_AS "som"
#define D_AUTO "AUTO"
#define D_BATTERY "Battery"
#define D_BATT "Batt" // Short for Battery
#define D_BATTERY_CHARGE "Charge" // Battery charge in %
#define D_BLINK "Blinka"

View File

@ -57,6 +57,7 @@
#define D_AP "AP" // Access Point
#define D_AS "as"
#define D_AUTO "OTOMATIK"
#define D_BATTERY "Battery"
#define D_BATT "Batt" // Short for Battery
#define D_BATTERY_CHARGE "Charge" // Battery charge in %
#define D_BLINK "Blink"

View File

@ -57,6 +57,7 @@
#define D_AP "Точка доступу" // Access Point
#define D_AS "як"
#define D_AUTO "АВТО"
#define D_BATTERY "Battery"
#define D_BATT "Batt" // Short for Battery
#define D_BATTERY_CHARGE "Charge" // Battery charge in %
#define D_BLINK "Блимати"

View File

@ -57,6 +57,7 @@
#define D_AP "Mạng wifi" // Access Point
#define D_AS "với tên gọi"
#define D_AUTO "AUTO"
#define D_BATTERY "Battery"
#define D_BATT "Batt" // Short for Battery
#define D_BATTERY_CHARGE "Charge" // Battery charge in %
#define D_BLINK "Blink"

View File

@ -57,6 +57,7 @@
#define D_AP "AP" // Access Point
#define D_AS "名称:"
#define D_AUTO "自动"
#define D_BATTERY "Battery"
#define D_BATT "Batt" // Short for Battery
#define D_BATTERY_CHARGE "Charge" // Battery charge in %
#define D_BLINK "闪烁"

View File

@ -57,6 +57,7 @@
#define D_AP "存取點" // Access Point
#define D_AS "名稱:"
#define D_AUTO "自動"
#define D_BATTERY "Battery"
#define D_BATT "電池" // Short for Battery
#define D_BATTERY_CHARGE "Charge" // Battery charge in %
#define D_BLINK "閃爍"

View File

@ -1676,7 +1676,7 @@ bool NRFCmd(void) {
* Presentation
\*********************************************************************************************/
const char HTTP_BATTERY[] PROGMEM = "{s}%s" " Battery" "{m}%u%%{e}";
const char HTTP_BATTERY[] PROGMEM = "{s}%s " D_BATTERY "{m}%u%%{e}";
const char HTTP_MINRF_MAC[] PROGMEM = "{s}%s %s{m}%02x:%02x:%02x:%02x:%02x:%02x%{e}";
const char HTTP_MINRF_FLORA_DATA[] PROGMEM = "{s}%s" " Fertility" "{m}%dus/cm{e}";
const char HTTP_MINRF_HL[] PROGMEM = "{s}<hr>{m}<hr>{e}";

View File

@ -1952,7 +1952,7 @@ void CmndHM10Option(void){
const char HTTP_HM10[] PROGMEM = "{s}HM10 FW%u V0960{m}%u%s / %u{e}";
const char HTTP_HM10_MAC[] PROGMEM = "{s}%s %s{m}%s{e}";
const char HTTP_BATTERY[] PROGMEM = "{s}%s" " Battery" "{m}%u%%{e}";
const char HTTP_BATTERY[] PROGMEM = "{s}%s " D_BATTERY "{m}%u%%{e}";
const char HTTP_RSSI[] PROGMEM = "{s}%s " D_RSSI "{m}%d dBm{e}";
const char HTTP_HM10_FLORA_DATA[] PROGMEM = "{s}%s" " Fertility" "{m}%u us/cm{e}";
const char HTTP_HM10_HL[] PROGMEM = "{s}<hr>{m}<hr>{e}";

View File

@ -2350,7 +2350,7 @@ void MI32HandleWebGUI(void){
const char HTTP_MI32[] PROGMEM = "{s}Mi ESP32 {m} %u devices{e}";
#ifndef USE_MI_EXT_GUI
const char HTTP_BATTERY[] PROGMEM = "{s}%s" " Battery" "{m}%u %%{e}";
const char HTTP_BATTERY[] PROGMEM = "{s}%s " D_BATTERY "{m}%u %%{e}";
const char HTTP_LASTBUTTON[] PROGMEM = "{s}%s Last Button{m}%u {e}";
const char HTTP_EVENTS[] PROGMEM = "{s}%s Events{m}%u {e}";
const char HTTP_NMT[] PROGMEM = "{s}%s No motion{m}> %u seconds{e}";

View File

@ -74,9 +74,6 @@
*/
//#undef USE_MI_ESP32
// Move to language files later
#define D_BATTERY "Battery"
// for testing of BLE_ESP32, we remove xsns_62_MI_ESP32.ino completely, and instead add this modified xsns_52_ibeacon_BLE_ESP32.ino
#ifdef USE_BLE_ESP32