diff options
| author | Fuwn <[email protected]> | 2026-06-05 11:10:22 +0000 |
|---|---|---|
| committer | Fuwn <[email protected]> | 2026-06-05 11:10:22 +0000 |
| commit | 4b56194ee6807acb56abf0949394efadabf830d4 (patch) | |
| tree | 5cb2074a8d012bf9b7c900e7e44cbdfd0e15123f /src/lib/Locale | |
| parent | fix(lists): tick count down when media leaves a list (diff) | |
| download | due.moe-4b56194ee6807acb56abf0949394efadabf830d4.tar.xz due.moe-4b56194ee6807acb56abf0949394efadabf830d4.zip | |
feat(airing): replace SubsPlease with AnimeSchedule (sub+dub)
Source both subbed and dubbed episode schedules from AnimeSchedule.net v3 (absolute timestamps, episode numbers, delay windows, streams), keyed to AniList shows by title. Removes SubsPlease and its ~650-line fuzzy matcher. Countdown source is now a setting (native|sub|dub) with a dub->sub->native fallback.
Requires ANIMESCHEDULE_CLIENT_TOKEN.
Diffstat (limited to 'src/lib/Locale')
| -rw-r--r-- | src/lib/Locale/english.ts | 10 | ||||
| -rw-r--r-- | src/lib/Locale/japanese.ts | 10 | ||||
| -rw-r--r-- | src/lib/Locale/layout.ts | 9 |
3 files changed, 24 insertions, 5 deletions
diff --git a/src/lib/Locale/english.ts b/src/lib/Locale/english.ts index 16eff123..91a3bdb3 100644 --- a/src/lib/Locale/english.ts +++ b/src/lib/Locale/english.ts @@ -81,8 +81,14 @@ const English: Locale = { disableLastActivityWarning: "Disable last activity warning", rightAlignCountdown: "Align anime episode countdown to the right", use24HourTime: "Use 24-hour time format for episode countdown", - nativeEpisodeCountdown: - "Show episode countdown in native release date & time", + countdownSource: { + title: "Episode countdown source", + options: { + native: "Native (original broadcast)", + sub: "Subbed release", + dub: "Dubbed release", + }, + }, abbreviateCountdown: "Abbreviate episode countdown date & time units", lastActivityWarningHint: diff --git a/src/lib/Locale/japanese.ts b/src/lib/Locale/japanese.ts index 9dd82ff2..5c905aea 100644 --- a/src/lib/Locale/japanese.ts +++ b/src/lib/Locale/japanese.ts @@ -43,8 +43,14 @@ const Japanese: Locale = { disableLastActivityWarning: "最後のアクティビティ警告を無効にする", rightAlignCountdown: "エピソードカウントダウンを右に揃える", use24HourTime: "エピソードカウントダウンに24時間形式を使用する", - nativeEpisodeCountdown: - "ネイティブのリリース日時でエピソードのカウントダウンを表示する", + countdownSource: { + title: "エピソードカウントダウンの基準", + options: { + native: "ネイティブ(オリジナル放送)", + sub: "字幕リリース", + dub: "吹き替えリリース", + }, + }, abbreviateCountdown: "エピソードカウントダウンの日時単位を省略する", }, }, diff --git a/src/lib/Locale/layout.ts b/src/lib/Locale/layout.ts index de4b7f97..99466aa2 100644 --- a/src/lib/Locale/layout.ts +++ b/src/lib/Locale/layout.ts @@ -83,7 +83,14 @@ export interface Locale { disableLastActivityWarning: LocaleValue; rightAlignCountdown: LocaleValue; use24HourTime: LocaleValue; - nativeEpisodeCountdown: LocaleValue; + countdownSource: { + title: LocaleValue; + options: { + native: LocaleValue; + sub: LocaleValue; + dub: LocaleValue; + }; + }; abbreviateCountdown: LocaleValue; lastActivityWarningHint?: LocaleValue; }; |