From fba3b1db97ca738311e2f9de08d42bd72e491eaa 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/routes/+page.svelte | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) (limited to 'src/routes/+page.svelte') diff --git a/src/routes/+page.svelte b/src/routes/+page.svelte index bb5df050..cb49dbe4 100644 --- a/src/routes/+page.svelte +++ b/src/routes/+page.svelte @@ -10,7 +10,7 @@ Footer } from '$comp'; - import { _ } from 'svelte-i18n'; + import { t } from '$lib/translations'; let howItWorks; let faq; @@ -34,32 +34,32 @@ - - {$_('landing.info2.description1')} + + {$t('landing.info2.description1')}

- {$_('landing.info2.description2')} + {$t('landing.info2.description2')}

- {@html $_('landing.info2.description3')} + {@html $t('landing.info2.description3')}
-

{$_('howItWorks.header')}

+

{$t('howItWorks.header')}

@@ -73,7 +73,7 @@
-

{$_('faq.header')}

+

{$t('faq.header')}

{#each faqIDs as faqID} {/each} -- cgit v1.2.3