From 12f9088208486c9c2c6831ad77ef33b8e727470d Mon Sep 17 00:00:00 2001 From: Sean Yesmunt Date: Mon, 29 Mar 2021 00:09:13 -0400 Subject: [PATCH] ill finish the translation setup in the morning - im tired --- component/header.jsx | 4 ++-- i18n.js | 15 +++++++++++++++ pages/index.js | 18 +++++------------- 3 files changed, 22 insertions(+), 15 deletions(-) diff --git a/component/header.jsx b/component/header.jsx index 846a2a4..6718fd2 100644 --- a/component/header.jsx +++ b/component/header.jsx @@ -25,7 +25,7 @@ export function Header(props) { /> @@ -41,7 +41,7 @@ export function Header(props) { ) : ( - Go Home + {__(m.go_home)} )} diff --git a/i18n.js b/i18n.js index 9bcfc05..f2a835b 100644 --- a/i18n.js +++ b/i18n.js @@ -3,6 +3,12 @@ export const m = { faq: 'faq', help_lbry: 'help_lbry', save_crypto: 'save_crypto', + go_home: 'go_home', + og_description: 'og_description', + landing_subtitle: 'landing_subtitle', + landing_action: 'landing_action', + summary_title: 'summary_title', + summary_subtitle: 'summary_subtitle', }; const en = { @@ -10,6 +16,15 @@ const en = { faq: 'VIEW FAQ', help_lbry: 'HELP LBRY', save_crypto: 'SAVE CRYPTO', + go_home: 'Go Home', + og_description: + 'The SEC doesn’t understand blockchain. The claims made in SEC vs. LBRY, Inc. would destroy the United States cryptocurrency industry.', + landing_subtitle: + 'The SEC doesn’t understand blockchain. The claims made in SEC vs. LBRY would destroy the United States cryptocurrency industry.', + landing_action: 'Help us educate the SEC', + summary_title: 'What’s the big deal?', + summary_subtitle: + 'The entire blockchain industry is at risk in the United States. Big tech and Wall St. would have more power and many people could lose their jobs!', }; const es = {}; diff --git a/pages/index.js b/pages/index.js index 2f2a99b..13d113e 100644 --- a/pages/index.js +++ b/pages/index.js @@ -30,27 +30,19 @@ export default function Home() {

{__(m.help_lbry)}
- SAVE CRYPTO + {__(m.save_crypto)}

-
- The SEC doesn’t understand blockchain. The claims made in SEC vs. - LBRY would destroy the United States cryptocurrency - industry. -
+
{__(m.landing_subtitle)}
- Help us educate the SEC + {__(m.landing_action)}
-

What’s the big deal?

-
- The entire blockchain industry is at risk in the United States. Big - tech and Wall St. would have more power and many people could lose - their jobs! -
+

{__(m.summary_title)}

+
{__(m.summary_subtitle)}
{/*