Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

lang_it.lua #464

Open
wants to merge 3 commits into
base: development
Choose a base branch
from
Open

lang_it.lua #464

wants to merge 3 commits into from

Conversation

Winky1st
Copy link

@Winky1st Winky1st commented May 17, 2021

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 = "!FALLITO!" -- ! FAIL !
modes[12].t = "! MOTORE !" -- ! THROT !
--modes[13].t = " CRUISE" -- CRUISE

-- Max 10 characters
labels[1] = "Batteria" -- Fuel
labels[2] = "Tensione" -- Battery
labels[3] = "Consumo" -- Current
labels[4] = "Altitudine" -- Altitude
labels[5] = "Distanza" -- Distance

local function lang(config2)
-- Max 16 characters
config2[1].t = "Batteria" -- Battery View
config2[2].t = "Cella bassa" -- Cell Low
config2[3].t = "Cella Critica" -- Cell Critical
config2[4].t = "Allarmi Voce" -- Voice Alerts
--config2[5].t = "Feedback" -- Feedback
config2[6].t = "Max Altitudine" -- 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 = "Allarme Batteria" -- Battery Alert
config2[12].t = "Allarme Altitudine" -- Altitude Alert
--config2[13].t = "Timer" -- Timer
config2[14].t = "Voltaggio Rx" -- Rx Voltage
config2[15].t = "Icona Home HUD" -- HUD Home Icon
--config2[16].t = "GPS" -- GPS
config2[17].t = "Batteria Critica" -- Fuel Critical
config2[18].t = "Batteria Bassa" -- 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 = "GPS HDOP" -- GPS HDOP View
config2[23].t = "Capacità" -- Fuel Unit
config2[24].t = "Passi Variometro" -- Vario Steps
config2[25].t = "Vista" -- View Mode
config2[26].t = "Alt-H Centrato FB." -- AltHold Center FB
config2[27].t = "Capacità Batteria" -- Battery Capacity
config2[28].t = "Grafico Altitudine" -- Altitude Graph
config2[29].t = "Calcolo Cella" -- Cell Calculation
config2[30].t = "Simbolo Aereo" -- Aircraft Symbol
config2[31].t = "Mapa del Centro" -- Center Map Home
config2[32].t = "Orientameto" -- Orientation
--config2[33].t = "Scala del Roll" -- Roll Scale
--config2[34].t = "Playback Log" -- Playback Log

-- Max 8 characters
--config2[1].l =  {[0] = "Cell", "Totale"}			-- "Cell", "Total"
config2[4].l =  {[0] = "Off", "Critico", "Tutto"}		-- "Off", "Critical", "All"
config2[5].l =  {[0] = "Off", "Tattile", "Beeper", "Tutto"}	-- "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", "Tutto"}		-- "Off", "Critical", "All"
--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/Minuti"}			-- "Decimal", "Deg/Min"
config2[19].l = {[0] = "Numero", "Grafico", "Entrambi"}		-- "Number", "Graph", "Both"
--config2[20].l = {[0] = "GPS", "Pitot"}			-- "GPS", "Pitot"
config2[22].l = {[0] = "Grafico", "Decimale"}			-- "Graph", "Decimal"
--config2[23].l = {[0] = "Percentuale", "mAh", "mWh"}		-- "Percent", "mAh", "mWh"
config2[25].l = {[0] = "Classica", "Pilot", "Radar", "Altitudine"}	-- "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

@teckel12
Copy link
Owner

@Winky1st Thanks, I'll work on adding this and sorting out the pull request.

@Winky1st
Copy link
Author

Winky1st commented May 25, 2021 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants