From c43f9d1ea8abfa083a40d84b7dc0c0c95fa85e9c Mon Sep 17 00:00:00 2001
From: zhixuan <59254886+zhixuan2333@users.noreply.github.com>
Date: Sat, 30 Oct 2021 00:20:36 +0900
Subject: [PATCH 1/5] fix(menu/social): Delete `relLangURL` (#406)
---
layouts/partials/sidebar/left.html | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/layouts/partials/sidebar/left.html b/layouts/partials/sidebar/left.html
index 108c029..db05480 100644
--- a/layouts/partials/sidebar/left.html
+++ b/layouts/partials/sidebar/left.html
@@ -38,7 +38,7 @@
{{ range . }}
From ea74aecadb331ce492620ab247d6eba7f3f99cc1 Mon Sep 17 00:00:00 2001
From: TonyPepeBear <41405045+TonyPepeBear@users.noreply.github.com>
Date: Sun, 31 Oct 2021 03:18:02 +0800
Subject: [PATCH 2/5] feat(i18n): add zh-TW (#402)
---
exampleSite/config.yaml | 2 +-
i18n/zh-TW.yaml | 49 +++++++++++++++++++++++++++++++++++++++++
2 files changed, 50 insertions(+), 1 deletion(-)
create mode 100644 i18n/zh-TW.yaml
diff --git a/exampleSite/config.yaml b/exampleSite/config.yaml
index db3a8a9..6b3069f 100644
--- a/exampleSite/config.yaml
+++ b/exampleSite/config.yaml
@@ -11,7 +11,7 @@ disqusShortname: hugo-theme-stack
googleAnalytics:
# Theme i18n support
-# Available values: en, fr, id, ja, ko, pt-br, zh-cn, es, de, nl, it, th, el
+# Available values: en, fr, id, ja, ko, pt-br, zh-cn, zh-tw, es, de, nl, it, th, el
DefaultContentLanguage: en
# Set hasCJKLanguage to true if DefaultContentLanguage is in [zh-cn ja ko]
diff --git a/i18n/zh-TW.yaml b/i18n/zh-TW.yaml
new file mode 100644
index 0000000..871d937
--- /dev/null
+++ b/i18n/zh-TW.yaml
@@ -0,0 +1,49 @@
+toggleMenu:
+ other: 切換選單
+
+darkMode:
+ other: 夜晚模式
+
+article:
+ back:
+ other: 返回
+
+ tableOfContents:
+ other: 目錄
+
+ relatedContents:
+ other: 相關文章
+
+ lastUpdatedOn:
+ other: 最後更新
+
+ readingTime:
+ other: "閱讀時間: {{ .Count }} 分鐘"
+
+notFound:
+ title:
+ other: 404 錯誤
+ subtitle:
+ other: 頁面不存在
+
+widget:
+ archives:
+ title:
+ other: 紀錄
+
+ more:
+ other: 更多
+
+ tagCloud:
+ title:
+ other: 標籤雲
+
+search:
+ title:
+ other: 搜尋
+
+ placeholder:
+ other: 輸入關鍵字...
+
+ resultTitle:
+ other: "#PAGES_COUNT 個結果 (用時 #TIME_SECONDS 秒)"
From a7d316365cd95247d16fa0b82f22ac121b3f7184 Mon Sep 17 00:00:00 2001
From: volodymyrmarkiv
Date: Sat, 30 Oct 2021 22:22:08 +0300
Subject: [PATCH 3/5] feat(i18n): add Ukrainian translation (#404)
---
exampleSite/config.yaml | 2 +-
i18n/uk.yaml | 71 +++++++++++++++++++++++++++++++++++++++++
2 files changed, 72 insertions(+), 1 deletion(-)
create mode 100644 i18n/uk.yaml
diff --git a/exampleSite/config.yaml b/exampleSite/config.yaml
index 6b3069f..28958ae 100644
--- a/exampleSite/config.yaml
+++ b/exampleSite/config.yaml
@@ -11,7 +11,7 @@ disqusShortname: hugo-theme-stack
googleAnalytics:
# Theme i18n support
-# Available values: en, fr, id, ja, ko, pt-br, zh-cn, zh-tw, es, de, nl, it, th, el
+# Available values: en, fr, id, ja, ko, pt-br, zh-cn, zh-tw, es, de, nl, it, th, el, uk
DefaultContentLanguage: en
# Set hasCJKLanguage to true if DefaultContentLanguage is in [zh-cn ja ko]
diff --git a/i18n/uk.yaml b/i18n/uk.yaml
new file mode 100644
index 0000000..966e141
--- /dev/null
+++ b/i18n/uk.yaml
@@ -0,0 +1,71 @@
+toggleMenu:
+ other: Показати меню
+
+darkMode:
+ other: Темна тема
+
+list:
+ page:
+ one: "{{ .Count }} сторінка"
+ few: "{{ .Count }} сторінки"
+ other: "{{ .Count }} сторінок"
+
+ section:
+ other: Секція
+
+ subsection:
+ one: Підсекція
+ other: Підсекції
+
+article:
+ back:
+ other: Назад
+
+ tableOfContents:
+ other: Зміст
+
+ relatedContents:
+ other: Схожі матеріали
+
+ lastUpdatedOn:
+ other: Востаннє оновлено
+
+ readingTime:
+ one: "Час читання: {{ .Count }} хв"
+ other: "Час читання: {{ .Count }} хв"
+
+notFound:
+ title:
+ other: Не знайдено
+
+ subtitle:
+ other: Ця сторінка не існує
+
+widget:
+ archives:
+ title:
+ other: Архіви
+
+ more:
+ other: Більше
+
+ tagCloud:
+ title:
+ other: Теґи
+
+search:
+ title:
+ other: Пошук
+
+ placeholder:
+ other: Напишіть що-небудь...
+
+ resultTitle:
+ other: "#PAGES_COUNT сторінок (#TIME_SECONDS секунд)"
+
+footer:
+ builtWith:
+ other: Створено з {{ .Generator }}
+
+ designedBy:
+ other: Тема {{ .Theme }}, дизайн {{ .DesignedBy }}
From 25581cc44637909a75aacdf33f896192f0569689 Mon Sep 17 00:00:00 2001
From: Hue <19755727+HueLiu@users.noreply.github.com>
Date: Sun, 31 Oct 2021 17:15:57 +0800
Subject: [PATCH 4/5] fix(comments/cusdis): use the correct script for the
self-hosted version (#403)
* Modify the Self-hosting js source path
* refactor(comments/cusdis): avoid multiple if statement
Co-authored-by: Jimmy Cai
---
layouts/partials/comments/provider/cusdis.html | 11 ++++-------
1 file changed, 4 insertions(+), 7 deletions(-)
diff --git a/layouts/partials/comments/provider/cusdis.html b/layouts/partials/comments/provider/cusdis.html
index 71863f3..a89746c 100644
--- a/layouts/partials/comments/provider/cusdis.html
+++ b/layouts/partials/comments/provider/cusdis.html
@@ -1,14 +1,11 @@
+{{- $host := default "https://cusdis.com" .Site.Params.comments.cusdis.host -}}
-
+
\ No newline at end of file
+
From 72a5e956eefa9d84d46504ec65e7f417e295c13e Mon Sep 17 00:00:00 2001
From: Jimmy Cai
Date: Sun, 31 Oct 2021 10:17:45 +0100
Subject: [PATCH 5/5] release: 3.5.0
---
layouts/partials/footer/footer.html | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/layouts/partials/footer/footer.html b/layouts/partials/footer/footer.html
index a78947e..ba38464 100644
--- a/layouts/partials/footer/footer.html
+++ b/layouts/partials/footer/footer.html
@@ -1,4 +1,4 @@
-{{- $ThemeVersion := "3.4.0" -}}
+{{- $ThemeVersion := "3.5.0" -}}