From ffeb7b877070e23c04cb41004cb038fb07d49eb7 Mon Sep 17 00:00:00 2001 From: zhengxiaopeng Date: Sat, 8 Aug 2015 11:47:31 +0800 Subject: [PATCH] Fix article catalogue I18N --- languages/en.yml | 1 + languages/zh-CN.yml | 1 + layout/_partial/article.ejs | 2 +- 3 files changed, 3 insertions(+), 1 deletion(-) diff --git a/languages/en.yml b/languages/en.yml index b3cc0ac..5998708 100644 --- a/languages/en.yml +++ b/languages/en.yml @@ -18,6 +18,7 @@ widget: article: comments: 'Comments' share: 'Share' + catalogue: 'Catalogue' profile: follow: 'FOLLOW' post: 'post' diff --git a/languages/zh-CN.yml b/languages/zh-CN.yml index 7bd8d7f..19677ec 100644 --- a/languages/zh-CN.yml +++ b/languages/zh-CN.yml @@ -18,6 +18,7 @@ widget: article: comments: '评论' share: '分享到' + catalogue: '文章目录' profile: follow: '关注我' post: '文章' diff --git a/layout/_partial/article.ejs b/layout/_partial/article.ejs index 11fff1c..86873bb 100644 --- a/layout/_partial/article.ejs +++ b/layout/_partial/article.ejs @@ -24,7 +24,7 @@ <% } else { %> <% if (!index && post.toc){ %>
- 文章目录 + <%= __('article.catalogue') %> <%- toc(post.content) %>
<% } %>