[9834-PT3] Add en translation for new product supplier select placeholder

This commit is contained in:
ijdershem-jf
2022-12-14 20:35:19 -07:00
parent ea45462e50
commit 741dc0e29c
2 changed files with 2 additions and 1 deletions

View File

@@ -11,7 +11,7 @@
= f.field_container :supplier do
= f.label :supplier, t(".supplier")
%span.required *
= f.select :supplier_id, options_from_collection_for_select(@producers, :id, :name, @product.supplier_id), { include_blank: "Select a supplier" }, { "data-controller": "tom-select", class: "primary" }
= f.select :supplier_id, options_from_collection_for_select(@producers, :id, :name, @product.supplier_id), { include_blank: t("spree.admin.products.new.supplier_select_placeholder") }, { "data-controller": "tom-select", class: "primary" }
= f.error_message_on :supplier
.eight.columns.omega
= f.field_container :name do

View File

@@ -4035,6 +4035,7 @@ See the %{link} to find out more about %{sitename}'s features and to start using
title: "New Product"
new_product: "New Product"
supplier: "Supplier"
supplier_select_placeholder: "Select a supplier"
product_name: "Product Name"
units: "Unit Size"
value: "Value"