diff options
-rw-r--r-- | README.md | 2 | ||||
-rw-r--r-- | README.zh-cn.md | 2 | ||||
-rw-r--r-- | exampleSite/content/about/index.en.md (renamed from exampleSite/content/about.en.md) | 0 | ||||
-rw-r--r-- | exampleSite/content/about/index.fr.md (renamed from exampleSite/content/about.fr.md) | 0 | ||||
-rw-r--r-- | exampleSite/content/about/index.zh-cn.md (renamed from exampleSite/content/about.zh-cn.md) | 0 | ||||
-rw-r--r-- | exampleSite/content/posts/basic-markdown-syntax/index.en.md (renamed from exampleSite/content/posts/basic-markdown-syntax.en.md) | 0 | ||||
-rw-r--r-- | exampleSite/content/posts/basic-markdown-syntax/index.fr.md (renamed from exampleSite/content/posts/basic-markdown-syntax.fr.md) | 0 | ||||
-rw-r--r-- | exampleSite/content/posts/basic-markdown-syntax/index.zh-cn.md (renamed from exampleSite/content/posts/basic-markdown-syntax.zh-cn.md) | 0 | ||||
-rw-r--r-- | exampleSite/content/posts/emoji-support/index.en.md (renamed from exampleSite/content/posts/emoji-support.en.md) | 0 | ||||
-rw-r--r-- | exampleSite/content/posts/emoji-support/index.fr.md (renamed from exampleSite/content/posts/emoji-support.fr.md) | 0 | ||||
-rw-r--r-- | exampleSite/content/posts/emoji-support/index.zh-cn.md (renamed from exampleSite/content/posts/emoji-support.zh-cn.md) | 0 | ||||
-rw-r--r-- | exampleSite/content/posts/theme-documentation-basics/index.en.md (renamed from exampleSite/content/posts/theme-documentation-basics.en.md) | 4 | ||||
-rw-r--r-- | exampleSite/content/posts/theme-documentation-basics/index.fr.md (renamed from exampleSite/content/posts/theme-documentation-basics.fr.md) | 4 | ||||
-rw-r--r-- | exampleSite/content/posts/theme-documentation-basics/index.zh-cn.md (renamed from exampleSite/content/posts/theme-documentation-basics.zh-cn.md) | 4 | ||||
-rw-r--r-- | exampleSite/content/posts/theme-documentation-built-in-shortcodes/index.en.md (renamed from exampleSite/content/posts/theme-documentation-built-in-shortcodes.en.md) | 0 | ||||
-rw-r--r-- | exampleSite/content/posts/theme-documentation-built-in-shortcodes/index.fr.md (renamed from exampleSite/content/posts/theme-documentation-built-in-shortcodes.fr.md) | 0 | ||||
-rw-r--r-- | exampleSite/content/posts/theme-documentation-built-in-shortcodes/index.zh-cn.md (renamed from exampleSite/content/posts/theme-documentation-built-in-shortcodes.zh-cn.md) | 0 | ||||
-rw-r--r-- | exampleSite/content/posts/theme-documentation-content/index.en.md (renamed from exampleSite/content/posts/theme-documentation-content.en.md) | 0 | ||||
-rw-r--r-- | exampleSite/content/posts/theme-documentation-content/index.fr.md (renamed from exampleSite/content/posts/theme-documentation-content.fr.md) | 0 | ||||
-rw-r--r-- | exampleSite/content/posts/theme-documentation-content/index.zh-cn.md (renamed from exampleSite/content/posts/theme-documentation-content.zh-cn.md) | 0 | ||||
-rw-r--r-- | exampleSite/content/posts/theme-documentation-extended-shortcodes/index.en.md (renamed from exampleSite/content/posts/theme-documentation-extended-shortcodes.en.md) | 0 | ||||
-rw-r--r-- | exampleSite/content/posts/theme-documentation-extended-shortcodes/index.fr.md (renamed from exampleSite/content/posts/theme-documentation-extended-shortcodes.fr.md) | 0 | ||||
-rw-r--r-- | exampleSite/content/posts/theme-documentation-extended-shortcodes/index.zh-cn.md (renamed from exampleSite/content/posts/theme-documentation-extended-shortcodes.zh-cn.md) | 0 | ||||
-rw-r--r-- | i18n/ro.toml | 6 | ||||
-rw-r--r-- | i18n/ru.toml | 6 |
25 files changed, 23 insertions, 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) diff --git a/README.zh-cn.md b/README.zh-cn.md index d68d0b7..c078e89 100644 --- a/README.zh-cn.md +++ b/README.zh-cn.md @@ -130,6 +130,8 @@ LoveIt 支持下列语言: * 西班牙语 * 德语 * 塞尔维亚语 +* 俄语 +* 罗马尼亚语 * [贡献一种新的语言](https://github.com/dillonzq/LoveIt/pulls) [语言兼容性](https://hugoloveit.com/zh-cn/theme-documentation-basics/#language-compatibility) diff --git a/exampleSite/content/about.en.md b/exampleSite/content/about/index.en.md index 1e38e24..1e38e24 100644 --- a/exampleSite/content/about.en.md +++ b/exampleSite/content/about/index.en.md diff --git a/exampleSite/content/about.fr.md b/exampleSite/content/about/index.fr.md index 9ec0e21..9ec0e21 100644 --- a/exampleSite/content/about.fr.md +++ b/exampleSite/content/about/index.fr.md diff --git a/exampleSite/content/about.zh-cn.md b/exampleSite/content/about/index.zh-cn.md index 8b4f640..8b4f640 100644 --- a/exampleSite/content/about.zh-cn.md +++ b/exampleSite/content/about/index.zh-cn.md diff --git a/exampleSite/content/posts/basic-markdown-syntax.en.md b/exampleSite/content/posts/basic-markdown-syntax/index.en.md index 99a6c53..99a6c53 100644 --- a/exampleSite/content/posts/basic-markdown-syntax.en.md +++ b/exampleSite/content/posts/basic-markdown-syntax/index.en.md diff --git a/exampleSite/content/posts/basic-markdown-syntax.fr.md b/exampleSite/content/posts/basic-markdown-syntax/index.fr.md index 2539bed..2539bed 100644 --- a/exampleSite/content/posts/basic-markdown-syntax.fr.md +++ b/exampleSite/content/posts/basic-markdown-syntax/index.fr.md diff --git a/exampleSite/content/posts/basic-markdown-syntax.zh-cn.md b/exampleSite/content/posts/basic-markdown-syntax/index.zh-cn.md index 70f42b7..70f42b7 100644 --- a/exampleSite/content/posts/basic-markdown-syntax.zh-cn.md +++ b/exampleSite/content/posts/basic-markdown-syntax/index.zh-cn.md diff --git a/exampleSite/content/posts/emoji-support.en.md b/exampleSite/content/posts/emoji-support/index.en.md index 8e4f6a4..8e4f6a4 100644 --- a/exampleSite/content/posts/emoji-support.en.md +++ b/exampleSite/content/posts/emoji-support/index.en.md diff --git a/exampleSite/content/posts/emoji-support.fr.md b/exampleSite/content/posts/emoji-support/index.fr.md index cc95938..cc95938 100644 --- a/exampleSite/content/posts/emoji-support.fr.md +++ b/exampleSite/content/posts/emoji-support/index.fr.md diff --git a/exampleSite/content/posts/emoji-support.zh-cn.md b/exampleSite/content/posts/emoji-support/index.zh-cn.md index 2411987..2411987 100644 --- a/exampleSite/content/posts/emoji-support.zh-cn.md +++ b/exampleSite/content/posts/emoji-support/index.zh-cn.md diff --git a/exampleSite/content/posts/theme-documentation-basics.en.md b/exampleSite/content/posts/theme-documentation-basics/index.en.md index 9980639..092eb61 100644 --- a/exampleSite/content/posts/theme-documentation-basics.en.md +++ b/exampleSite/content/posts/theme-documentation-basics/index.en.md @@ -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 diff --git a/exampleSite/content/posts/theme-documentation-basics.fr.md b/exampleSite/content/posts/theme-documentation-basics/index.fr.md index a9a5d65..6951bec 100644 --- a/exampleSite/content/posts/theme-documentation-basics.fr.md +++ b/exampleSite/content/posts/theme-documentation-basics/index.fr.md @@ -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 diff --git a/exampleSite/content/posts/theme-documentation-basics.zh-cn.md b/exampleSite/content/posts/theme-documentation-basics/index.zh-cn.md index f5b5db0..0ea875c 100644 --- a/exampleSite/content/posts/theme-documentation-basics.zh-cn.md +++ b/exampleSite/content/posts/theme-documentation-basics/index.zh-cn.md @@ -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 基本配置 diff --git a/exampleSite/content/posts/theme-documentation-built-in-shortcodes.en.md b/exampleSite/content/posts/theme-documentation-built-in-shortcodes/index.en.md index 9eebc10..9eebc10 100644 --- a/exampleSite/content/posts/theme-documentation-built-in-shortcodes.en.md +++ b/exampleSite/content/posts/theme-documentation-built-in-shortcodes/index.en.md diff --git a/exampleSite/content/posts/theme-documentation-built-in-shortcodes.fr.md b/exampleSite/content/posts/theme-documentation-built-in-shortcodes/index.fr.md index 0978d1c..0978d1c 100644 --- a/exampleSite/content/posts/theme-documentation-built-in-shortcodes.fr.md +++ b/exampleSite/content/posts/theme-documentation-built-in-shortcodes/index.fr.md diff --git a/exampleSite/content/posts/theme-documentation-built-in-shortcodes.zh-cn.md b/exampleSite/content/posts/theme-documentation-built-in-shortcodes/index.zh-cn.md index 5369257..5369257 100644 --- a/exampleSite/content/posts/theme-documentation-built-in-shortcodes.zh-cn.md +++ b/exampleSite/content/posts/theme-documentation-built-in-shortcodes/index.zh-cn.md diff --git a/exampleSite/content/posts/theme-documentation-content.en.md b/exampleSite/content/posts/theme-documentation-content/index.en.md index 6def06e..6def06e 100644 --- a/exampleSite/content/posts/theme-documentation-content.en.md +++ b/exampleSite/content/posts/theme-documentation-content/index.en.md diff --git a/exampleSite/content/posts/theme-documentation-content.fr.md b/exampleSite/content/posts/theme-documentation-content/index.fr.md index f5de022..f5de022 100644 --- a/exampleSite/content/posts/theme-documentation-content.fr.md +++ b/exampleSite/content/posts/theme-documentation-content/index.fr.md diff --git a/exampleSite/content/posts/theme-documentation-content.zh-cn.md b/exampleSite/content/posts/theme-documentation-content/index.zh-cn.md index c69a564..c69a564 100644 --- a/exampleSite/content/posts/theme-documentation-content.zh-cn.md +++ b/exampleSite/content/posts/theme-documentation-content/index.zh-cn.md diff --git a/exampleSite/content/posts/theme-documentation-extended-shortcodes.en.md b/exampleSite/content/posts/theme-documentation-extended-shortcodes/index.en.md index dfbd86f..dfbd86f 100644 --- a/exampleSite/content/posts/theme-documentation-extended-shortcodes.en.md +++ b/exampleSite/content/posts/theme-documentation-extended-shortcodes/index.en.md diff --git a/exampleSite/content/posts/theme-documentation-extended-shortcodes.fr.md b/exampleSite/content/posts/theme-documentation-extended-shortcodes/index.fr.md index 8bbbd3e..8bbbd3e 100644 --- a/exampleSite/content/posts/theme-documentation-extended-shortcodes.fr.md +++ b/exampleSite/content/posts/theme-documentation-extended-shortcodes/index.fr.md diff --git a/exampleSite/content/posts/theme-documentation-extended-shortcodes.zh-cn.md b/exampleSite/content/posts/theme-documentation-extended-shortcodes/index.zh-cn.md index dd5a9fc..dd5a9fc 100644 --- a/exampleSite/content/posts/theme-documentation-extended-shortcodes.zh-cn.md +++ b/exampleSite/content/posts/theme-documentation-extended-shortcodes/index.zh-cn.md diff --git a/i18n/ro.toml b/i18n/ro.toml index c5e5065..c9f3d2b 100644 --- a/i18n/ro.toml +++ b/i18n/ro.toml @@ -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 === diff --git a/i18n/ru.toml b/i18n/ru.toml index b30b482..bfb7dc3 100644 --- a/i18n/ru.toml +++ b/i18n/ru.toml @@ -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 === |