summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoramzrk22020-06-04 16:02:57 +0800
committeramzrk22020-06-04 16:02:57 +0800
commit98cd7b30728bd5d98abbfea10000038604a59156 (patch)
treeae04a23daf2845703d757bb9e4f10d8ec2365483
parentd185ecccaabcaf4a9cced394d5b72f246bc2e5e7 (diff)
downloadhugo-theme-fuji-98cd7b30728bd5d98abbfea10000038604a59156.tar.gz
hugo-theme-fuji-98cd7b30728bd5d98abbfea10000038604a59156.tar.bz2
hugo-theme-fuji-98cd7b30728bd5d98abbfea10000038604a59156.zip
Comment area i18n
-rw-r--r--i18n/en.toml7
-rw-r--r--i18n/ja.toml7
-rw-r--r--i18n/nl.toml7
-rw-r--r--i18n/zh-hans.toml7
-rw-r--r--i18n/zh-hant.toml7
-rw-r--r--layouts/partials/comment-disqus.html2
-rw-r--r--layouts/partials/comment-disqusjs.html2
-rw-r--r--layouts/partials/comment-utterances.html2
8 files changed, 13 insertions, 28 deletions
diff --git a/i18n/en.toml b/i18n/en.toml
index ef33505..f260aa9 100644
--- a/i18n/en.toml
+++ b/i18n/en.toml
@@ -34,11 +34,8 @@
[postCopyrightEnd]
other = "."
-[postCommentLoading]
- other = "Loading comments..."
-
-[postCommentLoadingFailed]
- other = "Comments failed to load."
+[postComment]
+ other = "Load comments"
[archivesTotalPages]
other = "Total posts: "
diff --git a/i18n/ja.toml b/i18n/ja.toml
index e5ff191..b9d5133 100644
--- a/i18n/ja.toml
+++ b/i18n/ja.toml
@@ -34,11 +34,8 @@
[postCopyrightEnd]
other = " の下に提供されています。"
-[postCommentLoading]
- other = "読み込み中..."
-
-[postCommentLoadingFailed]
- other = "読み込みエラー"
+[postComment]
+ other = "コメントを表示"
[archivesTotalPages]
other = "総記事数:"
diff --git a/i18n/nl.toml b/i18n/nl.toml
index 1d0b74a..6593ac6 100644
--- a/i18n/nl.toml
+++ b/i18n/nl.toml
@@ -34,11 +34,8 @@
[postCopyrightEnd]
other = "."
-[postCommentLoading]
- other = "Commentaren worden geladen..."
-
-[postCommentLoadingFailed]
- other = "Commentaren konden niet geladen worden."
+[postComment]
+ other = "Laad commentaren"
[archivesTotalPages]
other = "Totaal aantal posts: "
diff --git a/i18n/zh-hans.toml b/i18n/zh-hans.toml
index 3be1131..f4eec4e 100644
--- a/i18n/zh-hans.toml
+++ b/i18n/zh-hans.toml
@@ -34,11 +34,8 @@
[postCopyrightEnd]
other = " 进行许可。"
-[postCommentLoading]
- other = "正在加载评论区"
-
-[postCommentLoadingFailed]
- other = "评论区加载失败"
+[postComment]
+ other = "查看评论"
[archivesTotalPages]
other = "文章总数:"
diff --git a/i18n/zh-hant.toml b/i18n/zh-hant.toml
index a482017..d6ba777 100644
--- a/i18n/zh-hant.toml
+++ b/i18n/zh-hant.toml
@@ -34,11 +34,8 @@
[postCopyrightEnd]
other = " 授權。"
-[postCommentLoading]
- other = "正在讀取評論區"
-
-[postCommentLoadingFailed]
- other = "評論區讀取失敗"
+[postComment]
+ other = "查看評論"
[archivesTotalPages]
other = "文章總數:"
diff --git a/layouts/partials/comment-disqus.html b/layouts/partials/comment-disqus.html
index 909c0ed..782e369 100644
--- a/layouts/partials/comment-disqus.html
+++ b/layouts/partials/comment-disqus.html
@@ -1,6 +1,6 @@
<div class="post-comment" data-comment="disqus">
<span class="post-comment-notloaded">
- <ion-icon name="chatbox-ellipses"></ion-icon>&nbsp;查看评论
+ <ion-icon name="chatbox-ellipses"></ion-icon>&nbsp;{{ i18n "postComment" }}
</span>
<div id="disqus_thread" style="display: none;"></div>
<script>
diff --git a/layouts/partials/comment-disqusjs.html b/layouts/partials/comment-disqusjs.html
index ebede31..eafa1de 100644
--- a/layouts/partials/comment-disqusjs.html
+++ b/layouts/partials/comment-disqusjs.html
@@ -1,6 +1,6 @@
<div class="post-comment" data-comment="disqus">
<span class="post-comment-notloaded">
- <ion-icon name="chatbox-ellipses"></ion-icon>&nbsp;查看评论
+ <ion-icon name="chatbox-ellipses"></ion-icon>&nbsp;{{ i18n "postComment" }}
</span>
<div id="disqus_thread" style="display: none;"></div>
<script src="https://cdn.jsdelivr.net/npm/disqusjs@1.3/dist/disqus.js"></script>
diff --git a/layouts/partials/comment-utterances.html b/layouts/partials/comment-utterances.html
index f6766d5..f8683b6 100644
--- a/layouts/partials/comment-utterances.html
+++ b/layouts/partials/comment-utterances.html
@@ -1,6 +1,6 @@
<div class="post-comment" data-comment="utterances">
<span class="post-comment-notloaded">
- <ion-icon name="chatbox-ellipses"></ion-icon>&nbsp;查看评论
+ <ion-icon name="chatbox-ellipses"></ion-icon>&nbsp;{{ i18n "postComment" }}
</span>
<script>
function loadComment() {