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