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
This commit is contained in:
1fbr
2024-02-04 14:58:43 +00:00
parent 84d518f036
commit 82acb4dd6d
11 changed files with 41 additions and 8 deletions

View File

@@ -27,7 +27,7 @@ const npxCommand = `npx nx serve ${command}`;
<p>{data['challenge.footer.gettingStarted.title']} <a
href="/guides/getting-started">{data['challenge.footer.gettingStarted.link']}</a>.</p>
<p>{data['challenge.footer.running']} <code class="code" dir="auto">{npxCommand}
<ClipboardCopy copyText={npxCommand} />
<ClipboardCopy copyText={npxCommand} {...Astro.props} />
</code></p>
</section>
</aside>
@@ -71,7 +71,7 @@ const npxCommand = `npx nx serve ${command}`;
</div>
<div class="footer-note">
* You can upvote an answer with a 👍 if you like it
* {data['challenge.footer.upvoteAnswer']}
</div>
<style>