Skip to content

Commit

Permalink
Merge pull request #785 from Murph33/use_log_entry_model_name
Browse files Browse the repository at this point in the history
Use LogEntry model name in views
  • Loading branch information
jhawthorn committed Feb 12, 2016
2 parents 6f5f5ba + 7fdd02e commit f145836
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion backend/app/views/spree/admin/log_entries/index.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<i class="fa fa-arrow-right"></i>
<%= Spree::Payment.model_name.human %>
<i class="fa fa-arrow-right"></i>
<%= Spree.t(:log_entries) %>
<%= Spree::LogEntry.model_name.human(count: :other) %>
<% end %>
<% content_for :page_actions do %>
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 @@ -272,6 +272,9 @@ en:
spree/line_item:
one: Line Item
other: Line Items
spree/log_entry:
one: Log Entry
other: Log Entries
spree/option_type:
one: Option Type
other: Option Types
Expand Down

0 comments on commit f145836

Please sign in to comment.