diff --git a/public/locales/en/translation.json b/public/locales/en/translation.json
index ad8a263e6..3ae25d7c0 100644
--- a/public/locales/en/translation.json
+++ b/public/locales/en/translation.json
@@ -48,9 +48,12 @@
}
},
"NewsletterCTA": {
- "title": "Stay updated on the latest Scroll news",
- "placeholder": "Enter your email address",
- "buttonText": "Sign up"
+ "title": "Stay up-to-date on the latest Scroll Developer news",
+ "text": "Roadmap updates, virtual and live events, ecosystem opportunities and more",
+ "placeholder": "your email address here",
+ "thankYouForSubscribing": "Thank you for subscribing!",
+ "correctEmail": "Please use a correct email address.",
+ "pleaseInsertEmail": "Please insert your email."
}
},
"sidebar": {
@@ -152,6 +155,25 @@
"additionalResources": "Additional Resources"
}
},
+ "footer": {
+ "aboutScroll": {
+ "title": "About Scroll",
+ "bugBounty": "Bug Bounty",
+ "joinUs": "Join Us",
+ "healthStatus": "Health Status",
+ "privacyPolicy": "Privacy Policy",
+ "termsAndConditions": "Terms and Conditions"
+ },
+ "resources": {
+ "title": "Resources",
+ "blog": "Blog",
+ "documentation": "Documentation",
+ "pressKit": "Press Kit"
+ },
+ "followUs": {
+ "title": "Follow Us"
+ }
+ },
"notTranslated": {
"notTranslated": "This page has not been translated yet."
}
diff --git a/public/locales/es/translation.json b/public/locales/es/translation.json
index e31da1785..7ea00d6b6 100644
--- a/public/locales/es/translation.json
+++ b/public/locales/es/translation.json
@@ -48,9 +48,12 @@
}
},
"NewsletterCTA": {
- "title": "Stay updated on the latest Scroll news",
- "placeholder": "Enter your email address",
- "buttonText": "Sign up"
+ "title": "Mantente actualizado con las más recientes noticias sobre el Desarrollo de Scroll",
+ "text": "Roadmap, actualizaciones, eventos virtuales y presenciales, oportunidades en el ecosistema y más",
+ "placeholder": "tu correo electrónico aquí",
+ "thankYouForSubscribing": "¡Gracias por suscribirte!",
+ "correctEmail": "Porfavor usa un correo electrónico válido.",
+ "pleaseInsertEmail": "Porfavor ingresa tu correo electrónico."
}
},
"sidebar": {
@@ -152,6 +155,25 @@
"additionalResources": "Recursos Adicionales"
}
},
+ "footer": {
+ "aboutScroll": {
+ "title": "Acerca de Scroll",
+ "bugBounty": "Cazarecompensas de bugs",
+ "joinUs": "Únete a nosotros",
+ "healthStatus": "Estado de servicios",
+ "privacyPolicy": "Políticas de privacidad",
+ "termsAndConditions": "Terminos y condiciones"
+ },
+ "resources": {
+ "title": "Recursos",
+ "blog": "Blog",
+ "documentation": "Documentación",
+ "pressKit": "Kit de Prensa"
+ },
+ "followUs": {
+ "title": "Follow Us"
+ }
+ },
"notTranslated": {
"notTranslated": "Esta página no ha sido traducida aún."
}
diff --git a/src/components/Footer/PureFooter/PureFooter.tsx b/src/components/Footer/PureFooter/PureFooter.tsx
index ee126d83f..64aa07067 100644
--- a/src/components/Footer/PureFooter/PureFooter.tsx
+++ b/src/components/Footer/PureFooter/PureFooter.tsx
@@ -1,6 +1,7 @@
import { useState, useEffect } from "preact/hooks"
import { aboutList, mediaList, resourceList } from "../helper.tsx"
import styles from "./PureFooter.module.css"
+import { t } from "i18next"
const Footer = () => {
return (
@@ -9,7 +10,7 @@ const Footer = () => {
About Scroll
+{ t("footer.aboutScroll.title") }
Resources
+{ t("footer.resources.title") }
Follow Us
+{ t("footer.followUs.title") }
{ if (!email) { - setCustomMessage("Please insert your email.") + setCustomMessage(t("landing.NewsletterCTA.pleaseInsertEmail")) } else if (!emailValid) { - setCustomMessage("Please use a correct email address.") + setCustomMessage(t("landing.NewsletterCTA.correctEmail")) } else { subscribe({ EMAIL: email }) setEmail("") @@ -47,9 +48,9 @@ export default function Subscribe() {