feat(tts): add auto mode for text-to-speech engine selection

This commit is contained in:
cogwheel0
2025-11-02 21:31:13 +05:30
parent da249eaa31
commit cfadeffd24
19 changed files with 579 additions and 154 deletions

View File

@@ -950,7 +950,7 @@ class AppLocalizationsEn extends AppLocalizations {
@override
String get sttEngineServerDescription =>
'Always send recordings to your Conduit server for transcription.';
'Always send recordings to your OpenWebUI server for transcription.';
@override
String get sttDeviceUnavailableWarning =>
@@ -963,12 +963,35 @@ class AppLocalizationsEn extends AppLocalizations {
@override
String get ttsEngineLabel => 'Engine';
@override
String get ttsEngineAuto => 'Auto';
@override
String get ttsEngineDevice => 'On device';
@override
String get ttsEngineServer => 'Server';
@override
String get ttsEngineAutoDescription =>
'Use on-device speech when available and fall back to your server.';
@override
String get ttsEngineDeviceDescription =>
'Keep synthesis on this device. Voice playback stops working if on-device TTS isnt supported.';
@override
String get ttsEngineServerDescription =>
'Always request audio from your OpenWebUI server.';
@override
String get ttsDeviceUnavailableWarning =>
'On-device text-to-speech isnt available on this device.';
@override
String get ttsServerUnavailableWarning =>
'Connect to a server with text-to-speech enabled to use this option.';
@override
String get ttsSettings => 'Text to Speech';