From cd53a849d09bc8cf6b96966421e95af4924bbab6 Mon Sep 17 00:00:00 2001 From: Vincent Tam Date: Fri, 9 Aug 2019 16:47:11 +0200 Subject: [PATCH 1/4] Added Chinese Translations --- i18n/zh-CN.toml | 25 +++++++++++++++++++++++++ i18n/zh-TW.toml | 25 +++++++++++++++++++++++++ 2 files changed, 50 insertions(+) create mode 100644 i18n/zh-CN.toml create mode 100644 i18n/zh-TW.toml diff --git a/i18n/zh-CN.toml b/i18n/zh-CN.toml new file mode 100644 index 0000000..d37b81b --- /dev/null +++ b/i18n/zh-CN.toml @@ -0,0 +1,25 @@ +[404_title] +    other = "404" +[404_description] +    other = "噢!要么网站连结出错 {{ with .Site.Params.email }}([回报错误](mailto:{{ . }})){{ end }} ,要么您输入的网址有误。这页面不存在!" +[index_projects_allProjects] +    other = "所有项目" +[index_blog_latestPosts] +    other = "最新项目" +[index_blog_allPosts] +    other = "所有文章" +[index_blog_readMore] +    other = "阅读全文" +[index_currentTime] +    other = "我的现在本地时间是" +[nav_backToSection] +    other = "返回 {{ .Title }}" +[nav_main] +    other = "主页" +[blog_readingTime] +    one = "{{ .Count }} 分钟" +    other = "{{ .Count }} 分钟" +[blog_shareThis] +    other = "分享" +[footer_text] +    other = "[**Introduction**](https://github.com/victoriadrake/hugo-theme-introduction/) 主题为 [Hugo](http://gohugo.io/) 而设。由开源社群贡献者以 [](https://victoria.dev) 创造。" diff --git a/i18n/zh-TW.toml b/i18n/zh-TW.toml new file mode 100644 index 0000000..9be3535 --- /dev/null +++ b/i18n/zh-TW.toml @@ -0,0 +1,25 @@ +[404_title] + other = "404" +[404_description] + other = "噢!要麼網站連結出錯 {{ with .Site.Params.email }}([回報錯誤](mailto:{{ . }})){{ end }} ,要麼您輸入的網址有誤。這頁面不存在!" +[index_projects_allProjects] + other = "所有項目" +[index_blog_latestPosts] + other = "最新項目" +[index_blog_allPosts] + other = "所有文章" +[index_blog_readMore] + other = "閱讀全文" +[index_currentTime] + other = "我的現在本地時間是" +[nav_backToSection] + other = "返回 {{ .Title }}" +[nav_main] + other = "主頁" +[blog_readingTime] + one = "{{ .Count }} 分鐘" + other = "{{ .Count }} 分鐘" +[blog_shareThis] + other = "分享" +[footer_text] + other = "[**Introduction**](https://github.com/victoriadrake/hugo-theme-introduction/) 主題為 [Hugo](http://gohugo.io/) 而設。由開源社群貢獻者以 [](https://victoria.dev) 創造。" From b9e83a41d6313aa84c188a7011493e728801543e Mon Sep 17 00:00:00 2001 From: Vincent Tam Date: Fri, 9 Aug 2019 16:55:49 +0200 Subject: [PATCH 2/4] Fixed white space error Caused by copy and pasting from Google Translate's during the conversion from traditional characters to simplified ones. --- i18n/zh-CN.toml | 26 +++++++++++++------------- 1 file changed, 13 insertions(+), 13 deletions(-) diff --git a/i18n/zh-CN.toml b/i18n/zh-CN.toml index d37b81b..0a54c0b 100644 --- a/i18n/zh-CN.toml +++ b/i18n/zh-CN.toml @@ -1,25 +1,25 @@ [404_title] -    other = "404" + other = "404" [404_description] -    other = "噢!要么网站连结出错 {{ with .Site.Params.email }}([回报错误](mailto:{{ . }})){{ end }} ,要么您输入的网址有误。这页面不存在!" + other = "噢!要么网站连结出错 {{ with .Site.Params.email }}([回报错误](mailto:{{ . }})){{ end }} ,要么您输入的网址有误。这页面不存在!" [index_projects_allProjects] -    other = "所有项目" + other = "所有项目" [index_blog_latestPosts] -    other = "最新项目" + other = "最新项目" [index_blog_allPosts] -    other = "所有文章" + other = "所有文章" [index_blog_readMore] -    other = "阅读全文" + other = "阅读全文" [index_currentTime] -    other = "我的现在本地时间是" + other = "我的现在本地时间是" [nav_backToSection] -    other = "返回 {{ .Title }}" + other = "返回 {{ .Title }}" [nav_main] -    other = "主页" + other = "主页" [blog_readingTime] -    one = "{{ .Count }} 分钟" -    other = "{{ .Count }} 分钟" + one = "{{ .Count }} 分钟" + other = "{{ .Count }} 分钟" [blog_shareThis] -    other = "分享" + other = "分享" [footer_text] -    other = "[**Introduction**](https://github.com/victoriadrake/hugo-theme-introduction/) 主题为 [Hugo](http://gohugo.io/) 而设。由开源社群贡献者以 [](https://victoria.dev) 创造。" + other = "[**Introduction**](https://github.com/victoriadrake/hugo-theme-introduction/) 主题为 [Hugo](http://gohugo.io/) 而设。由开源社群贡献者以 [](https://victoria.dev) 创造。" From 6b940c194973ed8f4d9fc814db084424b75e1044 Mon Sep 17 00:00:00 2001 From: Vincent Tam Date: Fri, 9 Aug 2019 17:29:11 +0200 Subject: [PATCH 3/4] Fixed careless typo --- i18n/zh-CN.toml | 2 +- i18n/zh-TW.toml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/i18n/zh-CN.toml b/i18n/zh-CN.toml index 0a54c0b..f2eed8c 100644 --- a/i18n/zh-CN.toml +++ b/i18n/zh-CN.toml @@ -5,7 +5,7 @@ [index_projects_allProjects] other = "所有项目" [index_blog_latestPosts] - other = "最新项目" + other = "最新項目" [index_blog_allPosts] other = "所有文章" [index_blog_readMore] diff --git a/i18n/zh-TW.toml b/i18n/zh-TW.toml index 9be3535..8ca59d4 100644 --- a/i18n/zh-TW.toml +++ b/i18n/zh-TW.toml @@ -5,7 +5,7 @@ [index_projects_allProjects] other = "所有項目" [index_blog_latestPosts] - other = "最新項目" + other = "最新文章" [index_blog_allPosts] other = "所有文章" [index_blog_readMore] From affad21e18d34f9ef0796f06edf81958b8bebf8d Mon Sep 17 00:00:00 2001 From: Vincent Tam Date: Fri, 9 Aug 2019 17:30:09 +0200 Subject: [PATCH 4/4] Fixed careless typo again --- i18n/zh-CN.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/i18n/zh-CN.toml b/i18n/zh-CN.toml index f2eed8c..74a1e6d 100644 --- a/i18n/zh-CN.toml +++ b/i18n/zh-CN.toml @@ -5,7 +5,7 @@ [index_projects_allProjects] other = "所有项目" [index_blog_latestPosts] - other = "最新項目" + other = "最新文章" [index_blog_allPosts] other = "所有文章" [index_blog_readMore]