Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(i18n): add zh-TW #402

Merged
merged 3 commits into from
Oct 30, 2021
Merged
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion exampleSite/config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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]
Expand Down
49 changes: 49 additions & 0 deletions i18n/zh-TW.yaml
Original file line number Diff line number Diff line change
@@ -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 秒)"