Skip to content

Commit

Permalink
feat: add Spanish translation from @aciccarello
Browse files Browse the repository at this point in the history
  • Loading branch information
paulrobertlloyd committed May 2, 2022
1 parent f79b53d commit e556ada
Show file tree
Hide file tree
Showing 6 changed files with 117 additions and 1 deletion.
1 change: 1 addition & 0 deletions docs/customisation/localisation.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ Indiekit has been localised into the following languages:

- `en`: US English
- `de`: Deutsch (with contributions from [Andreas Fink](https://github.com/AFink))
- `es`: Español (with contributions from [Anthony Ciccarello](https://github.com/aciccarello))
- `fr`: Français (with contributions from David Legrand)
- `nl`: Nederlands
- `pt`: Português
Expand Down
12 changes: 12 additions & 0 deletions packages/endpoint-media/locales/es.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
/* eslint-disable import/no-anonymous-default-export */
export default {
media: {
download: "Descargar archivo",
files: {
none: "No hay archivos",
title: "Archivos cargados",
},
properties: "Propiedades",
title: "Archivos",
},
};
11 changes: 11 additions & 0 deletions packages/endpoint-micropub/locales/es.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
/* eslint-disable import/no-anonymous-default-export */
export default {
micropub: {
posts: {
none: "No hay publicaciones",
title: "Publicaciones publicadas",
},
properties: "Propiedades",
title: "Publicaciones",
},
};
21 changes: 21 additions & 0 deletions packages/endpoint-share/locales/es.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
/* eslint-disable import/no-anonymous-default-export */
export default {
share: {
"bookmark-of": "URL",
content: "Contenido",
error: {
"bookmark-of": "Ingrese una dirección web como https://example.org",
name: "Pon un título",
},
name: "Título",
submit: "Publicar",
title: "Compartir",
},
status: {
bookmarklet: {
guidance: "Arrastra este vínculo a tu barra de favoritos: %s",
label: "Compartir página",
title: "Compartir bookmarklet",
},
},
};
2 changes: 1 addition & 1 deletion packages/indiekit/config/defaults.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ const mongodbUrl = process.env.MONGODB_URL ? process.env.MONGODB_URL : false;
export const defaultConfig = {
application: {
hasDatabase: false,
localesAvailable: ["de", "en", "fr", "nl", "pt"],
localesAvailable: ["de", "en", "es", "fr", "nl", "pt"],
mongodbUrl,
name: "Indiekit",
repository: package_.repository,
Expand Down
71 changes: 71 additions & 0 deletions packages/indiekit/locales/es.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,71 @@
/* eslint-disable import/no-anonymous-default-export */
export default {
error: "Error",
errorSummaryTitle: "Hay un problema",
errors: {
noDatabase: {
content: "Esta función requiere una base de datos.",
},
notFound: {
content: "Si ha ingresido una dirección web, compruebe que es correcta.",
title: "Página no encontrada",
},
},
guidance: {
discovery:
"Para que los clientes de Micropub puedan descubrir %s y solicitar permiso para publicar en su sitio web, agregue los siguientes valores a `<head>` de su sitio web:",
},
noValue: "No establecido",
optionalValue: "(opcional)",
session: {
login: {
description:
"Inicia sesión con IndieAuth para verificar que eres propietario de %s",
error: {
validateRedirect: "Intento de redirección inválida",
validateState: "Código faltante o discrepancia de estado",
},
me: "Dirección web",
submit: "Iniciar sesión con IndieAuth",
title: "Iniciar sesión",
},
logout: {
title: "Cerrar sesión",
},
},
status: {
application: {
accessToken: "Token de acceso",
endpoints: "Puntos finales",
installedPlugins: "Plug-ins instalados",
locale: "Idioma",
localeNotAvailable: "{{app}} aún no se ha traducido a {{locale}}",
name: "Nombre",
scope: "Alcance proporcionado",
summaryTitle: "Ajustes de la aplicación",
themeColor: "Color del tema",
themeColorScheme: "Tema",
themeColorSchemeValue: {
automatic: "Automático",
dark: "Oscuro",
light: "Claro",
},
},
publication: {
accessToken: "Token de acceso",
authorizationEndpoint: "Punto final de autorización",
locale: "Idioma",
me: "Dirección web",
mediaEndpoint: "Punto final de medios",
micropubEndpoint: "Punto final de Micropub",
postTypes: "Tipos de publicaciones",
preset: "Preestablecido",
store: "Almacén de contenido",
summaryTitle: "Configuración de publicación",
syndicationTargets: "Objetivos de sindicación",
timeZone: "Zona horaria",
tokenEndpoint: "Punto final de token",
},
title: "Estado del servidor",
},
};

0 comments on commit e556ada

Please sign in to comment.