diff --git a/app/views/collections/_collection_blurb.html.erb b/app/views/collections/_collection_blurb.html.erb index e3ccab86f5..4697a9952b 100644 --- a/app/views/collections/_collection_blurb.html.erb +++ b/app/views/collections/_collection_blurb.html.erb @@ -42,18 +42,18 @@
<% if (@challenges_count = collection.children.count) > 0 %> -
<%= ts("Challenges/Subcollections:") %>
-
<%= link_to(@challenges_count, collection_collections_path(collection)) %>
+
<%= t(".challenges_subcollections") %>
+
<%= link_to(number_with_delimiter(@challenges_count), collection_collections_path(collection)) %>
<% end %> <% if collection.challenge? && collection.prompt_meme? %> -
<%= ts("Prompts:") %>
-
<%= link_to(collection.prompts.count.to_s, collection_requests_path(collection)) %>
+
<%= t(".prompts") %>
+
<%= link_to(number_with_delimiter(collection.prompts.count), collection_requests_path(collection)) %>
<% end %> -
<%= ts("Works:") %>
-
<%= link_to(collection.approved_works_count, collection_works_path(collection)) %>
+
<%= t(".works") %>
+
<%= link_to(number_with_delimiter(collection.approved_works_count), collection_works_path(collection)) %>
<% if (@bookmarks_count = collection.approved_bookmarked_items_count) > 0 %> -
<%= ts("Bookmarked Items:") %>
-
<%= link_to(@bookmarks_count, collection_bookmarks_path(collection)) %>
+
<%= t(".bookmarked_items") %>
+
<%= link_to(number_with_delimiter(@bookmarks_count), collection_bookmarks_path(collection)) %>
<% end %>
diff --git a/config/locales/views/en.yml b/config/locales/views/en.yml index 630a3291f9..eece1bb661 100644 --- a/config/locales/views/en.yml +++ b/config/locales/views/en.yml @@ -771,9 +771,13 @@ en: collection_tags: 'Collection tags:' collections: collection_blurb: + bookmarked_items: 'Bookmarked Items:' + challenges_subcollections: 'Challenges/Subcollections:' collection_tags: 'Collection Tags:' + prompts: 'Prompts:' signups_close_at: 'Sign-ups close at:' summary: Summary + works: 'Works:' filters: clear_filters: Clear Filters closed: