diff options
| author | Fuwn <[email protected]> | 2024-01-25 08:35:33 -0800 |
|---|---|---|
| committer | Fuwn <[email protected]> | 2024-01-25 08:35:33 -0800 |
| commit | 5e1ac6260f415a35b30ab3006977b4e4a0bf1fdc (patch) | |
| tree | 2d2913d25f7e828405446f3d68e635d7eed32af6 /src/routes/+page.svelte | |
| parent | feat(wrapped): hide loading messages (diff) | |
| download | due.moe-5e1ac6260f415a35b30ab3006977b4e4a0bf1fdc.tar.xz due.moe-5e1ac6260f415a35b30ab3006977b4e4a0bf1fdc.zip | |
feat(locale): localise media lists
Diffstat (limited to 'src/routes/+page.svelte')
| -rw-r--r-- | src/routes/+page.svelte | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/routes/+page.svelte b/src/routes/+page.svelte index bebeeb70..88108de9 100644 --- a/src/routes/+page.svelte +++ b/src/routes/+page.svelte @@ -10,6 +10,7 @@ import LastActivity from '$lib/Home/LastActivity.svelte'; import { createHeightObserver } from '$lib/Utility/html.js'; import Skeleton from '$lib/Skeleton.svelte'; + import locale from '$stores/locale.js'; export let data; @@ -37,7 +38,7 @@ {#if $userIdentity.id != -1} <UpcomingAnimeList user={data.user} identity={$userIdentity} /> {:else} - <ListTitle custom="Upcoming Episodes" /> + <ListTitle title={$locale().lists.upcoming.episodes} /> <ul><li>Loading user identity ... 50%</li></ul> @@ -55,7 +56,7 @@ {#if $userIdentity.id != -1} <AnimeList user={data.user} identity={$userIdentity} /> {:else} - <ListTitle anime /> + <ListTitle title={$locale().lists.due.episodes} /> <ul><li>Loading user identity ... 50%</li></ul> @@ -78,7 +79,7 @@ due={true} /> {:else} - <ListTitle /> + <ListTitle title={$locale().lists.due.mangaAndLightNovels} /> <ul><li>Loading 0% ...</li></ul> |