Fix article catalogue I18N

This commit is contained in:
zhengxiaopeng 2015-08-08 11:47:31 +08:00
parent 7fb9ff1dec
commit ffeb7b8770
3 changed files with 3 additions and 1 deletions

View File

@ -18,6 +18,7 @@ widget:
article: article:
comments: 'Comments' comments: 'Comments'
share: 'Share' share: 'Share'
catalogue: 'Catalogue'
profile: profile:
follow: 'FOLLOW' follow: 'FOLLOW'
post: 'post' post: 'post'

View File

@ -18,6 +18,7 @@ widget:
article: article:
comments: '评论' comments: '评论'
share: '分享到' share: '分享到'
catalogue: '文章目录'
profile: profile:
follow: '关注我' follow: '关注我'
post: '文章' post: '文章'

View File

@ -24,7 +24,7 @@
<% } else { %> <% } else { %>
<% if (!index && post.toc){ %> <% if (!index && post.toc){ %>
<div id="toc" class="toc-article"> <div id="toc" class="toc-article">
<strong class="toc-title">文章目录</strong> <strong class="toc-title"><%= __('article.catalogue') %></strong>
<%- toc(post.content) %> <%- toc(post.content) %>
</div> </div>
<% } %> <% } %>