Skip to content

Commit

Permalink
Spanish (#859)
Browse files Browse the repository at this point in the history
* Create es.json
  • Loading branch information
santosm01 authored Jan 25, 2024
1 parent e0b96a9 commit 0e267b5
Show file tree
Hide file tree
Showing 2 changed files with 124 additions and 1 deletion.
24 changes: 23 additions & 1 deletion svelte/src/libs/translations/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ import hr from "./languages/hr.json";
import ja from "./languages/ja.json";
import lt from "./languages/lt.json";
import kr from "./languages/kr.json";
import es from "./languages/es.json";

import * as customModifiers from "./modifiers";

Expand All @@ -32,7 +33,28 @@ type Translation = typeof en.translations & {
};

// add new language json object here
const languages = [en, zh, de, ru, uk, ptbr, pl, cz, lv, ro, it, se, fr, tr, no, hr, ja, lt, kr];
const languages = [
en,
zh,
de,
ru,
uk,
ptbr,
pl,
cz,
lv,
ro,
it,
se,
fr,
tr,
no,
hr,
ja,
lt,
kr,
es
];

const langs: { [lang: string]: string } = {};
languages.forEach((lang) => {
Expand Down
101 changes: 101 additions & 0 deletions svelte/src/libs/translations/languages/es.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,101 @@
{
"id": "es",
"label": "Español",
"translations": {
"store-search-placeholder": "buscar paquetes",
"action": {
"update": "actualizar",
"cancel": "cancelar"
},
"package": {
"update-all": "ACTUALIZAR TODO",
"cta-AVAILABLE": "INSTALAR",
"cta-INSTALLED": "INSTALADO",
"cta-INSTALLING": "INSTALANDO",
"cta-UNINSTALLED": "REINSTALAR",
"cta-UNINSTALL": "DESINSTALAR",
"cta-NEEDS_UPDATE": "ACTUALIZAR",
"cta-UPDATING": "ACTUALIZANDO",
"cta-UPDATED": "ACTUALIZADO",
"cta-PRUNE": "PODAR",
"cta-PRUNING": "PODANDO",
"open": "ABRIR",
"open-in-terminal": "ABRIR EN TERMINAL",
"local-package": "paquete local",
"not-in-pantry": "aún no agregado a la despensa"
},
"footer": {
"quick-links-title": "enlaces rápidos",
"about-tea-store": "sobre la tienda de té",
"report-a-problem": "informar un problema",
"visit-website": "visitar tea.xyz",
"terms-services": "términos y servicios",
"privacy-policy": "política de privacidad"
},
"documentation": {
"title": "documentación",
"workshops": "talleres"
},
"view-all": "ver todo",
"sorting": {
"label": "Ordenar por",
"popularity": "Más popular",
"most-recent": "Más reciente"
},
"common": {
"home": "inicio",
"all": "Todos",
"articles": "Artículos",
"workshops": "Talleres",
"metadata": "Metadatos",
"homepage": "Página de inicio",
"documentation": "Documentación",
"github-repository": "Repositorio de Github",
"repository": "Repositorio",
"contributors": "Contribuidores",
"view-on-github": "VER EN GITHUB"
},
"tabs": {
"details": "pkg",
"cli": "cli",
"gui": "gui"
},
"notification": {
"update-header": "¿Actualizar tea/gui a la versión {{version}}?",
"gui-restarting": "Continuar causará que la aplicación se reinicie al completarse. Asegúrate de no tener ninguna operación en progreso. ¿Quieres continuar?",
"gui-restart": "reiniciar"
},
"side-menu-title": {
"discover": "descubrir",
"all": "Todos los paquetes",
"installed": "Paquetes instalados",
"installed_updates_available": "Actualizaciones disponibles",
"recently_updated": "Actualizado recientemente",
"new_packages": "Nuevos paquetes",
"popular": "Popular",
"featured": "Destacados",
"essentials": "Esenciales",
"starstruck": "Peso pesado Starstruck",
"made_by_tea": "hecho por tea",
"local_packages": "Paquetes locales"
},
"tags": {
"discover": "descubrir",
"all": "todos los paquetes",
"installed": "instalado",
"installed_updates_available": "Actualizaciones disponibles",
"recently_updated": "Actualizado recientemente",
"new_packages": "Nuevos paquetes",
"popular": "Popular",
"featured": "Destacados",
"essentials": "Esenciales",
"starstruck": "Starstruck",
"made_by_tea": "Hecho por tea",
"local_packages": "Paquetes locales"
},
"discover": {
"featured_title": "esenciales locales de IA",
"featured_description": "Explora el mundo de la inteligencia artificial local. Esta es tu plataforma para experimentar con herramientas de IA de alto perfil como AutoGPT y Stable Diffusion Web UI, directamente desde tu sistema local. Inicia tus proyectos de IA manteniendo tus datos seguros, con la libertad de ajustar como desees."
}
}
}

0 comments on commit 0e267b5

Please sign in to comment.