Navigation fix

French translations
This commit is contained in:
Andre Bernet
2017-01-22 11:16:14 +01:00
parent 7140eec2df
commit 293f1e8805
2 changed files with 8 additions and 8 deletions
+3 -3
View File
@@ -115,8 +115,8 @@ enum MenuRadioHardwareItems {
ITEM_RADIO_HARDWARE_MAX ITEM_RADIO_HARDWARE_MAX
}; };
#define POTS_ROWS NAVIGATION_LINE_BY_LINE|1, NAVIGATION_LINE_BY_LINE|1, NAVIGATION_LINE_BY_LINE|1, NAVIGATION_LINE_BY_LINE|1 #define POTS_ROWS NAVIGATION_LINE_BY_LINE|1, NAVIGATION_LINE_BY_LINE|1
#define SWITCHES_ROWS NAVIGATION_LINE_BY_LINE|1, NAVIGATION_LINE_BY_LINE|1, NAVIGATION_LINE_BY_LINE|1, NAVIGATION_LINE_BY_LINE|1, NAVIGATION_LINE_BY_LINE|1, NAVIGATION_LINE_BY_LINE|1, NAVIGATION_LINE_BY_LINE|1, NAVIGATION_LINE_BY_LINE|1 #define SWITCHES_ROWS NAVIGATION_LINE_BY_LINE|1, NAVIGATION_LINE_BY_LINE|1, NAVIGATION_LINE_BY_LINE|1, NAVIGATION_LINE_BY_LINE|1, NAVIGATION_LINE_BY_LINE|1, NAVIGATION_LINE_BY_LINE|1
#define SWITCH_TYPE_MAX(sw) ((MIXSRC_SF-MIXSRC_FIRST_SWITCH == sw || MIXSRC_SH-MIXSRC_FIRST_SWITCH == sw) ? SWITCH_2POS : SWITCH_3POS) #define SWITCH_TYPE_MAX(sw) ((MIXSRC_SF-MIXSRC_FIRST_SWITCH == sw || MIXSRC_SH-MIXSRC_FIRST_SWITCH == sw) ? SWITCH_2POS : SWITCH_3POS)
#define HW_SETTINGS_COLUMN 30 #define HW_SETTINGS_COLUMN 30
@@ -169,7 +169,7 @@ void menuRadioHardware(event_t event)
else else
lcdDrawTextAtIndex(HW_SETTINGS_COLUMN, y, STR_MMMINV, 0, 0); lcdDrawTextAtIndex(HW_SETTINGS_COLUMN, y, STR_MMMINV, 0, 0);
uint8_t potType = (g_eeGeneral.potsConfig & mask) >> shift; uint8_t potType = (g_eeGeneral.potsConfig & mask) >> shift;
potType = editChoice(HW_SETTINGS_COLUMN+3*FW, y, "", STR_POTTYPES, potType, POT_NONE, POT_WITHOUT_DETENT, menuHorizontalPosition == 1 ? attr : 0, event); potType = editChoice(HW_SETTINGS_COLUMN+5*FW, y, "", STR_POTTYPES, potType, POT_NONE, POT_WITHOUT_DETENT, menuHorizontalPosition == 1 ? attr : 0, event);
g_eeGeneral.potsConfig &= ~mask; g_eeGeneral.potsConfig &= ~mask;
g_eeGeneral.potsConfig |= (potType << shift); g_eeGeneral.potsConfig |= (potType << shift);
break; break;
+5 -5
View File
@@ -77,7 +77,7 @@
#define TR_SWTYPES "Rien\0 ""Levier""2-POS\0""3-POS\0" #define TR_SWTYPES "Rien\0 ""Levier""2-POS\0""3-POS\0"
#define LEN_POTTYPES TR("\013","\017") #define LEN_POTTYPES TR("\013","\017")
#define TR_POTTYPES TR("Rien ""Pot w. det ""Multipos ""Pot ", "Rien\0 ""Pot avec centre""Inter multi-pos""Potentiomètre\0") #define TR_POTTYPES TR("Rien\0 ""Pot av. ctr""Multipos\0 ""Pot\0 ", "Rien\0 ""Pot avec centre""Inter multi-pos""Potentiomètre\0")
#define LEN_SLIDERTYPES "\006" #define LEN_SLIDERTYPES "\006"
#define TR_SLIDERTYPES "Rien\0 ""Slider" #define TR_SLIDERTYPES "Rien\0 ""Slider"
@@ -790,7 +790,7 @@
#define TR_GPS "GPS" #define TR_GPS "GPS"
#define TR_RXCHANNELORD TR("Ordre voies RX","Ordre des voies préféré") #define TR_RXCHANNELORD TR("Ordre voies RX","Ordre des voies préféré")
#define TR_STICKS "Manches" #define TR_STICKS "Manches"
#define TR_POTS TR("Potentios", "Potentiomètres") #define TR_POTS "Potentiomètres"
#define TR_SWITCHES "Inters" #define TR_SWITCHES "Inters"
#define TR_SWITCHES_DELAY "Délai inters son" #define TR_SWITCHES_DELAY "Délai inters son"
#define TR_SLAVE "Elève" #define TR_SLAVE "Elève"
@@ -1107,9 +1107,9 @@
#define TR_SCRIPT "Script" #define TR_SCRIPT "Script"
#define TR_INPUTS "Entrées" #define TR_INPUTS "Entrées"
#define TR_OUTPUTS "Sorties" #define TR_OUTPUTS "Sorties"
#define TR_EEBACKUP "\004[ENTER Long]: Sauvegarder l'EEPROM" #define TR_EEBACKUP TR("[ENTER Long]:Sauvegarde", "\004[ENTER Long]: Sauvegarder l'EEPROM")
#define TR_FACTORYRESET "\016[MENU Long]: RAZ d'usine" #define TR_FACTORYRESET TR("\001[MENU Long]: RAZ d'usine", "\016[MENU Long]: RAZ d'usine")
#define TR_CONFIRMRESET "Effacer TOUS modèles/réglages?" #define TR_CONFIRMRESET TR("Effacer TOUT?","Effacer TOUS modèles/réglages?")
#define TR_TO_MANY_LUA_SCRIPTS "Trop de scripts lua!" #define TR_TO_MANY_LUA_SCRIPTS "Trop de scripts lua!"
#if defined(TELEMETRY_MAVLINK) #if defined(TELEMETRY_MAVLINK)