From 34ed16ff30eaec3344f3adb3615340c3548f7080 Mon Sep 17 00:00:00 2001 From: luisramos0 Date: Wed, 2 Oct 2019 11:36:51 +0100 Subject: [PATCH] Add missing translation keys to product properties list --- app/views/spree/admin/product_properties/index.html.haml | 4 ++-- config/locales/en.yml | 2 ++ 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/app/views/spree/admin/product_properties/index.html.haml b/app/views/spree/admin/product_properties/index.html.haml index 25f14ac313..87886cb37b 100644 --- a/app/views/spree/admin/product_properties/index.html.haml +++ b/app/views/spree/admin/product_properties/index.html.haml @@ -7,7 +7,7 @@ - content_for :page_actions do %ul.tollbar.inline-menu %li - = link_to_add_fields t(:add_product_properties), 'tbody#product_properties', class: 'icon-plus button' + = link_to_add_fields t('.add_product_properties'), 'tbody#product_properties', class: 'icon-plus button' = form_for @product, url: admin_product_url(@product), method: :put do |f| %fieldset.no-border-top @@ -27,7 +27,7 @@ = render partial: 'product_property_fields', locals: { f: pp_form } = f.check_box :inherits_properties - = f.label :inherits_properties, t(".inherits_properties_checkbox_hint", supplier: @product.supplier.name) + = f.label :inherits_properties, t('.inherits_properties_checkbox_hint', supplier: @product.supplier.name) %br %br diff --git a/config/locales/en.yml b/config/locales/en.yml index c4f5f7aa0e..e9696c8053 100644 --- a/config/locales/en.yml +++ b/config/locales/en.yml @@ -2984,6 +2984,8 @@ See the %{link} to find out more about %{sitename}'s features and to start using product_properties: index: inherits_properties_checkbox_hint: "Inherit properties from %{supplier}? (unless overridden above)" + add_product_properties: "Add Product Properties" + select_from_prototype: "Select From Prototype" orders: index: listing_orders: "Listing Orders"