From fd74f2d027d8c307f826e442fdbf2dd03092baaa Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Wed, 10 Mar 2021 10:43:53 +0000 Subject: [PATCH] Emoji pronounce --- speaker.py | 1 + translations/ar.json | 3 ++- translations/ca.json | 3 ++- translations/cy.json | 3 ++- translations/de.json | 3 ++- translations/en.json | 3 ++- translations/es.json | 3 ++- translations/fr.json | 3 ++- translations/ga.json | 3 ++- translations/hi.json | 3 ++- translations/it.json | 3 ++- translations/ja.json | 3 ++- translations/ku.json | 3 ++- translations/oc.json | 3 ++- translations/pt.json | 3 ++- translations/ru.json | 3 ++- translations/zh.json | 3 ++- 17 files changed, 33 insertions(+), 16 deletions(-) diff --git a/speaker.py b/speaker.py index 2298e810b..c6ce9217c 100644 --- a/speaker.py +++ b/speaker.py @@ -111,6 +111,7 @@ def _speakerPronounce(baseDir: str, sayText: str, translate: {}) -> str: ":-)": '. ' + translate["smile"], ":-(": '. ' + translate["sad face"], ";-)": '. ' + translate["wink"], + ":O": '. ' + translate['shocked'], "?": "? ", '"': "'", "*": "", diff --git a/translations/ar.json b/translations/ar.json index f030124dc..a692a6a57 100644 --- a/translations/ar.json +++ b/translations/ar.json @@ -399,5 +399,6 @@ "Background Images": "صور الخلفية", "heart": "قلب", "counselor": "مستشار", - "Counselors": "المستشارين" + "Counselors": "المستشارين", + "shocked": "صدمت" } diff --git a/translations/ca.json b/translations/ca.json index a0007c55d..238dd2388 100644 --- a/translations/ca.json +++ b/translations/ca.json @@ -399,5 +399,6 @@ "Background Images": "Imatges de fons", "heart": "cor", "counselor": "conseller", - "Counselors": "Consellers" + "Counselors": "Consellers", + "shocked": "sorprès" } diff --git a/translations/cy.json b/translations/cy.json index 7ed539a03..c7f6571b3 100644 --- a/translations/cy.json +++ b/translations/cy.json @@ -399,5 +399,6 @@ "Contact Details": "Manylion cyswllt", "heart": "galon", "counselor": "cynghorydd", - "Counselors": "Cynghorwyr" + "Counselors": "Cynghorwyr", + "shocked": "sioc" } diff --git a/translations/de.json b/translations/de.json index 435ca103a..86c95ae49 100644 --- a/translations/de.json +++ b/translations/de.json @@ -399,5 +399,6 @@ "Contact Details": "Kontaktdetails", "heart": "herz", "counselor": "Beraterin", - "Counselors": "Berater" + "Counselors": "Berater", + "shocked": "schockiert" } diff --git a/translations/en.json b/translations/en.json index ac5baf042..c778ff142 100644 --- a/translations/en.json +++ b/translations/en.json @@ -399,5 +399,6 @@ "Background Images": "Background Images", "heart": "heart", "counselor": "counselor", - "Counselors": "Counselors" + "Counselors": "Counselors", + "shocked": "shocked" } diff --git a/translations/es.json b/translations/es.json index 2660bf339..bf7c27980 100644 --- a/translations/es.json +++ b/translations/es.json @@ -399,5 +399,6 @@ "Contact Details": "Detalles de contacto", "heart": "corazón", "counselor": "Consejera", - "Counselors": "Consejeras" + "Counselors": "Consejeras", + "shocked": "conmocionada" } diff --git a/translations/fr.json b/translations/fr.json index 784e6fe2c..9606d3656 100644 --- a/translations/fr.json +++ b/translations/fr.json @@ -399,5 +399,6 @@ "Contact Details": "Détails du contact", "heart": "cœur", "counselor": "Conseillère", - "Counselors": "Conseillères" + "Counselors": "Conseillères", + "shocked": "sous le choc" } diff --git a/translations/ga.json b/translations/ga.json index 3a792e9d9..1d3c2f16b 100644 --- a/translations/ga.json +++ b/translations/ga.json @@ -399,5 +399,6 @@ "Contact Details": "Sonraí Teagmhála", "heart": "chroí", "counselor": "Comhairleoir", - "Counselors": "Comhairleoirí" + "Counselors": "Comhairleoirí", + "shocked": "ionadh" } diff --git a/translations/hi.json b/translations/hi.json index 70b701f8a..b72bbd022 100644 --- a/translations/hi.json +++ b/translations/hi.json @@ -399,5 +399,6 @@ "Contact Details": "सम्पर्क करने का विवरण", "heart": "दिल", "counselor": "काउंसलर", - "Counselors": "सलाहकार" + "Counselors": "सलाहकार", + "shocked": "हैरान" } diff --git a/translations/it.json b/translations/it.json index 1634f537d..bc58e8605 100644 --- a/translations/it.json +++ b/translations/it.json @@ -399,5 +399,6 @@ "Contact Details": "Dettagli del contatto", "heart": "cuore", "counselor": "Consulente", - "Counselors": "Consiglieri" + "Counselors": "Consiglieri", + "shocked": "scioccata" } diff --git a/translations/ja.json b/translations/ja.json index 0771a6559..818558412 100644 --- a/translations/ja.json +++ b/translations/ja.json @@ -399,5 +399,6 @@ "Contact Details": "連絡先の詳細", "heart": "ハート", "counselor": "カウンセラー", - "Counselors": "カウンセラー" + "Counselors": "カウンセラー", + "shocked": "ショックを受けた" } diff --git a/translations/ku.json b/translations/ku.json index a5a937809..d69187b4a 100644 --- a/translations/ku.json +++ b/translations/ku.json @@ -399,5 +399,6 @@ "Background Images": "Wêneyên Paşê", "heart": "dil", "counselor": "Pêşnîyarvan", - "Counselors": "Selêwirmendan" + "Counselors": "Selêwirmendan", + "shocked": "şok kirin" } diff --git a/translations/oc.json b/translations/oc.json index 9921ce049..6ecbfdf50 100644 --- a/translations/oc.json +++ b/translations/oc.json @@ -395,5 +395,6 @@ "Contact Details": "Contact Details", "heart": "heart", "counselor": "Counselors", - "Counselors": "Counselors" + "Counselors": "Counselors", + "shocked": "shocked" } diff --git a/translations/pt.json b/translations/pt.json index ab453fba9..1ddc7dc65 100644 --- a/translations/pt.json +++ b/translations/pt.json @@ -399,5 +399,6 @@ "Contact Details": "Detalhes do contato", "heart": "coração", "counselor": "Conselheira", - "Counselors": "Conselheiras" + "Counselors": "Conselheiras", + "shocked": "chocada" } diff --git a/translations/ru.json b/translations/ru.json index 8678ff20a..ae4081d8a 100644 --- a/translations/ru.json +++ b/translations/ru.json @@ -399,5 +399,6 @@ "Contact Details": "Контактная информация", "heart": "сердце", "counselor": "Советник", - "Counselors": "Советники" + "Counselors": "Советники", + "shocked": "потрясенный" } diff --git a/translations/zh.json b/translations/zh.json index 61a5de055..a81c63693 100644 --- a/translations/zh.json +++ b/translations/zh.json @@ -399,5 +399,6 @@ "Contact Details": "联系方式", "heart": "心", "counselor": "顾问", - "Counselors": "辅导员" + "Counselors": "辅导员", + "shocked": "震惊的" }