add type_en to locale
This commit is contained in:
parent
d18d89b8b6
commit
d79d6f87a0
|
@ -16,7 +16,7 @@
|
|||
i.fi-calendar
|
||||
span #{format_time(post.created_at)}
|
||||
i.fi-list
|
||||
span #{ post.type }
|
||||
span #{ post.type_en }
|
||||
i.fi-pricetag-multiple
|
||||
span #{ post.labels_content }
|
||||
i.fi-torsos
|
||||
|
|
|
@ -12,7 +12,7 @@
|
|||
|{{ post.created_at }}
|
||||
i.fi-list-thumbnails
|
||||
span
|
||||
|{{ post.type }}
|
||||
|{{ post.type_en }}
|
||||
i.fi-pricetag-multiple
|
||||
span
|
||||
|{{ post.labels }}
|
||||
|
|
|
@ -15,7 +15,7 @@
|
|||
= link_to t('home.read'), blog_path(@newest), class: 'read-more'
|
||||
p.published-at #{t('home.created_at')} #{format_date(@newest.created_at)}
|
||||
|
||||
h4.recent-title RECENT
|
||||
h4.recent-title #{t('home.recent')}
|
||||
ul.recent-content
|
||||
- @recent.each do |re|
|
||||
li = link_to "#{re.title}",blog_path(re)
|
||||
|
|
|
@ -14,6 +14,7 @@ en:
|
|||
no_blog_here: 'There is no post here'
|
||||
read: 'Read More >>'
|
||||
created_at: 'Posted At'
|
||||
recent: 'RECENT'
|
||||
|
||||
subscribes:
|
||||
title: 'SUBSCRIBE'
|
||||
|
|
|
@ -14,6 +14,7 @@ zh-CN:
|
|||
no_blog_here: '这里没有博客'
|
||||
read: '阅读全文 >>'
|
||||
created_at: '发表于 '
|
||||
recent: '近期博客'
|
||||
|
||||
subscribes:
|
||||
title: '订阅我'
|
||||
|
|
Loading…
Reference in New Issue