From b6a841e8bef1800cd7c23144670273a236bd5e1b Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Thu, 4 Mar 2021 11:51:30 +0000 Subject: [PATCH 1/2] Extra string conversions --- speaker.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/speaker.py b/speaker.py index 86569f397..7d599fc86 100644 --- a/speaker.py +++ b/speaker.py @@ -81,7 +81,12 @@ def _speakerPronounce(baseDir: str, sayText: str, translate: {}) -> str: "XMPP": "X-M-P-P", "xmpp": "X-M-P-P", "sql": "S-Q-L", + "PSQL": "Postgres S-Q-L", "SQL": "S-Q-L", + "KMail": "K-Mail", + "gmail": "G-mail", + "Gmail": "G-mail", + "OpenPGP": "Open P-G-P", "Tor": "Toor", "🤔": ". " + translate["thinking emoji"], "RT @": "Re-Tweet ", From a69848bbc0168101c1a4f9345804cb87c3473f18 Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Thu, 4 Mar 2021 11:52:22 +0000 Subject: [PATCH 2/2] Extra space --- speaker.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/speaker.py b/speaker.py index 7d599fc86..3426e9e29 100644 --- a/speaker.py +++ b/speaker.py @@ -154,7 +154,7 @@ def speakerReplaceLinks(sayText: str, translate: {}, if word.startswith('@') and not prevWord.endswith('RT'): if translate.get('mentioning'): replacements[word] = \ - translate['mentioning'] + ' ' + word[1:] + ',' + translate['mentioning'] + ' ' + word[1:] + ', ' prevWord = word domain = None