|
| 1 | +local modes, labels = ... |
| 2 | + |
| 3 | +-- Max 7 characters |
| 4 | +--modes[1].t = "! TELEM !" -- ! TELEM ! |
| 5 | +--modes[2].t = "HORIZON" -- HORIZON |
| 6 | +--modes[3].t = " ANGLE" -- ANGLE |
| 7 | +--modes[4].t = " ACRO" -- ACRO |
| 8 | +modes[5].t = " NON OK" -- NOT OK |
| 9 | +modes[6].t = " PRONTO" -- READY |
| 10 | +--modes[7].t = "POS HOLD" -- POS HOLD |
| 11 | +--modes[8].t = "WAYPOINT" -- WAYPOINT |
| 12 | +modes[9].t = "MANUALE" -- MANUAL |
| 13 | +--modes[10].t = " RTH " -- RTH |
| 14 | +--modes[11].t = "! FAIL !" -- ! FAIL ! |
| 15 | +modes[12].t = "! GAS !" -- ! THROT ! |
| 16 | +--modes[13].t = " CRUISE" -- CRUISE |
| 17 | + |
| 18 | +-- Max 10 characters |
| 19 | +labels[1] = "Carburante" -- Fuel |
| 20 | +labels[2] = "Batteria" -- Battery |
| 21 | +labels[3] = "Corrente" -- Current |
| 22 | +labels[4] = "Altitudine" -- Altitude |
| 23 | +labels[5] = "Distanza" -- Distance |
| 24 | + |
| 25 | +local function lang(config2) |
| 26 | + -- Max 16 characters |
| 27 | + config2[1].t = "Indicatore Batt" -- Battery View |
| 28 | + config2[2].t = "Cella scarica" -- Cell Low |
| 29 | + config2[3].t = "Cella critica" -- Cell Critical |
| 30 | + config2[4].t = "Avvisi vocali" -- Voice Alerts |
| 31 | + --config2[5].t = "Feedback" -- Feedback |
| 32 | + config2[6].t = "Quota Max" -- Max Altitude |
| 33 | + config2[7].t = "Variometro" -- Variometer |
| 34 | + --config2[8].t = "RTH Feedback" -- RTH Feedback |
| 35 | + --config2[9].t = "HeadFree Feedback" -- HeadFree Feedback |
| 36 | + --config2[10].t = "RSSI Feedback" -- RSSI Feedback |
| 37 | + config2[11].t = "Avvisi batteria" -- Battery Alert |
| 38 | + config2[12].t = "Avvisi quota" -- Altitude Alert |
| 39 | + --config2[13].t = "Timer" -- Timer |
| 40 | + config2[14].t = "Voltaggio Rx" -- Rx Voltage |
| 41 | + config2[15].t = "Icona punto home" -- HUD Home Icon |
| 42 | + --config2[16].t = "GPS" -- GPS |
| 43 | + config2[17].t = "CarburanteCritico" -- Fuel Critical |
| 44 | + config2[18].t = "Carburante Basso" -- Fuel Low |
| 45 | + config2[19].t = "Voltaggio Tx" -- Tx Voltage |
| 46 | + config2[20].t = "Sensore velocità" -- Speed Sensor |
| 47 | + config2[21].t = "Avviso GPS" -- GPS Warning |
| 48 | + config2[22].t = "Vista GPS HDOP" -- GPS HDOP View |
| 49 | + config2[23].t = "Unità carburante" -- Fuel Unit |
| 50 | + --config2[24].t = "Vario Steps" -- Vario Steps |
| 51 | + config2[25].t = "Modalità vista" -- View Mode -- TODO |
| 52 | + --config2[26].t = "AltHold Center FB" -- AltHold Center FB |
| 53 | + config2[27].t = "Capacità batteria" -- Battery Capacity |
| 54 | + config2[28].t = "Grafico quota" -- Altitude Graph |
| 55 | + --config2[29].t = "Calcolo Celle" -- Cell Calculation - TODO: forse "stima" |
| 56 | + config2[30].t = "Simbolo aereo" -- Aircraft Symbol |
| 57 | + --config2[31].t = "Centra mappa" -- Center Map Home - TODO |
| 58 | + config2[32].t = "Orientamento" -- Orientation |
| 59 | + --config2[33].t = "Roll Scale" -- Roll Scale |
| 60 | + --config2[34].t = "Registro di volo" -- Playback Log |
| 61 | + |
| 62 | + -- Max 8 characters |
| 63 | + config2[1].l = {[0] = "Cella", "Totale"} -- "Cell", "Total" |
| 64 | + config2[4].l = {[0] = "Off", "Critico", "Entrambi"} -- "Off", "Critical", "All" |
| 65 | + config2[5].l = {[0] = "Off", "Vibra", "Beep", "Entrambi"} -- "Off", "Haptic", "Beeper", "All" |
| 66 | + config2[7].l = {[0] = "Off", "Grafico", "Voce", "Entrambi"} -- "Off", "Graph", "Voice", "Both" |
| 67 | + --config2[8].l = {[0] = "Off", "On"} -- "Off", "On" |
| 68 | + --config2[9].l = {[0] = "Off", "On"} -- "Off", "On" |
| 69 | + --config2[10].l = {[0] = "Off", "On"} -- "Off", "On" |
| 70 | + config2[11].l = {[0] = "Off", "Critico", "Entrambi"} -- "Off", "Critical", "All", avvisi batteria |
| 71 | + --config2[12].l = {[0] = "Off", "On"} -- "Off", "On" |
| 72 | + --config2[13].l = {[0] = "Off", "Auto", "1", "2"} -- "Off", "Auto", "1", "2" |
| 73 | + --config2[14].l = {[0] = "Off", "On"} -- "Off", "On" |
| 74 | + config2[16].l = {[0] = "Decimale", "Gradi"} -- "Decimal", "Deg/Min" |
| 75 | + config2[19].l = {[0] = "Numerico", "Icona", "Entrambi"} -- "Number", "Graph", "Both" voltaggio tx |
| 76 | + --config2[20].l = {[0] = "GPS", "Pitot"} -- "GPS", "Pitot" |
| 77 | + config2[22].l = {[0] = "Grafico", "Decimal"} -- "Graph", "Decimal" |
| 78 | + --config2[23].l = {[0] = "Percent", "mAh", "mWh"} -- "Percent", "mAh", "mWh" |
| 79 | + config2[25].l = {[0] = "Classica", "Pilot", "Radar", "Altezza"} -- "Classic", "Pilot", "Radar", "Altitude" |
| 80 | + --config2[26].l = {[0] = "Off", "On"} -- "Off", "On" |
| 81 | + --config2[28].l[0] = "Off" -- "Off" |
| 82 | + --config2[31].l = {[0] = "Off", "On"} -- "Off", "On" |
| 83 | + config2[32].l = {[0] = "Lancio", "Bussola"} -- "Launch", "Compass" |
| 84 | + --config2[33].l = {[0] = "Off", "On"} -- "Off", "On" |
| 85 | + |
| 86 | + return {[0] = "Off", "On"} -- "Off", "On" |
| 87 | +end |
| 88 | + |
| 89 | +return lang |
0 commit comments