From 5e1ac6260f415a35b30ab3006977b4e4a0bf1fdc Mon Sep 17 00:00:00 2001
From: Fuwn <contact@fuwn.me>
Date: Thu, 25 Jan 2024 08:35:33 -0800
Subject: feat(locale): localise media lists

---
 src/routes/completed/+page.svelte | 9 +++++----
 1 file changed, 5 insertions(+), 4 deletions(-)

(limited to 'src/routes/completed/+page.svelte')

diff --git a/src/routes/completed/+page.svelte b/src/routes/completed/+page.svelte
index 43648e01..9f493d1e 100644
--- a/src/routes/completed/+page.svelte
+++ b/src/routes/completed/+page.svelte
@@ -9,6 +9,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;
 
@@ -27,9 +28,9 @@
 			{#if $userIdentity.id != -1}
 				<WatchingAnimeList user={data.user} identity={$userIdentity} />
 			{:else}
-				<ListTitle custom="Anime" />
+				<ListTitle title={$locale().lists.completed.anime} />
 
-				<ul><li>Loading user identity ... 50%</li></ul>
+				<!-- <ul><li>Loading user identity ... 50%</li></ul> -->
 
 				<Skeleton card={false} count={5} height="0.9rem" list />
 			{/if}
@@ -44,9 +45,9 @@
 					due={false}
 				/>
 			{:else}
-				<ListTitle custom="Manga & Light Novels" />
+				<ListTitle title={$locale().lists.completed.mangaAndLightNovels} />
 
-				<ul><li>Loading user identity ... 50%</li></ul>
+				<!-- <ul><li>Loading user identity ... 50%</li></ul> -->
 
 				<Skeleton card={false} count={5} height="0.9rem" list />
 			{/if}
-- 
cgit v1.2.3

