From 84697cef2bd0b7d74f6584df3fcf3af7626b09cf Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Thu, 21 Apr 2022 14:36:39 +0100 Subject: [PATCH] Double backslash --- speaker.py | 9 +++++---- 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/ko.json | 3 ++- translations/ku.json | 3 ++- translations/oc.json | 3 ++- translations/pl.json | 3 ++- translations/pt.json | 3 ++- translations/ru.json | 3 ++- translations/sw.json | 3 ++- translations/uk.json | 3 ++- translations/zh.json | 3 ++- 21 files changed, 45 insertions(+), 24 deletions(-) diff --git a/speaker.py b/speaker.py index a85af2198..b35a2cd0c 100644 --- a/speaker.py +++ b/speaker.py @@ -104,10 +104,10 @@ def _speaker_pronounce(base_dir: str, say_text: str, translate: {}) -> str: "Tor": "Toor", "memes": "meemes", "Memes": "Meemes", - "rofl": "roll on the floor laughing", - "ROFL": "roll on the floor laughing", - "lmao": "laughing", - "LMAO": "laughing", + "rofl": translate["laughing"], + "ROFL": translate["laughing"], + "lmao": translate["laughing"], + "LMAO": translate["laughing"], "fwiw": "for what it's worth", "fyi": "for your information", "irl": "in real life", @@ -128,6 +128,7 @@ def _speaker_pronounce(base_dir: str, say_text: str, translate: {}) -> str: "#nowplaying": translate["hashtag"] + " now-playing", "#NowPlaying": translate["hashtag"] + " now-playing", "#": translate["hashtag"] + ' ', + "¯\\_(ツ)_/¯": translate["shrug"], ":D": '. ' + translate["laughing"], ":-D": '. ' + translate["laughing"], ":)": '. ' + translate["smile"], diff --git a/translations/ar.json b/translations/ar.json index b1e77a64b..e1a2eb44d 100644 --- a/translations/ar.json +++ b/translations/ar.json @@ -546,5 +546,6 @@ "lang_sw": "السواحيلية", "lang_zh": "صينى", "Common emoji": "الرموز التعبيرية الشائعة", - "Copy and paste into your text": "نسخ ولصق في النص الخاص بك" + "Copy and paste into your text": "نسخ ولصق في النص الخاص بك", + "shrug": "هز كتفيه" } diff --git a/translations/ca.json b/translations/ca.json index 1c250ca7e..9d8833dc1 100644 --- a/translations/ca.json +++ b/translations/ca.json @@ -546,5 +546,6 @@ "lang_sw": "Suahili", "lang_zh": "Xinès", "Common emoji": "Emoji comú", - "Copy and paste into your text": "Copia i enganxa al teu text" + "Copy and paste into your text": "Copia i enganxa al teu text", + "shrug": "arronsar les espatlles" } diff --git a/translations/cy.json b/translations/cy.json index 4df858f12..b560e80ff 100644 --- a/translations/cy.json +++ b/translations/cy.json @@ -546,5 +546,6 @@ "lang_sw": "Swahili", "lang_zh": "Tseiniaidd", "Common emoji": "Emoji cyffredin", - "Copy and paste into your text": "Copïwch a gludwch i'ch testun" + "Copy and paste into your text": "Copïwch a gludwch i'ch testun", + "shrug": "shrug" } diff --git a/translations/de.json b/translations/de.json index ebe210e6b..c47cdf0ef 100644 --- a/translations/de.json +++ b/translations/de.json @@ -546,5 +546,6 @@ "lang_sw": "Suaheli", "lang_zh": "Chinesisch", "Common emoji": "Gewöhnliches Emoji", - "Copy and paste into your text": "Kopieren und in Ihren Text einfügen" + "Copy and paste into your text": "Kopieren und in Ihren Text einfügen", + "shrug": "zucken" } diff --git a/translations/en.json b/translations/en.json index 059f1ea90..295551969 100644 --- a/translations/en.json +++ b/translations/en.json @@ -546,5 +546,6 @@ "lang_sw": "Swahili", "lang_zh": "Chinese", "Common emoji": "Common emoji", - "Copy and paste into your text": "Copy and paste into your text" + "Copy and paste into your text": "Copy and paste into your text", + "shrug": "shrug" } diff --git a/translations/es.json b/translations/es.json index 8f8ded93e..861013de4 100644 --- a/translations/es.json +++ b/translations/es.json @@ -546,5 +546,6 @@ "lang_sw": "Swahili", "lang_zh": "China", "Common emoji": "Emoticonos comunes", - "Copy and paste into your text": "Copia y pega en tu texto" + "Copy and paste into your text": "Copia y pega en tu texto", + "shrug": "encogimiento de hombros" } diff --git a/translations/fr.json b/translations/fr.json index 869b5a612..480e522c1 100644 --- a/translations/fr.json +++ b/translations/fr.json @@ -546,5 +546,6 @@ "lang_sw": "Swahili", "lang_zh": "Chinoise", "Common emoji": "Émoji commun", - "Copy and paste into your text": "Copiez et collez dans votre texte" + "Copy and paste into your text": "Copiez et collez dans votre texte", + "shrug": "hausser les épaules" } diff --git a/translations/ga.json b/translations/ga.json index 1b9e61da3..b6fb83e86 100644 --- a/translations/ga.json +++ b/translations/ga.json @@ -546,5 +546,6 @@ "lang_sw": "Swahili", "lang_zh": "Síneach", "Common emoji": "Emoji coitianta", - "Copy and paste into your text": "Cóipeáil agus greamaigh isteach i do théacs" + "Copy and paste into your text": "Cóipeáil agus greamaigh isteach i do théacs", + "shrug": "shrug" } diff --git a/translations/hi.json b/translations/hi.json index 41c166e2b..539f025f8 100644 --- a/translations/hi.json +++ b/translations/hi.json @@ -546,5 +546,6 @@ "lang_sw": "Swahili", "lang_zh": "चीनी", "Common emoji": "आम इमोजी", - "Copy and paste into your text": "अपने टेक्स्ट में कॉपी और पेस्ट करें" + "Copy and paste into your text": "अपने टेक्स्ट में कॉपी और पेस्ट करें", + "shrug": "कंधे उचकाने की क्रिया" } diff --git a/translations/it.json b/translations/it.json index a329d132c..cea417eb7 100644 --- a/translations/it.json +++ b/translations/it.json @@ -546,5 +546,6 @@ "lang_sw": "Swahili", "lang_zh": "Cinese", "Common emoji": "Emoji comuni", - "Copy and paste into your text": "Copia e incolla nel tuo testo" + "Copy and paste into your text": "Copia e incolla nel tuo testo", + "shrug": "scrollare le spalle" } diff --git a/translations/ja.json b/translations/ja.json index c2a12661e..8fe3eea7c 100644 --- a/translations/ja.json +++ b/translations/ja.json @@ -546,5 +546,6 @@ "lang_sw": "スワヒリ語", "lang_zh": "中国語", "Common emoji": "一般的な絵文字", - "Copy and paste into your text": "コピーしてテキストに貼り付けます" + "Copy and paste into your text": "コピーしてテキストに貼り付けます", + "shrug": "肩をすくめる" } diff --git a/translations/ko.json b/translations/ko.json index c9e30c908..dd85895cb 100644 --- a/translations/ko.json +++ b/translations/ko.json @@ -546,5 +546,6 @@ "lang_sw": "스와힐리어", "lang_zh": "중국인", "Common emoji": "일반적인 이모티콘", - "Copy and paste into your text": "텍스트에 복사하여 붙여넣기" + "Copy and paste into your text": "텍스트에 복사하여 붙여넣기", + "shrug": "어깨를 으쓱하다" } diff --git a/translations/ku.json b/translations/ku.json index 920756b66..0c113099f 100644 --- a/translations/ku.json +++ b/translations/ku.json @@ -546,5 +546,6 @@ "lang_sw": "Swahîlîyî", "lang_zh": "Çînî", "Common emoji": "Emojiyên hevpar", - "Copy and paste into your text": "Di nivîsa xwe de kopî bikin û bixin" + "Copy and paste into your text": "Di nivîsa xwe de kopî bikin û bixin", + "shrug": "şuştin" } diff --git a/translations/oc.json b/translations/oc.json index 09b274b18..f11b3c7e3 100644 --- a/translations/oc.json +++ b/translations/oc.json @@ -542,5 +542,6 @@ "lang_sw": "Swahili", "lang_zh": "Chinese", "Common emoji": "Common emoji", - "Copy and paste into your text": "Copy and paste into your text" + "Copy and paste into your text": "Copy and paste into your text", + "shrug": "shrug" } diff --git a/translations/pl.json b/translations/pl.json index f88f3d844..75e7b0d51 100644 --- a/translations/pl.json +++ b/translations/pl.json @@ -546,5 +546,6 @@ "lang_sw": "Suahili", "lang_zh": "Chiński", "Common emoji": "Popularne emotikony", - "Copy and paste into your text": "Skopiuj i wklej do swojego tekstu" + "Copy and paste into your text": "Skopiuj i wklej do swojego tekstu", + "shrug": "wzruszać ramionami" } diff --git a/translations/pt.json b/translations/pt.json index 060083ce1..6654832c2 100644 --- a/translations/pt.json +++ b/translations/pt.json @@ -546,5 +546,6 @@ "lang_sw": "Suaíli", "lang_zh": "Chinês", "Common emoji": "Emoji comum", - "Copy and paste into your text": "Copie e cole no seu texto" + "Copy and paste into your text": "Copie e cole no seu texto", + "shrug": "dar de ombros" } diff --git a/translations/ru.json b/translations/ru.json index 2886a8258..1a5c51bce 100644 --- a/translations/ru.json +++ b/translations/ru.json @@ -546,5 +546,6 @@ "lang_sw": "суахили", "lang_zh": "Китайский", "Common emoji": "Общие смайлики", - "Copy and paste into your text": "Скопируйте и вставьте в свой текст" + "Copy and paste into your text": "Скопируйте и вставьте в свой текст", + "shrug": "пожимание плечами" } diff --git a/translations/sw.json b/translations/sw.json index e7412ba0c..0442893f4 100644 --- a/translations/sw.json +++ b/translations/sw.json @@ -546,5 +546,6 @@ "lang_sw": "Kiswahili", "lang_zh": "Kichina", "Common emoji": "Emoji ya kawaida", - "Copy and paste into your text": "Nakili na ubandike kwenye maandishi yako" + "Copy and paste into your text": "Nakili na ubandike kwenye maandishi yako", + "shrug": "piga mabega" } diff --git a/translations/uk.json b/translations/uk.json index a1afb5f8c..2e285f3c5 100644 --- a/translations/uk.json +++ b/translations/uk.json @@ -546,5 +546,6 @@ "lang_sw": "суахілі", "lang_zh": "китайський", "Common emoji": "Звичайні емодзі", - "Copy and paste into your text": "Скопіюйте та вставте у свій текст" + "Copy and paste into your text": "Скопіюйте та вставте у свій текст", + "shrug": "знизати плечима" } diff --git a/translations/zh.json b/translations/zh.json index 76cc3775c..7c9d98310 100644 --- a/translations/zh.json +++ b/translations/zh.json @@ -546,5 +546,6 @@ "lang_sw": "斯瓦希里语", "lang_zh": "中国人", "Common emoji": "常见表情符号", - "Copy and paste into your text": "复制并粘贴到您的文本中" + "Copy and paste into your text": "复制并粘贴到您的文本中", + "shrug": "耸耸肩" }