From 7fdd02e0909ac1ef2ee49442f19eddb6577a3631 Mon Sep 17 00:00:00 2001 From: Murphy Stroppa Date: Tue, 2 Feb 2016 10:17:57 -0800 Subject: [PATCH] Use LogEntry model name in views --- backend/app/views/spree/admin/log_entries/index.html.erb | 2 +- core/config/locales/en.yml | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/backend/app/views/spree/admin/log_entries/index.html.erb b/backend/app/views/spree/admin/log_entries/index.html.erb index 7761eb26f8c..e7e175d8a25 100644 --- a/backend/app/views/spree/admin/log_entries/index.html.erb +++ b/backend/app/views/spree/admin/log_entries/index.html.erb @@ -4,7 +4,7 @@ <%= Spree::Payment.model_name.human %> - <%= Spree.t(:log_entries) %> + <%= Spree::LogEntry.model_name.human(count: :other) %> <% end %> <% content_for :page_actions do %> diff --git a/core/config/locales/en.yml b/core/config/locales/en.yml index f224087e01f..7c58cf7177e 100644 --- a/core/config/locales/en.yml +++ b/core/config/locales/en.yml @@ -182,6 +182,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