mirror of
https://github.com/p-stream/p-stream.git
synced 2026-04-21 10:12:17 +00:00
Revert "show "SOURCE" if the subtitle is a source subtitle"
This reverts commit f507cadf01.
This commit is contained in:
parent
f507cadf01
commit
7de37b9613
2 changed files with 1 additions and 6 deletions
|
|
@ -849,7 +849,6 @@
|
||||||
"autoSelectChoice": "Auto select",
|
"autoSelectChoice": "Auto select",
|
||||||
"autoSelectDifferentChoice": "Tap again to auto select different subtitle",
|
"autoSelectDifferentChoice": "Tap again to auto select different subtitle",
|
||||||
"SourceChoice": "Source Subtitles",
|
"SourceChoice": "Source Subtitles",
|
||||||
"source": "SOURCE",
|
|
||||||
"OpenSubtitlesChoice": "External Subtitles",
|
"OpenSubtitlesChoice": "External Subtitles",
|
||||||
"loadingExternal": "Loading external subtitles...",
|
"loadingExternal": "Loading external subtitles...",
|
||||||
"transcriptChoice": "Transcript",
|
"transcriptChoice": "Transcript",
|
||||||
|
|
|
||||||
|
|
@ -197,7 +197,7 @@ export function CaptionOption(props: CaptionOptionProps) {
|
||||||
{props.subtitleType.toUpperCase()}
|
{props.subtitleType.toUpperCase()}
|
||||||
</span>
|
</span>
|
||||||
)}
|
)}
|
||||||
{props.subtitleSource ? (
|
{props.subtitleSource && (
|
||||||
<span
|
<span
|
||||||
className={classNames(
|
className={classNames(
|
||||||
"ml-2 px-2 py-0.5 rounded text-white text-xs font-semibold overflow-hidden text-ellipsis whitespace-nowrap",
|
"ml-2 px-2 py-0.5 rounded text-white text-xs font-semibold overflow-hidden text-ellipsis whitespace-nowrap",
|
||||||
|
|
@ -211,10 +211,6 @@ export function CaptionOption(props: CaptionOptionProps) {
|
||||||
>
|
>
|
||||||
{props.subtitleSource.toUpperCase()}
|
{props.subtitleSource.toUpperCase()}
|
||||||
</span>
|
</span>
|
||||||
) : (
|
|
||||||
<span className="ml-2 px-2 py-0.5 rounded text-white text-xs font-semibold overflow-hidden text-ellipsis whitespace-nowrap bg-grey-500">
|
|
||||||
{t("player.menus.subtitles.source")}
|
|
||||||
</span>
|
|
||||||
)}
|
)}
|
||||||
{props.isHearingImpaired && (
|
{props.isHearingImpaired && (
|
||||||
<Icon icon={Icons.EAR} className="ml-2" />
|
<Icon icon={Icons.EAR} className="ml-2" />
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue