fixed translation showing en on person show page when the person had no posts
This commit is contained in:
parent
183ac75c6a
commit
bc9c852e25
2 changed files with 2 additions and 1 deletions
|
|
@ -37,5 +37,5 @@
|
|||
= render type_partial(post), :post => post unless post.class == Album
|
||||
= will_paginate @posts
|
||||
- else
|
||||
%h3=t('no posts to display!')
|
||||
%h3= t('.no_posts')
|
||||
|
||||
|
|
|
|||
|
|
@ -217,6 +217,7 @@ en:
|
|||
save: "save"
|
||||
are_you_sure: "Are you sure?"
|
||||
remove_friend: "remove friend"
|
||||
no_posts: "no posts to display!"
|
||||
requests:
|
||||
new_request:
|
||||
add_a_new_friend_to: "Add a new friend to"
|
||||
|
|
|
|||
Loading…
Reference in a new issue