Moved strings to Ruby I18n en.yml

This commit is contained in:
2022-02-19 20:46:39 -05:00
parent 2085eb7869
commit d6aebfcb99
27 changed files with 141 additions and 94 deletions

View File

@@ -21,8 +21,8 @@
<%= will_paginate @vehicles %>
</div>
<p>Matching <%= @vehicles.count %> Vehicles </p>
<p><%=t(:label_matching)%> <%=@vehicles.count%> <%=t(:field_vehicles) %> </p>
<% else %>
<p>There are no vehicles containing the term(s) <%= params[:search] %>.</p>
<p><%=t(:label_no_vehicles)%> <%= params[:search] %>.</p>
<% end %>