diff --git a/app/views/shared/_stream_element.mobile.haml b/app/views/shared/_stream_element.mobile.haml index b313860d1..a92fb4aaf 100644 --- a/app/views/shared/_stream_element.mobile.haml +++ b/app/views/shared/_stream_element.mobile.haml @@ -16,8 +16,4 @@ = render 'status_messages/status_message', :post => post, :photos => post.photos .info - - if post.comments.length == 1 - = link_to "#{post.comments.length} #{t('_comment').downcase} →", status_message_path(post), :class => 'comment_link' - - else - = link_to "#{post.comments.length} #{t('_comments').downcase} →", status_message_path(post), :class => 'comment_link' - + = link_to "#{t('comments', :count => post.comments.length)} →", status_message_path(post), :class => 'comment_link' diff --git a/config/locales/diaspora/en.yml b/config/locales/diaspora/en.yml index 7477d9474..839d587ea 100644 --- a/config/locales/diaspora/en.yml +++ b/config/locales/diaspora/en.yml @@ -29,6 +29,7 @@ en: more: "More" next: "next" previous: "previous" + _comments: "Comments" #for reference translation, the real activerecord english transations are actually