fix(media): 详情页标语只显示简体中文,简中没有时不显示

- adapters 新增 simplifiedChineseTagline:取值语言为繁中 / 非中文、或文字是繁体特有字时不显示;原语言为中文(zh / cn)的作品按简中处理
- TMDB 富详情带回 taglineLanguage;发现页详情的 tagline 按上述口径给出
- 媒体库作品详情新增 displayTagline(存储的标语语言为 null,只能按文字判断);metadata.tagline 存储不变
- 补 adapters 单测与作品详情接口测试

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01Cxwgnn2pbzQ7rXv3rq7fei
This commit is contained in:
rootandClaude Opus 5.5 committed 2026-10-07 01:32:00 +08:00
1 parent 895c039a40
commit 6549ab92c3
9 files changed
+124 -2

No files matched your search

+3
View File
@@ -66,6 +66,8 @@ export interface TmdbRichDetail {
overview: string | null;
overviewLanguage: string | null;
tagline: string | null;
/** 标语实际取到的语言(链内语言标签;落空为 null) */
taglineLanguage: string | null;
year: number | null;
releaseDate: string | null;
lastAirDate: string | null;
@@ -275,6 +277,7 @@ export async function fetchRichDetail(
overview: overview?.value ?? null,
overviewLanguage: overview?.language ?? null,
tagline: tagline?.value ?? null,
taglineLanguage: tagline?.language ?? null,
year: yearOf(date),
releaseDate: date,
lastAirDate: s(j.last_air_date),