blog

My blog at www.shimmy1996.com

git clone git://git.shimmy1996.com/blog.git
commit a812f09652f03ca4f51d77ee9d0a7f31683d1fcf
parent 98440370f39abc0ed1f9873aa3ca4e185332fbc2
Author: Shimmy Xu <shimmy.xu@shimmy1996.com>
Date:   Sat, 23 Jun 2018 09:16:35 -0500

Move taxonomy translation into i18n.

Diffstat:
Mconfig.toml | 8--------
Mi18n/en.toml | 6++++++
Mi18n/zh.toml | 6++++++
3 files changed, 12 insertions(+), 8 deletions(-)
diff --git a/config.toml b/config.toml
@@ -26,10 +26,6 @@ tag      = "tags"
   subtitle     = "The Plan needs to go on."
   title        = "Library of Trantor"
 
-    [Languages.en.taxonomy]
-    categories = "Categories"
-    tags       = "Tags"
-
     [[Languages.en.menu.main]]
     name   = "Home"
     url    = "/en/"
@@ -53,10 +49,6 @@ tag      = "tags"
   subtitle     = "计划进行中。"
   title        = "川陀大学图书室"
 
-    [Languages.zh.taxonomy]
-    categories = "分类"
-    tags       = "标签"
-
     [[Languages.zh.menu.main]]
     name   = "主页"
     url    = "/zh/"
diff --git a/i18n/en.toml b/i18n/en.toml
@@ -1,6 +1,12 @@
 [posts]
 other = "Posts"
 
+[categories]
+other = "Categories"
+
+[tags]
+other = "Tags"
+
 # Translation for categories
 [geekery]
 other = "Geekery"
diff --git a/i18n/zh.toml b/i18n/zh.toml
@@ -1,6 +1,12 @@
 [posts]
 other = "归档"
 
+[categories]
+other = "分类"
+
+[tags]
+other = "标签"
+
 # Translation for categories
 [geekery]
 other = "折腾"