Skip to content

Commit

Permalink
Improve I18n in reimbursement type views
Browse files Browse the repository at this point in the history
  • Loading branch information
Murph33 committed Feb 12, 2016
1 parent 5f98955 commit 74a8880
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
<%= render partial: 'spree/admin/shared/configuration_menu' %>
<% content_for :page_title do %>
<%= Spree.t(:reimbursement_types) %>
<%= Spree::ReimbursementType.model_name.human(count: :other) %>
<% end %>

<table class="index" id='listing_reimbursement_types' data-hook>
<thead>
<tr data-hook="reimbursement_types_header">
<th><%= Spree.t(:name) %></th>
<th><%= Spree.t(:type) %></th>
<th><%= Spree::ReimbursementType.human_attribute_name(:name) %></th>
<th><%= Spree::ReimbursementType.human_attribute_name(:type) %></th>
</tr>
</thead>
<tbody>
Expand Down
3 changes: 3 additions & 0 deletions core/config/locales/en.yml
Original file line number Diff line number Diff line change
Expand Up @@ -160,6 +160,9 @@ en:
active: Active
name: Name
code: Code
spree/reimbursement_type:
name: Name
type: Type
spree/return_authorization:
amount: Amount
spree/return_reason:
Expand Down

0 comments on commit 74a8880

Please sign in to comment.