aboutsummaryrefslogtreecommitdiffstats
path: root/src/components/404.svelte
diff options
context:
space:
mode:
authorAdrien Hopkins <[email protected]>2022-08-18 15:13:43 -0500
committerAdrien Hopkins <[email protected]>2022-08-18 15:13:43 -0500
commit9d9cc8ee5ddaa583de8216aa3d4db515c54e6430 (patch)
tree5dd11513a112d29a7eb3da129b1e57320c13dca6 /src/components/404.svelte
parent6e71d9bdd1d0acf1570620b717c932750d90bc97 (diff)
downloadcoinos-ui-9d9cc8ee5ddaa583de8216aa3d4db515c54e6430.tar.gz
coinos-ui-9d9cc8ee5ddaa583de8216aa3d4db515c54e6430.zip
Extracted some strings into the locale files
Diffstat (limited to 'src/components/404.svelte')
-rw-r--r--src/components/404.svelte5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/components/404.svelte b/src/components/404.svelte
index 426f1f96..fbc05048 100644
--- a/src/components/404.svelte
+++ b/src/components/404.svelte
@@ -1,5 +1,6 @@
<script>
import { Icon } from '$comp';
+ import { _ } from 'svelte-i18n';
</script>
<div class="flex justify-center items-center mt-20">
@@ -10,7 +11,7 @@
<Icon icon="question" style="mx-auto w-56" />
- <h1 class="font-bold text-5xl">404</h1>
- <p>Page not found.</p>
+ <h1 class="font-bold text-5xl">{$_('404.404')}</h1>
+ <p>{$_('404.pageNotFound')}</p>
</div>
</div>