feat(giscus): standardize configuration, support i18n and add lazyLoading config

This commit is contained in:
Dillon
2022-05-26 01:51:17 +08:00
parent 487a772442
commit 61eccb2502
23 changed files with 156 additions and 61 deletions

View File

@@ -51,13 +51,16 @@ other = "يعمل الموقع بنظام {{ .Hugo }} | التصميم مقدم
# === partials/comment.html ===
[valineLang]
other = "ar"
other = "en"
[valinePlaceholder]
other = "تعليقك..."
[facebookLanguageCode]
other = "ar_AR"
[giscusLang]
other = "en"
# === partials/comment.html ===
# === partials/assets.html ===

View File

@@ -52,13 +52,16 @@ other = "Impulsat per {{ .Hugo }} | Tema - {{ .Theme }}"
# === partials/comment.html ===
[valineLang]
other = "ca"
other = "en"
[valinePlaceholder]
other = "El teu comentari ..."
[facebookLanguageCode]
other = "ca_ES"
[giscusLang]
other = "en"
# === partials/comment.html ===
# === partials/assets.html ===

View File

@@ -59,6 +59,9 @@ other = "Ihr Kommentar ..."
[facebookLanguageCode]
other = "de_DE"
[giscusLang]
other = "de"
# === partials/comment.html ===
# === partials/assets.html ===

View File

@@ -58,6 +58,9 @@ other = "Your comment ..."
[facebookLanguageCode]
other = "en_US"
[giscusLang]
other = "en"
# === partials/comment.html ===
# === partials/assets.html ===

View File

@@ -59,6 +59,9 @@ other = "Tu comentario ..."
[facebookLanguageCode]
other = "es_MX"
[giscusLang]
other = "es"
# === partials/comment.html ===
# === partials/assets.html ===

View File

@@ -59,6 +59,9 @@ other = "Votre commentaire ..."
[facebookLanguageCode]
other = "fr"
[giscusLang]
other = "fr"
# === partials/comment.html ===
# === partials/assets.html ===

View File

@@ -59,6 +59,9 @@ other = "Komentar Anda ..."
[facebookLanguageCode]
other = "id_ID"
[giscusLang]
other = "id"
# === partials/comment.html ===
# === partials/assets.html ===

View File

@@ -59,6 +59,9 @@ other = "Il tuo commento ..."
[facebookLanguageCode]
other = "it"
[giscusLang]
other = "it"
# === partials/comment.html ===
# === partials/assets.html ===

View File

@@ -59,6 +59,9 @@ other = "Twój komentarz ..."
[facebookLanguageCode]
other = "pl"
[giscusLang]
other = "pl"
# === partials/comment.html ===
# === partials/assets.html ===

View File

@@ -59,6 +59,9 @@ other = "O seu comentário ..."
[facebookLanguageCode]
other = "pt_BR"
[giscusLang]
other = "en"
# === partials/comment.html ===
# === partials/assets.html ===

View File

@@ -59,6 +59,9 @@ other = "Comentariul dvs ..."
[facebookLanguageCode]
other = "ro_RO"
[giscusLang]
other = "ro"
# === partials/comment.html ===
# === partials/assets.html ===

View File

@@ -59,6 +59,9 @@ other = "Ваш комментарий ..."
[facebookLanguageCode]
other = "ru_RU"
[giscusLang]
other = "ru"
# === partials/comment.html ===
# === partials/assets.html ===

View File

@@ -52,13 +52,16 @@ other = "Покреће {{ .Hugo }} | Тема - {{ .Theme }}"
# === partials/comment.html ===
[valineLang]
other = "sr"
other = "en"
[valinePlaceholder]
other = "Ваш коментар ..."
[facebookLanguageCode]
other = "sr_RS"
[giscusLang]
other = "en"
# === partials/comment.html ===
# === partials/assets.html ===

View File

@@ -52,13 +52,16 @@ other = "{{ .Hugo }} ద్వారా ఆధారితం | నేపథ్
# === partials/comment.html ===
[valineLang]
# not supported
other = "te"
other = "en"
[valinePlaceholder]
other = "మీ వాఖ్యనం ..."
[facebookLanguageCode]
other = "te_IN"
[giscusLang]
other = "en"
# === partials/comment.html ===
# === partials/assets.html ===

View File

@@ -52,13 +52,16 @@ other = "เว็บนี้สร้างโดย {{ .Hugo }} | ธีม -
# === partials/comment.html ===
[valineLang]
other = "th"
other = "en"
[valinePlaceholder]
other = "ความคิดเห็นของคุณ ..."
[facebookLanguageCode]
other = "th_TH"
[giscusLang]
other = "en"
# === partials/comment.html ===
# === partials/assets.html ===

View File

@@ -58,6 +58,9 @@ other = "Bình luận của bạn ..."
[facebookLanguageCode]
other = "vi"
[giscusLang]
other = "vi"
# === partials/comment.html ===
# === partials/assets.html ===

View File

@@ -52,13 +52,16 @@ other = "由 {{ .Hugo }} 强力驱动 | 主题 - {{ .Theme }}"
# === partials/comment.html ===
[valineLang]
other = "zh-cn"
other = "zh-CN"
[valinePlaceholder]
other = "你的评论 ..."
[facebookLanguageCode]
other = "zh_CN"
[giscusLang]
other = "zh-CN"
# === partials/comment.html ===
# === partials/assets.html ===

View File

@@ -52,7 +52,7 @@ other = "由 {{ .Hugo }} 強力驅動 | 主題 - {{ .Theme }}"
# === partials/comment.html ===
[valineLang]
other = "zh-tw"
other = "zh-TW"
[valinePlaceholder]
other = "你的評論 ..."