From 0ebb60f986682ad8d3538c2fd1d708a861e0b1fb Mon Sep 17 00:00:00 2001 From: Adam Soltys Date: Mon, 22 Aug 2022 15:49:08 -0700 Subject: migrate to sveltekit-i18n --- src/components/LandingHeader.svelte | 30 +++++++++++++++--------------- 1 file changed, 15 insertions(+), 15 deletions(-) (limited to 'src/components/LandingHeader.svelte') diff --git a/src/components/LandingHeader.svelte b/src/components/LandingHeader.svelte index acc83001..372c0b98 100644 --- a/src/components/LandingHeader.svelte +++ b/src/components/LandingHeader.svelte @@ -3,7 +3,7 @@ import { scroll } from '$lib/utils'; import { Icon, LocaleSelector } from '$comp'; import { user } from '$lib/store'; - import { _ } from 'svelte-i18n'; + import { t } from '$lib/translations'; export let howItWorks; export let faq; @@ -28,30 +28,30 @@ @@ -70,35 +70,35 @@ >
{$t('nav.howItWorks')} - + {$t('nav.about')} {#if !$user} {:else} {/if} -- cgit v1.2.3