app/views/spree/admin/properties/index.html.erb in spree_backend-3.0.0.rc1 vs app/views/spree/admin/properties/index.html.erb in spree_backend-3.0.0.rc3

- old
+ new

@@ -1,7 +1,7 @@ <% content_for :page_title do %> - <%= Spree::Property.model_name.human(count: :many) %> + <%= plural_resource_name(Spree::Property) %> <% end %> <% content_for :page_actions do %> <%= button_link_to Spree.t(:new_property), new_object_url, { :class => "btn-success", :icon => 'add', 'data-update' => 'new_property', :id => 'new_property_link' } %> <% end %> @@ -58,10 +58,10 @@ <% end %> </tbody> </table> <% else %> <div class="alert alert-info no-objects-found"> - <%= Spree.t(:no_resource_found, resource: Spree::Property.model_name.human(count: :many)) %>, + <%= Spree.t(:no_resource_found, resource: plural_resource_name(Spree::Property)) %>, <%= link_to Spree.t(:add_one), new_object_url %>! </div> <% end %> <%= paginate @collection %>