add type_en to locale

This commit is contained in:
yafeilee 2015-04-12 23:37:47 +08:00
parent d18d89b8b6
commit d79d6f87a0
5 changed files with 5 additions and 3 deletions

View File

@ -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

View File

@ -12,7 +12,7 @@
|{{ post.created_at }}
i.fi-list-thumbnails
span
|{{ post.type }}
|{{ post.type_en }}
i.fi-pricetag-multiple
span
|{{ post.labels }}

View File

@ -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)

View File

@ -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'

View File

@ -14,6 +14,7 @@ zh-CN:
no_blog_here: '这里没有博客'
read: '阅读全文 >>'
created_at: '发表于 '
recent: '近期博客'
subscribes:
title: '订阅我'