diff --git a/app/views/spree/admin/products/new.html.haml b/app/views/spree/admin/products/new.html.haml index 02a45de3b2..d16c2da79f 100644 --- a/app/views/spree/admin/products/new.html.haml +++ b/app/views/spree/admin/products/new.html.haml @@ -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 diff --git a/config/locales/en.yml b/config/locales/en.yml index 9c38d6b867..cb619465a3 100644 --- a/config/locales/en.yml +++ b/config/locales/en.yml @@ -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"