diff --git a/voice/ar/ar_tts.js b/voice/ar/ar_tts.js index 04095054eb..744b14704f 100644 --- a/voice/ar/ar_tts.js +++ b/voice/ar/ar_tts.js @@ -816,6 +816,10 @@ function speed_alarm(maxSpeed, speed) { return dictionary["exceed_limit"] + " " + num_str(maxSpeed, "m", "nom"); } +function speed_camera_alarm(dist, maxSpeed) { + return attention("SPEED_CAMERA"); +} + function attention(type) { return dictionary["attention"] + " " + getAttentionString(type); } diff --git a/voice/be/be_tts.js b/voice/be/be_tts.js index 7c636cb8ed..efd3e6422e 100644 --- a/voice/be/be_tts.js +++ b/voice/be/be_tts.js @@ -541,6 +541,10 @@ function speed_alarm(maxSpeed, speed) { return dictionary["exceed_limit"] + " " + maxSpeed.toString(); } +function speed_camera_alarm(dist, maxSpeed) { + return attention("SPEED_CAMERA"); +} + function attention(type) { return dictionary["attention"] + (tts ? "! " : " ") + getAttentionString(type); } diff --git a/voice/bg/bg_tts.js b/voice/bg/bg_tts.js index c96d4efff8..d31200f6e7 100644 --- a/voice/bg/bg_tts.js +++ b/voice/bg/bg_tts.js @@ -477,6 +477,10 @@ function speed_alarm(maxSpeed, speed) { return dictionary["exceed_limit"] + " " + maxSpeed.toString(); } +function speed_camera_alarm(dist, maxSpeed) { + return attention("SPEED_CAMERA"); +} + function attention(type) { return dictionary["attention"] + " " + getAttentionString(type); } diff --git a/voice/bs/bs_tts.js b/voice/bs/bs_tts.js index eae0e8c85f..babeed71b8 100644 --- a/voice/bs/bs_tts.js +++ b/voice/bs/bs_tts.js @@ -607,6 +607,10 @@ function speed_alarm(maxSpeed, speed) { return dictionary["exceed_limit"] + " " + maxSpeed.toString(); } +function speed_camera_alarm(dist, maxSpeed) { + return attention("SPEED_CAMERA"); +} + function attention(type) { return dictionary["attention"] + " " + getAttentionString(type); } diff --git a/voice/ca/ca_tts.js b/voice/ca/ca_tts.js index 79c7d41691..c8b3a0d14b 100644 --- a/voice/ca/ca_tts.js +++ b/voice/ca/ca_tts.js @@ -513,6 +513,10 @@ function speed_alarm(maxSpeed, speed) { return dictionary["exceed_limit"] + " " + maxSpeed.toString(); } +function speed_camera_alarm(dist, maxSpeed) { + return attention("SPEED_CAMERA"); +} + function attention(type) { return dictionary["attention"] + (tts ? ", " : " ") + getAttentionString(type); } diff --git a/voice/cs/cs_tts.js b/voice/cs/cs_tts.js index 967f10618c..420af21cff 100644 --- a/voice/cs/cs_tts.js +++ b/voice/cs/cs_tts.js @@ -576,6 +576,10 @@ function speed_alarm(maxSpeed, speed) { return dictionary["exceed_limit"] + " " + maxSpeed.toString(); } +function speed_camera_alarm(dist, maxSpeed) { + return attention("SPEED_CAMERA"); +} + function attention(type) { return dictionary["attention"] + (tts ? ", " : " ") + getAttentionString(type); } diff --git a/voice/da/da_tts.js b/voice/da/da_tts.js index 0f39629f1f..2276b3c25f 100644 --- a/voice/da/da_tts.js +++ b/voice/da/da_tts.js @@ -508,6 +508,13 @@ function speed_alarm(maxSpeed, speed) { return dictionary["exceed_limit"] + " " + maxSpeed.toString(); } +function speed_camera_alarm(dist, maxSpeed) { + return dictionary["attention"] + + (tts ? ", " : " ") + dictionary["speed_camera"] + + (tts ? ", " : " ") + dictionary["distance"] + " " + distance(dist) + + (tts ? ", " + dictionary["exceed_limit"] + " " + maxSpeed.toString() : ""); +} + function attention(type) { return dictionary["attention"] + (tts ? ", " : " ") + getAttentionString(type); } diff --git a/voice/de-casual/de-casual_tts.js b/voice/de-casual/de-casual_tts.js index d3dc607c66..e7f9ef074c 100644 --- a/voice/de-casual/de-casual_tts.js +++ b/voice/de-casual/de-casual_tts.js @@ -558,6 +558,10 @@ function speed_alarm(maxSpeed, speed) { return dictionary["exceed_limit"] + " " + maxSpeed.toString(); } +function speed_camera_alarm(dist, maxSpeed) { + return attention("SPEED_CAMERA"); +} + function attention(type) { return dictionary["attention"] + (tts ? ", " : " ") + getAttentionString(type); } diff --git a/voice/de/de_tts.js b/voice/de/de_tts.js index 99867a2c19..a96478ea59 100644 --- a/voice/de/de_tts.js +++ b/voice/de/de_tts.js @@ -550,6 +550,10 @@ function speed_alarm(maxSpeed, speed) { return dictionary["exceed_limit"] + " " + maxSpeed.toString(); } +function speed_camera_alarm(dist, maxSpeed) { + return attention("SPEED_CAMERA"); +} + function attention(type) { return dictionary["attention"] + (tts ? ", " : " ") + getAttentionString(type); } diff --git a/voice/el/el_tts.js b/voice/el/el_tts.js index 3963775ba6..4495037402 100644 --- a/voice/el/el_tts.js +++ b/voice/el/el_tts.js @@ -510,6 +510,13 @@ function speed_alarm(maxSpeed, speed) { return dictionary["exceed_limit"] + " " + maxSpeed.toString(); } +function speed_camera_alarm(dist, maxSpeed) { + return dictionary["attention"] + + (tts ? ", " : " ") + dictionary["speed_camera"] + + (tts ? ", " : " ") + dictionary["distance"] + " " + distance(dist) + + (tts ? ", " + dictionary["exceed_limit"] + " " + maxSpeed.toString() : ""); +} + function attention(type) { return dictionary["attention"] + (tts ? ", " : " ") + getAttentionString(type); } diff --git a/voice/en-gb/en-gb_tts.js b/voice/en-gb/en-gb_tts.js index 4effdd6570..34c81b90ca 100644 --- a/voice/en-gb/en-gb_tts.js +++ b/voice/en-gb/en-gb_tts.js @@ -508,6 +508,13 @@ function speed_alarm(maxSpeed, speed) { return dictionary["exceed_limit"] + " " + maxSpeed.toString(); } +function speed_camera_alarm(dist, maxSpeed) { + return dictionary["attention"] + + (tts ? ", " : " ") + dictionary["speed_camera"] + + (tts ? ", " : " ") + dictionary["distance"] + " " + distance(dist) + + (tts ? ", " + dictionary["exceed_limit"] + " " + maxSpeed.toString() : ""); +} + function attention(type) { return dictionary["attention"] + (tts ? ", " : " ") + getAttentionString(type); } diff --git a/voice/en/en_tts.js b/voice/en/en_tts.js index a8f5027b65..4f445fa893 100644 --- a/voice/en/en_tts.js +++ b/voice/en/en_tts.js @@ -508,6 +508,13 @@ function speed_alarm(maxSpeed, speed) { return dictionary["exceed_limit"] + " " + maxSpeed.toString(); } +function speed_camera_alarm(dist, maxSpeed) { + return dictionary["attention"] + + (tts ? ", " : " ") + dictionary["speed_camera"] + + (tts ? ", " : " ") + dictionary["distance"] + " " + distance(dist) + + (tts ? ", " + dictionary["exceed_limit"] + " " + maxSpeed.toString() : ""); +} + function attention(type) { return dictionary["attention"] + (tts ? ", " : " ") + getAttentionString(type); } diff --git a/voice/es-ar/es-ar_tts.js b/voice/es-ar/es-ar_tts.js index 666a3310f6..9132c917b1 100644 --- a/voice/es-ar/es-ar_tts.js +++ b/voice/es-ar/es-ar_tts.js @@ -514,6 +514,13 @@ function speed_alarm(maxSpeed, speed) { return dictionary["exceed_limit"] + " " + maxSpeed.toString(); } +function speed_camera_alarm(dist, maxSpeed) { + return dictionary["attention"] + + (tts ? ", " : " ") + dictionary["speed_camera"] + + (tts ? ", " : " ") + dictionary["distance"] + " " + distance(dist) + + (tts ? ", " + dictionary["exceed_limit"] + " " + maxSpeed.toString() : ""); +} + function attention(type) { return dictionary["attention"] + (tts ? ", " : " ") + getAttentionString(type); } diff --git a/voice/es/es_tts.js b/voice/es/es_tts.js index 2ae28953ac..4c9aa2da41 100644 --- a/voice/es/es_tts.js +++ b/voice/es/es_tts.js @@ -511,6 +511,10 @@ function speed_alarm(maxSpeed, speed) { return dictionary["exceed_limit"] + " " + maxSpeed.toString(); } +function speed_camera_alarm(dist, maxSpeed) { + return attention("SPEED_CAMERA"); +} + function attention(type) { return dictionary["attention"] + (tts ? ", " : " ") + getAttentionString(type); } diff --git a/voice/et/et_tts.js b/voice/et/et_tts.js index b5c8a28954..f4d954eb5b 100644 --- a/voice/et/et_tts.js +++ b/voice/et/et_tts.js @@ -650,6 +650,10 @@ function speed_alarm(maxSpeed, speed) { return dictionary["exceed_limit"] + " " + maxSpeed.toString(); } +function speed_camera_alarm(dist, maxSpeed) { + return attention("SPEED_CAMERA"); +} + function attention(type) { return dictionary["attention"] + (tts ? "! " : " ") + getAttentionString(type); } diff --git a/voice/fa/fa_tts.js b/voice/fa/fa_tts.js index 01eed2fedc..41423bdb99 100644 --- a/voice/fa/fa_tts.js +++ b/voice/fa/fa_tts.js @@ -510,6 +510,13 @@ function speed_alarm(maxSpeed, speed) { return dictionary["exceed_limit"] + " " + maxSpeed.toString(); } +function speed_camera_alarm(dist, maxSpeed) { + return dictionary["attention"] + + (tts ? ", " : " ") + dictionary["speed_camera"] + + (tts ? ", " : " ") + dictionary["distance"] + " " + distance(dist) + + (tts ? ", " + dictionary["exceed_limit"] + " " + maxSpeed.toString() : ""); +} + function attention(type) { return dictionary["attention"] + (tts ? ", " : " ") + getAttentionString(type); } diff --git a/voice/fi/fi_tts.js b/voice/fi/fi_tts.js index 991c7cad87..8d78eda1e6 100644 --- a/voice/fi/fi_tts.js +++ b/voice/fi/fi_tts.js @@ -530,6 +530,10 @@ function speed_alarm(maxSpeed, speed) { return dictionary["exceed_limit"] + " " + maxSpeed.toString(); } +function speed_camera_alarm(dist, maxSpeed) { + return attention("SPEED_CAMERA"); +} + function attention(type) { return dictionary["attention"] + (tts ? ", " : " ") + getAttentionString(type); } diff --git a/voice/fr/fr_tts.js b/voice/fr/fr_tts.js index fec56da513..aa01297f30 100644 --- a/voice/fr/fr_tts.js +++ b/voice/fr/fr_tts.js @@ -511,6 +511,10 @@ function speed_alarm(maxSpeed, speed) { return dictionary["exceed_limit"] + " " + maxSpeed.toString(); } +function speed_camera_alarm(dist, maxSpeed) { + return attention("SPEED_CAMERA"); +} + function attention(type) { return dictionary["attention"] + (tts ? ", " : " ") + getAttentionString(type); } diff --git a/voice/gn-py/gn-py_tts.js b/voice/gn-py/gn-py_tts.js index d39944e57c..3e06195100 100644 --- a/voice/gn-py/gn-py_tts.js +++ b/voice/gn-py/gn-py_tts.js @@ -517,6 +517,10 @@ function speed_alarm(maxSpeed, speed) { return dictionary["exceed_limit"] + " " + maxSpeed.toString(); } +function speed_camera_alarm(dist, maxSpeed) { + return attention("SPEED_CAMERA"); +} + function attention(type) { return dictionary["attention"] + (tts ? ", " : " ") + getAttentionString(type); } diff --git a/voice/hi/hi_tts.js b/voice/hi/hi_tts.js index 44931a565a..acf7bf6e61 100644 --- a/voice/hi/hi_tts.js +++ b/voice/hi/hi_tts.js @@ -514,6 +514,10 @@ function speed_alarm(maxSpeed, speed) { return dictionary["exceed_limit"] + " " + maxSpeed.toString(); } +function speed_camera_alarm(dist, maxSpeed) { + return attention("SPEED_CAMERA"); +} + function attention(type) { return dictionary["attention"] + " " + getAttentionString(type); } diff --git a/voice/hr/hr_tts.js b/voice/hr/hr_tts.js index e76f828a6e..e1846e1bd3 100644 --- a/voice/hr/hr_tts.js +++ b/voice/hr/hr_tts.js @@ -604,6 +604,10 @@ function speed_alarm(maxSpeed, speed) { return dictionary["exceed_limit"] + " " + maxSpeed.toString(); } +function speed_camera_alarm(dist, maxSpeed) { + return attention("SPEED_CAMERA"); +} + function attention(type) { return dictionary["attention"] + (tts ? ", " : " ") + getAttentionString(type); } diff --git a/voice/hu-formal/hu-formal_tts.js b/voice/hu-formal/hu-formal_tts.js index b5f08a29f0..2f15f9e60d 100644 --- a/voice/hu-formal/hu-formal_tts.js +++ b/voice/hu-formal/hu-formal_tts.js @@ -521,6 +521,10 @@ function speed_alarm(maxSpeed, speed) { return dictionary["exceed_limit"] + " " + maxSpeed.toString(); } +function speed_camera_alarm(dist, maxSpeed) { + return attention("SPEED_CAMERA"); +} + function attention(type) { return dictionary["attention"] + (tts ? ", " : " ") + getAttentionString(type); } diff --git a/voice/hu/hu_tts.js b/voice/hu/hu_tts.js index 0ef5351c20..aefef6aeb6 100644 --- a/voice/hu/hu_tts.js +++ b/voice/hu/hu_tts.js @@ -521,6 +521,10 @@ function speed_alarm(maxSpeed, speed) { return dictionary["exceed_limit"] + " " + maxSpeed.toString(); } +function speed_camera_alarm(dist, maxSpeed) { + return attention("SPEED_CAMERA"); +} + function attention(type) { return dictionary["attention"] + (tts ? ", " : " ") + getAttentionString(type); } diff --git a/voice/id/id_tts.js b/voice/id/id_tts.js index 05013c95c9..0586eb1a38 100644 --- a/voice/id/id_tts.js +++ b/voice/id/id_tts.js @@ -510,6 +510,10 @@ function speed_alarm(maxSpeed, speed) { return dictionary["exceed_limit"] + " " + maxSpeed.toString(); } +function speed_camera_alarm(dist, maxSpeed) { + return attention("SPEED_CAMERA"); +} + function attention(type) { return dictionary["attention"] + (tts ? ", " : " ") + getAttentionString(type); } diff --git a/voice/it/it_tts.js b/voice/it/it_tts.js index 18f699d723..0d17cf9c13 100644 --- a/voice/it/it_tts.js +++ b/voice/it/it_tts.js @@ -542,6 +542,10 @@ function speed_alarm(maxSpeed, speed) { return dictionary["exceed_limit"] + " " + maxSpeed.toString(); } +function speed_camera_alarm(dist, maxSpeed) { + return attention("SPEED_CAMERA"); +} + function attention(type) { return dictionary["attention"] + (tts ? ", " : " ") + getAttentionString(type); } diff --git a/voice/ja/ja_tts.js b/voice/ja/ja_tts.js index 8bb37a7f6e..1505813ab0 100644 --- a/voice/ja/ja_tts.js +++ b/voice/ja/ja_tts.js @@ -539,6 +539,10 @@ function speed_alarm(maxSpeed, speed) { return dictionary["exceed_limit"] + " " + maxSpeed.toString(); } +function speed_camera_alarm(dist, maxSpeed) { + return attention("SPEED_CAMERA"); +} + function attention(type) { return dictionary["attention"] + " " + getAttentionString(type); } diff --git a/voice/ko/ko_tts.js b/voice/ko/ko_tts.js index 432aa1f9de..78dbb9ec71 100644 --- a/voice/ko/ko_tts.js +++ b/voice/ko/ko_tts.js @@ -514,6 +514,13 @@ function speed_alarm(maxSpeed, speed) { return dictionary["exceed_limit"] + " " + maxSpeed.toString(); } +function speed_camera_alarm(dist, maxSpeed) { + return dictionary["attention"] + + (tts ? ", " : " ") + dictionary["speed_camera"] + + (tts ? ", " : " ") + dictionary["distance"] + " " + distance(dist) + + (tts ? ", " + dictionary["exceed_limit"] + " " + maxSpeed.toString() : ""); +} + function attention(type) { return dictionary["attention"] + (tts ? ", " : " ") + getAttentionString(type); } diff --git a/voice/lv/lv_tts.js b/voice/lv/lv_tts.js index 7f1174367c..a113a5f27d 100644 --- a/voice/lv/lv_tts.js +++ b/voice/lv/lv_tts.js @@ -522,6 +522,10 @@ function speed_alarm(maxSpeed, speed) { return dictionary["exceed_limit"] + " " + maxSpeed.toString(); } +function speed_camera_alarm(dist, maxSpeed) { + return attention("SPEED_CAMERA"); +} + function attention(type) { return dictionary["attention"] + (tts ? ", " : " ") + getAttentionString(type); } diff --git a/voice/nb/nb_tts.js b/voice/nb/nb_tts.js index 4568ef9271..bb8cb10a72 100644 --- a/voice/nb/nb_tts.js +++ b/voice/nb/nb_tts.js @@ -509,6 +509,13 @@ function speed_alarm(maxSpeed, speed) { return dictionary["exceed_limit"] + " " + maxSpeed.toString(); } +function speed_camera_alarm(dist, maxSpeed) { + return dictionary["attention"] + + (tts ? ", " : " ") + dictionary["speed_camera"] + + (tts ? ", " : " ") + dictionary["distance"] + " " + distance(dist) + + (tts ? ", " + dictionary["exceed_limit"] + " " + maxSpeed.toString() : ""); +} + function attention(type) { return dictionary["attention"] + (tts ? ", " : " ") + getAttentionString(type); } diff --git a/voice/nl/nl_tts.js b/voice/nl/nl_tts.js index 7d69bf774a..e458f615c4 100644 --- a/voice/nl/nl_tts.js +++ b/voice/nl/nl_tts.js @@ -517,6 +517,10 @@ function speed_alarm(maxSpeed, speed) { return dictionary["exceed_limit"] + " " + maxSpeed.toString(); } +function speed_camera_alarm(dist, maxSpeed) { + return attention("SPEED_CAMERA"); +} + function attention(type) { return dictionary["attention"] + (tts ? ", " : " ") + getAttentionString(type); } diff --git a/voice/pl/pl_tts.js b/voice/pl/pl_tts.js index 2564944d4b..8feb1bc3fe 100644 --- a/voice/pl/pl_tts.js +++ b/voice/pl/pl_tts.js @@ -516,6 +516,10 @@ function speed_alarm(maxSpeed, speed) { return dictionary["exceed_limit"] + " " + maxSpeed.toString(); } +function speed_camera_alarm(dist, maxSpeed) { + return attention("SPEED_CAMERA"); +} + function attention(type) { return dictionary["attention"] + (tts ? ", " : " ") + getAttentionString(type); } diff --git a/voice/pt-br/pt-br_tts.js b/voice/pt-br/pt-br_tts.js index eee86a3775..9408cacddf 100644 --- a/voice/pt-br/pt-br_tts.js +++ b/voice/pt-br/pt-br_tts.js @@ -549,6 +549,10 @@ function speed_alarm(maxSpeed, speed) { return dictionary["exceed_limit"] + " " + maxSpeed.toString(); } +function speed_camera_alarm(dist, maxSpeed) { + return attention("SPEED_CAMERA"); +} + function attention(type) { return dictionary["attention"] + (tts ? "! " : " ") + getAttentionString(type); } diff --git a/voice/pt/pt_tts.js b/voice/pt/pt_tts.js index ddf6049c59..4541249344 100644 --- a/voice/pt/pt_tts.js +++ b/voice/pt/pt_tts.js @@ -548,6 +548,10 @@ function speed_alarm(maxSpeed, speed) { return dictionary["exceed_limit"] + " " + maxSpeed.toString(); } +function speed_camera_alarm(dist, maxSpeed) { + return attention("SPEED_CAMERA"); +} + function attention(type) { return dictionary["attention"] + (tts ? "! " : " ") + getAttentionString(type); } diff --git a/voice/ro/ro_tts.js b/voice/ro/ro_tts.js index 637e5742f6..d6e4a72022 100644 --- a/voice/ro/ro_tts.js +++ b/voice/ro/ro_tts.js @@ -574,6 +574,13 @@ function speed_alarm(maxSpeed, speed) { return dictionary["exceed_limit"] + " " + maxSpeed.toString(); } +function speed_camera_alarm(dist, maxSpeed) { + return dictionary["attention"] + + (tts ? ", " : " ") + dictionary["speed_camera"] + + (tts ? ", " : " ") + dictionary["distance"] + " " + distance(dist) + + (tts ? ", " + dictionary["exceed_limit"] + " " + maxSpeed.toString() : ""); +} + function attention(type) { return dictionary["attention"] + (tts ? ", " : " ") + getAttentionString(type); } diff --git a/voice/ru/ru_tts.js b/voice/ru/ru_tts.js index a2221cd9e0..00e1ef0d58 100644 --- a/voice/ru/ru_tts.js +++ b/voice/ru/ru_tts.js @@ -571,6 +571,13 @@ function speed_alarm(maxSpeed, speed) { return dictionary["exceed_limit"] + " " + maxSpeed.toString(); } +function speed_camera_alarm(dist, maxSpeed) { + return dictionary["attention"] + + (tts ? ", " : " ") + dictionary["speed_camera"] + + (tts ? ", " : " ") + dictionary["distance"] + " " + distance(dist) + + (tts ? ", " + dictionary["exceed_limit"] + " " + maxSpeed.toString() : ""); +} + function attention(type) { return dictionary["attention"] + (tts ? ", " : " ") + getAttentionString(type); } diff --git a/voice/sc/sc_tts.js b/voice/sc/sc_tts.js index a8671980a2..1b545aa1c7 100644 --- a/voice/sc/sc_tts.js +++ b/voice/sc/sc_tts.js @@ -542,6 +542,10 @@ function speed_alarm(maxSpeed, speed) { return dictionary["exceed_limit"] + " " + maxSpeed.toString(); } +function speed_camera_alarm(dist, maxSpeed) { + return attention("SPEED_CAMERA"); +} + function attention(type) { return dictionary["attention"] + (tts ? ", " : " ") + getAttentionString(type); } diff --git a/voice/sk/sk_tts.js b/voice/sk/sk_tts.js index 4c1b3369e3..ca8111de34 100644 --- a/voice/sk/sk_tts.js +++ b/voice/sk/sk_tts.js @@ -558,6 +558,13 @@ function speed_alarm(maxSpeed, speed) { return dictionary["exceed_limit"] + " " + maxSpeed.toString(); } +function speed_camera_alarm(dist, maxSpeed) { + return dictionary["attention"] + + (tts ? ", " : " ") + dictionary["speed_camera"] + + (tts ? ", " : " ") + dictionary["distance"] + " " + distance(dist) + + (tts ? ", " + dictionary["exceed_limit"] + " " + maxSpeed.toString() : ""); +} + function attention(type) { return dictionary["attention"] + (tts ? ", " : " ") + getAttentionString(type); } diff --git a/voice/sl/sl_tts.js b/voice/sl/sl_tts.js index 7bba8f2350..e831235ed4 100644 --- a/voice/sl/sl_tts.js +++ b/voice/sl/sl_tts.js @@ -516,6 +516,13 @@ function speed_alarm(maxSpeed, speed) { return dictionary["exceed_limit"] + " " + maxSpeed.toString(); } +function speed_camera_alarm(dist, maxSpeed) { + return dictionary["attention"] + + (tts ? ", " : " ") + dictionary["speed_camera"] + + (tts ? ", " : " ") + dictionary["distance"] + " " + distance(dist) + + (tts ? ", " + dictionary["exceed_limit"] + " " + maxSpeed.toString() : ""); +} + function attention(type) { return dictionary["attention"] + (tts ? ", " : " ") + getAttentionString(type); } diff --git a/voice/sr/sr_tts.js b/voice/sr/sr_tts.js index 83a98cc9c5..5fdeb28d08 100644 --- a/voice/sr/sr_tts.js +++ b/voice/sr/sr_tts.js @@ -604,6 +604,10 @@ function speed_alarm(maxSpeed, speed) { return dictionary["exceed_limit"] + " " + maxSpeed.toString(); } +function speed_camera_alarm(dist, maxSpeed) { + return attention("SPEED_CAMERA"); +} + function attention(type) { return dictionary["attention"] + (tts ? ", " : " ") + getAttentionString(type); } diff --git a/voice/sv/sv_tts.js b/voice/sv/sv_tts.js index 77e8bf5864..d2b7c26087 100644 --- a/voice/sv/sv_tts.js +++ b/voice/sv/sv_tts.js @@ -509,6 +509,10 @@ function speed_alarm(maxSpeed, speed) { return dictionary["exceed_limit"] + " " + maxSpeed.toString(); } +function speed_camera_alarm(dist, maxSpeed) { + return attention("SPEED_CAMERA"); +} + function attention(type) { return dictionary["attention"] + " " + getAttentionString(type); } diff --git a/voice/sw/sw_tts.js b/voice/sw/sw_tts.js index de4a1328c5..4e83d442f4 100644 --- a/voice/sw/sw_tts.js +++ b/voice/sw/sw_tts.js @@ -511,6 +511,13 @@ function speed_alarm(maxSpeed, speed) { return dictionary["exceed_limit"] + " " + maxSpeed.toString(); } +function speed_camera_alarm(dist, maxSpeed) { + return dictionary["attention"] + + (tts ? ", " : " ") + dictionary["speed_camera"] + + (tts ? ", " : " ") + dictionary["distance"] + " " + distance(dist) + + (tts ? ", " + dictionary["exceed_limit"] + " " + maxSpeed.toString() : ""); +} + function attention(type) { return dictionary["attention"] + (tts ? ", " : " ") + getAttentionString(type); } diff --git a/voice/tr/tr_tts.js b/voice/tr/tr_tts.js index 496405349e..7999ac141e 100755 --- a/voice/tr/tr_tts.js +++ b/voice/tr/tr_tts.js @@ -508,6 +508,13 @@ function speed_alarm(maxSpeed, speed) { return dictionary["exceed_limit"] + " " + maxSpeed.toString(); } +function speed_camera_alarm(dist, maxSpeed) { + return dictionary["attention"] + + (tts ? ", " : " ") + dictionary["speed_camera"] + + (tts ? ", " : " ") + dictionary["distance"] + " " + distance(dist) + + (tts ? ", " + dictionary["exceed_limit"] + " " + maxSpeed.toString() : ""); +} + function attention(type) { return dictionary["attention"] + (tts ? ", " : " ") + getAttentionString(type); } diff --git a/voice/uk/uk_tts.js b/voice/uk/uk_tts.js index fc39dedd06..be63c33598 100644 --- a/voice/uk/uk_tts.js +++ b/voice/uk/uk_tts.js @@ -588,6 +588,13 @@ function speed_alarm(maxSpeed, speed) { return dictionary["exceed_limit"] + " " + maxSpeed.toString(); } +function speed_camera_alarm(dist, maxSpeed) { + return dictionary["attention"] + + (tts ? ", " : " ") + dictionary["speed_camera"] + + (tts ? ", " : " ") + dictionary["distance"] + " " + distance(dist) + + (tts ? ", " + dictionary["exceed_limit"] + " " + maxSpeed.toString() : ""); +} + function attention(type) { return dictionary["attention"] + (tts ? ", " : " ") + getAttentionString(type); } diff --git a/voice/zh-hk/zh-hk_tts.js b/voice/zh-hk/zh-hk_tts.js index 565a987c5f..0ac8500962 100644 --- a/voice/zh-hk/zh-hk_tts.js +++ b/voice/zh-hk/zh-hk_tts.js @@ -511,6 +511,13 @@ function speed_alarm(maxSpeed, speed) { return dictionary["exceed_limit"] + " " + maxSpeed.toString(); } +function speed_camera_alarm(dist, maxSpeed) { + return dictionary["attention"] + + (tts ? ", " : " ") + dictionary["speed_camera"] + + (tts ? ", " : " ") + dictionary["distance"] + " " + distance(dist) + + (tts ? ", " + dictionary["exceed_limit"] + " " + maxSpeed.toString() : ""); +} + function attention(type) { return dictionary["attention"] + (tts ? ", " : " ") + getAttentionString(type); } diff --git a/voice/zh-tw/zh-tw_tts.js b/voice/zh-tw/zh-tw_tts.js index 649e8a7220..c6d685a98c 100644 --- a/voice/zh-tw/zh-tw_tts.js +++ b/voice/zh-tw/zh-tw_tts.js @@ -512,6 +512,13 @@ function speed_alarm(maxSpeed, speed) { return dictionary["exceed_limit"] + " " + maxSpeed.toString(); } +function speed_camera_alarm(dist, maxSpeed) { + return dictionary["attention"] + + (tts ? ", " : " ") + dictionary["speed_camera"] + + (tts ? ", " : " ") + dictionary["distance"] + " " + distance(dist) + + (tts ? ", " + dictionary["exceed_limit"] + " " + maxSpeed.toString() : ""); +} + function attention(type) { return dictionary["attention"] + (tts ? ", " : " ") + getAttentionString(type); } diff --git a/voice/zh/zh_tts.js b/voice/zh/zh_tts.js index 5705759fe6..642d5dc8db 100644 --- a/voice/zh/zh_tts.js +++ b/voice/zh/zh_tts.js @@ -511,6 +511,13 @@ function speed_alarm(maxSpeed, speed) { return dictionary["exceed_limit"] + " " + maxSpeed.toString(); } +function speed_camera_alarm(dist, maxSpeed) { + return dictionary["attention"] + + (tts ? ", " : " ") + dictionary["speed_camera"] + + (tts ? ", " : " ") + dictionary["distance"] + " " + distance(dist) + + (tts ? ", " + dictionary["exceed_limit"] + " " + maxSpeed.toString() : ""); +} + function attention(type) { return dictionary["attention"] + (tts ? ", " : " ") + getAttentionString(type); }