diff --git a/lunaria.config.json b/lunaria.config.json index 63fd45cd1..c2bb99dc1 100644 --- a/lunaria.config.json +++ b/lunaria.config.json @@ -25,6 +25,10 @@ { "label": "Português do Brasil", "lang": "pt-br" + }, + { + "label": "Español", + "lang": "es" } ], "outDir": "./public/i18n-status", diff --git a/src/i18n/dictionaries/es/ui.ts b/src/i18n/dictionaries/es/ui.ts new file mode 100644 index 000000000..d88080e54 --- /dev/null +++ b/src/i18n/dictionaries/es/ui.ts @@ -0,0 +1,47 @@ +export default { + // hero + "hero.title": "UIs sin esfuerzo, con precisión reactiva.", + "hero.subtitle": "Solid es un moderno framework de JavaScript para la web de hoy.", + "hero.button.primary": "Comenzar ahora", + "hero.button.secondary": "Unirse a la comunidad", + + // main navigation + "main.nav.tab.learn": "Aprenda", + "main.nav.tab.reference": "Referencia", + "main.nav.section.concepts": "Conceptos", + "main.nav.section.components": "Componentes", + "main.nav.section.control.flow": "Flujo de control", + "main.nav.section.derived.values": "Valores derivados", + "main.nav.section.routing": "Ruteo", + "main.nav.section.advanced.concepts": "Conceptos avanzados", + "main.nav.section.guides": "Guías", + "main.nav.section.configuration": "Configuración", + "main.nav.section.basic.reactivity": "Reactividad básica", + "main.nav.section.component.apis": "APIs de componentes", + "main.nav.section.jsx.attributes": "Atributos de JSX", + "main.nav.section.lifecycle": "Ciclo de vida", + "main.nav.section.reactive.utilities": "Utilidades reactivas", + "main.nav.section.rendering": "Renderizado", + "main.nav.section.secondary.primitives": "Primitivas secundarias", + "main.nav.section.stores": "Stores", + "main.nav.section.solid.router": "Solid-Router", + "main.nav.section.solid.router.components": "Componentes", + "main.nav.section.solid.router.data.apis": "APIs de datos", + "main.nav.section.solid.router.load.functions": "Funciones de carga", + "main.nav.section.solid.router.primitives": "Primitivas", + "main.nav.no.routes": "No se encontró la ruta buscada", + + // ToC + "toc.this.page": "En esta página", + "toc.overview": "Sumario", + "contribute.title": "Contribuya", + "contribute.edit": "Editar esta página", + "contribute.report": "Reportar un error en esta página", + + // pagination + "pagination.next": "Siguiente", + "pagination.previous": "Anterior", + + // 404 + "missing.translation": "Esta sección todavía no fue traducida", +} as const; diff --git a/src/i18n/dictionaries/index.ts b/src/i18n/dictionaries/index.ts index 49c9014e3..e0da19c95 100644 --- a/src/i18n/dictionaries/index.ts +++ b/src/i18n/dictionaries/index.ts @@ -1,12 +1,15 @@ import english from "./en/ui"; import ptbr from "./pt-br/ui"; +import es from "./es/ui"; export const dictionaries = { default: english, // "pt-br": ptbr, + // es, }; export const languages: { [key: string]: string } = { en: "English", // "pt-br": "Português do Brasil", + // es: "Español", };