tui: remove language from transcription edit flow, use Language menu

This commit is contained in:
leonardotrapani
2026-02-01 13:23:16 +01:00
parent cc8c0c8a11
commit 87e4e27c3b
3 changed files with 28 additions and 29 deletions
+10
View File
@@ -546,4 +546,14 @@ Started: Sun Feb 1 12:22:47 AM CET 2026
- Checks if current transcription model supports selected language via `provider.GetModel()` + `model.SupportsLanguage()`
- Shows warning dialog with 3 options: keep incompatible language, use auto-detect, or choose different language
- Recursive retry flow if user chooses "Choose a different language"
- All tests passing, typecheck passes
### Task 6: Remove language from transcription edit flow
- Removed language select from `editTranscription()` model form in configure_transcription.go
- Model form now only shows model selection (no language picker)
- Added `effectiveLanguage` calculation: `cfg.Transcription.Language || cfg.General.Language`
- Language validation still happens using effective language before saving
- Updated error message to point users to Language menu: "Change language to 'Auto-detect' in the Language menu"
- Only `cfg.Transcription.Model` saved now, not language
- `cfg.Transcription.Language` can still be used as manual override but not set via TUI
- All tests passing, typecheck passes