diff --git a/src/general_menus.cpp b/src/general_menus.cpp index b1fe31c18..61ebc7bde 100644 --- a/src/general_menus.cpp +++ b/src/general_menus.cpp @@ -233,7 +233,7 @@ void menuGeneralSetup(uint8_t event) #if defined(BATTGRAPH) || defined(PCBX9D) case ITEM_SETUP_BATT_RANGE: - lcd_putsLeft(y, PSTR("Battery Range")); + lcd_putsLeft(y, STR_BATTERY_RANGE); lcd_putc(g_eeGeneral.vBatMin >= 10 ? RADIO_SETUP_2ND_COLUMN+2*FW+FWNUM-1 : RADIO_SETUP_2ND_COLUMN+2*FW+FWNUM-FW/2, y, '-'); putsVolts(RADIO_SETUP_2ND_COLUMN, y, 90+g_eeGeneral.vBatMin, (m_posHorz==0 ? attr : 0)|LEFT|NO_UNIT); putsVolts(RADIO_SETUP_2ND_COLUMN+4*FW-2, y, 120+g_eeGeneral.vBatMax, (m_posHorz!=0 ? attr : 0)|LEFT|NO_UNIT); diff --git a/src/translations.cpp b/src/translations.cpp index 821ddcf05..3365f233b 100644 --- a/src/translations.cpp +++ b/src/translations.cpp @@ -175,6 +175,9 @@ const pm_char STR_HAPTICSTRENGTH[] PROGMEM = TR_HAPTICSTRENGTH; #endif const pm_char STR_CONTRAST[] PROGMEM = TR_CONTRAST; const pm_char STR_ALARMS_LABEL[] PROGMEM = TR_ALARMS_LABEL; +#if defined(BATTGRAPH) || defined(PCBX9D) +const pm_char STR_BATTERY_RANGE[] PROGMEM = TR_BATTERY_RANGE; +#endif const pm_char STR_BATTERYWARNING[] PROGMEM = TR_BATTERYWARNING; const pm_char STR_INACTIVITYALARM[] PROGMEM = TR_INACTIVITYALARM; const pm_char STR_MEMORYWARNING[] PROGMEM = TR_MEMORYWARNING; diff --git a/src/translations.h b/src/translations.h index 0e8096858..fd5f76fe1 100644 --- a/src/translations.h +++ b/src/translations.h @@ -290,6 +290,9 @@ extern const pm_char STR_HAPTIC_LABEL[]; extern const pm_char STR_HAPTICSTRENGTH[]; extern const pm_char STR_CONTRAST[]; extern const pm_char STR_ALARMS_LABEL[]; +#if defined(BATTGRAPH) || defined(PCBX9D) +extern const pm_char STR_BATTERY_RANGE[]; +#endif extern const pm_char STR_BATTERYWARNING[]; extern const pm_char STR_INACTIVITYALARM[]; extern const pm_char STR_MEMORYWARNING[]; diff --git a/src/translations/cz.h b/src/translations/cz.h index 493c0d19c..7586e24f4 100644 --- a/src/translations/cz.h +++ b/src/translations/cz.h @@ -396,6 +396,7 @@ #define TR_HAPTICSTRENGTH INDENT"S\204la" #define TR_CONTRAST "Kontrast LCD" #define TR_ALARMS_LABEL "Alarmy" +#define TR_BATTERY_RANGE "Baterie mezich" #define TR_BATTERYWARNING INDENT"Vybit\200 Baterie" #define TR_INACTIVITYALARM INDENT"Ne\201innost" #define TR_MEMORYWARNING INDENT"Pln\200 Pam\203t'" diff --git a/src/translations/de.h b/src/translations/de.h index b543fa374..2c640cb25 100644 --- a/src/translations/de.h +++ b/src/translations/de.h @@ -398,6 +398,7 @@ #define TR_HAPTICSTRENGTH INDENT"St\201rke" #define TR_CONTRAST "Kontrast" #define TR_ALARMS_LABEL "Alarm wenn" +#define TR_BATTERY_RANGE "Akku V-Bereich" #define TR_BATTERYWARNING INDENT"Akku leer" #define TR_INACTIVITYALARM INDENT"Inaktivit\201t" #define TR_MEMORYWARNING INDENT"Speicher voll" @@ -406,7 +407,7 @@ #define TR_THROTTLEREVERSE "Gasumkehrung" #define TR_MINUTEBEEP INDENT"Minuten" #define TR_BEEPCOUNTDOWN INDENT"Countdown" -#define TR_BACKLIGHT_LABEL "Beleuchtung" +#define TR_BACKLIGHT_LABEL "Beleuchtung" #define TR_BLDELAY INDENT"Dauer" #define TR_BLONBRIGHTNESS INDENT"An Helligkeit" #define TR_BLOFFBRIGHTNESS INDENT"Aus Helligkeit" diff --git a/src/translations/en.h b/src/translations/en.h index ea2f0d12b..22d4a587f 100644 --- a/src/translations/en.h +++ b/src/translations/en.h @@ -410,6 +410,7 @@ #define TR_HAPTICSTRENGTH INDENT"Strength" #define TR_CONTRAST "Contrast" #define TR_ALARMS_LABEL "Alarms" +#define TR_BATTERY_RANGE "Battery Range" #define TR_BATTERYWARNING INDENT"Battery Low" #define TR_INACTIVITYALARM INDENT"Inactivity" #define TR_MEMORYWARNING INDENT"Memory Low" diff --git a/src/translations/es.h b/src/translations/es.h index 73c4a61ff..f7a34e600 100644 --- a/src/translations/es.h +++ b/src/translations/es.h @@ -396,6 +396,7 @@ #define TR_HAPTICSTRENGTH INDENT"Intensidad" #define TR_CONTRAST "Contraste" #define TR_ALARMS_LABEL "Alarmas" +#define TR_BATTERY_RANGE "Battery Range" #define TR_BATTERYWARNING INDENT"Bateria Baja" #define TR_INACTIVITYALARM INDENT"Inactividad" #define TR_MEMORYWARNING INDENT"Memoria Baja" diff --git a/src/translations/fr.h b/src/translations/fr.h index 0a43860df..535248b6a 100644 --- a/src/translations/fr.h +++ b/src/translations/fr.h @@ -396,6 +396,7 @@ #define TR_HAPTICSTRENGTH INDENT"Force" #define TR_CONTRAST "Contraste" #define TR_ALARMS_LABEL "Alarmes" +#define TR_BATTERY_RANGE "Battery Range" #define TR_BATTERYWARNING INDENT"Batterie faible" #define TR_INACTIVITYALARM INDENT"Inactivit\200" #define TR_MEMORYWARNING INDENT"M\200moire faible" diff --git a/src/translations/it.h b/src/translations/it.h index 93ccbe05b..34b36ab44 100644 --- a/src/translations/it.h +++ b/src/translations/it.h @@ -395,6 +395,7 @@ #define TR_HAPTICSTRENGTH INDENT"Forza" #define TR_CONTRAST "Contrasto" #define TR_ALARMS_LABEL "Allarmi" +#define TR_BATTERY_RANGE "Battery Range" #define TR_BATTERYWARNING INDENT"Avviso batteria" #define TR_INACTIVITYALARM INDENT"Inattivita'" #define TR_MEMORYWARNING INDENT"Avviso memoria" diff --git a/src/translations/pt.h b/src/translations/pt.h index 81d368f74..5b107d5bf 100644 --- a/src/translations/pt.h +++ b/src/translations/pt.h @@ -374,6 +374,7 @@ #define TR_HAPTICSTRENGTH INDENT"Forca" #define TR_CONTRAST "Contraste" #define TR_ALARMS_LABEL "Alarmes" +#define TR_BATTERY_RANGE "Battery Range" #define TR_BATTERYWARNING INDENT"Bateria Baixa" #define TR_INACTIVITYALARM INDENT"Inactividade" #define TR_MEMORYWARNING INDENT"Memoria Baixa" diff --git a/src/translations/se.h b/src/translations/se.h index d3de67033..70d9a12e4 100644 --- a/src/translations/se.h +++ b/src/translations/se.h @@ -396,6 +396,7 @@ #define TR_HAPTICSTRENGTH INDENT"Styrka" #define TR_CONTRAST "Kontrast" #define TR_ALARMS_LABEL "Alarm" +#define TR_BATTERY_RANGE "Batteri range" #define TR_BATTERYWARNING INDENT"Batteri" #define TR_INACTIVITYALARM INDENT"Inaktivitet" #define TR_MEMORYWARNING INDENT"Lite Minne"