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/HowItWorksCard.svelte | |
| parent | b1843d46dd406f6f7a657ab680407644f096e2c3 (diff) | |
| download | coinos-ui-0ebb60f986682ad8d3538c2fd1d708a861e0b1fb.tar.gz coinos-ui-0ebb60f986682ad8d3538c2fd1d708a861e0b1fb.zip | |
migrate to sveltekit-i18n
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> |
