feat: Add Text-to-Speech settings and customization options

- Introduced new preference keys for TTS settings: voice, speech rate, pitch, and volume.
- Updated SettingsService to handle TTS settings and persist them.
- Enhanced AppSettings to include TTS-related properties.
- Implemented TTS settings UI in AppCustomizationPage, allowing users to select voice and adjust speech parameters.
- Added localization support for TTS settings in multiple languages.
This commit is contained in:
cogwheel0
2025-10-17 14:40:44 +05:30
parent c6acfa68e1
commit 6c81d68e59
18 changed files with 1185 additions and 9 deletions

View File

@@ -309,6 +309,19 @@
"chatSettings": "Чат",
"sendOnEnter": "Отправка по Enter",
"sendOnEnterDescription": "Enter отправляет (программная клавиатура). Также доступно Cmd/Ctrl+Enter",
"ttsSettings": "Преобразование текста в речь",
"ttsVoice": "Голос",
"ttsSpeechRate": "Скорость речи",
"ttsPitch": "Высота тона",
"ttsVolume": "Громкость",
"ttsPreview": "Предпросмотр голоса",
"ttsSystemDefault": "Системное значение по умолчанию",
"ttsSelectVoice": "Выбрать голос",
"ttsPreviewText": "Это предварительный просмотр выбранного голоса.",
"ttsNoVoicesAvailable": "Нет доступных голосов",
"ttsVoicesForLanguage": "Голоса {language}",
"ttsOtherVoices": "Другие языки",
"error": "Ошибка",
"display": "Отображение",
"realtime": "Реальное время",
"transportMode": "Режим транспорта",