Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Spanish translation #309

Merged
merged 3 commits into from
May 4, 2020
Merged
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
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
1 change: 1 addition & 0 deletions README.zh-cn.md
Original file line number Diff line number Diff line change
Expand Up @@ -126,6 +126,7 @@ LoveIt 支持下列语言:
* 波兰语
* 巴西葡萄牙语
* 意大利语
* 西班牙语
* [贡献一种新的语言](https://github.com/dillonzq/LoveIt/pulls)

[语言兼容性](https://hugoloveit.com/zh-cn/theme-documentation-basics/#language-compatibility)
Expand Down
1 change: 1 addition & 0 deletions exampleSite/content/posts/theme-documentation-basics.en.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
1 change: 1 addition & 0 deletions exampleSite/content/posts/theme-documentation-basics.fr.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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 基本配置

Expand Down
194 changes: 194 additions & 0 deletions i18n/es.toml
Original file line number Diff line number Diff line change
@@ -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 ===