diff --git a/assets/script.js b/assets/script.js
index 7d46c70..f59d727 100644
--- a/assets/script.js
+++ b/assets/script.js
@@ -1,8 +1,10 @@
// script.js
+let languages = ["en", "de", "fr", "es"]
let currentLanguage = localStorage.getItem("language")
if (!currentLanguage) {
- currentLanguage = window.navigator.language.includes("de") ? "de" : "en"
+ currentLanguage = window.navigator.language.slice(0, 2)
+ if (!languages.includes(currentLanguage)) currentLanguage = "en"
localStorage.setItem("language", currentLanguage)
}
let currentMode = localStorage.getItem("mode")
diff --git a/i18n/es/es.json b/i18n/es/es.json
index 5f30544..dd215fd 100644
--- a/i18n/es/es.json
+++ b/i18n/es/es.json
@@ -17,13 +17,13 @@
"website": "www.usexmr.com"
},
"page2": {
- "change_fiat_title": "CAMBIA $USD POR MONERO", #You have a typo in original version (SUSD) instead of $USD
+ "change_fiat_title": "CAMBIA $USD POR MONERO",
"steps": {
"step1": "PASO 1: Descarga Cake Wallet o Monero.com wallet.",
"step2": "PASO 2: Crea tu billetera y anota cuidadosamente la frase semilla proporcionada. ¡Guárdala de forma segura!",
"step3": "PASO 3: Abre la billetera, ve a la sección 'Intercambio' e ingresa la cantidad de dinero que deseas convertir en Monero (XMR). Elige tu método de pago preferido (tarjeta de crédito, transferencia bancaria, SEPA, etc.) y sigue los pasos."
},
- "slogan1": "¡LOS PAGOS SON SEGUROS E INMUTABLES!",
+ "slogan1": "¡LOS PAGOS SON SEGUROS E INMUTABLES!",
"advantages_title": "VENTAJAS PARA TI COMO USUARIO",
"advantages": {
"privacy": "Privacidad: Cada pago es privado por defecto. ¡Pagas con Monero como pagas con efectivo!",
@@ -70,4 +70,4 @@
"dex": "Intercambio Descentralizado: una plataforma operada por una red de usuarios donde los clientes no necesitan verificar su identidad.",
"copyright": "Proyecto Comunitario de Monero Un proyecto independiente, no comercial, realizado por y para la comunidad Monero."
}
-}
+}
\ No newline at end of file
diff --git a/i18n/es/flyer-dark-es.pdf b/i18n/es/flyer-dark-es.pdf
new file mode 100644
index 0000000..8a08c9f
Binary files /dev/null and b/i18n/es/flyer-dark-es.pdf differ
diff --git a/i18n/es/flyer-light-es.pdf b/i18n/es/flyer-light-es.pdf
new file mode 100644
index 0000000..468a004
Binary files /dev/null and b/i18n/es/flyer-light-es.pdf differ
diff --git a/i18n/es/preview-flyer-dark.png b/i18n/es/preview-flyer-dark.png
new file mode 100644
index 0000000..3371a1e
Binary files /dev/null and b/i18n/es/preview-flyer-dark.png differ
diff --git a/i18n/es/preview-flyer-dark.webp b/i18n/es/preview-flyer-dark.webp
new file mode 100644
index 0000000..c598711
Binary files /dev/null and b/i18n/es/preview-flyer-dark.webp differ
diff --git a/i18n/es/preview-flyer-light.png b/i18n/es/preview-flyer-light.png
new file mode 100644
index 0000000..3da7e49
Binary files /dev/null and b/i18n/es/preview-flyer-light.png differ
diff --git a/i18n/es/preview-flyer-light.webp b/i18n/es/preview-flyer-light.webp
new file mode 100644
index 0000000..4ee3e94
Binary files /dev/null and b/i18n/es/preview-flyer-light.webp differ
diff --git a/index.html b/index.html
index bf39bd6..88c1ecc 100644
--- a/index.html
+++ b/index.html
@@ -25,6 +25,7 @@
+