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 i.fi-calendar
span #{format_time(post.created_at)} span #{format_time(post.created_at)}
i.fi-list i.fi-list
span #{ post.type } span #{ post.type_en }
i.fi-pricetag-multiple i.fi-pricetag-multiple
span #{ post.labels_content } span #{ post.labels_content }
i.fi-torsos i.fi-torsos

View File

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

View File

@ -15,7 +15,7 @@
= link_to t('home.read'), blog_path(@newest), class: 'read-more' = link_to t('home.read'), blog_path(@newest), class: 'read-more'
p.published-at #{t('home.created_at')} #{format_date(@newest.created_at)} 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 ul.recent-content
- @recent.each do |re| - @recent.each do |re|
li = link_to "#{re.title}",blog_path(re) li = link_to "#{re.title}",blog_path(re)

View File

@ -14,6 +14,7 @@ en:
no_blog_here: 'There is no post here' no_blog_here: 'There is no post here'
read: 'Read More >>' read: 'Read More >>'
created_at: 'Posted At' created_at: 'Posted At'
recent: 'RECENT'
subscribes: subscribes:
title: 'SUBSCRIBE' title: 'SUBSCRIBE'

View File

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