i18n: localize verify email page

This commit is contained in:
Xylight committed 2024-06-04 10:44:16 -07:00
1 parent 0cad34651b
commit 53d4e4bfa3
3 files changed
+16 -4

No files matched your search

@@ -1,5 +1,6 @@
<script>
import { page } from '$app/stores'
import { t } from '$lib/translations'
import { XMark, Icon } from 'svelte-hero-icons'
</script>
@@ -9,7 +10,9 @@
>
<Icon src={XMark} size="32" mini />
</div>
<h1 class="text-red-800 dark:text-red-300 text-2xl font-semibold">Error</h1>
<p class="text-red-800 dark:text-red-300">Failed to verify your email.</p>
<h1 class="text-red-800 dark:text-red-300 text-2xl font-semibold">
{$t('message.error')}
</h1>
<p class="text-red-800 dark:text-red-300">{$t('routes.verifyEmail.error')}</p>
<code>{$page.error?.message}</code>
</div>