From f00d5d9417964487fc61376c605c95b9b44c3d06 Mon Sep 17 00:00:00 2001 From: Benjamin Boy Date: Fri, 23 Sep 2016 13:58:53 +0200 Subject: [PATCH] Update tts_de.py Translated crow to "Butterfly", changed filenames accordingly to the english ones so its possible to change from english to german without the need of editing the Special Functions section per model. Removed "Minimale Trimmung", in my opinion this makes no sense a trim only can be at maximum or at center. --- radio/util/tts_de.py | 36 ++++++++++++++++++------------------ 1 file changed, 18 insertions(+), 18 deletions(-) diff --git a/radio/util/tts_de.py b/radio/util/tts_de.py index c65653924..cdbb55f86 100755 --- a/radio/util/tts_de.py +++ b/radio/util/tts_de.py @@ -50,8 +50,8 @@ for s, f, a in [(u"Inaktivitätsalarm", "inactiv", 486), (u"Fehler", "error", NO_ALTERNATE), (u"Trim zentriert", "midtrim", 495), (u"Poti zentriert", "midpot", 496), - (u"Maximale Trimmung erreicht", "maxtrim", NO_ALTERNATE), - (u"Minimale Trimmung erreicht", "mintrim", NO_ALTERNATE), + (u"Maximale Trimmung erreicht", "endtrim", NO_ALTERNATE), + # (u"Minimale Trimmung erreicht", "mintrim", NO_ALTERNATE), this makes no sense (u"20 Sekunden", "timer20", 500), (u"30 Sekunden", "timer30", 501), (u"Senderstrom zu hoch!", "highmah", NO_ALTERNATE), @@ -82,27 +82,27 @@ for i, (s, f) in enumerate([(u"Fahrwerk eingezogen", "gearup"), (u"Fahrwerk ausgefahren", "geardn"), (u"Klappen eingefahren", "flapup"), (u"Klappen ausgefahren", "flapdn"), - (u"Landung", "attero"), + (u"Landung", "lnding"), (u"Trainer-Modus ein", "trnon"), (u"Trainer-Modus aus", "trnoff"), (u"Motor aus", "engoff"), (u"Motor an", "engon"), (u"zu hoch", "tohigh"), (u"zu niedrig", "tolow"), - (u"Batterie schwach", "lowbat"), - (u"crow ein", "crowon"), - (u"crow aus", "crowof"), - (u"Geschwindigkeits-Modus ist aktiviert", "spdmod"), - (u"Thermik-Modus ist aktiviert", "thmmod"), - (u"Normal-Modus ist aktiviert", "nrmmod"), - (u"Flugmodus 1", "fltmd1"), - (u"Flugmodus 2", "fltmd2"), - (u"Flugmodus 3", "fltmd3"), - (u"Flugmodus 4", "fltmd4"), - (u"Flugmodus 5", "fltmd5"), - (u"Flugmodus 6", "fltmd6"), - (u"Flugmodus 7", "fltmd7"), - (u"Flugmodus 8", "fltmd8"), - (u"Flugmodus 9", "fltmd9"), + (u"Batterie schwach", "lowbatt"), + (u"Butterfly ein", "crowon"), + (u"Butterfly aus", "crowof"), + (u"Geschwindigkeits-Modus ist aktiviert", "fm-spd"), + (u"Thermik-Modus ist aktiviert", "fm-thm"), + (u"Normal-Modus ist aktiviert", "fm-nrm"), + (u"Flugmodus 1", "fm-1"), + (u"Flugmodus 2", "fm-2"), + (u"Flugmodus 3", "fm-3"), + (u"Flugmodus 4", "fm-4"), + (u"Flugmodus 5", "fm-5"), + (u"Flugmodus 6", "fm-6"), + (u"Flugmodus 7", "fm-7"), + (u"Flugmodus 8", "fm-8"), + (u"Flugmodus 9", "fm-9"), ]): sounds.append((s, filename(f, PROMPT_CUSTOM_BASE + i)))