diff --git a/app/views/spree/admin/relation_types/index.html.erb b/app/views/spree/admin/relation_types/index.html.erb index dae7df6b..5f1f36be 100644 --- a/app/views/spree/admin/relation_types/index.html.erb +++ b/app/views/spree/admin/relation_types/index.html.erb @@ -1,5 +1,5 @@ <% content_for :page_title do %> - <%= Spree::RelationType.model_name.human(count: :many) %> + <%= plural_resource_name(Spree::RelationType) %> <% end %> <% content_for :page_actions do %> @@ -38,7 +38,7 @@ <% else %>
- <%= Spree.t(:no_resource_found, resource: Spree::RelationType.model_name.human(count: :many)) %>, + <%= Spree.t(:no_resource_found, resource: plural_resource_name(Spree::RelationType)) %>, <%= link_to Spree.t(:add_one), spree.new_admin_relation_type_path %>!
<% end %>