diff --git a/app/assets/javascripts/admin/enterprises/enterprises.js.coffee b/app/assets/javascripts/admin/enterprises/enterprises.js.coffee index c16ea65b0a..b33220089a 100644 --- a/app/assets/javascripts/admin/enterprises/enterprises.js.coffee +++ b/app/assets/javascripts/admin/enterprises/enterprises.js.coffee @@ -18,8 +18,8 @@ angular.module("admin.enterprises", [ '$delegate' (taTranslations) -> taTranslations.insertLink = { - tooltip: 'Insert / edit link', - dialogPrompt: "Please enter a URL to insert" + tooltip: "{{'admin.enterprises.form.shop_preferences.shopfront_message_link_tooltip' | t}}", + dialogPrompt: "{{'admin.enterprises.form.shop_preferences.shopfront_message_link_prompt' | t}}" } taTranslations ] diff --git a/config/locales/en.yml b/config/locales/en.yml index eed0881ba6..c6c4f287b0 100644 --- a/config/locales/en.yml +++ b/config/locales/en.yml @@ -793,6 +793,8 @@ en: shopfront_message_placeholder: > An optional explanation for customers detailing how your shopfront works, to be displayed above the product list on your shop page. + shopfront_message_link_tooltip: Insert / edit link + shopfront_message_link_prompt: Please enter a URL to insert shopfront_closed_message: Shopfront Closed Message shopfront_closed_message_placeholder: > A message which provides a more detailed explanation about why your shop is