Add translation and references in taTranslations (not working in alert)

This commit is contained in:
jazzdragon
2019-04-27 19:22:15 -07:00
parent b42426a3b8
commit 7a27973ae3
2 changed files with 4 additions and 2 deletions

View File

@@ -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
]

View File

@@ -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