mirror of
https://github.com/dillonzq/LoveIt.git
synced 2025-03-30 10:59:15 +02:00
Merge pull request #652 from prprnya/lang-cat
feat(i18n): Add Catalan translation
This commit is contained in:
commit
0e31a98678
5 changed files with 200 additions and 0 deletions
|
@ -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)
|
||||
|
|
|
@ -137,6 +137,7 @@ LoveIt 支持下列语言:
|
|||
* 罗马尼亚语
|
||||
* 越南语
|
||||
* 阿拉伯语
|
||||
* 加泰罗尼亚语
|
||||
* [贡献一种新的语言](https://github.com/dillonzq/LoveIt/pulls)
|
||||
|
||||
[语言兼容性](https://hugoloveit.com/zh-cn/theme-documentation-basics/#language-compatibility)
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
|
@ -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 基本配置
|
||||
|
||||
|
|
196
i18n/ca.toml
Normal file
196
i18n/ca.toml
Normal file
|
@ -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 ===
|
Loading…
Add table
Reference in a new issue