diff --git a/docs/src/components/SubscriptionForm.astro b/docs/src/components/SubscriptionForm.astro index 42e006f..fc6ec59 100644 --- a/docs/src/components/SubscriptionForm.astro +++ b/docs/src/components/SubscriptionForm.astro @@ -1,5 +1,8 @@ --- -const { isNote } = Astro.props; +import { getEntry } from 'astro:content'; + +const { isNote, lang } = Astro.props; +const { data } = await getEntry('i18n', lang ?? 'en'); ---
This email will only be used for sending new challenges updates.
+{data['subscription.note.description']}.
: -*This email will only be used for sending new challenges updates. +*{data['subscription.note.description']}. }