aboutsummaryrefslogtreecommitdiffstats
path: root/src/components/HowItWorksCard.svelte
diff options
context:
space:
mode:
authorAdam Soltys <[email protected]>2022-08-22 15:49:08 -0700
committerAdam Soltys <[email protected]>2022-08-22 15:49:08 -0700
commitfba3b1db97ca738311e2f9de08d42bd72e491eaa (patch)
tree8424b797a8384645c06617006da2bc6771992c14 /src/components/HowItWorksCard.svelte
parenta90fbcf954287534b88e9760335eff15fd433488 (diff)
downloadcoinos-ui-fba3b1db97ca738311e2f9de08d42bd72e491eaa.tar.gz
coinos-ui-fba3b1db97ca738311e2f9de08d42bd72e491eaa.zip
migrate to sveltekit-i18n
Diffstat (limited to 'src/components/HowItWorksCard.svelte')
-rw-r--r--src/components/HowItWorksCard.svelte6
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>