diff options
Diffstat (limited to 'src/lib/List/Manga/MangaListTemplate.svelte')
| -rw-r--r-- | src/lib/List/Manga/MangaListTemplate.svelte | 17 |
1 files changed, 11 insertions, 6 deletions
diff --git a/src/lib/List/Manga/MangaListTemplate.svelte b/src/lib/List/Manga/MangaListTemplate.svelte index ded2d197..c200674b 100644 --- a/src/lib/List/Manga/MangaListTemplate.svelte +++ b/src/lib/List/Manga/MangaListTemplate.svelte @@ -16,6 +16,7 @@ import { getNotificationsContext } from 'svelte-notifications'; import { options } from '$lib/Notification/options'; import Skeleton from '$lib/Skeleton.svelte'; + import locale from '$stores/locale'; export let user: AniListAuthorisation; export let identity: UserIdentity; @@ -200,7 +201,7 @@ {#await mangaLists} {#if !authorised} - <ListTitle count={0} time={endTime / 1000}> + <ListTitle count={0} time={endTime / 1000} title={$locale().lists.due.mangaAndLightNovels}> <button data-umami-event="Force Refresh Manga" title="Force a full refresh" @@ -226,14 +227,14 @@ {authorised} /> {:else} - <ListTitle {progress} /> + <ListTitle {progress} title={$locale().lists.due.mangaAndLightNovels} /> <Skeleton card={false} count={5} height="0.9rem" list /> {/if} {:then media} {#await cleanMedia(media, displayUnresolved, forceFlag)} {#if !authorised} - <ListTitle count={0} time={endTime / 1000}> + <ListTitle count={0} time={endTime / 1000} title={$locale().lists.due.mangaAndLightNovels}> <button data-umami-event="Force Refresh Manga" title="Force a full refresh" @@ -259,13 +260,17 @@ {authorised} /> {:else} - <ListTitle {progress} /> + <ListTitle {progress} title={$locale().lists.due.mangaAndLightNovels} /> <Skeleton card={false} count={5} height="0.9rem" list /> {/if} {:then cleanedMedia} {#if !authorised} - <ListTitle count={cleanedMedia.length} time={endTime / 1000}> + <ListTitle + count={cleanedMedia.length} + time={endTime / 1000} + title={$locale().lists.due.mangaAndLightNovels} + > <button data-umami-event="Force Refresh Manga" title="Force a full refresh" @@ -291,7 +296,7 @@ /> {:catch} {#if authorised} - <ListTitle count={-1337} time={0} /> + <ListTitle count={-1337} time={0} title={$locale().lists.due.mangaAndLightNovels} /> {/if} <Error list={false} /> |