move language to general section in config template

This commit is contained in:
leonardotrapani
2026-02-01 13:17:39 +01:00
parent 7a3e590977
commit 1f6fce6941
3 changed files with 16 additions and 2 deletions
+7
View File
@@ -520,4 +520,11 @@ Started: Sun Feb 1 12:22:47 AM CET 2026
- Updated `ToTranscriberConfig()` to use `resolveEffectiveLanguage()`
- Note: TOML loading already works automatically via struct tags (no load.go changes needed)
- Added 3 tests in config_test.go: only general set, transcription overrides general, neither set (auto)
- All tests passing, typecheck passes
### Task 49: Update config template to include general section
- Added `[general]` section at top of configTemplate in save.go
- Added `language = ""` with comment about ISO 639-1 codes and auto-detect
- Removed `language = ""` from `[transcription]` section
- Added commented `# language = ""` in transcription section with note about override
- All tests passing, typecheck passes