feat(web): disable closed captions when transcription is disabled (#2092)

This commit is contained in:
Aaron van Meerten 2025-05-23 13:50:52 -05:00 committed by GitHub
parent 7e76486afc
commit ed30d0d49c
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -358,6 +358,7 @@ config.enableTcc = false;
// Transcriptions (subtitles and buttons can be configured in interface_config)
config.transcription = {
enabled: {{ $ENABLE_TRANSCRIPTIONS }},
disableClosedCaptions: {{ not $ENABLE_TRANSCRIPTIONS }},
translationLanguages: {{ $TRANSLATION_LANGUAGES }},
translationLanguagesHead: {{ $TRANSLATION_LANGUAGES_HEAD }},
useAppLanguage: {{ $USE_APP_LANGUAGE }},