diff --git a/README.md b/README.md index ee14812..4d441ed 100644 --- a/README.md +++ b/README.md @@ -142,6 +142,7 @@ LoveIt supports the following languages: * Romanian * Vietnamese * Arabic +* Catalan * [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 5f4ce06..81c1fa3 100644 --- a/README.zh-cn.md +++ b/README.zh-cn.md @@ -137,6 +137,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/index.en.md b/exampleSite/content/posts/theme-documentation-basics/index.en.md index e48f078..1174d7f 100644 --- a/exampleSite/content/posts/theme-documentation-basics/index.en.md +++ b/exampleSite/content/posts/theme-documentation-basics/index.en.md @@ -844,6 +844,7 @@ In `assets/css/_custom.scss`, you can add some css style code to customize the s | Romanian | `ro` | `ro` | :(far fa-square fa-fw): | :(far fa-check-square fa-fw): | | Vietnamese | `vi` | `vi` | :(far fa-square fa-fw): | :(far fa-check-square fa-fw): | | Arabic | `ar` | `ar` | :(far fa-square fa-fw): | :(far fa-check-square fa-fw): | +| Catalan | `ca` | `ca` | :(far fa-square fa-fw): | :(far fa-square fa-fw): | ### 4.2 Basic Configuration diff --git a/exampleSite/content/posts/theme-documentation-basics/index.zh-cn.md b/exampleSite/content/posts/theme-documentation-basics/index.zh-cn.md index cfb0065..d3a8395 100644 --- a/exampleSite/content/posts/theme-documentation-basics/index.zh-cn.md +++ b/exampleSite/content/posts/theme-documentation-basics/index.zh-cn.md @@ -846,6 +846,7 @@ $code-font-family: Fira Mono, Source Code Pro, Menlo, Consolas, Monaco, monospac | 罗马尼亚语 | `ro` | `ro` | :(far fa-square fa-fw): | :(far fa-check-square fa-fw): | | 越南语 | `vi` | `vi` | :(far fa-square fa-fw): | :(far fa-check-square fa-fw): | | 阿拉伯语 | `ar` | `ar` | :(far fa-square fa-fw): | :(far fa-check-square fa-fw): | +| 加泰罗尼亚语 | `ca` | `ca` | :(far fa-square fa-fw): | :(far fa-square fa-fw): | ### 4.2 基本配置 diff --git a/i18n/ca.toml b/i18n/ca.toml new file mode 100644 index 0000000..097b05c --- /dev/null +++ b/i18n/ca.toml @@ -0,0 +1,196 @@ +# Translations for Catalan +# Traducció al Català +# https://gohugo.io/content-management/multilingual/#translation-of-strings + +# === baseof == +[backToTop] +other = "Torna a L'inici" + +[viewComments] +other = "Visualitza Comentaris" +# === baseof == + +# === Post === +[posts] +other = "Publicacions" +# === Post === + +# === Taxonomy === +[allSome] +other = "Tot {{ .Some }}" + +[tag] +other = "Etiqueta" + +[tags] +other = "Etiquetes" + +[category] +other = "Categoria" + +[categories] +other = "Categories" +# === Taxonomy === + +# === Pagination === +[more] +other = "Més" +# === Pagination === + +# === partials/header.html === +[selectLanguage] +other = "Escolliu L'idioma" + +[switchTheme] +other = "Canvia Tema" +# === partials/header.html === + +# === partials/footer.html === +[poweredBySome] +other = "Impulsat per {{ .Hugo }} | Tema - {{ .Theme }}" +# === partials/footer.html === + +# === partials/comment.html === +[valineLang] +other = "ca" + +[valinePlaceholder] +other = "El teu comentari ..." + +[facebookLanguageCode] +other = "ca_ES" +# === partials/comment.html === + +# === partials/assets.html === +[search] +other = "Buscar" + +[searchPlaceholder] +other = "Buscar títols o continguts..." + +[clear] +other = "Esborra" + +[cancel] +other = "Cancel·lar" + +[noResultsFound] +other = "Sense resultats" + +[lunrLanguageCode] +other = "ca" + +[copyToClipboard] +other = "Copiar al portapapers" + +[cookieconsentMessage] +other = "Aquest lloc web utilitza cookies per millorar la teva experiència." + +[cookieconsentDismiss] +other = "Entenc!" + +[cookieconsentLink] +other = "Més informació" +# === partials/assets.html === + +# === partials/plugin/share.html === +[shareOn] +other = "Comparteix a" +# === partials/plugin/share.html === + +# === posts/single.html === +[contents] +other = "Continguts" + +[publishedOnDate] +other = "publicat el {{ .Date }}" + +[includedInCategories] +other = "inclòs en {{ .Categories }}" + +[wordCount] +one = "Una paraula" +other = "{{ .Count }} paraules" + +[readingTime] +one = "Un minut" +other = "{{ .Count }} minuts" + +[views] +other = "vistes" + +[author] +other = "Autor" + +[updatedOnDate] +other = "Actualitzat el {{ .Date }}" + +[readMarkdown] +other = "Llegeix Markdown" + +[back] +other = "Tornar" + +[home] +other = "Inici" + +[readMore] +other = "Llegeix Més" +# === posts/single.html === + +# === 404.html === +[pageNotFound] +other = "Pàgina no trobada" + +[pageNotFoundText] +other = "La pàgina que estàs buscant no existeix. Ho sento." +# === 404.html === + +# === shortcodes/admonition.html === +[note] +other = "Nota" + +[abstract] +other = "Resum" + +[info] +other = "Informació" + +[tip] +other = "Consell" + +[success] +other = "Èxit" + +[question] +other = "Pregunta" + +[warning] +other = "Advertència" + +[failure] +other = "Fracàs" + +[danger] +other = "Perill" + +[bug] +other = "Microbi" + +[example] +other = "Exemple" + +[quote] +other = "Citar" +# === shortcodes/admonition.html === + +# === shortcodes/version.html === +[new] +other = "NOVA" + +[changed] +other = "CANVIAT" + +[deleted] +other = "SUPRIMIT" +# === shortcodes/version.html ===