refactor: migrate i18n files from YAML to TOML format and simplify structure (#1230)
* refactor: migrate i18n files from YAML to TOML format and simplify structure * refactor: make translation file adjust to gohugoio/locales language code so date translation can work properly * refactor: use hyphens instead of underscores for i18n, because that's how Hugo pick the translation file * docs: update comments for i18n language availability and CJK language detection in hugo.toml.
This commit is contained in:
@@ -0,0 +1,47 @@
|
||||
toggleMenu = "切換選單"
|
||||
darkMode = "深色模式"
|
||||
|
||||
[list]
|
||||
section = "Section"
|
||||
|
||||
[list.page]
|
||||
one = "第 {{ .Count }} 頁"
|
||||
other = "第 {{ .Count }} 頁"
|
||||
|
||||
[list.subsection]
|
||||
one = "Subsection"
|
||||
other = "Subsections"
|
||||
|
||||
[article]
|
||||
back = "返回"
|
||||
tableOfContents = "目錄"
|
||||
relatedContent = "相關內容"
|
||||
lastUpdatedOn = "上次改過於"
|
||||
|
||||
[article.readingTime]
|
||||
one = "需要 {{ .Count }} 分鐘閱讀"
|
||||
other = "需要 {{ .Count }} 分鐘閱讀"
|
||||
|
||||
[notFound]
|
||||
title = "Not Found"
|
||||
subtitle = "頁面不存在"
|
||||
|
||||
[widget]
|
||||
[widget.archives]
|
||||
title = "Archives"
|
||||
more = "更多"
|
||||
|
||||
[widget.tagCloud]
|
||||
title = "Tags"
|
||||
|
||||
[widget.categoriesCloud]
|
||||
title = "Categories"
|
||||
|
||||
[search]
|
||||
title = "搜尋"
|
||||
placeholder = "Type 關鍵字..."
|
||||
resultTitle = "#PAGES_COUNT pages (#TIME_SECONDS seconds)"
|
||||
|
||||
[footer]
|
||||
builtWith = "Built with {{ .Generator }}"
|
||||
designedBy = "主題 {{ .Theme }} 由 {{ .DesignedBy }} 設計"
|
||||
Reference in New Issue
Block a user