Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
42 changes: 21 additions & 21 deletions src/i18n/locales/es.ts
Original file line number Diff line number Diff line change
Expand Up @@ -187,21 +187,21 @@ const es = {
locked_description:
"Tu nivel actual es {{tier}}. Reclama tu NFT para desbloquear.",
anomaly:
"Score anómalo detectado. Los datos serán revisados antes de habilitar operaciones.",
debt_label: "Deuda Total a Pagar",
"Puntaje anómalo detectado. Los datos serán revisados antes de habilitar operaciones.",
debt_label: "Deuda total a pagar",
expires_in: "Vence en: {{time}}",
limit_label: "Límite de crédito disponible según tu SBT",
withdraw_button: "Retirar a mi Wallet",
limit_label: "Límite de crédito disponible según tu NFT",
withdraw_button: "Retirar a mi wallet",
pay_button: "Pagar {{amount}} XLM",
authorizing: "Autorizando...",
processing: "Procesando...",
frozen_title: "¡CUENTA CONGELADA!",
frozen_description: "Tu plazo de pago ha expirado. Deuda pendiente:",
contact_support: "Contactar a Soporte",
frozen_title: "¡Cuenta congelada!",
frozen_description: "Tu plazo de pago venció. Deuda pendiente:",
contact_support: "Contactar a soporte",
footer_network:
"El retiro genera una transacción en la red Testnet de Stellar.",
"El retiro genera una transacción en la red de Stellar.",
footer_interest:
"Total a pagar al vencer (1 mes): {{amount}} XLM (Incluye 5% interés)",
"Total a pagar al vencer (1 mes): {{amount}} XLM (incluye 5% interés)",
tiers: {
"0": "Bronce",
"1": "Plata",
Expand All @@ -219,8 +219,8 @@ const es = {
cancelled: "Cancelaste la firma. No se realizó el retiro.",
generic:
"No pudimos procesar el retiro ahora. Intenta nuevamente en unos segundos.",
connect_wallet: "Debes conectar tu billetera primero",
wrong_account: "Cuenta incorrecta. Cambia en Freighter a: {{wallet}}",
connect_wallet: "Conecta tu wallet primero",
wrong_account: "Cuenta incorrecta. Cambia a {{wallet}} en Freighter",
repay_generic: "No se pudo realizar el pago. Revisa tus fondos.",
},
},
Expand Down Expand Up @@ -256,7 +256,7 @@ const es = {
tx_loan: "Préstamo recibido",
tx_repay: "Pago de préstamo",
tx_mint: "SBT Nivel {{level}}",
tx_withdrawal: "Retiro de Crédito",
tx_withdrawal: "Retiro de crédito",
},

// ─── Wallet setup modal ──────────────────────────────────────────────────────
Expand All @@ -268,7 +268,7 @@ const es = {
connect_freighter: "Conectar con Freighter",
freighter_not_detected: "Freighter no detectado",
freighter_not_detected_description:
"Instala la extensión o continúa con Albedo, una wallet web que no requiere instalación.",
"Instala la extensión o usa Albedo, una wallet web sin instalación.",
install_freighter_alt: "Instalar Freighter en su lugar",
install_freighter_link: "¿No tienes Freighter? Descárgala aquí",
error_cancelled: "Conexión cancelada. Puedes intentarlo de nuevo cuando quieras.",
Expand Down Expand Up @@ -331,7 +331,7 @@ const es = {
mint_button_signing: "Firmando en Soroban...",
mint_button_no_wallet: "Conecta tu wallet para mintear",
mint_button_no_balance: "Deposita USDC para evaluar",
mint_button_max_tier: "Nivel maximo alcanzado",
mint_button_max_tier: "Nivel máximo alcanzado",
mint_button_already_has:
"Ya tienes {{tier}}. Espera al siguiente nivel",
max_tier_badge: "Nivel Máximo Alcanzado 💎",
Expand All @@ -358,17 +358,17 @@ const es = {
menu_notifications_detail: "Activadas",
menu_help: "Centro de ayuda",
menu_logout: "Cerrar sesión",
toast_minted_title: "NFT minteado con exito",
toast_minted_title: "NFT minteado con éxito",
toast_minted_description: "Subiste a nivel {{level}}.",
toast_error_connection_title: "Conexion inestable",
toast_error_connection_title: "Conexión inestable",
toast_error_connection_description:
"No pudimos conectar con la red de Stellar. Intenta nuevamente en unos segundos.",
mint_feedback: {
insufficient_level_title: "Aun no alcanzas el siguiente nivel",
insufficient_level_description: "Sigue ahorrando y vuelve a intentar.",
already_minted_title: "Nivel ya minteado",
already_minted_description:
"Ya tienes el NFT {{level}}. Sube tu reputacion para mintear el siguiente nivel.",
"Ya tienes el NFT {{level}}. Sube tu reputación para mintear el siguiente nivel.",
generic_title: "No se pudo mintear",
generic_description:
"No pudimos mintear tu NFT en este momento. Intentalo nuevamente en unos segundos.",
Expand Down Expand Up @@ -410,10 +410,10 @@ const es = {
saved_addr_title: "Direcciones guardadas",
saved_addr_soon: "Próximamente…",
saved_addr_empty: "Guarda direcciones frecuentes para retiros más rápidos.",
modal_confirm_button: "Confirmar Retiro",
modal_confirm_button: "Confirmar retiro",
modal_all_button: "TODO",
modal_signing: "Procesando...",
modal_success_title: "Retiro Exitoso",
modal_success_title: "¡Retiro exitoso!",
modal_error_title: "No se pudo completar",
error_insufficient: "Saldo insuficiente",
min_hint_wallet: "Mínimo: 1 USDC ($1 USD)",
Expand Down Expand Up @@ -532,8 +532,8 @@ const es = {
// ─── 404 ─────────────────────────────────────────────────────────────────────
not_found: {
title: "404",
message: "Oops! Page not found",
return_home: "Return to Home",
message: "¡Ups! Página no encontrada",
return_home: "Volver al inicio",
},
} as const;

Expand Down
6 changes: 4 additions & 2 deletions src/pages/NotFound.tsx
Original file line number Diff line number Diff line change
@@ -1,8 +1,10 @@
import { useLocation } from "react-router-dom";
import { useEffect } from "react";
import { useTranslation } from "react-i18next";

const NotFound = () => {
const location = useLocation();
const { t } = useTranslation();

useEffect(() => {
console.error("404 Error: User attempted to access non-existent route:", location.pathname);
Expand All @@ -12,9 +14,9 @@ const NotFound = () => {
<div className="flex min-h-screen items-center justify-center bg-muted">
<div className="text-center">
<h1 className="mb-4 text-4xl font-bold">404</h1>
<p className="mb-4 text-xl text-muted-foreground">Oops! Page not found</p>
<p className="mb-4 text-xl text-muted-foreground">{t("not_found.message")}</p>
<a href="/" className="text-primary underline hover:text-primary/90">
Return to Home
{t("not_found.return_home")}
</a>
</div>
</div>
Expand Down