diff options
| author | Adam Soltys <[email protected]> | 2022-08-22 15:49:08 -0700 |
|---|---|---|
| committer | Adam Soltys <[email protected]> | 2022-08-22 15:49:08 -0700 |
| commit | 0ebb60f986682ad8d3538c2fd1d708a861e0b1fb (patch) | |
| tree | 7a824114c5fd70fe42758d35d215fefdec8a7599 /src/components/404.svelte | |
| parent | b1843d46dd406f6f7a657ab680407644f096e2c3 (diff) | |
| download | coinos-ui-0ebb60f986682ad8d3538c2fd1d708a861e0b1fb.tar.gz coinos-ui-0ebb60f986682ad8d3538c2fd1d708a861e0b1fb.zip | |
migrate to sveltekit-i18n
Diffstat (limited to 'src/components/404.svelte')
| -rw-r--r-- | src/components/404.svelte | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/components/404.svelte b/src/components/404.svelte index 4d5be76e..08323d40 100644 --- a/src/components/404.svelte +++ b/src/components/404.svelte @@ -1,6 +1,6 @@ <script> import { Icon } from '$comp'; - import { _ } from 'svelte-i18n'; + import { t } from '$lib/translations'; </script> <div class="flex justify-center items-center mt-20"> @@ -11,7 +11,7 @@ <Icon icon="question" style="mx-auto w-56" /> - <h1 class="font-bold text-5xl">{$_('404.404')}</h1> - <p>{$_('404.pageNotFound')}</p> + <h1 class="font-bold text-5xl">{$t('404.404')}</h1> + <p>{$t('404.pageNotFound')}</p> </div> </div> |
