Skip to content

Commit

Permalink
Merge pull request #151 from RobertoD91/italian_translation
Browse files Browse the repository at this point in the history
Italian translation
  • Loading branch information
stronnag authored Jul 14, 2024
2 parents bdcfde5 + dccdd01 commit 9fb4f94
Show file tree
Hide file tree
Showing 34 changed files with 92 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -22,3 +22,6 @@ luac.out
# Local copy of lua
3rdparty/lua-5.2.4/src/lua
3rdparty/lua-5.2.4/src/luac

# MacOS files
.DS_Store
Binary file added src/SCRIPTS/TELEMETRY/iNav/it/acromd.wav
Binary file not shown.
Binary file added src/SCRIPTS/TELEMETRY/iNav/it/active.wav
Binary file not shown.
Binary file added src/SCRIPTS/TELEMETRY/iNav/it/althld.wav
Binary file not shown.
Binary file added src/SCRIPTS/TELEMETRY/iNav/it/anglmd.wav
Binary file not shown.
Binary file added src/SCRIPTS/TELEMETRY/iNav/it/batcrt.wav
Binary file not shown.
Binary file added src/SCRIPTS/TELEMETRY/iNav/it/batlow.wav
Binary file not shown.
Binary file added src/SCRIPTS/TELEMETRY/iNav/it/battry.wav
Binary file not shown.
Binary file added src/SCRIPTS/TELEMETRY/iNav/it/cruzmd.wav
Binary file not shown.
Binary file added src/SCRIPTS/TELEMETRY/iNav/it/danger.wav
Binary file not shown.
Binary file added src/SCRIPTS/TELEMETRY/iNav/it/engarm.wav
Binary file not shown.
Binary file added src/SCRIPTS/TELEMETRY/iNav/it/engdrm.wav
Binary file not shown.
Binary file added src/SCRIPTS/TELEMETRY/iNav/it/fsoff.wav
Binary file not shown.
Binary file added src/SCRIPTS/TELEMETRY/iNav/it/fson.wav
Binary file not shown.
Binary file added src/SCRIPTS/TELEMETRY/iNav/it/good.wav
Binary file not shown.
Binary file added src/SCRIPTS/TELEMETRY/iNav/it/gps.wav
Binary file not shown.
Binary file added src/SCRIPTS/TELEMETRY/iNav/it/hedhld.wav
Binary file not shown.
Binary file added src/SCRIPTS/TELEMETRY/iNav/it/hedhlda.wav
Binary file not shown.
Binary file added src/SCRIPTS/TELEMETRY/iNav/it/hfact.wav
Binary file not shown.
Binary file added src/SCRIPTS/TELEMETRY/iNav/it/hfoff.wav
Binary file not shown.
Binary file added src/SCRIPTS/TELEMETRY/iNav/it/homrst.wav
Binary file not shown.
Binary file added src/SCRIPTS/TELEMETRY/iNav/it/hrznmd.wav
Binary file not shown.
Binary file added src/SCRIPTS/TELEMETRY/iNav/it/lost.wav
Binary file not shown.
Binary file added src/SCRIPTS/TELEMETRY/iNav/it/manmd.wav
Binary file not shown.
Binary file added src/SCRIPTS/TELEMETRY/iNav/it/normal.wav
Binary file not shown.
Binary file added src/SCRIPTS/TELEMETRY/iNav/it/off.wav
Binary file not shown.
Binary file added src/SCRIPTS/TELEMETRY/iNav/it/on.wav
Binary file not shown.
Binary file added src/SCRIPTS/TELEMETRY/iNav/it/poshld.wav
Binary file not shown.
Binary file added src/SCRIPTS/TELEMETRY/iNav/it/ready.wav
Binary file not shown.
Binary file added src/SCRIPTS/TELEMETRY/iNav/it/rtl.wav
Binary file not shown.
Binary file added src/SCRIPTS/TELEMETRY/iNav/it/toohgh.wav
Binary file not shown.
Binary file added src/SCRIPTS/TELEMETRY/iNav/it/warnng.wav
Binary file not shown.
Binary file added src/SCRIPTS/TELEMETRY/iNav/it/waypt.wav
Binary file not shown.
89 changes: 89 additions & 0 deletions src/SCRIPTS/TELEMETRY/iNav/lang_it.lua
Original file line number Diff line number Diff line change
@@ -0,0 +1,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

0 comments on commit 9fb4f94

Please sign in to comment.