From 200497b865a9b3b416190776fbdd1850c4c03c2e Mon Sep 17 00:00:00 2001 From: Warren Buckley Date: Mon, 10 Apr 2017 10:42:26 +0100 Subject: [PATCH] Dictionary is the most common treepicker that may not have any items in core --- .../src/views/templates/edit.controller.js | 1 + src/Umbraco.Web.UI/umbraco/config/lang/en.xml | 3 +++ 2 files changed, 4 insertions(+) diff --git a/src/Umbraco.Web.UI.Client/src/views/templates/edit.controller.js b/src/Umbraco.Web.UI.Client/src/views/templates/edit.controller.js index e516f2d742..7988e71a11 100644 --- a/src/Umbraco.Web.UI.Client/src/views/templates/edit.controller.js +++ b/src/Umbraco.Web.UI.Client/src/views/templates/edit.controller.js @@ -393,6 +393,7 @@ multiPicker: false, show: true, title: localizationService.localize("template_insertDictionaryItem"), + emptyStateMessage: localizationService.localize("emptyStates_emptyDictionaryTree"), select: function(node){ var code = templateHelper.getInsertDictionarySnippet(node.name); insert(code); diff --git a/src/Umbraco.Web.UI/umbraco/config/lang/en.xml b/src/Umbraco.Web.UI/umbraco/config/lang/en.xml index c448ad69ad..052f91078a 100644 --- a/src/Umbraco.Web.UI/umbraco/config/lang/en.xml +++ b/src/Umbraco.Web.UI/umbraco/config/lang/en.xml @@ -1549,4 +1549,7 @@ To manage your website, simply open the Umbraco back office and start adding con URL tracker has now been enabled. Error enabling the URL tracker, more information can be found in your log file. + + No Dictionary items to choose from +