From f9e469080738c964b4e6996c84a7d7f4e28ea895 Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Sat, 7 Sep 2024 09:14:47 +0530 Subject: [PATCH] string changes --- src/calibre/gui2/tts/types.py | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/src/calibre/gui2/tts/types.py b/src/calibre/gui2/tts/types.py index cc15875613d7..430d735322a7 100644 --- a/src/calibre/gui2/tts/types.py +++ b/src/calibre/gui2/tts/types.py @@ -195,28 +195,28 @@ def qt_engine_metadata(name: str, human_name: str, desc: str, allows_choosing_au for x in QTextToSpeech.availableEngines(): if x == 'winrt': - ans[x] = qt_engine_metadata(x, _('Modern Windows Speech Engine'), _( + ans[x] = qt_engine_metadata(x, _('Modern Windows Engine'), _( 'The "winrt" engine can track the currently spoken word on screen. Additional voices for it are available from Microsoft.' ), True) elif x == 'darwin': - ans[x] = qt_engine_metadata(x, _('macOS Speech Engine'), _( + ans[x] = qt_engine_metadata(x, _('macOS Engine'), _( 'The "darwin" engine can track the currently spoken word on screen. Additional voices for it are available from Apple.' )) elif x == 'sapi': - ans[x] = qt_engine_metadata(x, _('Legacy Windows Speech Engine'), _( + ans[x] = qt_engine_metadata(x, _('Legacy Windows Engine'), _( 'The "sapi" engine can track the currently spoken word on screen. It is no longer supported by Microsoft.' )) elif x == 'macos': # this is slated for removal in Qt 6.8 so skip it continue elif x == 'flite': - ans[x] = qt_engine_metadata(x, _('The "flite" Speech engine'), _( + ans[x] = qt_engine_metadata(x, _('The "flite" Engine'), _( 'The "flite" engine can track the currently spoken word on screen.' ), True) elif x == 'speechd': continue if piper_cmdline(): - ans['piper'] = EngineMetadata('piper', _('The Piper Neural Speech Engine'), _( + ans['piper'] = EngineMetadata('piper', _('The Piper Neural Engine'), _( 'The "piper" engine can track the currently spoken sentence on screen. It uses a neural network ' 'for natural sounding voices. The neural network is run locally on your computer, it is fairly resource intensive to run.' ), TrackingCapability.Sentence, can_change_pitch=False, voices_have_quality_metadata=True, has_managed_voices=True) @@ -224,7 +224,7 @@ def qt_engine_metadata(name: str, human_name: str, desc: str, allows_choosing_au from speechd.paths import SPD_SPAWN_CMD cmd = os.getenv("SPEECHD_CMD", SPD_SPAWN_CMD) if cmd and os.access(cmd, os.X_OK) and os.path.isfile(cmd): - ans['speechd'] = EngineMetadata('speechd', _('The Speech Dispatcher Speech Engine'), _( + ans['speechd'] = EngineMetadata('speechd', _('The Speech Dispatcher Engine'), _( 'The "speechd" engine can usually track the currently spoken word on screen, however, it depends on the' ' underlying output module. The default espeak output module does support it.' ), TrackingCapability.WordByWord, allows_choosing_audio_device=False, has_multiple_output_modules=True)