瀏覽代碼

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

Aaron van Meerten 15 小時之前
父節點
當前提交
ed30d0d49c
共有 1 個文件被更改,包括 1 次插入0 次删除
  1. 1 0
      web/rootfs/defaults/settings-config.js

+ 1 - 0
web/rootfs/defaults/settings-config.js

@@ -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 }},