1
0
Fork 0
mirror of https://github.com/opentx/opentx.git synced 2025-07-26 01:35:21 +03:00

Issue 125 fixed. Only english done. Translations responsibles will decide what they prefer to do in their own language ;)

This commit is contained in:
bsongis 2012-09-04 15:02:06 +00:00
parent e42fb6da31
commit c0577e77df
2 changed files with 9 additions and 4 deletions

View file

@ -2127,7 +2127,7 @@ void menuProcLimits(uint8_t _event)
uint8_t sub = m_posVert - 1; uint8_t sub = m_posVert - 1;
if (sub < NUM_CHNOUT) { if (sub < NUM_CHNOUT) {
#ifdef PPM_CENTER_ADJUSTABLE #if defined(PPM_CENTER_ADJUSTABLE)
lcd_outdezAtt(12*FW, 0, PPM_CENTER+limitaddress(sub)->ppmCenter+g_chans512[sub]/2, 0); lcd_outdezAtt(12*FW, 0, PPM_CENTER+limitaddress(sub)->ppmCenter+g_chans512[sub]/2, 0);
lcd_puts(12*FW, 0, STR_US); lcd_puts(12*FW, 0, STR_US);
#else #else
@ -2259,7 +2259,7 @@ void menuProcLimits(uint8_t _event)
ld->revert = revert_new; ld->revert = revert_new;
} }
break; break;
#ifdef PPM_CENTER_ADJUSTABLE #if defined(PPM_CENTER_ADJUSTABLE)
case ITEM_LIMITS_PPM_CENTER: case ITEM_LIMITS_PPM_CENTER:
lcd_outdezAtt(LIMITS_PPM_CENTER_POS, y, PPM_CENTER+ld->ppmCenter, attr); lcd_outdezAtt(LIMITS_PPM_CENTER_POS, y, PPM_CENTER+ld->ppmCenter, attr);
if (active && ld->max <= 0 && ld->min >= 0) { if (active && ld->max <= 0 && ld->min >= 0) {
@ -2267,7 +2267,7 @@ void menuProcLimits(uint8_t _event)
} }
break; break;
#endif #endif
#ifdef PPM_LIMITS_SYMETRICAL #if defined(PPM_LIMITS_SYMETRICAL)
case ITEM_LIMITS_SYMETRICAL: case ITEM_LIMITS_SYMETRICAL:
lcd_putcAtt(20*FW+2, y, ld->symetrical ? '=' : '^', attr); lcd_putcAtt(20*FW+2, y, ld->symetrical ? '=' : '^', attr);
if (active) { if (active) {

View file

@ -383,8 +383,13 @@
#define TR_MENUFLIGHTPHASE "FLIGHT PHASE" #define TR_MENUFLIGHTPHASE "FLIGHT PHASE"
#define TR_MENUFLIGHTPHASES "FLIGHT PHASES" #define TR_MENUFLIGHTPHASES "FLIGHT PHASES"
#define TR_MENUHELISETUP "HELI SETUP" #define TR_MENUHELISETUP "HELI SETUP"
#define TR_MENUDREXPO "DR/EXPO" // TODO flash saving this string is 2 times here #if defined(PPM_CENTER_ADJUSTABLE) || defined(PPM_LIMITS_SYMETRICAL) // The right menu titles for the gurus ...
#define TR_MENUDREXPO "STICKS"
#define TR_MENULIMITS "OUTPUTS"
#else
#define TR_MENUDREXPO "DR/EXPO"
#define TR_MENULIMITS "LIMITS" #define TR_MENULIMITS "LIMITS"
#endif
#define TR_MENUCURVES "CURVES" #define TR_MENUCURVES "CURVES"
#define TR_MENUCURVE "CURVE" #define TR_MENUCURVE "CURVE"
#define TR_MENUCUSTOMSWITCH "CUSTOM SWITCH" #define TR_MENUCUSTOMSWITCH "CUSTOM SWITCH"