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/LandingHero.svelte | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'src/components/LandingHero.svelte') diff --git a/src/components/LandingHero.svelte b/src/components/LandingHero.svelte index 6553d271..1415692e 100644 --- a/src/components/LandingHero.svelte +++ b/src/components/LandingHero.svelte @@ -2,7 +2,7 @@ import { goto } from '$app/navigation'; import { Icon, Image } from '$comp'; import { user } from '$lib/store'; - import { _ } from 'svelte-i18n'; + import { t } from '$lib/translations';
@@ -10,17 +10,17 @@

- {$_('landing.header_before_icon')} + {$t('landing.header_before_icon')} - {$_('landing.header_with_icon')} + {$t('landing.header_with_icon')} - {$_('landing.header_after_icon')} + {$t('landing.header_after_icon')}

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

{#if !$user}
@@ -28,7 +28,7 @@ class="bg-black text-white border rounded-full px-6 py-2 font-bold" on:click={() => goto('/register')} > - {$_('nav.startInSeconds')} + {$t('nav.startInSeconds')}
{/if} -- cgit v1.2.3