aboutsummaryrefslogtreecommitdiffstats
path: root/src/components/FaqCard.svelte
diff options
context:
space:
mode:
Diffstat (limited to 'src/components/FaqCard.svelte')
-rw-r--r--src/components/FaqCard.svelte6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/components/FaqCard.svelte b/src/components/FaqCard.svelte
index 0d3a9fa7..918e03d6 100644
--- a/src/components/FaqCard.svelte
+++ b/src/components/FaqCard.svelte
@@ -1,5 +1,5 @@
<script>
- import { _ } from 'svelte-i18n';
+ import { t } from '$lib/translations';
// this ID will be used to get the strings from the locale
// question is at faq.[questionID].question
@@ -8,8 +8,8 @@
</script>
<div class="mx-auto w-full md:w-2/3 lg:w-[700px] space-y-5">
- <p class="text-2xl font-medium">{$_('faq.' + questionID + '.question')}</p>
+ <p class="text-2xl font-medium">{$t('faq.' + questionID + '.question')}</p>
<p class="text-secondary text-xl font-medium">
- {$_('faq.' + questionID + '.answer')}
+ {$t('faq.' + questionID + '.answer')}
</p>
</div>