Skip to content

Commit

Permalink
Merge pull request #827 from Murph33/improve_I18n_refunds_partial
Browse files Browse the repository at this point in the history
Improve I18n in refunds view partial
  • Loading branch information
jhawthorn committed Feb 18, 2016
2 parents 70c4ffc + d87a1a1 commit e009036
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 5 deletions.
10 changes: 5 additions & 5 deletions backend/app/views/spree/admin/shared/_refunds.html.erb
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
<table class="index" id='payments' data-order-id='<%= @order.number %>'>
<thead>
<tr data-hook="refunds_header">
<th><%= "#{Spree.t('date')}/#{Spree.t('time')}" %></th>
<th><%= Spree.t(:payment_identifier) %></th>
<th><%= Spree.t(:amount) %></th>
<th><%= Spree.t(:payment_method) %></th>
<th><%= Spree.t(:transaction_id) %></th>
<th><%= Spree::Refund.human_attribute_name(:created_at) %></th>
<th><%= Spree::Payment.human_attribute_name(:number) %></th>
<th><%= Spree::Refund.human_attribute_name(:amount) %></th>
<th><%= Spree::PaymentMethod.model_name.human %></th>
<th><%= Spree::Refund.human_attribute_name(:transaction_id) %></th>
<th><%= Spree.t(:reason) %></th>
<% if show_actions %>
<th class="actions"></th>
Expand Down
2 changes: 2 additions & 0 deletions core/config/locales/en.yml
Original file line number Diff line number Diff line change
Expand Up @@ -113,6 +113,7 @@ en:
zipcode: Shipping address zipcode
spree/payment:
amount: Amount
number: Identifier
spree/payment_method:
name: Name
spree/product:
Expand Down Expand Up @@ -171,6 +172,7 @@ en:
spree/reimbursement_type:
name: Name
type: Type
created_at: "Date/Time"
spree/return_authorization:
amount: Amount
spree/return_item:
Expand Down

0 comments on commit e009036

Please sign in to comment.