diff options
author | TonyPepeBear <41405045+TonyPepeBear@users.noreply.github.com> | 2021-10-30 22:18:02 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-10-30 22:18:02 +0300 |
commit | ea74aecadb331ce492620ab247d6eba7f3f99cc1 (patch) | |
tree | f8a09dd84617e0528fe4232609ebec77d2f62a38 | |
parent | c43f9d1ea8abfa083a40d84b7dc0c0c95fa85e9c (diff) |
feat(i18n): add zh-TW (#402)
-rw-r--r-- | exampleSite/config.yaml | 2 | ||||
-rw-r--r-- | i18n/zh-TW.yaml | 49 |
2 files changed, 50 insertions, 1 deletions
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 秒)" |