diff --git a/radio/src/gui/menu_model.cpp b/radio/src/gui/menu_model.cpp index 4a4f7a891..449c901d1 100644 --- a/radio/src/gui/menu_model.cpp +++ b/radio/src/gui/menu_model.cpp @@ -5699,13 +5699,13 @@ void menuModelTelemetry(uint8_t event) case ITEM_TELEMETRY_USR_VOLTAGE_SOURCE: lcd_putsLeft(y, STR_VOLTAGE); - lcd_putsiAtt(TELEM_COL2, y, STR_VOLTSRC, g_model.frsky.voltsSource+1, attr); + lcd_putsiAtt(TELEM_COL2, y, STR_AMPSRC, g_model.frsky.voltsSource+1, attr); if (attr) CHECK_INCDEC_MODELVAR_ZERO(event, g_model.frsky.voltsSource, 3); break; case ITEM_TELEMETRY_USR_CURRENT_SOURCE: lcd_putsLeft(y, STR_CURRENT); - lcd_putsiAtt(TELEM_COL2, y, STR_VOLTSRC, g_model.frsky.currentSource, attr); + lcd_putsiAtt(TELEM_COL2, y, STR_AMPSRC, g_model.frsky.currentSource, attr); if (attr) CHECK_INCDEC_MODELVAR_ZERO(event, g_model.frsky.currentSource, 3); break; diff --git a/radio/src/gui/view_telemetry.cpp b/radio/src/gui/view_telemetry.cpp index e7bb6242c..6bc585078 100644 --- a/radio/src/gui/view_telemetry.cpp +++ b/radio/src/gui/view_telemetry.cpp @@ -331,7 +331,7 @@ void menuTelemetryFrsky(uint8_t event) else if (s_frsky_view == e_frsky_voltages) { // Volts / Amps / Watts / mAh uint8_t analog = 0; - lcd_putsiAtt(0, 2*FH, STR_VOLTSRC, g_model.frsky.voltsSource+1, 0); + lcd_putsiAtt(0, 2*FH, STR_AMPSRC, g_model.frsky.voltsSource+1, 0); switch(g_model.frsky.voltsSource) { case 0: case 1: @@ -349,7 +349,7 @@ void menuTelemetryFrsky(uint8_t event) } if (g_model.frsky.currentSource) { - lcd_putsiAtt(0, 4*FH, STR_VOLTSRC, g_model.frsky.currentSource, 0); + lcd_putsiAtt(0, 4*FH, STR_AMPSRC, g_model.frsky.currentSource, 0); switch(g_model.frsky.currentSource) { case 1: case 2: diff --git a/radio/src/translations.h b/radio/src/translations.h index d0762f706..d714efc39 100644 --- a/radio/src/translations.h +++ b/radio/src/translations.h @@ -134,8 +134,8 @@ extern const pm_char STR_OPEN9X[]; #define OFS_VALARMFN (OFS_VALARM + sizeof(TR_VALARM)) #define OFS_VTELPROTO (OFS_VALARMFN + sizeof(TR_VALARMFN)) #define OFS_GPSFORMAT (OFS_VTELPROTO + sizeof(TR_VTELPROTO)) - #define OFS_VOLTSRC (OFS_GPSFORMAT + sizeof(TR_GPSFORMAT)) - #define OFS_VARIOSRC (OFS_VOLTSRC + sizeof(TR_VOLTSRC)) + #define OFS_AMPSRC (OFS_GPSFORMAT + sizeof(TR_GPSFORMAT)) + #define OFS_VARIOSRC (OFS_AMPSRC + sizeof(TR_AMPSRC)) #define OFS_VSCREEN (OFS_VARIOSRC + sizeof(TR_VARIOSRC)) #define OFS_VTEMPLATES (OFS_VSCREEN + sizeof(TR_VSCREEN)) #else @@ -229,7 +229,7 @@ extern const pm_char STR_OPEN9X[]; #define STR_VALARMFN (STR_OPEN9X + OFS_VALARMFN) #define STR_VTELPROTO (STR_OPEN9X + OFS_VTELPROTO) #define STR_GPSFORMAT (STR_OPEN9X + OFS_GPSFORMAT) -#define STR_VOLTSRC (STR_OPEN9X + OFS_VOLTSRC) +#define STR_AMPSRC (STR_OPEN9X + OFS_AMPSRC) #define STR_VARIOSRC (STR_OPEN9X + OFS_VARIOSRC) #define STR_VSCREEN (STR_OPEN9X + OFS_VSCREEN) #define STR_TELEMCHNS (STR_OPEN9X + OFS_TELEMCHNS) diff --git a/radio/src/translations/cz.h.txt b/radio/src/translations/cz.h.txt index c833bc1cb..070df7563 100644 --- a/radio/src/translations/cz.h.txt +++ b/radio/src/translations/cz.h.txt @@ -354,8 +354,8 @@ #define LEN_VTELPROTO "\007" #define TR_VTELPROTO "---\0 ""Hub\0 ""WSHHigh" -#define LEN_VOLTSRC "\003" -#define TR_VOLTSRC "---""A1\0""A2\0""FAS""Cel" +#define LEN_AMPSRC "\003" +#define TR_AMPSRC "---""A1\0""A2\0""FAS""Cel" #define LEN_VARIOSRC "\005" #if defined(FRSKY_SPORT) diff --git a/radio/src/translations/de.h.txt b/radio/src/translations/de.h.txt index ac946a839..b969e6451 100644 --- a/radio/src/translations/de.h.txt +++ b/radio/src/translations/de.h.txt @@ -354,8 +354,8 @@ #define LEN_VTELPROTO "\007" #define TR_VTELPROTO "Kein\0 ""Hub\0 ""WSHHigh" -#define LEN_VOLTSRC TR("\003", "\007") -#define TR_VOLTSRC TR("---""A1\0""A2\0""FAS""Cel", "---\0 ""A1\0 ""A2\0 ""FAS\0 ""Cells\0 ") +#define LEN_AMPSRC TR("\003", "\007") +#define TR_AMPSRC TR("---""A1\0""A2\0""FAS""Cel", "---\0 ""A1\0 ""A2\0 ""FAS\0 ""Cells\0 ") #define LEN_VARIOSRC "\004" #if defined(FRSKY_SPORT) diff --git a/radio/src/translations/en.h.txt b/radio/src/translations/en.h.txt index 12c54dc19..871acaaa1 100644 --- a/radio/src/translations/en.h.txt +++ b/radio/src/translations/en.h.txt @@ -354,8 +354,8 @@ #define LEN_VTELPROTO "\007" #define TR_VTELPROTO "None\0 ""Hub\0 ""WSHHigh" -#define LEN_VOLTSRC TR("\003", "\007") -#define TR_VOLTSRC TR("---""A1\0""A2\0""FAS""Cel", "---\0 ""A1\0 ""A2\0 ""FAS\0 ""Cells\0 ") +#define LEN_AMPSRC TR("\003", "\007") +#define TR_AMPSRC TR("---""A1\0""A2\0""FAS""Cel", "---\0 ""A1\0 ""A2\0 ""FAS\0 ""Cells\0 ") #define LEN_VARIOSRC "\004" #if defined(FRSKY_SPORT) diff --git a/radio/src/translations/es.h.txt b/radio/src/translations/es.h.txt index 390fd746e..7fda44e8e 100644 --- a/radio/src/translations/es.h.txt +++ b/radio/src/translations/es.h.txt @@ -354,8 +354,8 @@ #define LEN_VTELPROTO "\007" #define TR_VTELPROTO "Nada\0 ""Hub\0 ""WSHHigh" -#define LEN_VOLTSRC "\003" -#define TR_VOLTSRC "---""A1\0""A2\0""FAS""Cel" +#define LEN_AMPSRC "\003" +#define TR_AMPSRC "---""A1\0""A2\0""FAS""Cel" #define LEN_VARIOSRC "\005" #if defined(FRSKY_SPORT) diff --git a/radio/src/translations/fi.h.txt b/radio/src/translations/fi.h.txt index e2c57bec4..8952dfb03 100644 --- a/radio/src/translations/fi.h.txt +++ b/radio/src/translations/fi.h.txt @@ -354,8 +354,8 @@ #define LEN_VTELPROTO "\007" #define TR_VTELPROTO "None\0 ""Hub\0 ""WSHHigh" -#define LEN_VOLTSRC "\003" -#define TR_VOLTSRC "---""A1\0""A2\0""FAS""Cel" +#define LEN_AMPSRC "\003" +#define TR_AMPSRC "---""A1\0""A2\0""FAS""Cel" #define LEN_VARIOSRC "\005" #if defined(FRSKY_SPORT) diff --git a/radio/src/translations/fr.h.txt b/radio/src/translations/fr.h.txt index 23c2a0a97..fe93e70bc 100644 --- a/radio/src/translations/fr.h.txt +++ b/radio/src/translations/fr.h.txt @@ -354,8 +354,8 @@ #define LEN_VTELPROTO "\007" #define TR_VTELPROTO "Aucun ""Hub\0 ""WSHHigh" -#define LEN_VOLTSRC "\003" -#define TR_VOLTSRC "---""A1\0""A2\0""FAS""Elm" +#define LEN_AMPSRC "\003" +#define TR_AMPSRC "---""A1\0""A2\0""FAS""Elm" #define LEN_VARIOSRC "\005" #if defined(FRSKY_SPORT) diff --git a/radio/src/translations/it.h.txt b/radio/src/translations/it.h.txt index a850e7fa6..d98eebf9f 100644 --- a/radio/src/translations/it.h.txt +++ b/radio/src/translations/it.h.txt @@ -354,8 +354,8 @@ #define LEN_VTELPROTO "\007" #define TR_VTELPROTO "---\0 ""Hub\0 ""WSHHigh" -#define LEN_VOLTSRC "\003" -#define TR_VOLTSRC "---""A1\0""A2\0""FAS""Cel" +#define LEN_AMPSRC "\003" +#define TR_AMPSRC "---""A1\0""A2\0""FAS""Cel" #define LEN_VARIOSRC "\005" #if defined(FRSKY_SPORT) diff --git a/radio/src/translations/pl.h.txt b/radio/src/translations/pl.h.txt index 56f05498a..6dcb5607d 100644 --- a/radio/src/translations/pl.h.txt +++ b/radio/src/translations/pl.h.txt @@ -354,8 +354,8 @@ #define LEN_VTELPROTO "\007" #define TR_VTELPROTO "None\0 ""Hub\0 ""WSHHigh" -#define LEN_VOLTSRC TR("\003", "\007") -#define TR_VOLTSRC TR("---""A1\0""A2\0""FAS""Cel", "---\0 ""A1\0 ""A2\0 ""FAS\0 ""Cells\0 ") +#define LEN_AMPSRC TR("\003", "\007") +#define TR_AMPSRC TR("---""A1\0""A2\0""FAS""Cel", "---\0 ""A1\0 ""A2\0 ""FAS\0 ""Cells\0 ") #define LEN_VARIOSRC "\004" #if defined(FRSKY_SPORT) diff --git a/radio/src/translations/pt.h.txt b/radio/src/translations/pt.h.txt index bf3b4c410..4c53fd4e4 100644 --- a/radio/src/translations/pt.h.txt +++ b/radio/src/translations/pt.h.txt @@ -354,8 +354,8 @@ #define LEN_VTELPROTO "\007" #define TR_VTELPROTO "Nada\0 ""Hub\0 ""WSHHigh" -#define LEN_VOLTSRC "\003" -#define TR_VOLTSRC "---""A1\0""A2\0""FAS""Cel" +#define LEN_AMPSRC "\003" +#define TR_AMPSRC "---""A1\0""A2\0""FAS""Cel" #define LEN_VARIOSRC "\005" #if defined(FRSKY_SPORT) diff --git a/radio/src/translations/se.h.txt b/radio/src/translations/se.h.txt index edb2dd22f..7283ffc52 100644 --- a/radio/src/translations/se.h.txt +++ b/radio/src/translations/se.h.txt @@ -354,8 +354,8 @@ #define LEN_VTELPROTO "\007" #define TR_VTELPROTO "---\0 ""Hub\0 ""WSHHög." -#define LEN_VOLTSRC "\003" -#define TR_VOLTSRC "---""A1\0""A2\0""FAS""Cel" +#define LEN_AMPSRC "\003" +#define TR_AMPSRC "---""A1\0""A2\0""FAS""Cel" #define LEN_VARIOSRC "\005" #if defined(FRSKY_SPORT)