From 0c8643e45868da3d42ed393eb2a11c1ef0c915bf Mon Sep 17 00:00:00 2001 From: zhixuan <59254886+zhixuan666@users.noreply.github.com> Date: Wed, 23 Jun 2021 18:16:46 +0900 Subject: [PATCH 1/3] feat(i18n): add Japanese translation of Table of Content (#237) --- i18n/ja.yaml | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/i18n/ja.yaml b/i18n/ja.yaml index b39f87c..1331fb1 100644 --- a/i18n/ja.yaml +++ b/i18n/ja.yaml @@ -5,8 +5,15 @@ darkMode: other: ダークモード article: + back: + other: 前のページ + + tableOfContents: + other: 目次 + relatedContents: other: 関連するコンテンツ + lastUpdatedOn: other: 最終更新 @@ -20,8 +27,10 @@ widget: archives: title: other: アーカイブ + more: other: さらに見る + tagCloud: title: other: タグ @@ -29,7 +38,9 @@ widget: search: title: other: 検索 + placeholder: other: 入力... + resultTitle: other: "#PAGES_COUNT 件 (#TIME_SECONDS 秒)" From 42eb1f5067316084d598a85f4a5ca045db4cce96 Mon Sep 17 00:00:00 2001 From: zhixuan <59254886+zhixuan666@users.noreply.github.com> Date: Wed, 23 Jun 2021 18:21:37 +0900 Subject: [PATCH 2/3] feat(i18n): add Chinese translation of Table of Content (#235) --- i18n/zh-CN.yaml | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/i18n/zh-CN.yaml b/i18n/zh-CN.yaml index 9f1ac94..551e0a3 100644 --- a/i18n/zh-CN.yaml +++ b/i18n/zh-CN.yaml @@ -5,8 +5,15 @@ darkMode: other: 暗色模式 article: + back: + other: 返回 + + tableOfContents: + other: 目录 + relatedContents: other: 相关文章 + lastUpdatedOn: other: 最后更新于 @@ -20,8 +27,10 @@ widget: archives: title: other: 归档 + more: other: 更多 + tagCloud: title: other: 标签云 @@ -29,7 +38,9 @@ widget: search: title: other: 搜索 + placeholder: other: 输入关键词... + resultTitle: other: "#PAGES_COUNT 个结果 (用时 #TIME_SECONDS 秒)" From 7ebe7e1af861bf27af0cf6c7afad035b197ccf4b Mon Sep 17 00:00:00 2001 From: zhixuan <59254886+zhixuan666@users.noreply.github.com> Date: Sat, 26 Jun 2021 03:09:35 +0900 Subject: [PATCH 3/3] fix(article): add `white-space: nowrap` to back button text (#245) --- assets/scss/partials/layout/article.scss | 1 + 1 file changed, 1 insertion(+) diff --git a/assets/scss/partials/layout/article.scss b/assets/scss/partials/layout/article.scss index 618ca54..ebf94a7 100644 --- a/assets/scss/partials/layout/article.scss +++ b/assets/scss/partials/layout/article.scss @@ -110,6 +110,7 @@ span { font-weight: 500; + white-space: nowrap; } } }