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: Toggle Menu
toggleMenu: Toggle Menu
darkMode:
other: Dark Mode
darkMode: Dark Mode
list:
page:
one: "{{ .Count }} page"
other: "{{ .Count }} pages"
section:
other: Section
section: Section
subsection:
one: Subsection
other: Subsections
article:
back:
other: Back
tableOfContents:
other: Table of contents
relatedContent:
other: Related content
lastUpdatedOn:
other: Last updated on
back: Back
tableOfContents: Table of contents
relatedContent: Related content
lastUpdatedOn: Last updated on
readingTime:
one: "{{ .Count }} minute read"
other: "{{ .Count }} minute read"
notFound:
title:
other: Not Found
subtitle:
other: This page does not exist
title: Not Found
subtitle: This page does not exist
widget:
archives:
title:
other: Archives
more:
other: More
title: Archives
more: More
tagCloud:
title:
other: Tags
title: Tags
categoriesCloud:
title:
other: Categories
title: Categories
search:
title:
other: Search
placeholder:
other: Type something...
resultTitle:
other: "#PAGES_COUNT pages (#TIME_SECONDS seconds)"
title: Search
placeholder: Type something...
resultTitle: "#PAGES_COUNT pages (#TIME_SECONDS seconds)"
footer:
builtWith:
other: Built with {{ .Generator }}
designedBy:
other: Theme {{ .Theme }} designed by {{ .DesignedBy }}
builtWith: Built with {{ .Generator }}
designedBy: Theme {{ .Theme }} designed by {{ .DesignedBy }}