From 82acb4dd6d5499332c3bda5cf97ec2ed4cbe177b Mon Sep 17 00:00:00 2001 From: 1fbr <1fbr@proton.me> Date: Sun, 4 Feb 2024 14:58:43 +0000 Subject: [PATCH] fix: add missing i18n text in components * Affects ActionButtonFooter, ChallengeFooter, ClipboardCopy, SubscriptionForm, VideoButton components * Adds new entries for each json file: buttons.email, buttons.clipboardCopy, challenge.footer.video, challenge.footer.upvoteAnswer * Available in English and Spanish --- docs/src/components/ActionButtonFooter.astro | 2 +- docs/src/components/ChallengeFooter.astro | 4 ++-- docs/src/components/ClipboardCopy.astro | 9 +++++++-- docs/src/components/SubscriptionForm.astro | 2 +- docs/src/components/VideoButton.astro | 7 +++++-- docs/src/content/config.ts | 5 +++++ docs/src/content/i18n/en.json | 4 ++++ docs/src/content/i18n/es.json | 4 ++++ docs/src/content/i18n/fr.json | 4 ++++ docs/src/content/i18n/pt.json | 4 ++++ docs/src/content/i18n/ru.json | 4 ++++ 11 files changed, 41 insertions(+), 8 deletions(-) diff --git a/docs/src/components/ActionButtonFooter.astro b/docs/src/components/ActionButtonFooter.astro index e07b04f..512532f 100644 --- a/docs/src/components/ActionButtonFooter.astro +++ b/docs/src/components/ActionButtonFooter.astro @@ -10,7 +10,7 @@ const { data } = await getEntry('i18n', lang);