mirror of
https://github.com/opentx/opentx.git
synced 2025-07-19 14:25:11 +03:00
Change audio generation files accordingly (#3717)
* Change audio generation files accordingly New way of working : units files are ALWAYS named in english based on the names in audio_arm.cpp names. multiple form (singular, plural(s) are ammended with 0 to 4 suffix, according to languages rules. example : meter1.wav for first form of plural of meter unit,. This filename needs to be the same for all languages (in their respective directories of course) * Care for gruin9x * Better form * Other languages * Cosmetics
This commit is contained in:
parent
b69c2aa41c
commit
9d9fdf81b4
21 changed files with 699 additions and 414 deletions
|
@ -14,29 +14,34 @@ systemSounds.append(("mila", filename(PROMPT_SYSTEM_BASE + 101)))
|
|||
systemSounds.append(("mille", filename(PROMPT_SYSTEM_BASE + 102)))
|
||||
for i, s in enumerate(["virgola", "un", "e", "meno", "ora", "ore", "minuto", "minuti", "secondo", "secondi"]):
|
||||
systemSounds.append((s, filename(PROMPT_SYSTEM_BASE + 103 + i)))
|
||||
for i, s in enumerate(["", "",
|
||||
"volt", "volt",
|
||||
"ampere", "ampere",
|
||||
"milliampers", "milliampers",
|
||||
"nodo", "nodi",
|
||||
"metro al secondo", "metri al secondo",
|
||||
"piede al secondo", "piedi al secondo",
|
||||
"chilometro ora", "chilometri ora",
|
||||
"miglio per ora", "miglia per ora",
|
||||
"metro", "metri",
|
||||
"piede", "piedi",
|
||||
"grado celsius", "gradi celsius",
|
||||
"grado fahrenheit", "gradi fahrenheit",
|
||||
"percento", "percento",
|
||||
"milliampere ora", "milliampere ora",
|
||||
"watt", "watt",
|
||||
"decibel", "decibel",
|
||||
"R P M", "R P M",
|
||||
"g", "g",
|
||||
"grado", "gradi",
|
||||
"millilitro", "millilitri",
|
||||
"oncia", "once"]):
|
||||
systemSounds.append((s, filename(PROMPT_SYSTEM_BASE + 113 + i)))
|
||||
for i, (s, f) in enumerate([(u"volt", "volt0"),
|
||||
(u"ampere", "amp0"),
|
||||
(u"milliampers", "mamp0"),
|
||||
(u"nodo", "knot0"), ("nodi", "knot1"),
|
||||
(u"metro al secondo", "mps0"), ("metri al secondo", "msp1"),
|
||||
(u"piede al secondo", "fps0"), ("piedi al secondo", "fps1"),
|
||||
(u"chilometro ora", "kph0"), ("kilometers per hour", "kph1"),
|
||||
(u"miglio per ora", "mph0"), ("miglia per ora", "mph1"),
|
||||
(u"metro", "meter0"), ("metri", "meter1"),
|
||||
(u"piede", "foot0"), ("piedi", "foot1"),
|
||||
(u"grado celsius", "celsius0"), ("gradi celsius", "celsius1"),
|
||||
(u"grado fahrenheit", "fahr0"), ("gradi fahrenheit", "fahr1"),
|
||||
(u"percento", "percent0"),
|
||||
(u"milliampere ora", "mamph0"),
|
||||
(u"watt", "watt0"),
|
||||
(u"milli-watt", "mwatt0"), ("milli-watts", "mwatt1"),
|
||||
(u"db", "db0"),
|
||||
(u"r p m", "rpm0"),
|
||||
(u"g", "g0"),
|
||||
(u"grado", "degree0"), ("gradi", "degree1"),
|
||||
(u"radian", "rad0"), ("radians", "rad1"),
|
||||
(u"millilitro", "m10"), ("millilitri", "m11"),
|
||||
(u"oncia", "founce0"), ("once", "founce1"),
|
||||
(u"hour", "hour0"), ("hours", "hour1"),
|
||||
(u"minute", "minute0"), ("minutes", "minute1"),
|
||||
(u"second", "second0"), ("seconds", "second1"),
|
||||
]):
|
||||
systemSounds.append((s, filename(f, PROMPT_SYSTEM_BASE + 113 + i)))
|
||||
for s, f, a in [(u"radio inattiva controllare", "inactiv", 486),
|
||||
(u"batteria della radio scarica", "lowbatt", 485),
|
||||
(u"controllo motore non in posizione, verificare", "thralert", 481),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue