From f507cadf010817dca8ba2651b11b1baa6c6983cc Mon Sep 17 00:00:00 2001 From: Pas <74743263+Pasithea0@users.noreply.github.com> Date: Tue, 17 Feb 2026 13:26:20 -0700 Subject: [PATCH] show "SOURCE" if the subtitle is a source subtitle --- src/assets/locales/en.json | 1 + src/components/player/atoms/settings/CaptionsView.tsx | 6 +++++- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/src/assets/locales/en.json b/src/assets/locales/en.json index d0e66a16..f70fafd1 100644 --- a/src/assets/locales/en.json +++ b/src/assets/locales/en.json @@ -849,6 +849,7 @@ "autoSelectChoice": "Auto select", "autoSelectDifferentChoice": "Tap again to auto select different subtitle", "SourceChoice": "Source Subtitles", + "source": "SOURCE", "OpenSubtitlesChoice": "External Subtitles", "loadingExternal": "Loading external subtitles...", "transcriptChoice": "Transcript", diff --git a/src/components/player/atoms/settings/CaptionsView.tsx b/src/components/player/atoms/settings/CaptionsView.tsx index 3f4fb649..eeab5384 100644 --- a/src/components/player/atoms/settings/CaptionsView.tsx +++ b/src/components/player/atoms/settings/CaptionsView.tsx @@ -197,7 +197,7 @@ export function CaptionOption(props: CaptionOptionProps) { {props.subtitleType.toUpperCase()} )} - {props.subtitleSource && ( + {props.subtitleSource ? ( {props.subtitleSource.toUpperCase()} + ) : ( + + {t("player.menus.subtitles.source")} + )} {props.isHearingImpaired && (