diff --git a/app/views/admin/products_v3/_variant_row.html.haml b/app/views/admin/products_v3/_variant_row.html.haml index fa423bbce75..0df083d76fa 100644 --- a/app/views/admin/products_v3/_variant_row.html.haml +++ b/app/views/admin/products_v3/_variant_row.html.haml @@ -12,7 +12,7 @@ = f.hidden_field :variant_unit_scale = f.select :variant_unit_with_scale, options_for_select(WeightsAndMeasures.variant_unit_options, variant.variant_unit_with_scale), - { include_blank: true }, + { include_blank: t('.select_unit_scale') }, { class: "fullwidth no-input", 'aria-label': t('admin.products_page.columns.unit_scale'), data: { "controller": "tom-select", "tom-select-options-value": '{ "plugins": [] }', action: "change->toggle-control#displayIfMatch" }, required: true } = error_message_on variant, :variant_unit, 'data-toggle-control-target': 'control' .field diff --git a/config/locales/en.yml b/config/locales/en.yml index 80b5a5e90b3..a9c0d4d2896 100644 --- a/config/locales/en.yml +++ b/config/locales/en.yml @@ -973,6 +973,7 @@ en: category_field_name: "Category" tax_category_field_name: "Tax Category" producer_field_name: "Producer" + select_unit_scale: Select unit scale clone: success: Successfully cloned the product error: Unable to clone the product