refactor(i18n): simplify the structure of the translation file

This commit is contained in:
Jimmy Cai
2022-06-12 09:13:39 +00:00
committed by GitHub
parent b02569add9
commit b66083e728
24 changed files with 417 additions and 1077 deletions
+18 -48
View File
@@ -1,73 +1,43 @@
toggleMenu:
other: 切換選單
toggleMenu: 切換選單
darkMode:
other: 深色模式
darkMode: 深色模式
list:
page:
one: "第 {{ .Count }} 頁"
other: "第 {{ .Count }} 頁"
section:
other: Section
section: Section
subsection:
one: Subsection
other: Subsections
article:
back:
other: 返回
tableOfContents:
other: 目錄
relatedContent:
other: 相關內容
lastUpdatedOn:
other: 上次改過於
back: 返回
tableOfContents: 目錄
relatedContent: 相關內容
lastUpdatedOn: 上次改過於
readingTime:
one: "需要 {{ .Count }} 分鐘閱讀"
other: "需要 {{ .Count }} 分鐘閱讀"
notFound:
title:
other: Not Found
subtitle:
other: 頁面不存在
title: Not Found
subtitle: 頁面不存在
widget:
archives:
title:
other: Archives
more:
other: 更多
title: Archives
more: 更多
tagCloud:
title:
other: Tags
title: Tags
categoriesCloud:
title:
other: Categories
title: Categories
search:
title:
other: 搜尋
placeholder:
other: Type 關鍵字...
resultTitle:
other: "#PAGES_COUNT pages (#TIME_SECONDS seconds)"
title: 搜尋
placeholder: Type 關鍵字...
resultTitle: "#PAGES_COUNT pages (#TIME_SECONDS seconds)"
footer:
builtWith:
other: Built with {{ .Generator }}
designedBy:
other: 主題 {{ .Theme }} 由 {{ .DesignedBy }} 設計
builtWith: Built with {{ .Generator }}
designedBy: 主題 {{ .Theme }} 由 {{ .DesignedBy }} 設計