feat(radio): refactor of switch handling to better support customisable switches (#6095)

Co-authored-by: philmoz <phil.a.mitchell@gmail.com>
Co-authored-by: 3djc <3djc@gh.com>
Co-authored-by: elecpower <elecpower@users.noreply.github.com>
This commit is contained in:
philmoz
2025-07-28 12:59:22 +10:00
committed by GitHub
co-authored by philmoz 3djc elecpower
parent 28833f42e6
commit 0c8c39b134
155 changed files with 4538 additions and 2306 deletions
+5 -2
View File
@@ -52,7 +52,11 @@
#define TR_TRNMODE "DESL",TR("+=","Adicionar"),TR(":=","Trocar")
#define TR_TRNCHN "CH1","CH2","CH3","CH4"
#define TR_AUX_SERIAL_MODES "DESL","Espelhar Telem","Entr Telem","Trainer SBUS","LUA","CLI","GPS","Debug","SpaceMouse","External module"
#if defined(FUNCTION_SWITCHES)
#define TR_SWTYPES "Nenhum","Tátil","2POS","3POS","Global"
#else
#define TR_SWTYPES "Nenhum","Tátil","2POS","3POS"
#endif
#define TR_POTTYPES "Nenhum","Pot",TR("Pot c. trav","Pot com trava"),"Slider",TR("Multipos","Chave Multipos"),"Eixo X","Eixo Y","Chave"
#define TR_VPERSISTENT "DESL","Voo","Reset Manual"
#define TR_COUNTRY_CODES TR("US","América"),TR("JP","Japão"),TR("EU","Europa")
@@ -296,8 +300,7 @@
#define TR_FS_COLOR_LIST "Custom","Desl","Branco","Verm","Verd","Amarl","Larj","Azul","Pink"
#define TR_GROUP "Grupo"
#define TR_GROUP_ALWAYS_ON "Sempre lig"
#define TR_FS_ON_COLOR TR("ON:","ON Color")
#define TR_FS_OFF_COLOR TR("OFF:","OFF Color")
#define TR_LUA_OVERRIDE "Allow Lua override"
#define TR_GROUPS "Always on groups"
#define TR_LAST "Last"
#define TR_MORE_INFO "More info"