Skip to content

Commit

Permalink
add type_en to locale
Browse files Browse the repository at this point in the history
  • Loading branch information
windy committed Apr 12, 2015
1 parent d18d89b commit d79d6f8
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion app/views/admin/posts/index.html.slim
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion app/views/archives/index.html.slim
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
|{{ post.created_at }}
i.fi-list-thumbnails
span
|{{ post.type }}
|{{ post.type_en }}
i.fi-pricetag-multiple
span
|{{ post.labels }}
Expand Down
2 changes: 1 addition & 1 deletion app/views/blogs/index.html.slim
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
1 change: 1 addition & 0 deletions config/locales/en.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand Down
1 change: 1 addition & 0 deletions config/locales/zh-CN.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ zh-CN:
no_blog_here: '这里没有博客'
read: '阅读全文 >>'
created_at: '发表于 '
recent: '近期博客'

subscribes:
title: '订阅我'
Expand Down

0 comments on commit d79d6f8

Please sign in to comment.