Skip to content

Commit

Permalink
Move translations from spree design
Browse files Browse the repository at this point in the history
  • Loading branch information
Piotr Milewski committed Nov 25, 2019
1 parent 0d83468 commit 7537128
Show file tree
Hide file tree
Showing 9 changed files with 140 additions and 17 deletions.
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<table class="show return-items-table table table-condensed table-bordered index">
<thead>
<tr>
<th><%= Spree.t(:product) %></th>
<th><%= Spree.t(:a_product) %></th>
<th><%= Spree.t(:sku) %></th>
<th><%= Spree.t(:pre_tax_amount) %></th>
<th><%= Spree.t(:preferred_reimbursement_type) %></th>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<th>
<%= check_box_tag 'select-all' %>
</th>
<th><%= Spree.t(:product) %></th>
<th><%= Spree.t(:a_product) %></th>
<th><%= Spree.t(:sku) %></th>
<th><%= Spree.t(:pre_tax_amount) %></th>
<th><%= Spree.t(:exchange_for) %></th>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
<span class="icon icon-delete"></span>
</a>
<div class="col-12 col-md-6">
<label><%= Spree.t(:product) %></label>
<label><%= Spree.t(:a_product) %></label>
</div>
<div class="col-12 col-md-5">
<label><%= Spree.t(:option_values) %></label>
Expand Down
2 changes: 1 addition & 1 deletion backend/app/views/spree/admin/reimbursements/edit.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
<table class="table table-condensed table-bordered reimbursement-return-items-table">
<thead>
<tr>
<th><%= Spree.t(:product) %></th>
<th><%= Spree.t(:a_product) %></th>
<th><%= Spree.t(:preferred_reimbursement_type) %></th>
<th><%= Spree.t(:reimbursement_type_override) %></th>
<th><%= Spree.t(:pre_tax_refund_amount) %></th>
Expand Down
2 changes: 1 addition & 1 deletion backend/app/views/spree/admin/reimbursements/show.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
<table class="table table-condensed table-bordered reimbursement-reimbursement-items-table">
<thead>
<tr>
<th><%= Spree.t(:product) %></th>
<th><%= Spree.t(:a_product) %></th>
<th><%= Spree.t(:preferred_reimbursement_type) %></th>
<th><%= Spree.t(:reimbursement_type_override) %></th>
<th><%= Spree.t(:exchange_for) %></th>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
<%= check_box_tag 'select-all' %>
<% end %>
</th>
<th><%= Spree.t(:product) %></th>
<th><%= Spree.t(:a_product) %></th>
<th><%= Spree.t(:status) %></th>
<th><%= Spree.t(:charged) %></th>
<th><%= Spree.t(:purchased_quantity) %></th>
Expand Down
2 changes: 1 addition & 1 deletion backend/app/views/spree/admin/shared/_order_tabs.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
<% if ((can? :update, @order) && (@order.shipments.size.zero? || @order.shipments.shipped.size.zero?)) %>
<li data-hook='admin_order_tabs_cart_details'>
<%= link_to_with_icon 'edit',
Spree.t(:cart),
Spree.t(:a_cart),
cart_admin_order_url(@order),
class: "#{'active' if current == :cart} nav-link" %>
</li>
Expand Down
Loading

0 comments on commit 7537128

Please sign in to comment.