diff --git a/README.md b/README.md index 97207188..eb14005f 100644 --- a/README.md +++ b/README.md @@ -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) diff --git a/README.zh-cn.md b/README.zh-cn.md index 0c798ef3..c2b74258 100644 --- a/README.zh-cn.md +++ b/README.zh-cn.md @@ -126,6 +126,7 @@ LoveIt 支持下列语言: * 波兰语 * 巴西葡萄牙语 * 意大利语 +* 西班牙语 * [贡献一种新的语言](https://github.com/dillonzq/LoveIt/pulls) [语言兼容性](https://hugoloveit.com/zh-cn/theme-documentation-basics/#language-compatibility) diff --git a/exampleSite/content/posts/theme-documentation-basics.en.md b/exampleSite/content/posts/theme-documentation-basics.en.md index c1a52e2a..39e4832e 100644 --- a/exampleSite/content/posts/theme-documentation-basics.en.md +++ b/exampleSite/content/posts/theme-documentation-basics.en.md @@ -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 diff --git a/exampleSite/content/posts/theme-documentation-basics.fr.md b/exampleSite/content/posts/theme-documentation-basics.fr.md index 20c504fd..6b59bb4f 100644 --- a/exampleSite/content/posts/theme-documentation-basics.fr.md +++ b/exampleSite/content/posts/theme-documentation-basics.fr.md @@ -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 diff --git a/exampleSite/content/posts/theme-documentation-basics.zh-cn.md b/exampleSite/content/posts/theme-documentation-basics.zh-cn.md index 6924f418..11bca24b 100644 --- a/exampleSite/content/posts/theme-documentation-basics.zh-cn.md +++ b/exampleSite/content/posts/theme-documentation-basics.zh-cn.md @@ -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 基本配置 diff --git a/i18n/es.toml b/i18n/es.toml new file mode 100644 index 00000000..f40889cb --- /dev/null +++ b/i18n/es.toml @@ -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 ===