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   =  "  NU OK "	 --  NOT OK
9+ modes [6 ].t   =  "    GATA"		 --  READY
10+ modes [7 ].t   =  " TINE POS"	 --  POS HOLD
11+ -- modes[8].t  = "WAYPOINT"	-- WAYPOINT
12+ -- modes[9].t  = " MANUAL"		-- MANUAL
13+ -- modes[10].t = "   RTH   "	-- RTH
14+ modes [11 ].t  =  " ! ESUAT !"	 --  ! FAIL !
15+ modes [12 ].t  =  "  ! ACC ! "	 --  ! THROT !
16+ -- modes[13].t = " CRUISE"	-- CRUISE
17+ 
18+ --  Max 10 characters
19+ labels [1 ] =  " Energie"		 --  Fuel
20+ labels [2 ] =  " Baterie"		 --  Battery
21+ labels [3 ] =  " Amperaj"		 --  Current
22+ labels [4 ] =  " Inaltime"	 --  Altitude
23+ labels [5 ] =  " Distanta"	 --  Distance
24+ 
25+ local  function  lang (config2 )
26+ 	--  Max 16 characters
27+ 	config2 [1 ].t   =  " Vezi Baterie"		 --  Battery View
28+ 	config2 [2 ].t   =  " Celula Niv.mic"		 --  Cell Low
29+ 	config2 [3 ].t   =  " Celula Niv.Critic"	 --  Cell Critical
30+ 	config2 [4 ].t   =  " Alerte Vocale"		 --  Voice Alerts
31+ 	-- config2[5].t  = "Feedback"		-- Feedback
32+ 	config2 [6 ].t   =  " Altitudine Maxima"	 --  Max Altitude
33+ 	config2 [7 ].t   =  " Variometru"		 --  Variometer
34+ 	config2 [8 ].t   =  " Feedback RTH"		 --  RTH Feedback
35+ 	config2 [9 ].t   =  " Feedback HeadFree"	 --  HeadFree Feedback
36+ 	config2 [10 ].t  =  " Feedback RSSI"		 --  RSSI Feedback
37+ 	config2 [11 ].t  =  " Alerta Baterie"	 --  Battery Alert
38+ 	config2 [12 ].t  =  " Alerte Inaltime"	 --  Altitude Alert
39+ 	config2 [13 ].t  =  " Cronometru"		 --  Timer
40+ 	config2 [14 ].t  =  " Tensiune Rx"		 --  Rx Voltage
41+ 	config2 [15 ].t  =  " HUD Info"			 --  HUD Home Icon
42+ 	-- config2[16].t = "GPS"				-- GPS
43+ 	config2 [17 ].t  =  " Niv.Energie Critic"		 --  Fuel Critical
44+ 	config2 [18 ].t  =  " Energie redusa"		 --  Fuel Low
45+ 	config2 [19 ].t  =  " Tensiune Tx"		 --  Tx Voltage
46+ 	config2 [20 ].t  =  " Senzor Viteza"	 --  Speed Sensor
47+ 	config2 [21 ].t  =  " Alerta GPS"		 --  GPS Warning
48+ 	config2 [22 ].t  =  " Vedere GPS HDOP"	 --  GPS HDOP View
49+ 	config2 [23 ].t  =  " Unitate Fuel"		 --  Fuel Unit
50+ 	config2 [24 ].t  =  " Pas Vario"			 --  Vario Steps
51+ 	config2 [25 ].t  =  " Tip Vizualizare"		 --  View Mode
52+ 	config2 [26 ].t  =  " Feedback AltHold"	 --  AltHold Center FB
53+ 	config2 [27 ].t  =  " Capacitate Batterie"	 --  Battery Capacity
54+ 	config2 [28 ].t  =  " Grafica Alt."	 --  Altitude Graph
55+ 	config2 [29 ].t  =  " Calcul de Celule"	 --  Cell Calculation
56+ 	config2 [30 ].t  =  " Simbol Avion"		 --  Aircraft Symbol
57+ 	config2 [31 ].t  =  " Centru Harta Acasa"	 --  Center Map Home
58+ 	config2 [32 ].t  =  " Orientare"		 --  Orientation
59+ 	config2 [33 ].t  =  " Pas Rotatie"	 --  Roll Scale
60+ 	config2 [34 ].t  =  " Redare Log"	 --  Playback Log
61+ 
62+ 	--  Max 8 characters
63+ 	config2 [1 ].l  =   {[0 ] =  " Cellula" " Total" --  "Cell", "Total"
64+ 	config2 [4 ].l  =   {[0 ] =  " Oprit" " Critic" " Toate" --  "Off", "Critical", "All"
65+ 	config2 [5 ].l  =   {[0 ] =  " Oprit" " Haptic" " Biper" " Toate" --  "Off", "Haptic", "Beeper", "All"
66+ 	config2 [7 ].l  =   {[0 ] =  " Oprit" " Grafic" " Voce" " Amandoua" --  "Off", "Graph", "Voice", "Both"
67+ 	config2 [8 ].l  =   {[0 ] =  " Oprit" " Pornit" --  "Off", "On"
68+ 	config2 [9 ].l  =   {[0 ] =  " Oprit" " Pornit" --  "Off", "On"
69+ 	config2 [10 ].l  =  {[0 ] =  " Oprit" " Pornit" --  "Off", "On"
70+ 	config2 [11 ].l  =  {[0 ] =  " Inchis" " Critic" " Tot" --  "Off", "Critical", "All"
71+ 	config2 [12 ].l  =  {[0 ] =  " Oprit" " Pornit" --  "Off", "On"
72+ 	config2 [13 ].l  =  {[0 ] =  " Inchis" " Auto" " 1" " 2" --  "Off", "Auto", "1", "2"
73+ 	config2 [14 ].l  =  {[0 ] =  " Oprit" " Pornit" --  "Off", "On"
74+ 	-- config2[16].l = {[0] = "Decimal", "Deg/Min"}			-- "Decimal", "Deg/Min"
75+ 	config2 [19 ].l  =  {[0 ] =  " Numar" " Grafic" " Amandoua" --  "Number", "Graph", "Both"
76+ 	-- config2[20].l = {[0] = "GPS", "Pitot"}			-- "GPS", "Pitot"
77+ 	config2 [22 ].l  =  {[0 ] =  " Grafic" " Decimal" --  "Graph", "Decimal"
78+ 	config2 [23 ].l  =  {[0 ] =  " Procentaj" " mAh" " mWh" --  "Percent", "mAh", "mWh"
79+ 	config2 [25 ].l  =  {[0 ] =  " Clasic" " Pilot" " Radar" " Inaltime" --  "Classic", "Pilot", "Radar", "Altitude"
80+ 	config2 [26 ].l  =  {[0 ] =  " Oprit" " Pornit" --  "Off", "On"
81+ 	config2 [28 ].l [0 ] =  " Inchis"					 --  "Off"
82+ 	config2 [31 ].l  =  {[0 ] =  " Oprit" " Pornit" --  "Off", "On"
83+ 	config2 [32 ].l  =  {[0 ] =  " Lansare" " Busola" --  "Launch", "Compass"
84+ 	config2 [33 ].l  =  {[0 ] =  " Oprit" " Pornit" --  "Off", "On"
85+ 
86+ 	return  {[0 ] =  " Oprit" " Pornit" --  "Off", "On"
87+ end 
88+ 
89+ return  lang 
0 commit comments