ソースを参照

Update zh-cn translations and add chinese fonts (#555)

* Update zh-cn.toml

* Update zh-cn.toml

* Update CONTRIBUTORS.md

* Delete CONTRIBUTORS.md

* Update zh-cn.toml translations

* add chinese fonts

* add chinese fonts
Felix 4 年 前
コミット
faef9bf0d6
2 ファイル変更35 行追加0 行削除
  1. 5 0
      assets/scss/_variables.scss
  2. 30 0
      i18n/zh-cn.toml

+ 5 - 0
assets/scss/_variables.scss

@@ -8,6 +8,11 @@ Ubuntu,
 Cantarell,
 "Helvetica Neue",
 Helvetica,
+"PingFang SC",
+STXihei,"华文细黑",
+"Microsoft YaHei","微软雅黑",
+SimSun,"宋体",
+Heiti,"黑体",
 sans-serif;
 $code-font-family: SFMono-Regular,
 Consolas,

+ 30 - 0
i18n/zh-cn.toml

@@ -1,15 +1,24 @@
 [category]
 other = "分类"
 
+[categories]
+other = "分类"
+
 [tag]
 other = "标签"
 
+[tags]
+other = "标签"
+
 [series]
 other = "系列"
 
 [author]
 other = "作者"
 
+[authors]
+other = "作者"
+
 [posts]
 other = "文章"
 
@@ -31,3 +40,24 @@ other = "技术支持"
 
 [see_also]
 other = "参见"
+
+[note]
+other = "注释"
+
+[tip]
+other = "提示"
+
+[example]
+other = "例子"
+
+[question]
+other = "问题"
+
+[info]
+other = "信息"
+
+[warning]
+other = "警告"
+
+[error]
+other = "错误"