Add Spanish translation (#309)

This commit is contained in:
Rodolfo Martínez Vega 2020-05-04 06:12:28 -05:00 committed by GitHub
parent 67617b82dc
commit 44955320ba
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
6 changed files with 199 additions and 0 deletions

View file

@ -131,6 +131,7 @@ LoveIt supports the following languages:
* Polish
* Brazilian Portuguese
* Italian
* Spanish
* [Contribute with a new language](https://github.com/dillonzq/LoveIt/pulls)
[Languages Compatibility](https://hugoloveit.com/theme-documentation-basics/#language-compatibility)

View file

@ -126,6 +126,7 @@ LoveIt 支持下列语言:
* 波兰语
* 巴西葡萄牙语
* 意大利语
* 西班牙语
* [贡献一种新的语言](https://github.com/dillonzq/LoveIt/pulls)
[语言兼容性](https://hugoloveit.com/zh-cn/theme-documentation-basics/#language-compatibility)

View file

@ -839,6 +839,7 @@ In `config/css/_custom.scss`, you can add some css style code to customize the s
| Polish | `pl` | `pl` | :(far fa-square fa-fw): | :(far fa-square fa-fw): |
| Brazilian Portuguese | `pt-br` | `pt-BR` | :(far fa-square fa-fw): | :(far fa-check-square fa-fw): |
| Italian | `it` | `it` | :(far fa-square fa-fw): | :(far fa-check-square fa-fw): |
| Spanish | `es` | `es` | :(far fa-square fa-fw): | :(far fa-check-square fa-fw): |
### 4.2 Basic Configuration

View file

@ -844,6 +844,7 @@ In `config/css/_custom.scss`, you can add some css style code to customize the s
| Polish | `pl` | `pl` | :(far fa-square fa-fw): | :(far fa-square fa-fw): |
| Brazilian Portuguese | `pt-br` | `pt-BR` | :(far fa-square fa-fw): | :(far fa-check-square fa-fw): |
| Italian | `it` | `it` | :(far fa-square fa-fw): | :(far fa-check-square fa-fw): |
| Spanish | `es` | `es` | :(far fa-square fa-fw): | :(far fa-check-square fa-fw): |
### 4.2 Basic Configuration

View file

@ -847,6 +847,7 @@ $code-font-family: Fira Mono, Source Code Pro, Menlo, Consolas, Monaco, monospac
| 波兰语 | `pl` | `pl` | :(far fa-square fa-fw): | :(far fa-square fa-fw): |
| 巴西葡萄牙语 | `pt-br` | `pt-BR` | :(far fa-square fa-fw): | :(far fa-check-square fa-fw): |
| 意大利语 | `it` | `it` | :(far fa-square fa-fw): | :(far fa-check-square fa-fw): |
| 西班牙语 | `es` | `es` | :(far fa-square fa-fw): | :(far fa-check-square fa-fw): |
### 4.2 基本配置

194
i18n/es.toml Normal file
View file

@ -0,0 +1,194 @@
# Translations for Spanish
# Traducciones para español
# https://gohugo.io/content-management/multilingual/#translation-of-strings
# === baseof ==
[backToTop]
other = "Volver arriba"
[viewComments]
other = "Ver comentarios"
# === baseof ==
# === Post ===
[posts]
other = "Artículos"
# === Post ===
# === Taxonomy ===
[allSome]
other = "Todo %s"
[tag]
other = "Etiqueta"
[tags]
other = "Etiquetas"
[category]
other = "Categoría"
[categories]
other = "Categorías"
# === Taxonomy ===
# === Pagination ===
[more]
other = "Más"
# === Pagination ===
# === partials/header.html ===
[selectLanguage]
other = "Selecciona el lenguage"
[switchTheme]
other = "Cambia el tema"
# === partials/header.html ===
# === partials/footer.html ===
[poweredBySome]
other = "Provisto por %s"
[theme]
other = "Tema"
# === partials/footer.html ===
# === partials/comment.html ===
[valineLang]
other = "en"
[valinePlaceholder]
other = "Tu comentario ..."
[facebookLanguageCode]
other = "es_MX"
# === partials/comment.html ===
# === partials/assets.html ===
[search]
other = "Buscar"
[searchPlaceholder]
other = "Busca títulos o contenido..."
[clear]
other = "Limpiar"
[cancel]
other = "Cancelar"
[noResultsFound]
other = "No se encontraron resultados"
[lunrLanguageLib]
other = "lib/lunr/lunr.es.js"
[lunrLanguageCode]
other = "es"
[copyToClipboard]
other = "Copiar al portapapeles"
# === partials/assets.html ===
# === partials/plugin/share.html ===
[shareOn]
other = "Compartir en"
# === partials/plugin/share.html ===
# === posts/single.html ===
[contents]
other = "Contenido"
[publish]
other = "publicado el"
[included]
other = "incluido en"
[wordCount]
other = "unas {{ .Count }} palabras"
[readingTime]
other = "{{ .Count }} min"
[views]
other = "vistas"
[author]
other = "Autor"
[lastMod]
other = "El artículo fue actualizado el %s"
[license]
other = "Publicado bajo la licencia %s"
[seeMarkdown]
other = "Leer Markdown"
[back]
other = "Regresar"
[home]
other = "Inicio"
[readMore]
other = "Leer más"
# === posts/single.html ===
# === 404.html ===
[pageNotFound]
other = "Página no encontrada"
[pageNotFoundText]
other = "La página que estás buscando no existe. Lo siento."
# === 404.html ===
# === shortcodes/admonition.html ===
[note]
other = "Nota"
[abstract]
other = "Resumen"
[info]
other = "Información"
[tip]
other = "Consejo"
[success]
other = "Éxito"
[question]
other = "Pregunta"
[warning]
other = "Advertencia"
[failure]
other = "Fallo"
[danger]
other = "Peligro"
[bug]
other = "Error"
[example]
other = "Ejemplo"
[quote]
other = "Cita"
# === shortcodes/admonition.html ===
# === shortcodes/version.html ===
[new]
other = "NUEVO"
[changed]
other = "MODIFICADO"
[deleted]
other = "ELIMINADO"
# === shortcodes/version.html ===