Some tts fixes (#7547)

This commit is contained in:
3djc
2020-04-28 13:59:39 +02:00
committed by GitHub
parent 6cf3fb5146
commit 512db24f33
2 changed files with 7 additions and 3 deletions
+3 -1
View File
@@ -72,7 +72,9 @@ for s, f in [("trim center", "midtrim"),
("receiver still connected", "modelpwr"), ("receiver still connected", "modelpwr"),
]: ]:
systemSounds.append((s, filename(f))) systemSounds.append((s, filename(f)))
for i, (s, f) in enumerate([("gear!, up!", "gearup"), for i, (s, f) in enumerate([("armed", "armed"),
("disarmed", "disarm"),
("gear!, up!", "gearup"),
("gear!, down!", "geardn"), ("gear!, down!", "geardn"),
("flaps!, up!", "flapup"), ("flaps!, up!", "flapup"),
("flaps!, down!", "flapdn"), ("flaps!, down!", "flapdn"),
+4 -2
View File
@@ -71,9 +71,11 @@ for s, f in [("Trim centré", "midtrim"),
("Récepteur encore sous tension", "modelpwr"), ("Récepteur encore sous tension", "modelpwr"),
]: ]:
systemSounds.append((s, filename(f))) systemSounds.append((s, filename(f)))
for i, (s, f) in enumerate([("altitude", "altitude"), for i, (s, f) in enumerate([("armé", "armed"),
("désarmé", "disarm"),
("altitude", "alt"),
("température moteur", "moteur"), ("température moteur", "moteur"),
("température contrôleur", "cntrleur"), ("température contrôleur", "tctrl"),
("train rentré", "gearup"), ("train rentré", "gearup"),
("train sorti", "geardn"), ("train sorti", "geardn"),
("volets rentrés", "flapup"), ("volets rentrés", "flapup"),