diff --git a/app/views/shared/_stream_element.mobile.haml b/app/views/shared/_stream_element.mobile.haml index b313860d1e31e088e6453142c36c22ca5581a782..a92fb4aaf18a37eb845c5483ce8042f3200a6389 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 7477d9474810a8e0ccd8bbd7b544524b9ccd8f9e..839d587ead04844c7b8434598dd6a77376ab4d62 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