Skip to content

Commit

Permalink
Merge branch 'fix_many_count_translation'
Browse files Browse the repository at this point in the history
  • Loading branch information
mrbrdo committed Dec 20, 2022
2 parents 3913a2c + a9f9e28 commit e5b00d6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/views/spree/admin/relation_types/index.html.erb
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<% content_for :page_title do %>
<%= Spree::RelationType.model_name.human(count: :many) %>
<%= Spree::RelationType.model_name.human(count: 2.1) %>
<% end %>

<% content_for :page_actions do %>
Expand Down Expand Up @@ -38,7 +38,7 @@
</table>
<% else %>
<div class="alert alert-warning no-objects-found">
<%= Spree.t(:no_resource_found, resource: Spree::RelationType.model_name.human(count: :many)) %>,
<%= Spree.t(:no_resource_found, resource: Spree::RelationType.model_name.human(count: 2.1)) %>,
<%= link_to Spree.t(:add_one), spree.new_admin_relation_type_path %>!
</div>
<% end %>

0 comments on commit e5b00d6

Please sign in to comment.