feat: install svelte-18n and init setup
This commit is contained in:
@@ -12,6 +12,7 @@
|
||||
</script>
|
||||
|
||||
<script>
|
||||
import { _ } from 'svelte-i18n';
|
||||
export let status;
|
||||
export let error;
|
||||
</script>
|
||||
@@ -20,7 +21,8 @@
|
||||
<div class="pb-10 text-7xl font-bold">{status}</div>
|
||||
<div class="text-3xl font-bold">Ooops you are lost! But don't be afraid!</div>
|
||||
<div class="text-xl">
|
||||
You can find your way back <a href="/" class="font-bold uppercase text-sky-400">here</a>
|
||||
{$_('error.you_can_find_your_way_back')}
|
||||
<a href="/" class="font-bold uppercase text-sky-400">{$_('error.here')}</a>
|
||||
</div>
|
||||
<div class="py-10 text-xs font-bold">
|
||||
<pre
|
||||
|
||||
Reference in New Issue
Block a user