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
+4 -5
View File
@@ -55,10 +55,10 @@
#define TR_TRNCHN "KA1","KA2","KA3","KA4"
#define TR_AUX_SERIAL_MODES "AV","Speglad telemetri","Telemetri in","SBUS Lärare","LUA","CLI","GPS","Debug","SpaceMouse","Extern modul"
#if !NARROW_LAYOUT
#define TR_SWTYPES "Ingen", "2 pos flipp","2 pos","3 pos"
#if defined(FUNCTION_SWITCHES)
#define TR_SWTYPES "Ingen", "2 pos flipp","2 pos","3 pos","Global"
#else
#define TR_SWTYPES "Ingen","Flipp","2 pos","3 pos"
#define TR_SWTYPES "Ingen", "2 pos flipp","2 pos","3 pos"
#endif
#define TR_POTTYPES "Ingen","Vred",TR("Vred m. mitt","Vred med mittläge"),"Reglage",TR("Multipos","Flerlägesväljare"),"Axel X","Axel Y","Brytare"
@@ -307,8 +307,7 @@
#define TR_FS_COLOR_LIST "Anpassad","Av","Vit","Röd","Grön","Gul","Orange","Blå","Rosa"
#define TR_GROUP "Grupp"
#define TR_GROUP_ALWAYS_ON "Alltid på"
#define TR_FS_ON_COLOR TR("PÅ:","PÅ färg")
#define TR_FS_OFF_COLOR TR("AV:","AV färg")
#define TR_LUA_OVERRIDE "Allow Lua override"
#define TR_GROUPS "Alltid på grupper"
#define TR_LAST "Sist"
#define TR_MORE_INFO "Mer info"