feat(l10n): Add silence duration settings for speech-to-text

This commit is contained in:
cogwheel0
2025-11-05 00:48:20 +05:30
parent 1bb2cbae25
commit 3424af60f9
6 changed files with 94 additions and 31 deletions

View File

@@ -1844,6 +1844,18 @@ abstract class AppLocalizations {
/// **'Connect to a server with transcription enabled to use this option.'**
String get sttServerUnavailableWarning;
/// Label for the silence duration setting in server speech-to-text.
///
/// In en, this message translates to:
/// **'Silence Duration'**
String get sttSilenceDuration;
/// Description for the silence duration slider in server speech-to-text settings.
///
/// In en, this message translates to:
/// **'Time to wait after silence before auto-stopping recording'**
String get sttSilenceDurationDescription;
/// Label for selecting the text-to-speech engine.
///
/// In en, this message translates to:

View File

@@ -966,6 +966,13 @@ class AppLocalizationsDe extends AppLocalizations {
String get sttServerUnavailableWarning =>
'Verbinde dich mit einem Server mit aktivierter Transkription, um diese Option zu nutzen.';
@override
String get sttSilenceDuration => 'Stille-Dauer';
@override
String get sttSilenceDurationDescription =>
'Zeit nach Stille warten, bevor die Aufnahme automatisch gestoppt wird';
@override
String get ttsEngineLabel => 'Engine';

View File

@@ -960,6 +960,13 @@ class AppLocalizationsEn extends AppLocalizations {
String get sttServerUnavailableWarning =>
'Connect to a server with transcription enabled to use this option.';
@override
String get sttSilenceDuration => 'Silence Duration';
@override
String get sttSilenceDurationDescription =>
'Time to wait after silence before auto-stopping recording';
@override
String get ttsEngineLabel => 'Engine';

View File

@@ -975,6 +975,13 @@ class AppLocalizationsFr extends AppLocalizations {
String get sttServerUnavailableWarning =>
'Connectez-vous à un serveur avec la transcription activée pour utiliser cette option.';
@override
String get sttSilenceDuration => 'Durée du silence';
@override
String get sttSilenceDurationDescription =>
'Temps d\'attente après le silence avant d\'arrêter automatiquement l\'enregistrement';
@override
String get ttsEngineLabel => 'Moteur';

View File

@@ -964,6 +964,13 @@ class AppLocalizationsIt extends AppLocalizations {
String get sttServerUnavailableWarning =>
'Collegati a un server con la trascrizione abilitata per usare questa opzione.';
@override
String get sttSilenceDuration => 'Durata del silenzio';
@override
String get sttSilenceDurationDescription =>
'Tempo di attesa dopo il silenzio prima di fermare automaticamente la registrazione';
@override
String get ttsEngineLabel => 'Motore';