mirror of
https://github.com/dillonzq/LoveIt.git
synced 2024-11-12 18:06:17 +01:00
chore(docs): update docs for i18n
This commit is contained in:
parent
fcba1590b6
commit
13b051b585
25 changed files with 23 additions and 5 deletions
|
@ -135,6 +135,8 @@ LoveIt supports the following languages:
|
|||
* Spanish
|
||||
* German
|
||||
* Serbian
|
||||
* Russian
|
||||
* Romanian
|
||||
* [Contribute with a new language](https://github.com/dillonzq/LoveIt/pulls)
|
||||
|
||||
[Languages Compatibility](https://hugoloveit.com/theme-documentation-basics/#language-compatibility)
|
||||
|
|
|
@ -130,6 +130,8 @@ LoveIt 支持下列语言:
|
|||
* 西班牙语
|
||||
* 德语
|
||||
* 塞尔维亚语
|
||||
* 俄语
|
||||
* 罗马尼亚语
|
||||
* [贡献一种新的语言](https://github.com/dillonzq/LoveIt/pulls)
|
||||
|
||||
[语言兼容性](https://hugoloveit.com/zh-cn/theme-documentation-basics/#language-compatibility)
|
||||
|
|
|
@ -843,7 +843,7 @@ In `config/css/_custom.scss`, you can add some css style code to customize the s
|
|||
|
||||
### 4.1 Compatibility {#language-compatibility}
|
||||
|
||||
{{< version 0.2.6 changed >}}
|
||||
{{< version 0.2.7 changed >}}
|
||||
|
||||
| Language | Hugo Code | HTML `lang` Attribute | Theme Docs | Lunr.js Support |
|
||||
|:-------------------- |:---------:|:---------------------:|:-----------------------------:|:-----------------------------:|
|
||||
|
@ -857,6 +857,8 @@ In `config/css/_custom.scss`, you can add some css style code to customize the s
|
|||
| German | `de` | `de` | :(far fa-square fa-fw): | :(far fa-check-square fa-fw): |
|
||||
| German | `de` | `de` | :(far fa-square fa-fw): | :(far fa-check-square fa-fw): |
|
||||
| Serbian | `sr` | `sr` | :(far fa-square fa-fw): | :(far fa-square fa-fw): |
|
||||
| Russian | `ru` | `ru` | :(far fa-square fa-fw): | :(far fa-check-square fa-fw): |
|
||||
| Romanian | `ro` | `ro` | :(far fa-square fa-fw): | :(far fa-check-square fa-fw): |
|
||||
|
||||
### 4.2 Basic Configuration
|
||||
|
|
@ -848,7 +848,7 @@ In `config/css/_custom.scss`, you can add some css style code to customize the s
|
|||
|
||||
### 4.1 Compatibility {#language-compatibility}
|
||||
|
||||
{{< version 0.2.6 changed >}}
|
||||
{{< version 0.2.7 changed >}}
|
||||
|
||||
| Language | Hugo Code | HTML `lang` Attribute | Theme Docs | Lunr.js Support |
|
||||
|:-------------------- |:---------:|:---------------------:|:-----------------------------:|:-----------------------------:|
|
||||
|
@ -861,6 +861,8 @@ In `config/css/_custom.scss`, you can add some css style code to customize the s
|
|||
| Spanish | `es` | `es` | :(far fa-square fa-fw): | :(far fa-check-square fa-fw): |
|
||||
| German | `de` | `de` | :(far fa-square fa-fw): | :(far fa-check-square fa-fw): |
|
||||
| Serbian | `sr` | `sr` | :(far fa-square fa-fw): | :(far fa-square fa-fw): |
|
||||
| Russian | `ru` | `ru` | :(far fa-square fa-fw): | :(far fa-check-square fa-fw): |
|
||||
| Romanian | `ro` | `ro` | :(far fa-square fa-fw): | :(far fa-check-square fa-fw): |
|
||||
|
||||
### 4.2 Basic Configuration
|
||||
|
|
@ -847,7 +847,7 @@ $code-font-family: Fira Mono, Source Code Pro, Menlo, Consolas, Monaco, monospac
|
|||
|
||||
### 4.1 兼容性 {#language-compatibility}
|
||||
|
||||
{{< version 0.2.6 changed >}}
|
||||
{{< version 0.2.7 changed >}}
|
||||
|
||||
| 语言 | Hugo 代码 | HTML `lang` 属性 | 主题文档 | Lunr.js 支持 |
|
||||
|:---- |:----:|:----:|:----:|:----:|
|
||||
|
@ -860,6 +860,8 @@ $code-font-family: Fira Mono, Source Code Pro, Menlo, Consolas, Monaco, monospac
|
|||
| 西班牙语 | `es` | `es` | :(far fa-square fa-fw): | :(far fa-check-square fa-fw): |
|
||||
| 德语 | `de` | `de` | :(far fa-square fa-fw): | :(far fa-check-square fa-fw): |
|
||||
| 塞尔维亚语 | `pl` | `pl` | :(far fa-square fa-fw): | :(far fa-square fa-fw): |
|
||||
| 俄语 | `ru` | `ru` | :(far fa-square fa-fw): | :(far fa-check-square fa-fw): |
|
||||
| 罗马尼亚语 | `ro` | `ro` | :(far fa-square fa-fw): | :(far fa-check-square fa-fw): |
|
||||
|
||||
### 4.2 基本配置
|
||||
|
|
@ -1,4 +1,5 @@
|
|||
# Translations for Romanian
|
||||
# Traduceri pentru limba română
|
||||
# https://gohugo.io/content-management/multilingual/#translation-of-strings
|
||||
|
||||
# === baseof ==
|
||||
|
@ -54,7 +55,7 @@ other = "Temă"
|
|||
|
||||
# === partials/comment.html ===
|
||||
[valineLang]
|
||||
other = "ro"
|
||||
other = "en"
|
||||
|
||||
[valinePlaceholder]
|
||||
other = "Comentariul dvs ..."
|
||||
|
@ -82,6 +83,9 @@ other = "Nici un rezultat gasit"
|
|||
[lunrLanguageCode]
|
||||
other = "ro"
|
||||
|
||||
[lunrLanguageLib]
|
||||
other = "lib/lunr/lunr.ro.js"
|
||||
|
||||
[copyToClipboard]
|
||||
other = "Copiați în clipboard"
|
||||
# === partials/assets.html ===
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
# Translations for Russian
|
||||
# Переводы на русский
|
||||
# https://gohugo.io/content-management/multilingual/#translation-of-strings
|
||||
|
||||
# === baseof ==
|
||||
|
@ -54,7 +55,7 @@ other = "Тема"
|
|||
|
||||
# === partials/comment.html ===
|
||||
[valineLang]
|
||||
other = "ru"
|
||||
other = "en"
|
||||
|
||||
[valinePlaceholder]
|
||||
other = "Ваш комментарий ..."
|
||||
|
@ -82,6 +83,9 @@ other = "Результатов не найдено"
|
|||
[lunrLanguageCode]
|
||||
other = "ru"
|
||||
|
||||
[lunrLanguageLib]
|
||||
other = "lib/lunr/lunr.ru.js"
|
||||
|
||||
[copyToClipboard]
|
||||
other = "Копировать в буфер обмена"
|
||||
# === partials/assets.html ===
|
||||
|
|
Loading…
Reference in a new issue