aboutsummaryrefslogtreecommitdiff
path: root/src/lib/Data
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/Data')
-rw-r--r--src/lib/Data/AniList/media.ts6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/lib/Data/AniList/media.ts b/src/lib/Data/AniList/media.ts
index b9e0ef3f..0a83dda6 100644
--- a/src/lib/Data/AniList/media.ts
+++ b/src/lib/Data/AniList/media.ts
@@ -9,6 +9,8 @@ import lastPruneTimes from "$stores/lastPruneTimes";
import { options as getOptions, type Options } from "$lib/Notification/options";
import type { PrequelRelation, PrequelRelations } from "./prequels";
import localforage from "localforage";
+import locale from "$stores/locale";
+import { get } from "svelte/store";
export enum Type {
Anime,
@@ -412,7 +414,9 @@ export const mediaListCollection = async (
heading: options.notificationType
? options.notificationType
: Type[type],
- description: "Re-cached media lists from AniList",
+ description:
+ get(locale)().notifications?.recachedFromAniList ??
+ "Re-cached media lists from AniList",
}),
);