From bfb25df2c09c4121bf77ff243f12c1b2714ac88e Mon Sep 17 00:00:00 2001 From: Adrien Hopkins Date: Thu, 18 Aug 2022 16:48:21 -0500 Subject: Extracted all strings from the main page into en.json --- src/components/FaqCard.svelte | 12 ++++++++---- src/components/Footer.svelte | 19 ++++++++++--------- src/components/HowItWorksCard.svelte | 8 ++++---- src/components/LandingHeader.svelte | 14 +++++++------- src/components/LandingHero.svelte | 12 ++++++------ 5 files changed, 35 insertions(+), 30 deletions(-) (limited to 'src/components') diff --git a/src/components/FaqCard.svelte b/src/components/FaqCard.svelte index 3ebd7f45..3e855e42 100644 --- a/src/components/FaqCard.svelte +++ b/src/components/FaqCard.svelte @@ -1,11 +1,15 @@
-

{question}

+

{$_('faq.' + questionID + '.question')}

- {answer} + {$_('faq.' + questionID + '.answer')}

diff --git a/src/components/Footer.svelte b/src/components/Footer.svelte index f1de0173..8d846f04 100644 --- a/src/components/Footer.svelte +++ b/src/components/Footer.svelte @@ -1,15 +1,16 @@ @@ -17,19 +18,19 @@
-

Follow Us

+

{$_('footer.followUs')}

-

Company

+

{$_('footer.company')}

diff --git a/src/components/HowItWorksCard.svelte b/src/components/HowItWorksCard.svelte index 519cdcdc..b0ef2aad 100644 --- a/src/components/HowItWorksCard.svelte +++ b/src/components/HowItWorksCard.svelte @@ -1,14 +1,14 @@
-

{step}

+

{$_('howItWorks.' + stepID + '.header')}

- {description} + {$_('howItWorks.' + stepID + '.description')}

diff --git a/src/components/LandingHeader.svelte b/src/components/LandingHeader.svelte index cc743b79..3e53a613 100644 --- a/src/components/LandingHeader.svelte +++ b/src/components/LandingHeader.svelte @@ -28,9 +28,9 @@ @@ -92,13 +92,13 @@ {/if} diff --git a/src/components/LandingHero.svelte b/src/components/LandingHero.svelte index 750f5626..7c044a4d 100644 --- a/src/components/LandingHero.svelte +++ b/src/components/LandingHero.svelte @@ -2,6 +2,7 @@ import { goto } from '$app/navigation'; import { Icon, Image } from '$comp'; import { user } from '$lib/store'; + import { _ } from 'svelte-i18n';
@@ -9,16 +10,15 @@

- The - easiest + {$_('landing.header_before_icon')} + {$_('landing.header_with_icon')} - way to accept bitcoin in your store. + {$_('landing.header_after_icon')}

- Grow your customer base and revenue by accepting bitcoin with an easy-to-use and managed Point - of Sale. No software or hardware required. + {$_('landing.subheader')}

{#if !$user}
@@ -26,7 +26,7 @@ class="bg-black text-white border rounded-full px-6 py-2 font-bold" on:click={() => goto('/register')} > - Start in Seconds + {$_('nav.startInSeconds')}
{/if} -- cgit v1.2.3