diff --git a/app/views/admin/dfc_product_imports/index.html.haml b/app/views/admin/dfc_product_imports/index.html.haml index e282ec4e81..f647ab75c4 100644 --- a/app/views/admin/dfc_product_imports/index.html.haml +++ b/app/views/admin/dfc_product_imports/index.html.haml @@ -22,10 +22,10 @@ = supplied_product.name %td - if existing_product.present? - Update + = t(".update") = link_to(existing_product.id, edit_admin_product_path(existing_product)) - else - New + = t(".new") %br = form.submit t(".import") diff --git a/config/locales/en.yml b/config/locales/en.yml index 13e7e76c4f..a5e4d07414 100644 --- a/config/locales/en.yml +++ b/config/locales/en.yml @@ -850,6 +850,8 @@ en: title: "DFC product catalog" catalog_url: "%{count} products to be imported from: %{catalog_url}" enterprise: "Import to enterprise: %{enterprise_name}" + update: Update + new: New import: Import import: title: "DFC product catalog import"