-
Notifications
You must be signed in to change notification settings - Fork 305
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add i18n support for translation of strings
* Also add Simplified Chinese translations * See #3
- Loading branch information
Showing
5 changed files
with
56 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
# Translations for English | ||
# https://gohugo.io/content-management/multilingual/#translation-of-strings | ||
|
||
# 404.html | ||
# | ||
[notFound] | ||
other = "Oops, page not found…" | ||
|
||
[home] | ||
other = "Home" | ||
|
||
[archives] | ||
other = "Archives" | ||
|
||
# posts/single.html | ||
# | ||
[wordCount] | ||
other = "{{ .WordCount }} Words" | ||
|
||
[newer] | ||
other = "Newer" | ||
|
||
[older] | ||
other = "Older" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
# Translations for Simplified Chinese - 简体中文 | ||
# https://gohugo.io/content-management/multilingual/#translation-of-strings | ||
|
||
# 404.html | ||
# | ||
[notFound] | ||
other = "糟糕,您要访问的页面不存在……" | ||
|
||
[home] | ||
other = "主页" | ||
|
||
[archives] | ||
other = "归档" | ||
|
||
# posts/single.html | ||
# | ||
[wordCount] | ||
other = "{{ .WordCount }} 字" | ||
|
||
[newer] | ||
other = "新" | ||
|
||
[older] | ||
other = "旧" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters