diff options
Diffstat (limited to 'src/lib/Tools/SequelCatcher')
| -rw-r--r-- | src/lib/Tools/SequelCatcher/List.svelte | 9 | ||||
| -rw-r--r-- | src/lib/Tools/SequelCatcher/Tool.svelte | 11 |
2 files changed, 14 insertions, 6 deletions
diff --git a/src/lib/Tools/SequelCatcher/List.svelte b/src/lib/Tools/SequelCatcher/List.svelte index b1512e22..4b1b8107 100644 --- a/src/lib/Tools/SequelCatcher/List.svelte +++ b/src/lib/Tools/SequelCatcher/List.svelte @@ -4,6 +4,7 @@ import { filterRelations, type Media } from "$lib/Data/AniList/media"; import MediaTitleDisplay from "$lib/List/MediaTitleDisplay.svelte"; import { outboundLink } from "$lib/Media/links"; import settings from "$stores/settings"; +import locale from "$stores/locale"; export let mediaListUnchecked: Media[]; @@ -25,11 +26,11 @@ const matchCheck = (media: Media | undefined, swap = false) => : undefined; </script> -<input type="checkbox" bind:checked={includeCurrent} /> Include current (watching, rewatching, -paused) +<input type="checkbox" bind:checked={includeCurrent} /> +{$locale().tools.sequelCatcher?.includeCurrent} <br /> -<input type="checkbox" bind:checked={includeSideStories} /> Include side stories (e.g., OVAs, -specials, etc.) +<input type="checkbox" bind:checked={includeSideStories} /> +{$locale().tools.sequelCatcher?.includeSideStories} <Spacer /> diff --git a/src/lib/Tools/SequelCatcher/Tool.svelte b/src/lib/Tools/SequelCatcher/Tool.svelte index 727a3a6c..f75b1f78 100644 --- a/src/lib/Tools/SequelCatcher/Tool.svelte +++ b/src/lib/Tools/SequelCatcher/Tool.svelte @@ -12,6 +12,7 @@ import lastPruneTimes from "$stores/lastPruneTimes"; import Message from "$lib/Loading/Message.svelte"; import Skeleton from "$lib/Loading/Skeleton.svelte"; import Username from "$lib/Layout/Username.svelte"; +import locale from "$stores/locale"; export let user: AniListAuthorisation; @@ -69,13 +70,19 @@ onMount(async () => { /> {/if} {:catch} - <Message message="" loader="ripple" slot withReload fullscreen>Error fetching media.</Message> + <Message message="" loader="ripple" slot withReload fullscreen + >{$locale().tools.wrapped?.errorFetchingMedia ?? 'Error fetching media.'}</Message + > {/await} <Spacer /> <blockquote style="margin: 0 0 0 1.5rem;"> - Thanks to <Username username="sevengirl" /> and <Username username="esthereae" /> for the idea! + {$locale().tools.sequelCatcher?.credit?.split('@sevengirl')[0]}<Username + username="sevengirl" + />{$locale().tools.sequelCatcher?.credit?.split('@sevengirl')[1]?.split('@esthereae')[0]}<Username + username="esthereae" + />{$locale().tools.sequelCatcher?.credit?.split('@esthereae')[1]} </blockquote> </div> {/if} |