diff --git a/notifications_client.py b/notifications_client.py index d7f4a5cce..381272b89 100644 --- a/notifications_client.py +++ b/notifications_client.py @@ -137,14 +137,20 @@ def runNotificationsClient(baseDir: str, proxyType: str, httpPrefix: str, print(screenreader + ' is not a supported TTS system') return - print('Running ' + screenreader + ' for ' + nickname + '@' + domain) + sayStr = 'Running ' + screenreader + ' for ' + nickname + '@' + domain + _sayCommand(sayStr, screenreader, + systemLanguage, espeak) else: print('Running desktop notifications for ' + nickname + '@' + domain) if notificationSounds: - print('Notification sounds on') + sayStr = 'Notification sounds on' else: - print('Notification sounds off') - print('/q or /quit to exit') + sayStr = 'Notification sounds off' + _sayCommand(sayStr, screenreader, + systemLanguage, espeak) + sayStr = '/q or /quit to exit' + _sayCommand(sayStr, screenreader, + systemLanguage, espeak) originalScreenReader = screenreader domainFull = getFullDomain(domain, port)