aboutsummaryrefslogtreecommitdiff
path: root/src/lib/Locale/layout.ts
diff options
context:
space:
mode:
authorFuwn <[email protected]>2026-06-05 11:10:22 +0000
committerFuwn <[email protected]>2026-06-05 11:10:22 +0000
commit4b56194ee6807acb56abf0949394efadabf830d4 (patch)
tree5cb2074a8d012bf9b7c900e7e44cbdfd0e15123f /src/lib/Locale/layout.ts
parentfix(lists): tick count down when media leaves a list (diff)
downloaddue.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/layout.ts')
-rw-r--r--src/lib/Locale/layout.ts9
1 files changed, 8 insertions, 1 deletions
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;
};