diff options
Diffstat (limited to 'src/components/HowItWorksCard.svelte')
| -rw-r--r-- | src/components/HowItWorksCard.svelte | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/components/HowItWorksCard.svelte b/src/components/HowItWorksCard.svelte index 6f82c360..784c738d 100644 --- a/src/components/HowItWorksCard.svelte +++ b/src/components/HowItWorksCard.svelte @@ -1,14 +1,14 @@ <script> import Icon from './Icon.svelte'; - import { _ } from 'svelte-i18n'; + import { t } from '$lib/translations'; export let image; export let stepID; </script> <div class="space-y-5"> <Icon icon={image} style="mx-auto w-32 h-32" /> - <p class="text-2xl font-medium">{$_('howItWorks.' + stepID + '.header')}</p> + <p class="text-2xl font-medium">{$t('howItWorks.' + stepID + '.header')}</p> <p class="text-secondary text-xl font-medium w-full md:w-2/3 mx-auto"> - {$_('howItWorks.' + stepID + '.description')} + {$t('howItWorks.' + stepID + '.description')} </p> </div> |
