comments -> reactions

This commit is contained in:
danielgrippi 2011-09-20 00:05:56 -07:00
parent ab3d220b57
commit 00e561dd01
3 changed files with 10 additions and 2 deletions

View file

@ -47,5 +47,5 @@
- else
= link_to '', '#', :class => "image_link like_action inactive", 'data-post-id' => post.id
= link_to "#{t('comments', :count => post.comments.length)}", post_path(post), :class => 'comment_link'
= link_to "#{t('reactions', :count => (post.comments.length + post.likes_count))}", post_path(post), :class => 'comment_link'

View file

@ -210,6 +210,14 @@ en:
comment: "Comment"
commenting: "Commenting..."
reactions:
zero: "No reactions"
one: "1 reaction"
two: "%{count} reactions"
few: "%{count} reactions"
many: "%{count} reactions"
other: "%{count} reactions"
contacts:
zero: "no contacts"
one: "1 contact"

View file

@ -368,7 +368,7 @@ footer {
.like_action {
background-image: url("/images/icons/heart_mobile_grey.png");
.active {
&.active {
background-image: url("/images/icons/heart_mobile_red.png"); } }
.comment_action {