diff --git a/app/helpers/comments_helper.rb b/app/helpers/comments_helper.rb index c4e96ee40..04d60253c 100644 --- a/app/helpers/comments_helper.rb +++ b/app/helpers/comments_helper.rb @@ -8,9 +8,9 @@ module CommentsHelper if post.comments.size <= 3 link_to "#{t('stream_helper.hide_comments')}", post_comments_path(post.id), :class => "toggle_post_comments" elsif ! user_signed_in? - link_to "#{t('stream_helper.show_more_comments', :number => post.comments.size - 3)}", post_path(post.id, :all_comments => '1'), :class => "toggle_post_comments" + link_to "#{t('stream_helper.show_comments', :count => post.comments.size - 3)}", post_path(post.id, :all_comments => '1'), :class => "toggle_post_comments" else - link_to "#{t('stream_helper.show_more_comments', :number => post.comments.size - 3)}", post_comments_path(post.id), :class => "toggle_post_comments" + link_to "#{t('stream_helper.show_comments', :count => post.comments.size - 3)}", post_comments_path(post.id), :class => "toggle_post_comments" end end diff --git a/config/locales/diaspora/en.yml b/config/locales/diaspora/en.yml index c975c796f..aeb501334 100644 --- a/config/locales/diaspora/en.yml +++ b/config/locales/diaspora/en.yml @@ -827,7 +827,13 @@ en: other: "please make your status messages less than %{count} characters" stream_helper: - show_more_comments: "Show %{number} more comments" + show_comments: + zero: "No more comments" + one: "Show one more comment" + two: "Show two more comments" + few: "Show %{count} more comments" + many: "Show %{count} more comments" + other: "Show %{count} more comments" hide_comments: "Hide all comments" tags: