feat: add 'read more' en & zh-CN language

This commit is contained in:
XPoet 2020-04-25 10:21:09 +08:00
parent bb140e73d7
commit e37a6ede8e
4 changed files with 8 additions and 6 deletions

View File

@ -9,7 +9,7 @@ page: Page %d
recent_posts: Recent Posts recent_posts: Recent Posts
share: Share share: Share
powered_by: "Powered by %s" powered_by: "Powered by %s"
theme_for: Theme for theme: Theme
rss_feed: RSS Feed rss_feed: RSS Feed
category: Category category: Category
tag: Tag tag: Tag
@ -20,3 +20,4 @@ site_uv: UV
site_pv: PV site_pv: PV
links: Links links: Links
top: TOP top: TOP
read_more: Read more

View File

@ -9,7 +9,7 @@ page: 第 %d 页
recent_posts: 最新文章 recent_posts: 最新文章
share: 分享 share: 分享
powered_by: "由 %s 驱动" powered_by: "由 %s 驱动"
theme_for: 主题 theme: 主题
rss_feed: RSS Feed rss_feed: RSS Feed
category: 分类 category: 分类
tag: 标签 tag: 标签
@ -20,3 +20,4 @@ site_uv: 访问人数
site_pv: 总访问量 site_pv: 总访问量
links: 友链 links: 友链
top: 顶置 top: 顶置
read_more: 阅读全文

View File

@ -4,7 +4,7 @@
&copy; <%= date(new Date(), 'YYYY') %> <a href="/"><%= config.author %></a> &copy; <%= date(new Date(), 'YYYY') %> <a href="/"><%= config.author %></a>
</div> </div>
<div class="theme-info info-item"> <div class="theme-info info-item">
<%- __('powered_by', '<a target="_blank" href="https://hexo.io">Hexo</a>') %>. <%- __('theme_for') %> <a <%- __('powered_by', '<a target="_blank" href="https://hexo.io">Hexo</a>') %> | <%- __('theme') %> <a
href="https://github.com/XPoet/hexo-theme-ils" target="_blank"><%= theme.theme_info.name %> v<%= theme.theme_info.version %></a> href="https://github.com/XPoet/hexo-theme-ils" target="_blank"><%= theme.theme_info.name %> v<%= theme.theme_info.version %></a>
</div> </div>
<% if (theme.busuanzi_count.enable) { %> <% if (theme.busuanzi_count.enable) { %>

View File

@ -33,7 +33,7 @@
<% if (theme.magic.enable === false) { %> <% if (theme.magic.enable === false) { %>
<hr> <hr>
<% } %> <% } %>
<a href="<%- url_for(post.path) %>">阅读全文 <i class="fa fa-angle-right"></i></a> <a href="<%- url_for(post.path) %>"><%- __('read_more') %> <i class="fa fa-angle-right"></i></a>
</div> </div>
</li> </li>
<% }) %> <% }) %>