Use localization files in templates.
This commit is contained in:
32
themes/vanilla/i18n/en.toml
Normal file
32
themes/vanilla/i18n/en.toml
Normal file
@@ -0,0 +1,32 @@
|
||||
[Home]
|
||||
other = "Home"
|
||||
|
||||
[About]
|
||||
other = "About"
|
||||
|
||||
[Resume]
|
||||
other = "Resume"
|
||||
|
||||
[Tags]
|
||||
other = "Tags"
|
||||
|
||||
[AllPosts]
|
||||
other = "All Posts"
|
||||
|
||||
[PostedOn]
|
||||
other = "Posted on {{ .Date.Format \"January 2, 2006\" }}."
|
||||
|
||||
[TableOfContents]
|
||||
other = "Table of Contents"
|
||||
|
||||
[ReadingTime]
|
||||
other = "{{ .WordCount }} words, about {{ .ReadingTime }} minutes to read."
|
||||
|
||||
[Note]
|
||||
other = "note"
|
||||
|
||||
[Tagged]
|
||||
other = "Tagged \"{{ .Title }}\""
|
||||
|
||||
[AllTags]
|
||||
other = "Below is a list of all the tags ever used on this site."
|
||||
Reference in New Issue
Block a user